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.
--~--~-
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
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.
-
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
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/
>
> 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.
--~--~-~--~~---
> 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
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
8 matches
Mail list logo