PINE64

Full Version: Use Android as navigation system
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 Smile

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 Smile


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
That is pretty cool!
So cool,

I'll check your improvement,
On my side, I'm interested in building a Car PC with it.

Kind Regards,
Eole
That is super cool. I would love to try this on my Pine if instructions are available!
Alright. I'll take a look into it for Pine64 if I have received my 2 boards (atm still "Ready to ship).
I just added some information into my first post.
Maybe it will help you for some other projects Smile
what does pine64 use for gps?
There will be a gps module available in next time Wink
Can You share lpm file?
:
No, sorry.
I've sold my S4 Mini a few months ago.