[android-beginners] Re: How do I auto-generate code from xml like Android does it?

2010-06-15 Thread Zigurd
It depends on what your aim is. If you want to make instances of subclasses of views and layouts, you can do that my naming them in layout files. If you want something more general purpose, try JAXB. Or you can roll your own with the XML parser in Android, and reflection. On Jun 3, 11:09 am, dro

[android-beginners] Re: Choosing the Right Book

2009-06-17 Thread Zigurd
All the code in Android Application Development http://www.amazon.com/Android-Application-Development-Programming-Google/dp/0596521472/ was tested with cupcake. On Jun 16, 8:18 pm, Mahou wrote: > I dont know of any books that includes CupCake. > --~--~-~--~~~---~--~-

[android-beginners] Re: Newbees Revolt., Android Info Sucks

2009-12-24 Thread Zigurd
Get and read as much example code as you can. You can find the code used in Android programming books on the publishers' sites: http://examples.oreilly.com/9780596521509/ http://www.wrox.com/WileyCDA/WroxTitle/Professional-Android-Application-Development.productCd-0470344717,descCd-DOWNLOAD.html

[android-beginners] Re: android application using its location functionality

2010-01-30 Thread Zigurd
directions for getting one are here: http://code.google.com/android/maps-api-signup.html Good luck! -Zigurd On Jan 30, 1:44 am, androidreamer wrote: > i m new to android, and i m tryin to build an application  which will > provide the diatances of nearby restaurants,hospitals.i am thinkin on &g

[android-beginners] Re: Passing Command line arguments

2010-03-27 Thread Zigurd
The "am" command in the shell starts applications. Use "adb shell" to get a shell. Then type "am" without arguments and you will see the parameters for this command. Command line arguments to Android applications are equivalent to what is passed in an Intent object. Since you use the "am" command,

[android-beginners] Re: Android Java

2010-04-23 Thread Zigurd
The Java language in Android is, still, Java. So you can't go wrong with learning Java from a good introductory book. Head First Java is a good place to start: http://www.amazon.com/Head-First-Java-Kathy-Sierra/dp/0596009208 After you are up to speed, try Effective Java: http://www.amazon.com/Eff

[android-beginners] Re: Question about UI Handling

2010-04-24 Thread Zigurd
Look for a simple example to get you started in the SDK: http://developer.android.com/guide/samples/index.html Understand the basics of the Activity class and how you go from one Activity instance to another, which you will find in the first half of this page: http://developer.android.com/guide/to