nickfox / GpsTracker

Google Map Gps Cell Phone Tracker
https://www.websmithing.com/gps-tracker
MIT License
784 stars 582 forks source link

Oreo Android 8 or Android 8.1 #99

Open banc123 opened 6 years ago

banc123 commented 6 years ago

Hello there good sir of earth, you have problems in Android O SDK ... with wakefulbroadcast receiver app ends after 3 minutes ... mybe you should use Jobscheduler ... acording to android studio have a nice day .

kia1349 commented 6 years ago

i have same problem app is good but not useable in android oreo

with wakefulbroadcast receiver app crashed after intetval time. you should use Jobscheduler instead

banc123 commented 6 years ago

Do you have any solution for it. Like the code Poslano z mobilnega telefona Huawei-------- Izvirno sporočilo --------Zadeva: Re: [nickfox/GpsTracker] Oreo Android 8 or Android 8.1 (#99)Od: kia1349 Za: nickfox/GpsTracker Kp: banc123 ,Author i have same problem app is good but not useable in android oreo with wakefulbroadcast receiver app crashed after intetval time. you should use Jobscheduler instead

—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or mute the thread.

{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/nickfox/GpsTracker","title":"nickfox/GpsTracker","subtitle":"GitHub repository","main_image_url":"https://cloud.githubusercontent.com/assets/143418/17495839/a5054eac-5d88-11e6-95fc-7290892c7bb5.png","avatar_image_url":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","action":{"name":"Open in GitHub","url":"https://github.com/nickfox/GpsTracker"}},"updates":{"snippets":[{"icon":"PERSON","message":"@kia1349 in #99: i have same problem\r\napp is good but not useable in android oreo\r\n\r\nwith wakefulbroadcast receiver app crashed after intetval time. you should use Jobscheduler instead"}],"action":{"name":"View Issue","url":"https://github.com/nickfox/GpsTracker/issues/99#issuecomment-388858749"}}} {"@type":"MessageCard","@context":"http://schema.org/extensions","hideOriginalBody":"false","originator":"37567f93-e2a7-4e2a-ad37-a9160fc62647","title":"Re: [nickfox/GpsTracker] Oreo Android 8 or Android 8.1 (#99)","sections":[{"text":"","activityTitle":"kia1349","activityImage":"https://cloud.githubusercontent.com/assets/143418/15842166/7c72db34-2c0b-11e6-9aed-b52498112777.png","activitySubtitle":"@kia1349","facts":[]}],"potentialAction":[{"name":"Add a comment","@type":"ActionCard","inputs":[{"isMultiLine":true,"@type":"TextInput","id":"IssueComment","isRequired":false}],"actions":[{"name":"Comment","@type":"HttpPOST","target":"https://api.github.com","body":"{\"commandName\":\"IssueComment\",\"repositoryFullName\":\"nickfox/GpsTracker\",\"issueId\":99,\"IssueComment\":\"{{IssueComment.value}}\"}"}]},{"name":"Close issue","@type":"HttpPOST","target":"https://api.github.com","body":"{\"commandName\":\"IssueClose\",\"repositoryFullName\":\"nickfox/GpsTracker\",\"issueId\":99}"},{"targets":[{"os":"default","uri":"https://github.com/nickfox/GpsTracker/issues/99#issuecomment-388858749"}],"@type":"OpenUri","name":"View on GitHub"},{"name":"Unsubscribe","@type":"HttpPOST","target":"https://api.github.com","body":"{\"commandName\":\"MuteNotification\",\"threadId\":332322170}"}],"themeColor":"26292E"}

nickfox commented 6 years ago

Hey Guys, I'm aware that wakefulbroadcast receiver is deprecated. The main problem for me is that I am no longer writing software. I retired 3 years ago. Do you guys know of some sample code for Jobscheduler that can be used?

nickfox commented 6 years ago

Just storing this here for later. Looks interesting.

https://code.tutsplus.com/tutorials/using-the-jobscheduler-api-on-android-lollipop--cms-23562

kia1349 commented 6 years ago

good job this is another http://www.vogella.com/tutorials/AndroidTaskScheduling/article.html

kia1349 commented 6 years ago

https://github.com/martinraj/tracking-location-provider-android

this is another tracking app with job scheduler

nickfox commented 6 years ago

that one looks very promising.

n

kia1349 commented 6 years ago

ye and look this one https://github.com/hypertrack/smart-scheduler-android