[android-developers] Re: How to get the timezone from the latitude and longitude?

2011-05-19 Thread Prayag Pathak
Hey man!!! Really a great website! Btw, you have got an interesting name! Streets of Boston! :) haha! kiddin! But definitely, a great website. Thanks again! Regards, Prayag On May 6, 6:04 pm, Streets Of Boston flyingdutc...@gmail.com wrote: earthtools uses a REST like interface with XML

[android-developers] Web Service response is in HTML format instead of XML

2011-05-17 Thread Prayag Pathak
of web service expected is XML. Regards, Prayag -- 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 android-developers+unsubscr

[android-developers] Re: Web Service response is in HTML format instead of XML

2011-05-17 Thread Prayag Pathak
Thanks TreKing. I'll do that. Regards, Prayag On May 17, 2:19 pm, TreKing treking...@gmail.com wrote: On Tue, May 17, 2011 at 1:08 PM, Prayag Pathak prayag.d.pat...@gmail.comwrote: Kindly guide me if there is any way to specify that the content of the response of web service expected

[android-developers] Re: Web Service response is in HTML format instead of XML

2011-05-17 Thread Prayag Pathak
I thought that there may be some parameter to be specify the content of Response as XML. On May 17, 2:23 pm, Prayag Pathak prayag.d.pat...@gmail.com wrote: Thanks TreKing. I'll do that. Regards, Prayag On May 17, 2:19 pm, TreKing treking...@gmail.com wrote: On Tue, May 17, 2011 at 1

[android-developers] Re: Web Service response is in HTML format instead of XML

2011-05-17 Thread Prayag Pathak
Thanks Bibek! This was really helpful! Regards, Prayag On May 17, 2:38 pm, Kumar Bibek coomar@gmail.com wrote: Generally, webservices(which hanlde HTML and XML both) need to be instructed what should be the content type, by specifying a Content- Type header in your requests. Content

[android-developers] Re: Android app crashes when invoking getSystemService(LOCATION_SERVICE)

2011-05-06 Thread Prayag Pathak
the request for the location, and it simply does not have an immediate effect, until the fix arrives On Thu, May 5, 2011 at 3:23 PM, Prayag Pathak prayag.d.pat...@gmail.com wrote: Hi Mark, Thanks for the answer. But still its not working. I included the code segment that updates the code

[android-developers] How to get the timezone from the latitude and longitude?

2011-05-06 Thread Prayag Pathak
. It would be great if someone could suggest a solution either by implementing a web service or without implementing it. Regards, Prayag -- 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

[android-developers] Re: How to get the timezone from the latitude and longitude?

2011-05-06 Thread Prayag Pathak
service(SOAP or REST). Regards, Prayag On May 6, 5:24 pm, Streets Of Boston flyingdutc...@gmail.com wrote: Another way of doing it is to just get the phone's default timezone. Note that the timezone could be set (incorrectly) by the user. If this is not possible and you have to use

[android-developers] Re: How to get the timezone from the latitude and longitude?

2011-05-06 Thread Prayag Pathak
Yo thanks guys! I could figure that out! Once again thank you very much for the resources! Regards, Prayag On May 6, 5:30 pm, Prayag Pathak prayag.d.pat...@gmail.com wrote: Thanks man, I actually am trying to implement this web service since long. But it gave wierd errors. I also tried

[android-developers] Android app crashes when invoking getSystemService(LOCATION_SERVICE)

2011-05-05 Thread Prayag Pathak
(); dlon = location.getLongitude(); Log.w(LocationTracker, The value of Latitude is : +dlat.toString()); The code gives a RunTimeException (caused by NullPointerException as stated in it). Kindly help me out in that. Regards, Prayag -- You received this message because you are subscribed

[android-developers] Re: Android app crashes when invoking getSystemService(LOCATION_SERVICE)

2011-05-05 Thread Prayag Pathak
. Regards, prayag On May 5, 2:24 pm, Mark Murphy mmur...@commonsware.com wrote: On Thu, May 5, 2011 at 2:20 PM, Prayag Pathak prayag.d.pat...@gmail.com wrote: I am trying to get the latitude and longitude of the current location. Let me clarify, I dont want to implement a listener that will create

[android-developers] Re: Android app crashes when invoking getSystemService(LOCATION_SERVICE)

2011-05-05 Thread Prayag Pathak
(Current Location, l.getLatitude() + ); Log.d(Current Location,l.getLongitude() + ); Toast.makeText(this, l.getLatitude() + + l.getLongitude(),Toast.LENGTH_LONG).show(); Regards, Prayag On May 5, 2:20 pm, Prayag Pathak prayag.d.pat...@gmail.com wrote: Hi guys, I am trying to get

[android-developers] Re: Basic Question

2011-04-29 Thread Prayag Pathak
different ways in which multplie activities can be managed. On Apr 28, 1:07 am, Prayag prayag.d.pat...@gmail.com wrote: Hi guys, I am a Newbie and I have abasicquestionfor which I couldnt get any answer yet. What is the need to use two keywords to express that the given activity

[android-developers] Basic Question

2011-04-28 Thread Prayag
=android.intent.category.LAUNCHER / My question is that cant it be implicit that the main activity will launch itself. If not, it would be great if somebody can give me an example in which the activity is a main activity and not a launcher or vice versa. Regards, Prayag -- You received this message because you