[android-developers] How to Create a file in Android Emulator Phone Memory
I have added these permissions uses-permission android:name=android.permission.READ_OWNER_DATA/ uses-permission uses-permission android:name=android.permission.WRITE_OWNER_DATA/ uses-permission uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/uses- permission but i cannot able to create a file in phone memory of android emulator it is showing the error 11-23 11:44:06.019: WARN/System.err(1625): java.io.IOException: Parent directory of file is not writable: /data/tripdata Please help me 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
[android-developers] Re: Map is not displaying even the settings are correct
i tired reinstalling its showing the following error 11-17 18:40:14.882: INFO/ActivityManager(565): Starting activity: Intent { cmp=com.example.android.google.apis/ com.example.android.apis.view.MapViewDemo } 11-17 18:40:14.923: ERROR/ActivityThread(755): Failed to find provider info for com.google.settings 11-17 18:40:14.923: ERROR/ActivityThread(755): Failed to find provider info for com.google.settings 11-17 18:40:14.943: ERROR/ActivityThread(755): Failed to find provider info for com.google.settings 11-17 18:40:15.093: INFO/MapActivity(755): Handling network change notification:CONNECTED 11-17 18:40:15.093: ERROR/MapActivity(755): Couldn't get connection factory client 11-17 18:40:15.523: INFO/ActivityManager(565): Displayed activity com.example.android.google.apis/ com.example.android.apis.view.MapViewDemo: 629 ms (total 629 ms) 11-17 18:40:15.624: INFO/InetAddress(755): Unknown host www.google.com, throwing UnknownHostException 11-17 18:40:17.093: INFO/InetAddress(755): Unknown host www.google.com, throwing UnknownHostException 11-17 18:40:18.573: INFO/InetAddress(755): Unknown host www.google.com, throwing UnknownHostException 11-17 18:40:20.044: INFO/InetAddress(755): Unknown host www.google.com, throwing UnknownHostException 11-17 18:40:21.543: INFO/InetAddress(755): Unknown host www.google.com, throwing UnknownHostException 11-17 18:40:23.023: INFO/InetAddress(755): Unknown host www.google.com, throwing UnknownHostException please help me On Nov 16, 6:46 pm, TreKing treking...@gmail.com wrote: At this point it might be your maps add-on is broken somehow. Try uninstalling and re-installing it maybe? --- -- TreKing - Chicago transit tracking app for Android-powered deviceshttp://sites.google.com/site/rezmobileapps/treking On Mon, Nov 16, 2009 at 5:18 AM, naveenballa naveenball...@gmail.comwrote: The default Google maps application in the emulator(platform 1.6) itself showing only the tiles. please help me Thanks in advance.!! On Nov 14, 1:05 am, jotobjects jotobje...@gmail.com wrote: The API key has to be generated from the certificate that you use to sign the app when you build it. You can't just use a different API key on each machine unless you are also building the APK on each machine. On Nov 12, 8:12 pm, naveenballa naveenball...@gmail.com wrote: Thanks everyone for the reply i have also done getting separate API key for my PC then also it's displaying only tiles. can you give any other reason? On Nov 13, 3:43 am, jotobjects jotobje...@gmail.com wrote: On Nov 12, 1:04 pm, TreKing treking...@gmail.com wrote: I think you have to set up a new debug key on each machine you use. I jump back and forth between my desktop and laptop and I have a separate debug key for each. So on whichever machine you're not seeing tiles on, run through the process to get a debug key again and see if that works. Is the OP using the debug key and distributing the APK to multiple devices? Possibly there is some way the Maps server can detect when the key is the MD5 fingerprint of the debug certificate since you are not supposed to use the debug certificate for a distributed app (not sure if or how this is detected). Also the API key must be the MD5 fingerprint for same certificate that was use to sign the application. -- 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.comandroid-developers%2Bunsubs cr...@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 Add Objects to Sqlite Database
i have a class like class Mydata{ String name; int data; Location[] locarray; } ListMydata = new ArrayListMydata( ); can anyone tell me how to add the object of Mydata class to Sqlite Database column 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
[android-developers] Re: Map is not displaying even the settings are correct
The default Google maps application in the emulator(platform 1.6) itself showing only the tiles. please help me Thanks in advance.!! On Nov 14, 1:05 am, jotobjects jotobje...@gmail.com wrote: The API key has to be generated from the certificate that you use to sign the app when you build it. You can't just use a different API key on each machine unless you are also building the APK on each machine. On Nov 12, 8:12 pm, naveenballa naveenball...@gmail.com wrote: Thanks everyone for the reply i have also done getting separate API key for my PC then also it's displaying only tiles. can you give any other reason? On Nov 13, 3:43 am, jotobjects jotobje...@gmail.com wrote: On Nov 12, 1:04 pm, TreKing treking...@gmail.com wrote: I think you have to set up a new debug key on each machine you use. I jump back and forth between my desktop and laptop and I have a separate debug key for each. So on whichever machine you're not seeing tiles on, run through the process to get a debug key again and see if that works. Is the OP using the debug key and distributing the APK to multiple devices? Possibly there is some way the Maps server can detect when the key is the MD5 fingerprint of the debug certificate since you are not supposed to use the debug certificate for a distributed app (not sure if or how this is detected). Also the API key must be the MD5 fingerprint for same certificate that was use to sign the application. -- 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] Re: Map is not displaying even the settings are correct
Thanks everyone for the reply i have also done getting separate API key for my PC then also it's displaying only tiles. can you give any other reason? On Nov 13, 3:43 am, jotobjects jotobje...@gmail.com wrote: On Nov 12, 1:04 pm, TreKing treking...@gmail.com wrote: I think you have to set up a new debug key on each machine you use. I jump back and forth between my desktop and laptop and I have a separate debug key for each. So on whichever machine you're not seeing tiles on, run through the process to get a debug key again and see if that works. Is the OP using the debug key and distributing the APK to multiple devices? Possibly there is some way the Maps server can detect when the key is the MD5 fingerprint of the debug certificate since you are not supposed to use the debug certificate for a distributed app (not sure if or how this is detected). Also the API key must be the MD5 fingerprint for same certificate that was use to sign the application. -- 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] Map is not displaying even the settings are correct
i am running the mapdemo application in the samples of SDK. i have set the MAP api key and set the permissions(INTERNET, FINE, COARSE) Then also the map is not displaying on the emulator (only just Tiles) please help me 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
[android-developers] Re: Map is not displaying even the settings are correct
thanks for reply yes i registered the API key even then the map is not displaying it's working in another Computer not in mine what may be the problem . Is there other settings i need to do in my computer. On Nov 12, 1:09 am, jotobjects jotobje...@gmail.com wrote: Did you register the debug API key that you are using in the emulator following the documentation instructions? On Nov 10, 9:49 pm, naveenballa naveenball...@gmail.com wrote: i am running the mapdemo application in the samples of SDK. i have set the MAP api key and set the permissions(INTERNET, FINE, COARSE) Then also the map is not displaying on the emulator (only just Tiles) please help me 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