It’s difficult to test your app on dozens various devices, so described in previous lesson emulators are really helpful. But if you have any real Android device, you could run on it your apps. You don’t need to register anywhere or buy anything to do it (by the way those steps are necessary to create and test iOS apps). All you need beside your phone or tablet is a USB cable (usually delivered with device) and USB driver (available for free in Internet).
What & Why
There are many Android tutorials for developers, but it is difficult to find easy to understand lessons for beginners. Android4Beginners.com explain how to build your apps step by step with clear instructions, examples and illustrations. Feel free to share your tips & tricks too!
- Lesson 2.3: How to put layout into layout to create advanced app interface (layout tree in Android)?
- Lesson 2.2: How to use margins and paddings in Android layout?
- Appendix D: Comments in XML and Java – it’s crucial to create a documentation of Android app
- Lesson 2.1: How to build Android app with simple, but powerful LinearLayout? Plus layout orientation as well as size and weight of elements
- Lesson 2: How to arrange layout of Android app? Examples of all layout types
#RRGGBB activity_main.xml alpha channel android:background android:text android:textColor android studio class colors.xml Eclipse first app first website getColor getResources getString getting stared Hello World horizontal HTML Java layout layout_height layout_weight layout_width LinearLayout MainActivity method Notepad onCreate opacity preview resources run running an app setContentView setTextColor string strings strings.xml testing text TextView transparency variable vertical