[android-developers] Re: how to set a shortcut key to launch an activity ?

2013-08-08 Thread shihab Shuvro
Hello shapnil, how are you? I am facing a problem to lunch an activity when the shortcut key is pressed like open a number pad press *123 will fire my application. any idea? thanks in Advance. On Wednesday, October 21, 2009 11:13:14 AM UTC+6, swapnil wrote: Hello, how to set a shortcut

[android-developers] Get GPS Location in a Broadcast Receiver.

2011-10-09 Thread shihab Shuvro
hi, i m new in android. i want to get GPS Loction in a broadcast receiver . but it shows error .my code is here. public void onReceive(Context context, Intent intent) { LocationManager locManager = (LocationManager) getSystemService(Context.LOCATION_SERVICE); // erros in

[android-developers] Using Google weather api in android (can't parse Xml correctly)

2011-09-19 Thread shihab Shuvro
hi, i m trying to use google weather api. it sends an xml . but i cant Parse the xml data. here, u can see the xml . to click the url : http://www.google.com/ig/api?weather=New%20York,%20USA ~~~ i use below method to get xml data but i can't . NodeList nodes =