December 17, 2012

Can I program an Android application without actually having an Android phone?

Q. Does the Android SDK contain anything to test your application on while developing an Android application (much like the iPhone does)?

I don't own a phone with Android (I actually have an iPhone...) but I would like to program some Android apps, without burning money on a phone. When it comes time to test my application on a live phone I have plenty of friends that would be willing to be guinea pigs.

A. Yes. The android SDK includes an emulator call AVD or Android Virtual Device. It is limited in some respects because it can't receive calls or be moved around for GPS testing, but for simple games and web-apps it's perfect for users who don't want to invest in a development phone.

Here's a website on how to use the AVD in the basic sense:
http://developer.android.com/guide/developing/tools/avd.html

However I recommend using the Eclipse Android Development Tool (ADT) plugin for all your work as the AVD launcher is built right into the normal launch system for Eclipse. Here's a page on how to install that:
http://developer.android.com/sdk/eclipse-adt.html

Obviously you'll need to install Eclipse for Java Developers and the Android SDK first. If you haven't done that yet, here are the pages you need to get that done:
http://www.eclipse.org/downloads/
http://developer.android.com/sdk/installing.html


How to install new apps in Android SDK?
Q. I use Android SDK "Sony Ericson EDK" So how do i install new apps in this SDK?

A. Sounds like you mean the Android Emulator, not the Android SDK (two separate things completely)

http://www.howtogeek.com/howto/21862/how-to-enable-the-android-market-in-the-google-android-emulator/

---
Kasey C, PC guru since Apple II days
Better to understand a little than to misunderstand a lot.


How do I go about making Android Java Applications?
Q. I have the Android SDK and I know very little Java, but I have spare time and would like to mess around, how do I make the applications and then install them in the virtual machine of Android running?

A. Everything you need

http://developer.android.com/sdk/index.html

You might need to download Eclipse.


Should i learn to code iPhone apps or Android apps first?
Q. I have no coding experience, and have a mac so i can learn xcode, and android sdk. The only factors are the ease of learning the platform, and language. Thanks!

A. I would personally go for Android as there is a massive user base and not as many good apps out there at the moment.





Powered by Yahoo! Answers

No comments:

Post a Comment