[android-developers] Re: openOrCreateDatabase or what?

2008-08-30 Thread munzelmann
On 29 Aug., 18:52, "Megha Joshi" <[EMAIL PROTECTED]> wrote: > You should not use openOrCreateDatabase() directly, instead use > SqliteOpenHelper. For details see the docs > below:http://code.google.com/android/devel/data/databases.html > Thank you! This was a very helpful hint. --~--~-

[android-developers] openOrCreateDatabase or what?

2008-08-29 Thread munzelmann
Prior to release 0.9 one could do the following to open or create a SQLite database: try { db = context.openDatabase(DATABASE_NAME, null); } catch (FileNotFoundException e) { db = context.createDatabase(DATABASE_NAME, DATABASE_VERSION, Context.M

[android-developers] Re: GPS LocationProvider journey simulation

2008-08-28 Thread munzelmann
For those who are still struggling with ddms and location updates: I got this issue solved by moving my development tools from a German Windows XP to Debian Linux with an English locale. So it seems that ddms location updates are broken on Windows XP and/or German (or any non english?) Locale. -

[android-developers] Re: location is always latitude 0 longitude 0 altitude 10 in v0.9

2008-08-28 Thread munzelmann
After two days fishing in the dark I get now correct location updates from ddms with both manual updates and gmx files. What did I do? I moved from a German Windows XP to Linux with an English locale. So it seems that ddms location updates are broken on Windows XP and/or German (or any non english

[android-developers] Re: problem Porting to 0.9 sdk, anyone please guide me... thanks...

2008-08-27 Thread munzelmann
On Aug 27, 11:56 am, Nanard <[EMAIL PROTECTED]> wrote: > I also have a lot of problems porting my app to the new SDK. > > After spending some hours trying. I have decided to rewrite all my > app (few screens) using new SDK, but same architecture as before. (I > will of course slowy copy/paste/

[android-developers] Re: problem Porting to 0.9 sdk, anyone please guide me... thanks...

2008-08-27 Thread munzelmann
> > Problem 2 > - > I wanna to download image using HTTPConnection it say > java.net.SocketException: unknown error means??? > Try to add http://schemas.android.com/apk/res/ android" android:name="android.permission.INTERNET"> to your AndroidManifest. --~--~-~--~~---

[android-developers] Re: GPS LocationProvider journey simulation

2008-08-26 Thread munzelmann
> Try this for manual test: > *** > LocationManager lm = (LocationManager) > getSystemService(Context.LOCATION_SERVICE); > lm.setTestProviderStatus(LocationManager.GPS_PROVIDER, > LocationProvider.AVAILABLE, null, System.currentTimeMillis()); > lm.setTestProviderEnabled(LocationManager.GPS_PROVIDE

[android-developers] Re: GPS LocationProvider journey simulation

2008-08-26 Thread munzelmann
Did anybody get the GPS mock provider working? I tried everything mentioned in this thread, especially: - set permissions ACCESS_MOCK_LOCATION and ACCESS_FINE_LOCATION - call locationManager.setTestProviderEnabled(LocationMananger.GPS_PROVIDER, true); But I still get no location updates. Then I