1. You mean just asking the user for a phone number and then storing it somewhere? Sure. You could use preferences, a file, or a database to store it.
2. There are a lot of examples of using a URLConnection (or HttpURLConnection). Try searching for those. And yes, you'd need to host whatever it is you have on the server side, but for development, that can be your local machine. Just have to remember that accessing the url as localhost actually refers to the emulator. On Apr 3, 6:05 am, scimitar <[EMAIL PROTECTED]> wrote: > Hi, > > I'm very new to Android, so I'm still trying to figure out the basics. > I want to write an application that needs to communicate with a > database server, and upload it's contact list to the server. In this > regard I have the following questions: > > 1). Is there a way to associate a phone number to an Android > application? > > 2) How does my app communicate with the server? It needs to host a web > address I guess. What's the way to do this? > > I'll really appreciate if somebody could help me. > > thanks, --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---