• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Simple stupid App?

emike

Lurker
Sorry for the simple question.

I need a simple app that does nothing until close, then saves a log file.

It will run on an Android based Garmin GPS, and I want to save the trip log to the SD card when I turn off the engine.

1) I want it to start automatically when powered on.
2) I want it to save the log file when powered off.

Not sure what project template to start with:
* Basic Activity
* Empty Activity
* No Activity?

Would this be a daemon?
 
I would start off by looking at Sqlite data base, guess that would be a good start.

BOOT_COMPLETED Intent could be used to start the app( Google search)
 
Back
Top Bottom