Random complete loss of database on Droid only

by EboMike » Thu, 22 Apr 2010 14:06:32 GMT

Sponsored Links
 Several Droid users have reported that my app's entire database just
destroys itself randomly after a few days or so. This seems to be
specific to the Droid. I'm at a loss.

My app has a service that runs in the background to display
notifications, it also supports widgets. Both of those (and the app
itself, of course) access the database, and I marked every accessor to
the database "synchronized", just in case.

Anybody have any remote idea what could cause the entire database to
just vanish?



Other Threads

1. Access and control real mobile devices via the web.

hey ,

after reviewing all the phone emulators i encountered by accident to
the best testing tool of all.

it's called the handset cloud and you can really operate the phone
keys, touch-screen, or QWERTY keyboard to control the device, install
applications on the device and verify that your

application or service works properly and displays correctly on the
phone screen.

you guys should try it , its free to try .


2. Options to stream raw aac over http to android

I am looking for a bit of help understanding the implications of the
'Android Supported Media Formats'[1].

I see that the AAC formats are only supported for decoding when using
3GPP or MPEG-4 container and that there is no support for raw AAC.

My question is this, I am working on a project which would require
playing audio from an aac audio stream from an http server.[2]  Not my
server, nothing I can change about that.  The supported formats seems
suggest I should move to 'wrapping' my aac audio in either 3gp or mp4.

I am able to, with assistance from several tools, convert a sample of
the stations audio from aac to aac embedded in both 3gp and mp4
containers.  I'm not really clear on what is happening when I do this
conversion and if it would be possible to do this on the phone without
the assistance of one of these tools.  Not really sure where else to
reach out to with this as reviewing this mailing list and the internet
for a few days haven't really moved me forward.

I'll list what I think my options are, and maybe someone can chime in
they think they can steer me in the right direction:
1. ) Figure out how to slip an mp4 or 3gp 'container' around the aac
audio stream using an internal proxy.
2. ) Obtain a aac license and do my own decoding or license a 3rd
tool in the same way
3. ) Try to convert my client to use another audio format for their
radio station.
4. ) Provide a proxy service for the client where I capture the stream
and then convert it to 3gp/mp4 content and then stream that

Any help is appreciated.

[1] - http://developer.android.com/guide/appendix/media-formats.html
[2] - example: http://wnyc-wqxr-ice.streamguys.com:80/wqxr.aac

Nick Campion
Android Development and Release Pipeline

Also follow us at http://www.twitter.com/doapp
And "fan" us at http://www.facebook.com/DoApps
Plus our blog is here: http://www.doapps.com/blog/


3. Hourglass

4. device fingerprinting

5. Playing default ringtone with SoundPool or MediaPlayer

6. Devices where install from unknown sources is not allowed.

7. Advertising network