We have moved to a new Sailfish OS Forum. Please start new discussions there.
5

Ask to dalvik VM from sailfish

asked 2015-12-28 06:34:16 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2015-12-28 06:34:16 +0300

Is it possible query details data of installed Android apps, like name and version, from Sailfish OS to Dalvik VM? Yandex Store makes this, but it is an Android app. I need know if this is possible directly from Sailfish OS.

edit retag flag offensive close delete

Comments

I think there is probably a way to read directly those information from the .apk file itself.

Elioty ( 2015-12-28 15:41:23 +0300 )edit

1 Answer

Sort by » oldest newest most voted
2

answered 2015-12-29 00:27:20 +0300

attah gravatar image

updated 2015-12-29 11:45:20 +0300

With some effort you can run most android-ish commands from sfos towards alien dalvik. (Chroot'ed dalvik poses a slight challenge). I guess the "pm" command might do what you want. See here for hints on running commands from outside alien dalvik. https://together.jolla.com/question/79440/android-app-cover-actions/ (outdated as an exact guide since dalvik was chroot'ed) Sorry for short answer since i'm on my phone atm. This is probably not kosher enough for the store.... I'll try to answer any follow-ups as best i can.

Edit: dumpsys might be the command you are looking for (still an android cmd, still same disclaimers, but i had that running too before - see github) http://android.stackexchange.com/questions/69632/retrieve-a-list-of-application-versions

edit flag offensive delete publish link more

Comments

3

if such interest, then i can finish my aliendalvik helper service at holidays

coderus ( 2015-12-29 08:33:46 +0300 )edit
2

That would be much appreciated! I have been wanting to hook up Audible to the lockscreen controls with a small app (that would use your service).

attah ( 2015-12-29 09:57:11 +0300 )edit
Login/Signup to Answer

Question tools

Follow
2 followers

Stats

Asked: 2015-12-28 06:34:16 +0300

Seen: 689 times

Last updated: Dec 29 '15