Re: [android-developers] How to download an xml file from url in android

2010-02-25 Thread Upendra Chintala
ng > error here,,telling filenotfound > doc.getDocumentElement ().normalize (); > System.out.println ("Root element of the doc is " + > doc.getDocumentElement().getNodeName()); > > } > > } > > I am getting error in ReadXML.java file >

Re: [android-developers] How to download an xml file from url in android

2010-02-25 Thread Upendra Chintala
am downloading bytes successfully and could write to a file,,, > > But again if i try to open file and read it,,It is throwing > NullPointerException for file. > > > On Thu, Feb 25, 2010 at 4:00 PM, Upendra Chintala < > upendra.chint...@gmail.com> wrote: > >&g

Re: [android-developers] How to download an xml file from url in android

2010-02-25 Thread Upendra Chintala
A simple search on google would have helped you. http://digiassn.blogspot.com/2008/10/java-simple-httpurlconnection-example.html Upendra On Thu, Feb 25, 2010 at 3:55 PM, kavitha wrote: > Any examples please > > > On Thu, Feb 25, 2010 at 3:53 PM, Upendra Chintala < > upendra.

Re: [android-developers] How to download an xml file from url in android

2010-02-25 Thread Upendra Chintala
You can use HttpURLConnection object to read the file as stream and then store it locally. Thanks, Upendra On Thu, Feb 25, 2010 at 3:49 PM, kavitha wrote: > first download and keep the file > > then parse it > > i need to download bcoz when the application launches second time,,i need > to

Re: [android-developers] how to retrieve the database value from the our web application

2010-02-10 Thread Upendra Chintala
Hi Saravanan, As I know, there is no way you can directly connect to your database from android app. This is the usual way people are using this scenario. 1. Expose your data from your webapp or database as a web service(REST or SOAP). 2. Access the web service from Android app using HttpClient.

Re: [android-developers] Re: SIP development on Android

2010-01-27 Thread Upendra Chintala
Hi Tony, The problem is that your emulator IP Address some thing that starts with 10.0.2.2, and your PC(Where the emulator's are running)'s IP Address is different(ex, 192.168.1.100 or 127.0.0.1 for loopback). So, if you are running both the emulators from the same PC, then you need to make a SIP

Re: [android-developers] Regarding port re-directions on the android emulator.

2010-01-04 Thread Upendra Chintala
Yes, that should be enough. Make sure that your doing this redirection on the correct emulator instance when you are running multiple emulator instances. Thanks, Upendra On Mon, Jan 4, 2010 at 2:20 PM, Android Development wrote: > Hello devs, > > I had the following query: > > The IP address of

[android-developers] Re: Communication between two android emulators located on two PCs connected via LAN

2009-06-07 Thread Upendra Chintala
Any help on this? thanks, Upendra On Thu, Jun 4, 2009 at 6:01 PM, Upendra Chintala wrote: > Hi, > > Please help me, I have been struggling for the solution for more than > a month. > > I am trying to port a VoIP application based on SIP protocol to > android. &g

[android-developers] Communication between two android emulators located on two PCs connected via LAN

2009-06-04 Thread Upendra Chintala
Hi, Please help me, I have been struggling for the solution for more than a month. I am trying to port a VoIP application based on SIP protocol to android. I want to test this application first on two emulators running on two different PCs connected via LAN. The problem is that, the communicati