Aliendalvik Control

Rating: 
5
Your rating: None Average: 5 (9 votes)

Please read following description carefully before asking any questions.

Useful utility for sending commands to aliendalvik. It creates dbus service (on session bus) org.coderus.aliendalvikcontrols with following methods:

  • sendKeyevent(int code): sending input events to android
  • sendInput(QString text): sending text input data to android
  • broadcastIntent(QString intent): invoking am broadcast -a intent command on android
  • startIntent(QString intent): invoking am start intent.split(" ") command on android
  • uriActivity(QString uri): sending uri VIEW intent to android
  • uriActivitySelector(QString uri): sending uri VIEW intent with chooser to android
  • shareText(QString text): opening android sharing menu for text/* data
  • shareFile(QString file, QString mimetype): opening android share menu for file by mimetype
  • hideNavBar(): hiding bottom android navigation bar
  • showNavBar(): showing bottom android navigation bar
  • getFocusedApp(): returns package name of topmost android app at this moment
  • isTopmostAndroid(): returns is android a topmost, or native sailfish ones
  • openDownloads(): opens Android Downloads window
  • getImeList(): returns available input methods
  • setImeMethod(QString ime): switching input method
  • And more... Introspect org.coderus.aliendalvikcontrol to see full list of features!

Application automatically modifying android desktop files to make it accept parameters.
You can use latest version of Mimer (https://openrepos.net/content/llelectronics/mimer) to assign default web browser directly to selected android apps.

Package installs sharing plugin and replaces old Android ShareUI plugin.

Package also installs android-open-url.desktop and androd-open-url-selector.desktop files invoking uriActivity and uriActivitySelector methods which can be set (manually, via xdg-mime tool) to various mimetypes.

Have settings applet with simple GUI actions.

Post your improvement ideas in comments or in forum thread.

GitHub: https://github.com/CODeRUS/aliendalvik-control

Discussion forum: http://talk.maemo.org/showthread.php?t=96334

Donations are very welcome =)

 

Screenshots: 
Changelog: 

Update for 2.2 compatibility

Comments

nodevel's picture

Hi Coderus,

out of curiosity - is there any place where the current source code can be found? The linked Github repo has code 2 years old, while the latest update here is just a couple months old.

Thanks!

coderus's picture

pushed, thanks for reminder!

philter's picture

Hi coderus, I'm trying to donate but paypal link does not work, email me @yahoo.it, ciao, vittvi

carepack's picture

Hi coderus, are there any plans to move on with the to android share plugin?

Schturman's picture

Hi Coderus.
Can you tell me please how to correctly check status of NavBar with "dbus-send" or "/usr/lib/qt5/bin/qdbus" commands.
Thanks

MoritzJT's picture

After upgrading to aliendalvik-control-1.0.10-1.armv7hl I have set the HTTP handler to the default browser for once. That opened the selection window again. So I could only abort, choose an android browser. Every time I chose stock Jolla browser, the window popped up again, so finally I told it to always use the Jolla browser. That ended up in a loop until android support froze and subsequently my device. Now I can't even open the HTML handler selection window any more. It will immediately make my device freeze.

Exotic Issue Creator out.

coderus's picture

works for me, try reinstall

baboo's picture

for me, android settings aren't being saved whatsoever

coderus's picture

What device, os version?

baboo's picture

jolla(1) phone with os 2.0.2.51

MarKaz's picture

Swype! Swiftkey! ;)
Thank you very much!

carepack's picture

thx coderus. it's working again!

carepack's picture

mmmmhh. for me google play is not longer starting. sorry have no time to provide the desktop files...

coderus's picture

Fixed in v1.0.5

YouRik's picture

Great tool, but I've got one issue on my end. After the installation I noticed that I couldn't start the (official) YouTube app through the homescreen icon anymore. The app itself still works perfectly fine as I'm still able to start it through Google Play.
Uninstalling aliendalvik control results in no Android apps working at all.

This is not a deal-breaker for me since I have no problem with keeping this tool installed and I'm fine with using YouTube's website but still, a fix would be much appreciated.

coderus's picture

so only youtube app not starting?

YouRik's picture

Yes, I believe there must be something wrong in the .desktop file because it says your tool edits them. What exactly is being edited? Maybe I could try and return it to the original .desktop file for the youtube app.

coderus's picture

it watch changes and revert it anyway if you edit it manually

post your desktop file to pastebin, i;ll check

YouRik's picture

I have just started Google Play, then uninstalled aliendalvik control and and have then installed YouTube to see the original .desktop file.

Here's the original that works:
http://pastebin.com/PkKSSsV1

And here's the one that aliendalvik control edits it to:
http://pastebin.com/y606Sx1V

It would also be good if the tool reverted all android desktop files on uninstallation of aliendalvik control, if that's possible or there should be an option to manually do that with a command or so :)

coderus's picture

Uploaded build with fix :)

YouRik's picture

Thank you for your work and effort!

I will throw some bucks your way!

coderus's picture

it should do that already, no idea why it doesnt :D

thanks for desktop, problem is $ symbol, i'll fix that