[android-developers] People are not using Feature of app
Friends BIG QUESTION!!! There is one app on play store : https://play.google.com/store/apps/details?id=com.ambaitsystem.bcookbook It has deployed one exciting feature Chit-Chat called TeaTalk. Where Recipe Lovers can discuss about Recipe,Cooking,Restaurant Reviews & much more. Any How people are not using this feature of this app except few. What can be done so people will start using it?? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/073a7569-e055-47bd-9cee-81e3ecda26ba%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Users not uses feature of app
Dear sir, Sorry this is not technical question.but i was really frustrated. Hipe i would get solution from somebody. I have deployed app: Bijal's Cook Book before 8 to 12 months. https://play.google.com/store/apps/details?id=com.ambaitsystem.bcookbook A month ago i have procided messaging name TeaTalk as a feature in my app. I have sent News letters regarding this to all the users via Email : (Snap of Email:) ___ New Feature Bijal's TeaTalk Share & Enjoy Recipes Gossip With 'Saheli' Offline Collection of 400+ Recipe Suggestions for What to cook Today? GRAB ON PLAY STORE We need your Suggestions & ideas : bijal.vari...@gmail.com ___ Moreover this sent facebook \whatsapp post so many times. I dont know why not a single person has shown their interest and signup. Please let me know how to resolve this issue. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/2256d560-39c8-42f9-a104-779e6eff7b23%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[android-developers] Fwd: Email formating
-- Forwarded message -- From: Dhaval Varia dhavalkva...@gmail.com Date: Feb 26, 2012 1:30 PM Subject: Email formating To: android-developers@googlegroups.com android-developers@googlegroups.com Dear All I wanted to apply some formatting to email like color and put picture I Am using following code http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-a/2033124#2033124 here the string which I'm sending does not have any kind of formating. Please help me how to achieve this? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Email formating
Dear All I wanted to apply some formatting to email like color and put picture I Am using following code http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-a/2033124#2033124 here the string which I'm sending does not have any kind of formating. Please help me how to achieve this? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Increase icon size
Everyone understand that they are smarter and greater then others.. right Mr.jagtap? bt we r not here to show what we r? and yes why do i attend ur lecture? ur stupid reply on public forum shows what u r... On Feb 26, 2012 1:29 PM, Anil Jagtap anil.so...@gmail.com wrote: -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Increase icon size
@anil Everyone understand that they are smarter and greater then others.. right Mr.jagtap? Look at the reply from treking... I really respect that person... bt we r not here to show what we r? and yes why do i attend ur lecture? ur stupid reply on public forum shows what u r... On Feb 26, 2012 1:29 PM, Anil Jagtap anil.so...@gmail.com wrote: -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Increase icon size
Sorry for such harsh reply.. I will be happy ,and feel lucky ,if have chance to attend lectures of smart technocrates like u. On Feb 26, 2012 2:41 PM, Dhaval Varia dhavalkva...@gmail.com wrote: @anil Everyone understand that they are smarter and greater then others.. right Mr.jagtap? Look at the reply from treking... I really respect that person... bt we r not here to show what we r? and yes why do i attend ur lecture? ur stupid reply on public forum shows what u r... On Feb 26, 2012 1:29 PM, Anil Jagtap anil.so...@gmail.com wrote: -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Increase icon size
Thanks sir for your answer. I am trying to increase icon of my app. Reason is 1, my app should fire in emergency. 2,i had asked question,that if i can put my icon on locked screen then it would be better.but reply was,that its not possible. So i have only one way.which is increase size of my icon. Any suggestion please? On Feb 24, 2012 5:56 PM, Matthew Jacobs matthewrudyjac...@gmail.com wrote: Before this argument, you had a question. And I'm not quite sure we answered it. So say you want to increase the size of the icons? Do you mean just the icon for your app? Or for all the apps? The application icons are all the same size for a reason. Otherwise it'd be an arms race of you chose the biggest icon. The size of the icons are optimised the for the screen size and pixel density. So when building your app you're requested to provide icons for each posible screen density. If you in fact do want to create a whole new home screen (and I'd guess from the fact you're just starting in Android, that you don't) Then by all means look at the sample app. They all live here; http://developer.android.com/resources/browser.html?tag=sample -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Increase icon size
i always consider your answer valuable On Feb 24, 2012 7:22 PM, TreKing treking...@gmail.com wrote: On Thu, Feb 23, 2012 at 11:50 PM, Dhaval Varia dhavalkva...@gmail.comwrote: look i always write from my cell...and its not AT ALL PLEASANT TO SPELL EVERYTHING IN FULL... OK, fair enough, but I (we) have no way of knowing that. And even phones have auto-complete and spell check. Your posts will be a lot easier to understand and be taken more seriously (and thus you'll get better replies) if you take the time, even on your phone, to user proper grammar and spelling. *This will help you get help.* if u feel fine to reply then do it...else i dint tell u to reply... You specifically asked me a question. Would you prefer next time that I simply ignore you and leave you waiting if I don't think you'll like the response? I was simply trying to give you some honest, frank advise about how to go about helping yourself. its a public forum... got it?? Yes, precisely. The advice to to learn to navigate the documentation is, I believe, good for everyone reading this list. It will save us all a lot of time and effort if more people take more time up front to solve their own problems before asking for questions. @Anil: Thanks for the comment. Appreciated. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Increase icon size
Dear all I want to increase size of shortcuts icons of my App for home screen. How to achive ? Please help -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Increase icon size
How to write it sir? On Feb 23, 2012 6:28 PM, TreKing treking...@gmail.com wrote: On Thu, Feb 23, 2012 at 6:21 AM, Dhaval Varia dhavalkva...@gmail.comwrote: I want to increase size of shortcuts icons of my App for home screen. How to achive ? Write your own homescreen that draws bigger icons. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Increase icon size
Would u please provide link? On Feb 23, 2012 8:25 PM, TreKing treking...@gmail.com wrote: On Thu, Feb 23, 2012 at 7:22 AM, Dhaval Varia dhavalkva...@gmail.comwrote: How to write it sir? Read the documentation. There is a sample home application. Start there. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Increase icon size
look i always write from my cell...and its not AT ALL PLEASANT TO SPELL EVERYTHING IN FULL... if u feel fine to reply then do it...else i dint tell u to reply... its a public forum... got it?? On Thu, Feb 23, 2012 at 9:04 PM, TreKing treking...@gmail.com wrote: On Thu, Feb 23, 2012 at 9:17 AM, Dhaval Varia dhavalkva...@gmail.comwrote: Would u please provide link? I'll do you a favor and not. Learning to navigate to the documentation and finding what you need will be a good exercise for you. If you have the technical competence to develop an Android application, I have faith that you also possess the skills required to find the sample I mentioned. Also, would you please learn to spell you? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Increase icon size
I do respect that people.. Its not like, i am expert. i am just learning android... its possible that my question are silly...but i am asking just to learn and teach to my students. And yes jagtap i do not know any people here i have just started..and i am used to with short terms. Whats wrong in it??? you should not write like Those people even do not know how to use Google and are holding position like professors or something. We are learning to teach people like you... Understand?? On Fri, Feb 24, 2012 at 12:24 PM, Anil Jagtap anil.so...@gmail.com wrote: Dear TreKing, I do watch your replies since I am on this list for almost an year. Your replies are very precise and up to the point. I have myself learned many time by reading your replies. Thank you for the same. I really feel ashamed when I see manner less comments from some people. Those people even do not know how to use Google and are holding position like professors or something. People who even do not have sense about way of talking in public forums are simply worth to ignore. This mail is to you for saying that not all the Indians are such arrogant and ignorant. I hold great respect for you and other experts here who guide without expecting any profits. Thank you again. On Feb 23, 10:34 am, TreKing treking...@gmail.com wrote: On Thu, Feb 23, 2012 at 9:17 AM, Dhaval Varia dhavalkva...@gmail.com wrote: Would u please provide link? I'll do you a favor and not. Learning to navigate to the documentation and finding what you need will be a good exercise for you. If you have the technical competence to develop an Android application, I have faith that you also possess the skills required to find the sample I mentioned. Also, would you please learn to spell you? --- -- TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Sql server report fetching
Dear all I want to fetch data from sql server. Please provide any tutorial or something . 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Eeagarding teating app
Before putting my app on market,i need to test my app. Is it required to test my app by making test project ...? Plz note: I have tested it on three different device. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding copy right
I m planning to publisb my app on amazon store. So i need to take copy right for my app. What is its procedure ? Plz help me to know... Thanx in advance.. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Plz help
Not able to understand how to withdraw money from google checkout to my bank account. I want to understand whole cycle. I understand this is technical forum.bt i beleve some developer has experiance. Thanx in advance. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to sell application from india?
I am developer from india. I wanted to sell my application on android market. How do i do it? As per my knowledge google checkout dont permit me. What are the alternative way to sell?? Plz help -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to sell application from india?
How other developers of india does it? Plz tell me in detail. I m really frustreted.. On Feb 14, 2012 6:34 PM, Ajeet pal ajeetpalsingh...@gmail.com wrote: Dude RTFM.. and there is no other way to sell it... what you can you do is u can mail it to ur friends and then collect the money physically.. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to sell application from india?
This is not a answer..everyone knows that all the phone has inbuilt android market. So its obvious that if i will install in on android market then only i will get big audiance,, On 2/14/12, TreKing treking...@gmail.com wrote: On Tue, Feb 14, 2012 at 4:56 AM, Dhaval Varia dhavalkva...@gmail.comwrote: What are the alternative way to sell?? Find a market that supports Indian sellers. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to start Intent of Packet data network
Is it for gps or gprs? On Feb 13, 2012 1:42 PM, Omollo Ateng omollo.at...@gmail.com wrote: This is to check if GPRS is on and the network, write it within a function. String provider = Settings.Secure.getString(getContentResolver(), Settings.Secure.LOCATION_PROVIDERS_ALLOWED); if(!provider.equals()){ //GPS Enabled Toast.makeText(EmodroidActivity.this, Your GPS is on: + provider,Toast.LENGTH_LONG).show(); }else{ Intent intent = new Intent(Settings.ACTION_SECURITY_SETTINGS); startActivity(intent); } On Mon, Feb 13, 2012 at 10:32 AM, Dhaval Varia dhavalkva...@gmail.comwrote: My application required to have internet connection. I need two things: 1. Check Weather Internet (GPRS Not wifi) is on?? 2. If it is off then make it on. OR start Intent to make it on... Please help... -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Be good to not only people but also machines -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Final year project app
Make project on natural catastrophic event On Feb 13, 2012 6:43 PM, Sahi cyber.hawk...@gmail.com wrote: Hello, I am a university level student, and has to submit a project Under Final Year Project, and want to work on android. Can any one provide me a good App idea to work with, I has 5 Months time frame and knows the basics of Android App development. It is a honest request to all developers to provide a good idea. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to get 5mtr range of accuracy in gps?
I m giving address of location... How can i have best possible location accuracy? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to start Intent of Packet data network
My application required to have internet connection. I need two things: 1. Check Weather Internet (GPRS Not wifi) is on?? 2. If it is off then make it on. OR start Intent to make it on... Please help... -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Phone call error
*Dear all I have developed my application on target Google API Level 8 i have tested it on ginger bird.and it works quit fine. Now i am trying to testing it on Google API Level 7. All works fine. but Phone call Gives following error: 02-08 13:57:54.713: ERROR/AndroidRuntime(320): Uncaught handler: thread main exiting due to uncaught exception 02-08 13:57:54.723: ERROR/AndroidRuntime(320): java.lang.NullPointerException 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at android.app.ApplicationContext.stopService(ApplicationContext.java:778) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at android.content.ContextWrapper.stopService(ContextWrapper.java:331) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at com.example. .MainActivity$5.onCallStateChanged(MainActivity.java:477) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at android.telephony.PhoneStateListener$2.handleMessage(PhoneStateListener.java:303) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at android.os.Handler.dispatchMessage(Handler.java:99) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at android.os.Looper.loop(Looper.java:123) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at android.app.ActivityThread.main(ActivityThread.java:4363) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at java.lang.reflect.Method.invokeNative(Native Method) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at java.lang.reflect.Method.invoke(Method.java:521) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:860) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:618) 02-08 13:57:54.723: ERROR/AndroidRuntime(320): at dalvik.system.NativeStart.main(Native Method) My code is : private void MakePhoneCall() { try { //Take desicion based on phone state TelephonyManager telmanager=(TelephonyManager)getSystemService(Context.TELEPHONY_SERVICE); telmanager.listen(new PhoneStateListener(){ public void onCallStateChanged(int state,String incomingnumber){ //string newstate=getCallStateString(state); if(state==TelephonyManager.CALL_STATE_IDLE) { if(PhoneNocount0) { if(CellNo[PhoneNocount] != ) { CellToDial = tel: +CellNo[PhoneNocount]; Uri number=Uri.parse(CellToDial); dial=new Intent (Intent.ACTION_CALL,number); startActivity(dial); PhoneNocount--; } else { appendLog( MainActivity :Call :+CellNo[PhoneNocount]); } } else { stopService(dial); } } } } ,PhoneStateListener.LISTEN_CALL_STATE); } catch(Exception e) { Log.v(Error,e.toString()); } } I think onCallStateChanged fires this exception I dont know where i am wrong.. .Please Help :) Thanks Best Regards. Dhaval varia* *Assistant Professor * *Govt Engineering College,Modasa (9924343883) * * * -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google api 7
1. I need google api 7 or less... Where do i get it? 2. I have installed my app on motorola android 2.1 ,it is giving error: unable to parse... is it because i have built my project on 2.3 and try to install on 2.1? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Google api 7
Is this dowmload available offline ?? Where? On Feb 7, 2012 11:01 PM, Kristopher Micinski krismicin...@gmail.com wrote: On Tue, Feb 7, 2012 at 11:35 AM, Dhaval Varia dhavalkva...@gmail.comwrote: 1. I need google api 7 or less... Where do i get it? With the android tool that's included in the sdk you can download sdks for previous platforms.. 2. I have installed my app on motorola android 2.1 ,it is giving error: unable to parse... is it because i have built my project on 2.3 and try to install on 2.1? Probably, even if it's not because of that you still won't be able to install a 2.3 build on 2.1... -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: Removing Lock Screen
Dear it is not at all poSsible... Due to security reason.. Amend me if something wrong On Feb 8, 2012 4:27 AM, mgah mholland...@gmail.com wrote: If that is not possible, is there a way to start a timer when the lock screen appears and automatically enter the home screen when a timer elapses? On Feb 6, 4:19 pm, mgah mholland...@gmail.com wrote: Hello Developer team, I am trying to remove the lock screen completely from the phone. My goal is start the phone in the home screen when it boots up instead of starting on the lock screen. Can you help me with this? Thanks in advance. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Google market payment query
Plz let me know how google market is paying for paid app. How can i link my bank account to app on market.so when someone purchase my app i will get payment out of it. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] please help to replace lock screen theme
Any way to replace my custom theme to screen lock theme? -- Thanks Best Regards. Dhaval varia (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] please help to replace lock screen theme
Thanks sir.for detaile amswer On Feb 5, 2012 2:27 PM, Kristopher Micinski krismicin...@gmail.com wrote: You can't directly do this. You can only replace the lock screen. http://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/ http://stackoverflow.com/questions/6737760/android-lockscreen-tutorial http://stackoverflow.com/questions/5529608/android-how-to-develop-custom-lock-screen Basically the answer is: don't do this. If you do this, your app is basically, violating a security hole in the android system. The behavior that older lock screen apps use is not good practice, and will be (if it has not already been) removed from the API so your app will cease to work. Perhaps you think but my app is special. Answer: no, it's not. Perhaps you think but only I will ever use my app, so I don't mind if it breaks good coding practices, might be removed from the market for violating security practices (highly unlikely..), and uses now considered deprecated pieces of the API. Well, then perhaps the answer is to go right ahead. In general if you're wanting to modify the behavior of the *system*, you can't do it with an app. kris On Sun, Feb 5, 2012 at 3:06 AM, Dhaval Varia dhavalkva...@gmail.comwrote: Any way to replace my custom theme to screen lock theme? -- Thanks Best Regards. Dhaval varia (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] please help to replace lock screen theme
I have seen that,when i am getting sms or email i am having notification on the locked screen. When i slide that notification then it open inbox. Is this possible that i put my own slider,so that my app gets open. On Feb 5, 2012 3:22 PM, Dhaval Varia dhavalkva...@gmail.com wrote: Thanks sir.for detaile amswer On Feb 5, 2012 2:27 PM, Kristopher Micinski krismicin...@gmail.com wrote: You can't directly do this. You can only replace the lock screen. http://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/ http://stackoverflow.com/questions/6737760/android-lockscreen-tutorial http://stackoverflow.com/questions/5529608/android-how-to-develop-custom-lock-screen Basically the answer is: don't do this. If you do this, your app is basically, violating a security hole in the android system. The behavior that older lock screen apps use is not good practice, and will be (if it has not already been) removed from the API so your app will cease to work. Perhaps you think but my app is special. Answer: no, it's not. Perhaps you think but only I will ever use my app, so I don't mind if it breaks good coding practices, might be removed from the market for violating security practices (highly unlikely..), and uses now considered deprecated pieces of the API. Well, then perhaps the answer is to go right ahead. In general if you're wanting to modify the behavior of the *system*, you can't do it with an app. kris On Sun, Feb 5, 2012 at 3:06 AM, Dhaval Varia dhavalkva...@gmail.comwrote: Any way to replace my custom theme to screen lock theme? -- Thanks Best Regards. Dhaval varia (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] please help to replace lock screen theme
No..i m talking in general for android 1.6 or 2.1 On Feb 5, 2012 5:07 PM, Kostya Vasilyev kmans...@gmail.com wrote: Are you talking about HTC Sense 3.*? That's built into their firmware. -- Kostya 5 февраля 2012 г. 15:30 пользователь Dhaval Varia dhavalkva...@gmail.comнаписал: I have seen that,when i am getting sms or email i am having notification on the locked screen. When i slide that notification then it open inbox. Is this possible that i put my own slider,so that my app gets open. On Feb 5, 2012 3:22 PM, Dhaval Varia dhavalkva...@gmail.com wrote: Thanks sir.for detaile amswer On Feb 5, 2012 2:27 PM, Kristopher Micinski krismicin...@gmail.com wrote: You can't directly do this. You can only replace the lock screen. http://thinkandroid.wordpress.com/2010/01/24/handling-screen-off-and-screen-on-intents/ http://stackoverflow.com/questions/6737760/android-lockscreen-tutorial http://stackoverflow.com/questions/5529608/android-how-to-develop-custom-lock-screen Basically the answer is: don't do this. If you do this, your app is basically, violating a security hole in the android system. The behavior that older lock screen apps use is not good practice, and will be (if it has not already been) removed from the API so your app will cease to work. Perhaps you think but my app is special. Answer: no, it's not. Perhaps you think but only I will ever use my app, so I don't mind if it breaks good coding practices, might be removed from the market for violating security practices (highly unlikely..), and uses now considered deprecated pieces of the API. Well, then perhaps the answer is to go right ahead. In general if you're wanting to modify the behavior of the *system*, you can't do it with an app. kris On Sun, Feb 5, 2012 at 3:06 AM, Dhaval Varia dhavalkva...@gmail.comwrote: Any way to replace my custom theme to screen lock theme? -- Thanks Best Regards. Dhaval varia (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lock screen customization
Look sir i m making survaliance system.in which i need some way through which user can call my app,without wasting much time,for unlocking the phone. Plz help. On Feb 5, 2012 6:50 PM, lbendlin l...@bendlin.us wrote: They completely replace the standard lock screen. You can see from the market comments that users don't like that. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lock screen customization
I think not all the application uses this kind of facility Extend Android from the firmware level.. There must be some way...like overriding/overlays or something... If somebody knows,help me On 2/5/12, Raghav Sood raghavs...@androidactivist.org wrote: Look sir i m making survaliance system.in which i need some way through which user can call my app,without wasting much time,for unlocking the phone. Plz help Extend Android at the firmware level. See http://source.android.com/community/index.html for an appropriate list. Thanks -- Raghav Sood http://www.androidactivist.org/ - Author http://www.appaholics.in/ - Founder -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Play sound files in the conversation
No sorry this is not possible in android.I have worked on it and wasted 3 days. On Mon, Feb 6, 2012 at 2:30 AM, İbrahim Özdemir ibrahimozdemi...@gmail.comwrote: i develop an app. While A and B are making a phone call. A press an button which play an audio file and B hear that audio in the conversation. Is that possible? if it is possible, how can i achieve this? Thank you for your replies.. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android testing
Sorry but i dont think that we should give our application to some one else for testing. Please add if i am wrong On Mon, Feb 6, 2012 at 10:08 AM, Kristopher Micinski krismicin...@gmail.com wrote: http://stackoverflow.com/questions/1852248/is-there-an-android-testing-service-i-can-use-to-give-me-real-debug-information There are a few services doing this now. kris On Sun, Feb 5, 2012 at 8:06 PM, Jatin D Patel depo.ja...@gmail.comwrote: Hi all, Can somebody please provide me suggestions to test my application on various devices? Its targeted for all android mobile devices. -- Thanks, Jatin D N Patel You Got To Think HIGH to RISE. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Lock screen customization
I wanted to put my app icon on the lock screen. So without unlocking the device i can fire my app. Plz help me to solve this issue.or provide some link from which i can learn. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Lock screen customization
I have seen one app named : ICE: In Case of Emergency http://www.appventive.com/ice Which provides this facility... Would you please guide me how this people did it?? On 2/5/12, akhil raval akhil.andr...@gmail.com wrote: it is possible or not ? for android application-- Ever+ Never- @kh!l R@v@l (+91-96388-66691) (+91-74052-63600) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Android LocationManager GPS Reading Never Changes While Screen is Off
Hey if u need Continuous update.then leave ur s reenon in oncreate of activity On Feb 4, 2012 4:54 AM, Ted Scott t...@hootinholler.com wrote: I do a similar thing by running a service from an alarm, it checks position every 15 mins. It works while I'm just toting the phone around in my pocket screen locked. It even works while the app is closed as long as the app has been started since boot and the alarm initialized. Maybe it has something to do with the activity being suspended? On 1/31/2012 9:50 PM, Joshua Witter wrote: I posted this same question on StackOverflow if anyone wants the karma for answering it there. This is on an Android phone running 2.3.3 Gingerbread. I am trying to log a GPS location while the screen is off. When the screen is on, the GPS gives correct outputs... driving around in my car I have a phone hooked up to my laptop and I read the output with logcat. Under the same conditions, when I turn off the screen the GPS gives the same location over and over, until I turn on my screen again at which time it works properly. Here is my manifest file (note the WAKE_LOCK and GPS permissions as well as the LocationService definition): -- 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.comandroid-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+**unsubscr...@googlegroups.comandroid-developers%2bunsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/**group/android-developers?hl=enhttp://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] App activation by Voice
I am having two questoons 1 . Is there any way to call my application by voice? 2. How to update my software,which is already there on market? Actually i wanted to understand,how the software update taking place? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] How to Check Or Enable GPRS Programatically
*I am having application where i compulsory need GPRS (Not Wifi) ON. Is there any way to check wether GPRS is ON? and if it is OFF ,Is there any way to make it turn on without/With user interaction * -- Thanks Best Regards. Dhaval varia -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] How to parse Json file (Which is output of http://maps.googleapis.com/maps/api/geocode/json.....)
After Lots of trial i got following solution. I am writing full solution,with the intention that everyone can take benefit of it.and getting solution without wasting valuable time,like me. package com.example.Jsonparse; import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.File; import java.io.FileWriter; import java.io.InputStreamReader; import org.apache.http.HttpEntity; import org.apache.http.HttpResponse; import org.apache.http.client.HttpClient; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.DefaultHttpClient; import org.json.JSONArray; import org.json.JSONObject; import android.app.Activity; import android.os.Bundle; import android.widget.TextView; import android.widget.Toast; public class JsonparseActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); try { String Lat=Double.toString(22.508507985602836); String Long=Double.toString(73.474991977022533); String Address= ReadAddressFromWebService(Lat,Long); Toast.makeText(this,Address, Toast.LENGTH_LONG).show(); } catch(Exception e) { appendLog(Json parsing error :+ e.toString()); Toast.makeText(this,e.toString(), Toast.LENGTH_LONG).show(); } } public String ReadAddressFromWebService(String latitude, String longitude) { String Address=; StringBuffer sb=new StringBuffer(); sb.append(http://maps.googleapis.com/maps/api/geocode/json?latlng=+ latitude +,+longitude +sensor=false); String url=sb.toString(); HttpClient httpClient=new DefaultHttpClient(); appendLog(HTTP client created); String responseData=; try { HttpResponse response=httpClient.execute(new HttpGet(url)); response.addHeader(Accept-Language, en-US); HttpEntity entity=response.getEntity(); appendLog(HTTP Response arrived); BufferedReader bf=new BufferedReader(new InputStreamReader((entity.getContent()),UTF-8)); String line=; appendLog(Start buffre reading); while((line=bf.readLine())!=null){ responseData=responseData+line; } JSONObject jsonObj = new JSONObject(responseData); JSONArray resultArry = jsonObj.getJSONArray(results); Address =resultArry.getJSONObject(0).getString(formatted_address).toString(); } catch (Exception e) { // TODO Auto-generated catch block appendLog(Parsing Problem: +e.toString()); } return Address; } public void appendLog(String text) { File logFile = new File(sdcard/exception.txt); if (!logFile.exists()) { try { logFile.createNewFile(); } catch (Exception e) { // TODO Auto-generated catch block e.toString(); } } try { //BufferedWriter for performance, true to set append to file flag BufferedWriter buf = new BufferedWriter(new FileWriter(logFile, true)); buf.append(text); buf.newLine(); buf.close(); } catch (Exception e) { // TODO Auto-generated catch block e.toString(); } } } On 1/28/12, Dhaval Varia dhavalkva...@gmail.com wrote: Thanks for reply.. Will get back to you after plugging the code.. On Jan 28, 2012 10:54 AM, Shubhangi shubhangidesa...@gmail.com wrote: hello first of all let me tell u regarding ur track for JSON parsing and getting address using a web service is right.. now here I'm sending u code that how I am used to parse the JSON data.. All you have to do is check this specified URL and change the rest of the code according your requirements.. code is given below ArrayListHashMapString, String mylist = new ArrayListHashMapString, String(); JSONObject json = JSONfunctions.getJSONfromURL( http://api.geonames.org/earthquakesJSON?north=44.1south=-9.9east=-22.4west=55.2username=demo ); try{ JSONArray earthquakes = json.getJSONArray(earthquakes); for(int i=0;iearthquakes.length();i++){ HashMapString, String map = new HashMapString, String(); JSONObject e = earthquakes.getJSONObject(i); map.put(id, String.valueOf(i)); map.put(name, Earthquake name
[android-developers] How to parse Json file (Which is output of http://maps.googleapis.com/maps/api/geocode/json.....)
: { northeast : { lat : 23.36486150, lng : 73.98468020 }, southwest : { lat : 22.22999730, lng : 73.3866118999 } } }, types : [ administrative_area_level_2, political ] }, { address_components : [ { long_name : Gujarat, short_name : Gujarat, types : [ administrative_area_level_1, political ] }, { long_name : India, short_name : IN, types : [ country, political ] } ], formatted_address : Gujarat, India, geometry : { bounds : { northeast : { lat : 24.7331750, lng : 74.552651 }, southwest : { lat : 20.1020120, lng : 68.1628341999 } }, location : { lat : 22.2586520, lng : 71.19238050 }, location_type : APPROXIMATE, viewport : { northeast : { lat : 24.7331750, lng : 74.552651 }, southwest : { lat : 20.1020120, lng : 68.1628341999 } } }, types : [ administrative_area_level_1, political ] }, { address_components : [ { long_name : India, short_name : IN, types : [ country, political ] } ], formatted_address : India, geometry : { bounds : { northeast : { lat : 35.50715650, lng : 97.390 }, southwest : { lat : 6.7471390, lng : 68.1623860 } }, location : { lat : 20.5936840, lng : 78.962880 }, location_type : APPROXIMATE, viewport : { northeast : { lat : 35.50715650, lng : 97.390 }, southwest : { lat : 6.7471390, lng : 68.1623860 } } }, types : [ country, political ] } ], status : OK } / I need just Address from it. Please suggest some solution. Thanks Best Regards. Dhaval varia -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] how to create and get mode of phone
dear i am having two question 1. is there any way to create custom mode like general,silent,meeting.? 2. is there any way to get,in which mode ur phone is? like general,silent? 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] gps taking too much time...
dear i m finding address for current latitude and longitude. but some times, 1. gps takes long time to get lat long. 2. geocoder takes much time for having address from lat long. 3. in india , address is not accurate. is this problem of gps? i m following exact code given on : http://www.codeproject.com/Articles/112044/GPSLocator-App-to-Find-Current-Nearest-Location-us -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] override home key
thanx for reply? would u plz eleborate?? will it be useful in my case? On Jan 21, 2012 5:32 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 20, 2012 at 11:20 PM, Kumar Bibek coomar@gmail.com wrote: I am not sure about this, but I think it would work for you. When you press the Home button, there would be an Intent fired system-wide. So, you could write a receiver that tracks these particular kind of intent. There is no broadcast Intent for HOME. HOME is used with startActivity(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.3 Available! -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] override home key
mark... thanx for reply... :) On Jan 21, 2012 5:42 PM, Mark Murphy mmur...@commonsware.com wrote: On Fri, Jan 20, 2012 at 11:04 PM, Dhaval Varia dhavalkva...@gmail.com wrote: As we know we dont have time to open app in emergency. One could argue that you don't have time to reach for a phone in an emergency, or you might not have a phone in an emergency, or your phone might have a dead battery, or your phone does not have a mobile data or WiFi signal, etc. Conversely, not all emergencies are necessarily that time-critical for the person with the phone. Hence, the net value of being able to trigger your app via an external mechanical means versus, say, a home screen app widget, is not that great, IMHO. so it should fire on some hard key. so plz suggeat alternet solution You can build your own phone, with your own dedicated hardware button for emergencies, that will launch your own application via hooks from your own firmware. Or, take another approach that does not require the app to be manually triggered in the emergency situation: http://commonsware.com/blog/2010/05/24/application-concept-resqr.html Or, focus on creating a home screen app widget as your trigger, with something to ensure that it is not accidentally invoked by the user. Or, write another app. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy _The Busy Coder's Guide to *Advanced* Android Development_ Version 2.3 Available! -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: gps taking too much time...
thanx sir for reply. On Jan 21, 2012 5:58 PM, Kumar Bibek coomar@gmail.com wrote: 1. GPS takes a long time to get the lat/long is understandable, and in some cases unavoidable. You could try different approaches for getting a location depending upon your requirement. (Probably use different providers when you don't want to wait for a gps fix) 2. This shouldn't be taking a long time, given that you have a decent enough network on your phone. 3. True. Can't do anything about that. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] App fire on pressing lock key of phone
I want to fire my app on lock/unlock key press for few times. how to do it? thanx -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] override home key
dear, is there any way to override home key? i want to start my app,by pressing home key for few times. thanx -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] override home key
i m getting all the times answer no.. then why android is this mch popular? On Jan 21, 2012 8:56 AM, Kristopher Micinski krismicin...@gmail.com wrote: Basically, no. To explain the basically: you can't do it. kris On Fri, Jan 20, 2012 at 10:19 PM, Dhaval Varia dhavalkva...@gmail.com wrote: dear, is there any way to override home key? i want to start my app,by pressing home key for few times. thanx -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] override home key
i am going to make one emeergency alert app As we know we dont have time to open app in emergency. so it should fire on some hard key. so plz suggeat alternet solution thanx. On Jan 21, 2012 9:25 AM, Kumar Bibek coomar@gmail.com wrote: There would always be a few things which you cannot do. I don't understand how does this No affect the popularity of Android. Their could be other ways to solve your problem, that is, if you could mention exactly what you are trying to do. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Sat, Jan 21, 2012 at 9:21 AM, Dhaval Varia dhavalkva...@gmail.comwrote: i m getting all the times answer no.. then why android is this mch popular? On Jan 21, 2012 8:56 AM, Kristopher Micinski krismicin...@gmail.com wrote: Basically, no. To explain the basically: you can't do it. kris On Fri, Jan 20, 2012 at 10:19 PM, Dhaval Varia dhavalkva...@gmail.com wrote: dear, is there any way to override home key? i want to start my app,by pressing home key for few times. thanx -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] override home key
thanx sir On Jan 21, 2012 9:51 AM, Kumar Bibek coomar@gmail.com wrote: I am not sure about this, but I think it would work for you. When you press the Home button, there would be an Intent fired system-wide. So, you could write a receiver that tracks these particular kind of intent. Now, in the receiver, you could monitor the frequency of these intents. IF you could detect that the frequency is the same as you would want your app to be triggered, you can very well start a service or activity, or whatever. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Sat, Jan 21, 2012 at 9:34 AM, Dhaval Varia dhavalkva...@gmail.comwrote: i am going to make one emeergency alert app As we know we dont have time to open app in emergency. so it should fire on some hard key. so plz suggeat alternet solution thanx. On Jan 21, 2012 9:25 AM, Kumar Bibek coomar@gmail.com wrote: There would always be a few things which you cannot do. I don't understand how does this No affect the popularity of Android. Their could be other ways to solve your problem, that is, if you could mention exactly what you are trying to do. *Thanks and Regards, Kumar Bibek* * http://techdroid.kbeanie.com http://www.kbeanie.com* On Sat, Jan 21, 2012 at 9:21 AM, Dhaval Varia dhavalkva...@gmail.comwrote: i m getting all the times answer no.. then why android is this mch popular? On Jan 21, 2012 8:56 AM, Kristopher Micinski krismicin...@gmail.com wrote: Basically, no. To explain the basically: you can't do it. kris On Fri, Jan 20, 2012 at 10:19 PM, Dhaval Varia dhavalkva...@gmail.com wrote: dear, is there any way to override home key? i want to start my app,by pressing home key for few times. thanx -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Is there any way to install/convert android code to java
Hello I have made application in which 1. It run in background 2. When sms received,and its body contain specific code like *123# then it play one Audio file. I wanted to install this app on java supported mobile. But the prpblem is i dnt know any thing about j2me. Is there any way/tool to convert android code to java.so that java supported mobile can run it. 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 android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Address is not accurate
Plz let me know why geo coder does not give exact location? Although,if i am sending obtained latitude and longitude on google map,then it provides exact location.. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Send Email without user input
http://stackoverflow.com/questions/2020088/sending-email-in-android-using-javamail-api-without-using-the-default-android-ap On Jan 15, 2012 7:29 PM, ambi ambi1...@gmail.com wrote: Hi, My requirement is to build an app that will send email to user at regular intervals but without any input from the user. Is there any way to do that? I am aware of the javamail-android available at the following link but would like to know of any other way (perhaps something mentioned in the official android documentation). http://code.google.com/p/javamail-android/ I am bit sceptical to use javamail-android because the source code for the three jar files namely additionnal.jar, mail.jar, activation.jar is not available. Thanks, Ambi. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: gps waiting problem.
jstmind ur buisness... i m having whole code...trying since last 3days.then asked qustion.. i m sending email having that address...dt time my app got stuck...not responding. i m jst trying to know,whats wrong in my code.. dnt blame any one.without knowing everything sorry for hard words... On Jan 13, 2012 1:49 PM, Ali Chousein ali.chous...@gmail.com wrote: You are basically looking for someone who is going to do all the job for you and you'll have all the credit. Try registering to any product-managers group or change your profession. On Jan 13, 4:25 am, Dhaval Varia dhavalkva...@gmail.com wrote: i am writing one app. in which 1. gps find lat long by calling update location 2. using this find address. this function calles in updatelocation my que is: update location called periodically. it will call fun for getting address,inturn. i dont want to call fun of getting address periodically. it should call only once,after getting lat long. plz help. Plz let me know how to start progressbar,start before calling updatelocation and stop after getting addreas. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: gps waiting problem.
(); } } catch(Exception ex){ Toast.makeText(this,getAddress :+ex.toString(), Toast.LENGTH_LONG).show(); } } } Problem is : 1. UpdateRemove doesn't work. 2. I need to do following thing : - Get Address Once (By calling getaddress()), - After Getting Address,UpdataLocation function should not call. -- so, Address will setOnce Timer should stop Application Finish() / Close . On 1/13/12, Spiral123 cumis...@gmail.com wrote: 1. Appreciate that English is probably not your first language, but plz dnt mk it evn hrdr fr ppl to read you posts by contracting words. 2. Good that you have the whole code already. If you are having a problem with it can you post a section of the LogCat where it falls over or a (small) snippet of the source that shows where you are having a problem? Then you will have a better chance of a positive response. thanks On Jan 13, 6:10 am, Dhaval Varia dhavalkva...@gmail.com wrote: jstmind ur buisness... i m having whole code...trying since last 3days.then asked qustion.. i m sending email having that address...dt time my app got stuck...not responding. i m jst trying to know,whats wrong in my code.. dnt blame any one.without knowing everything sorry for hard words... On Jan 13, 2012 1:49 PM, Ali Chousein ali.chous...@gmail.com wrote: You are basically looking for someone who is going to do all the job for you and you'll have all the credit. Try registering to any product-managers group or change your profession. On Jan 13, 4:25 am, Dhaval Varia dhavalkva...@gmail.com wrote: i am writing one app. in which 1. gps find lat long by calling update location 2. using this find address. this function calles in updatelocation my que is: update location called periodically. it will call fun for getting address,inturn. i dont want to call fun of getting address periodically. it should call only once,after getting lat long. plz help. Plz let me know how to start progressbar,start before calling updatelocation and stop after getting addreas. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: gps waiting problem.
my que is in this code locationmanager.removeupdate Has called but getaddress is calling few time. i think after remove it, onlocationchange should mot call.right? bt it call. inturn,getaddress is calling for few time. I dnt want to call after having address from lat-long. What to do? On Jan 13, 2012 10:17 PM, Spiral123 cumis...@gmail.com wrote: that is not a snippet. Problem is : 1. UpdateRemove doesn't work. I can't see any reference to 'UpdateRemove' in your code. what is the error in the LogCat and what line of code does it happen at? 2. I need to do following thing : - Get Address Once (By calling getaddress()), - After Getting Address,UpdataLocation function should not call. -- so, Address will setOnce Timer should stop Application Finish() / Close errr...well that is a statement, not a question. What is your question? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: gps waiting problem.
my que is in this code locationmanager.removeupdate() Has called, but still getaddress() is calling for few times. i think after locatiomanager.removeupdate() , onlocationchange() should mot call.right? bt it is calling. inturn, getaddress() is calling for few time. I want that getaddress() should not call after having address,based on lat-long. What to do? On Jan 13, 2012 10:38 PM, Dhaval Varia dhavalkva...@gmail.com wrote: my que is in this code locationmanager.removeupdate Has called but getaddress is calling few time. i think after remove it, onlocationchange should mot call.right? bt it call. inturn,getaddress is calling for few time. I dnt want to call after having address from lat-long. What to do? On Jan 13, 2012 10:17 PM, Spiral123 cumis...@gmail.com wrote: that is not a snippet. Problem is : 1. UpdateRemove doesn't work. I can't see any reference to 'UpdateRemove' in your code. what is the error in the LogCat and what line of code does it happen at? 2. I need to do following thing : - Get Address Once (By calling getaddress()), - After Getting Address,UpdataLocation function should not call. -- so, Address will setOnce Timer should stop Application Finish() / Close errr...well that is a statement, not a question. What is your question? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: gps waiting problem.
Jst bcoz i m sending email from my mobile Thanks for reply. On Jan 14, 2012 12:38 AM, Spiral123 cumis...@gmail.com wrote: wh d u kp drppng ltrs? I thnk ths pst answrs ur que: http://stackoverflow.com/questions/5895283/locationlistener-and-timers On Jan 13, 12:24 pm, Dhaval Varia dhavalkva...@gmail.com wrote: my que is in this code locationmanager.removeupdate() Has called, but still getaddress() is calling for few times. i think after locatiomanager.removeupdate() , onlocationchange() should mot call.right? bt it is calling. inturn, getaddress() is calling for few time. I want that getaddress() should not call after having address,based on lat-long. What to do? On Jan 13, 2012 10:38 PM, Dhaval Varia dhavalkva...@gmail.com wrote: my que is in this code locationmanager.removeupdate Has called but getaddress is calling few time. i think after remove it, onlocationchange should mot call.right? bt it call. inturn,getaddress is calling for few time. I dnt want to call after having address from lat-long. What to do? On Jan 13, 2012 10:17 PM, Spiral123 cumis...@gmail.com wrote: that is not a snippet. Problem is : 1. UpdateRemove doesn't work. I can't see any reference to 'UpdateRemove' in your code. what is the error in the LogCat and what line of code does it happen at? 2. I need to do following thing : - Get Address Once (By calling getaddress()), - After Getting Address,UpdataLocation function should not call. -- so, Address will setOnce Timer should stop Application Finish() / Close errr...well that is a statement, not a question. What is your question? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Geo coder not provides exact location
Plz let me know why this code is not giving exact location. Although,if i am sending obtained latitude and longitude on google map,then it provides exact location.. private void Find_Current_LatLong() { try { appendLog(\n /brFind_Current_LatLong(); Called \n /br); txtstatus.setText(WaitLocating Accident Place!); //Find Latitude Longitude locationManager = (LocationManager)this.getSystemService(Context. LOCATION_SERVICE); locationlistener = new LocationListener() { public void onLocationChanged(Location location) { locationManager.removeUpdates( locationlistener); updateLocation(location); } public void onStatusChanged( String provider, int status, Bundle extras) { switch (status) { case LocationProvider.AVAILABLE: txtstatus.setText(GPS available again\n); break; case LocationProvider.OUT_OF_SERVICE: txtstatus.setText(GPS out of service\n); break; case LocationProvider.TEMPORARILY_UNAVAILABLE: txtstatus.setText(GPS temporarily unavailable\n); break; } } public void onProviderEnabled(String provider) { txtstatus.setText(GPS Enabled); } public void onProviderDisabled(String provider) { txtstatus.setText(GPS Disabled); } }; locationManager. requestLocationUpdates( LocationManager.GPS_PROVIDER, 1000, 50, locationlistener); } catch(Exception e) { Toast.makeText(this,Find_ Current_LatLong: +e.toString(), Toast.LENGTH_LONG).show(); appendLog(\n /brError in Find_Current_LatLong +e.toString() ); } } void updateLocation(Location location){ try { appendLog(\n /brupdate Location called \n /br); currentLocation = location; currentLatitude = currentLocation.getLatitude(); currentLongitude = currentLocation.getLongitude(); appendLog(\n /brLat long is: \n /br+ Double.toString(currentLatitude) + + Double.toString(currentLongitude)); txtstatus.setText(Latitude Longitude Found!); getAddress(); if(location!=null) { locationManager.removeUpdates( locationlistener); appendLog(\n /brLocation Updater Removed \n /br); } } catch(Exception e) { Toast.makeText(this,Location Update Not Succeed!+e.toString(), Toast.LENGTH_LONG).show(); } } protected void getAddress() { try{ appendLog(\n /br Get Address Called \n /br); txtstatus.setText(Converting GeoCordinate To Address !); appendLog(\n /brGetAddress start finding Address \n txtstatus.setText(Address Found!); } try { Geocoder geocoder = new Geocoder(this, Locale.getDefault()); ListAddress addresses1 = geocoder.getFromLocation(currentLatitude, currentLongitude,1); Address obj = addresses1.get(0); add = obj.getAddressLine(0); add = add + \n /br + obj.getCountryName(); add = add + \n /br + obj.getCountryCode(); add = add + \n /br + obj.getAdminArea(); add = add + \n /br + obj.getPostalCode(); add = add + \n /br + obj.getSubAdminArea(); add = add + \n /br + obj.getLocality(); add = add + \n /br + obj.getSubThoroughfare(); appendLog(\n /brAddress Found:+ add + \n /br); txtstatus.setText(Address Found!); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); Toast.makeText(this, e.getMessage(), Toast.LENGTH_SHORT).show(); } } if(Count=0) { appendLog(\n /brCount Set to 15 \n /br); Count=15; appendLog(\n /brFinishing Activity\n /br); finish(); } } catch(Exception ex){ Toast.makeText(this,getAddress :+ex.toString(), Toast.LENGTH_LONG).show(); } } } Plz help. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] gps waiting problem.
i am writing one app. in which 1. gps find lat long by calling update location 2. using this find address. this function calles in updatelocation my que is: update location called periodically. it will call fun for getting address,inturn. i dont want to call fun of getting address periodically. it should call only once,after getting lat long. plz help. Plz let me know how to start progressbar,start before calling updatelocation and stop after getting addreas. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] plz help close application
how can we close app/activity? -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] plz help close application
thanks friend On Jan 10, 2012 5:50 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jan 10, 2012 at 7:09 AM, Dhaval Varia dhavalkva...@gmail.com wrote: how can we close app/activity? Your activity can close itself by calling finish(). -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] plz help close application
thanks mark On Jan 10, 2012 6:18 PM, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jan 10, 2012 at 7:24 AM, Ankit Kasliwal kasliwalankit2...@gmail.com wrote: just put android.os.Process.killProcess(android.os.Process.myPid()); to close all activity related with your appliction Please do not use this in production applications. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Re: plz help close application
thanks thanks for reply On Jan 10, 2012 7:13 PM, sparky spar...@google.com wrote: You should not. Just implement the appropriate callbackshttp://developer.android.com/guide/topics/fundamentals/activities.html#ImplementingLifecycleCallbacks and let the OS decide when to close your activity. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Can we read data from any other database files in our android application
yes. u can.find connectivity of android mysql On Jan 4, 2012 3:30 PM, diljith k j diljit...@gmail.com wrote: Can we read data from any other database files in our android application or can we convert other data base extension files and make it usefull -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] trigger app by pressing any of the hardware key
dear i am making one application. where i required to fire an application without unlocking or selecting icon of app. i need to trigger app by pressing any of the hardware key(which ever is possible) of my phone 3 times. plz provide me some code anippet. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Help.to find out button/key press on phone..
dear i am making one application. where i required to fire an application without unlocking or selecting icon of app. i need to trigger app by pressing any of the hardware key(which ever is possible) of my phone 3 times. plz provide me some code anippet. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help.to find out button/key press on phone..
i know dear. i requied to create broadcaat receiver rinning in bkground. bt i dnt knowhow to monitor key press.. that i wnt to know... thanks for quick reply... On Jan 8, 2012 4:36 PM, Robinns librain.ro...@gmail.com wrote: Wow, i dont think you can do that at an application level. May be i am wrong? but as with my little knowledge in Android its not possible at application level. On Sun, Jan 8, 2012 at 4:47 PM, Dhaval Varia dhavalkva...@gmail.comwrote: dear i am making one application. where i required to fire an application without unlocking or selecting icon of app. i need to trigger app by pressing any of the hardware key(which ever is possible) of my phone 3 times. plz provide me some code anippet. -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Robin -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] Help.to find out button/key press on phone..
plz see emergency panic button sos it providea dt feature... On Jan 8, 2012 5:39 PM, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jan 8, 2012 at 6:10 AM, Dhaval Varia dhavalkva...@gmail.com wrote: i know dear. i requied to create broadcaat receiver rinning in bkground. bt i dnt knowhow to monitor key press.. You don't. The only keys that are broadcast to all devices are ACTION_CAMERA_BUTTON and ACTION_MEDIA_BUTTON, and the vast majority of devices have neither of those. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Android Training in NYC: http://marakana.com/training/android/ -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Plz Help on Sending Google Map Location in Email
Dear Through GPS I have found Latitude and Longitude. *Now I wanted to do following things:* *1. Send Location Link in Email.* * By clicking this , receiving party should directly move to that location on Google map* * * *2. [If possible] Send this link in sms.** * * * * So,if user doesn't read Email,still he could get location Information on map* * * * * Thanks Best Regards. Dhaval varia -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
Re: [android-developers] problem: play pre recorded audio in out going call
Dear jim thanx for reply.. I m making one application,where i required to do it. without it i have to close this app devlopment. I m really depressed by hearing this... Pls ,is there any othee way? On Jan 2, 2012 5:43 PM, Jim Graham spooky1...@gmail.com wrote: On Sat, Dec 31, 2011 at 09:51:10PM -0800, dhaval wrote: when receiver party pickup call then he should hear pre[-]recorded audio file I'm 99% sure that I've read, around a dozen or so times in this list over the last month or two, that you can't, period, as you don't have access to the audio stream for the call. If I'm wrong about that, someone please correct me. Plz ...is not a word in the English language. Later, --jim -- THE SCORE: ME: 2 CANCER: 0 73 DE N5IAL (/4)MiSTie #49997 Running FreeBSD 7.0 spooky1...@gmail.com ICBM/Hurricane: 30.44406N 86.59909W 'Wrong' is one of those concepts that depends on witnesses. --Catbert: Evil Director of Human Resources (Dilbert, 05Nov09) Android Apps Listing at http://www.jstrack.org/barcodes.html -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Regarding AVD compatiblity
i m trying to deveop one application which uses 1. My sql 2. Google map bt as i have seen AVD 2.0 support My sql ,while AVD 3.0 Google API support Map but it dont support mysql. then what to do?? tell me,if u have any idea -- Thanks Best Regards. Dhaval varia Assistant Professor Govt Engineering College,Modasa (9924343883) -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problem with google map on Android Emulator
Dear, I am working on Android emulator. 2.3.1 (Google API) API 9 The problem is i am working behind corporate proxy. emulator doesnt allowed to open Google Maps. *it gives error : **this application requires active data connection* *Thanks Best Regards.** ** ** **Dhaval varia* *Assistant Professor * *Govt Engineering College,Modasa** **(9924343883)** * * * -- 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...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en