=== JanC_ is now known as JanC | ||
=== chihchun_afk is now known as chihchun | ||
=== chesedo- is now known as chesedo | ||
Kiryat8 | I want to write a TracCar client on touch phone that wakesup and sends its location to a server. I can not find anything on how to periodically wakeup an app | 10:29 |
---|---|---|
Kiryat8 | My app has a button to manually send the location which works. Where can I find the APIs and lifecycle info? | 10:30 |
mcphail | Kiryat8: there isn't a way to wakeup an app on Ubuntu Touch at present. You have to rely on frameworks for background processing, and many important frameworks don't exist | 10:39 |
Kiryat8 | Then how does the Clock alarm core app work? | 11:22 |
mcphail | Kiryat8: there are background frameworks for some things, like alarms. Also, most of the core apps have "cheats" due to their blessed status which aren't available to ordinary devs like you and me | 11:41 |
mcphail | Kiryat8: there were plans for a background GPS framework, but I don't know if it was ever completed | 11:42 |
Kiryat8 | For an OPEN phone os, in reality this is rather disappointing. Worse than Android and even IOS | 11:43 |
mcphail | Kiryat8: they've chonsen to prioritise security and battery-saving over functionality. It is a difficult balance, and I think they've taken things a little too far. You can write your app for the Open Store, though, which has fewer restrictions | 11:44 |
Kiryat8 | How can I write without knowing the API? Maybe I can look at the clock app code... | 11:46 |
mcphail | Kiryat8: Before you commit time to your app, I'd advise you ask on the mailing list whether the functionality you require is present or pending. My impression is that the existsing frameworks are not going to be expanded until snappy arrives on the phone | 11:54 |
Kiryat8 | thanks | 11:55 |
=== chihchun is now known as chihchun_afk |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!