how to program a button to a link in Android SDK?

Q. hey, im pretty new to the Android SDK and Java development, but i know a FEW things. i can make the UI and retrieve my TextView and Buttons, but i am unsure of the coding to make my button process a URL. i am trying to make a very basic Search Engine for a starter application so ANY help will be GREATLY appreciated.
Thanks.

A. Your question has been answered at: http://www.forums.droidcore.net :)

How to add apps to a Android SDK?
Q. I need to find out how to add apps to an Android SDK. NOT THE PHONE. The SDK.
Sorry about being an Ass on the "NOT THE PHONE" but some people really can't read so I need to be clear to them.
Apps as in App Market apps into an SDK. Get it?
Sam you are stupid. What I mean is an SDK is an emulator of the phone. How to add apps onto that emulator. Thanks.

A. No, I don't get it. This question makes no senses. An SDK is not an application and has no applications, therefore adding an application to it makes no sense.

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




Powered by Yahoo! Answers

No comments:

Post a Comment