benbahrenburg / benCoding.Android.Tools

A collection of utilities designed to make working with Titanium on Android alittle easier.
Other
59 stars 36 forks source link

Made sendToBackground() work when phone is locked. Added intent parameter when launched from bootreceiver. Also added getSystemDateTime to work around Android's javascript engine's date issues (like not updating when the system does). #8

Open timkellypa opened 10 years ago

timkellypa commented 10 years ago

Made service that sends the app to the background use a wakeful intent service. This way, it can be sent to the background even if the phone is locked. Updated the documentation for an extra manifest permission required for this.

Also put an extra parameter into the starting of the intent, so that the app knows that it was launched from the bootreceiver, and can do something special if it was.