Thanx Chen I dont understand completely your solution.
My app as a routenavigstion app does four things 1 gets the location 2 display the data 3 move the marker on the map 4 reads out loud the navigation data I like to keep the app running for hours . I have enough battery power through connecting the phone to a powerbank. So i have two issues 1 how to keep the proces of fetching the location alive 2 how do i keep the app alive to display the data and reads out loud the data. The first issue could be solved with the backgroundlistner. But can i updat my datafield on screen from the backgroundlistner. In vb net , the background processer are on a different thread. I have to send the data to the other thread. I sthat the same in android. The second issue i can solve with keeping the screen on. Or starting the app again when the app is killed. The problem with that solution is that i need a workarround, because the first screen is a splash screen. So, how does a route navigation app the app awake? -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/1f7644bb-72ff-4cc0-ae9a-15cb7668ea7d%40googlegroups.com.
