/srv/irclogs.ubuntu.com/2016/11/03/#ubuntu-app-devel.txt

=== JanC_ is now known as JanC
=== chihchun_afk is now known as chihchun
=== chesedo- is now known as chesedo
Kiryat8I 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 app10:29
Kiryat8My app has a button to manually send the location which works. Where can I find the APIs and lifecycle info?10:30
mcphailKiryat8: 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 exist10:39
Kiryat8Then how does the Clock alarm core app work?11:22
mcphailKiryat8: 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 me11:41
mcphailKiryat8: there were plans for a background GPS framework, but I don't know if it was ever completed11:42
Kiryat8For an OPEN phone os, in reality this is rather disappointing.  Worse than Android and even IOS11:43
mcphailKiryat8: 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 restrictions11:44
Kiryat8How can I write without knowing the API? Maybe I can look at the clock app code...11:46
mcphailKiryat8: 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 phone11:54
Kiryat8thanks11:55
=== chihchun is now known as chihchun_afk

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!