I checked google developers website for some exercises and examples in Android Development and I found this webpage: http://developer.android.com/tools/samples/index.html which says
When the download is complete, you can find the source code for all samples at this location: /samples/android-
I didn't find that location! What should I do? And if you know a better practicing way for a beginner to learn,let me know please!
Sample apps are examples of working code that you can browse, run, and learn from to get started developing your own Google Cast app.
The Android SDK is a software development kit that includes a comprehensive set of development tools. These include a debugger, libraries, a handset emulator based on QEMU, documentation, sample code, and tutorials.
You will need to make sure the SDK samples are installed:
This image is from the SDK Manager. Once you check off the samples for the APIs you want, and everything is installed, you can easily make an Eclipse project:
File -> New -> Other -> Android Sample Project
Or you can navigate directly to the path. You can see from my screenshot, that for me it is in Program Files\Android\android-sdk
with the samples being in the samples
subdirectory.
The latest (and most convenient way) to do it is:
Also see http://developer.android.com/samples/index.html
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With