creating multiple tables in a single databse in android

by Mark Murphy » Mon, 22 Feb 2010 20:38:36 GMT

Sponsored Links

Call execSQL() twice, once with each CREATE TABLE statement.

Mark Murphy (a Commons Guy)  | 

Android Consulting/App Development: 


Other Threads

1. Propagating exception caught in GL render thread

I searched but could not find info about this:


1. GL used + Looping sounds (soundpool)
2. want to prevent leaving user to reboot to get rid of looping sound
in case of app error.

In onDrawFrame, a try-catch block catches exceptions, and stops the
So-far, so-good.

But: cant rethrow exception (cant change GLSurfaceView.Renderer

Therefore, can't propagate exception to OS, disabling the ability to
get stack traces from users by means of the developer console.

Result: sound stops, but UI thread happily runs (and depending on the
exception the render thread as well).

This is a serious issue: either I cant get stacktraces, or leave users
of the app with looping sounds which ia (a) annoying to reboot, (b)
drains battery.

Anyone know a way around this (besides not getting exceptions...).

Thanks in advance.


2. [GPS Localization] how to get location quickly and How to obtain a position on every launch

Dear all,

I'm a french android developpeur.

I'm developping an application of geolocalisation. I need to get a
position with a good accuracy quickly, so i use only GPS provider. I
test my app on my N1 in 2.2.1.

I have several problems :

Regularly i don't get position, and even after waiting about 10min.

I decide to use NetwordProvider, but the accuracy of this method is

I test sereval solution :

- Launch the Network acquisition and after the gps acquisition to
refine the position but doesn't work
- Launche the network and gps acquisition simultaneously but doesn't

I see this link
but i don't really understand this.

If anyone have an idea I'm interested.




3. Gallery with buttons

4. $5K for Lead Android Developer at Box

5. [Q] Modification SemcHome.apk for X10 mini

6. Bluetooth Pairing

7. Trivializing Android development alongside with Windows Phone