Hi together!
I just tried to create an automated system with Android for navigation.
Model: Samsung Galaxy S4 Mini
ROM: I9195XXUCNE6 (Android 4.4.2)
Rooted: Yes (needed for AutomateIt Pro)
The device will boot on charge (I had to edit the file /system/lib/lpm) and if booting is done, AutomateIt Pro will activate Bluetooth, GPS and HERE Maps (in drive mode).
The device will also shutdown automatically after disconnect the power charger.
What is the "Drive mode" in HERE Maps?
- Normally you will just see your position in HERE Maps after starting the app.
- Starting the "Drive mode" will show you your speed, elapsed time and more.
- Usually you have to start this mode for yourself, but don't use your fingers on your phone if you drive!
- So, I found a way to start the app (via intent) in "drive mode" per default with AutomateIt
How to find out a way to start apps in specific modes? You need the "intents" of the app!
- Download .apk file of the app (I created a backup of the app and copied it to my pc).
- Rename the .apk to .zip.
- Unpack the archive and take a look into manifest.xml.
- Search there for the "intents".
- Find the correct intent (just trys & error).
It was a little bit difficult, but not impossible
I'll try to create a tutorial for Pine64 also, if you're interested in my solution.
Please let me know your feedback and questions!
Best regards
Julian
I just tried to create an automated system with Android for navigation.
Model: Samsung Galaxy S4 Mini
ROM: I9195XXUCNE6 (Android 4.4.2)
Rooted: Yes (needed for AutomateIt Pro)
The device will boot on charge (I had to edit the file /system/lib/lpm) and if booting is done, AutomateIt Pro will activate Bluetooth, GPS and HERE Maps (in drive mode).
The device will also shutdown automatically after disconnect the power charger.
What is the "Drive mode" in HERE Maps?
- Normally you will just see your position in HERE Maps after starting the app.
- Starting the "Drive mode" will show you your speed, elapsed time and more.
- Usually you have to start this mode for yourself, but don't use your fingers on your phone if you drive!
- So, I found a way to start the app (via intent) in "drive mode" per default with AutomateIt
How to find out a way to start apps in specific modes? You need the "intents" of the app!
- Download .apk file of the app (I created a backup of the app and copied it to my pc).
- Rename the .apk to .zip.
- Unpack the archive and take a look into manifest.xml.
- Search there for the "intents".
- Find the correct intent (just trys & error).
It was a little bit difficult, but not impossible
I'll try to create a tutorial for Pine64 also, if you're interested in my solution.
Please let me know your feedback and questions!
Best regards
Julian
My forum topics:
• Create a WiFi hotspot on Debian 8
• Turn your Pine64 into a music server with mpd
• Adjust brightness of LCD on Armbian Desktop with 1 click
• My cases for Pine64 (acryl, lego & wood)
• Pine 64 - DACH - Facebook page for german-speaking Pine64-fans.
• Create a WiFi hotspot on Debian 8
• Turn your Pine64 into a music server with mpd
• Adjust brightness of LCD on Armbian Desktop with 1 click
• My cases for Pine64 (acryl, lego & wood)
• Pine 64 - DACH - Facebook page for german-speaking Pine64-fans.