Jump to content


Photo

A compiler for android devices


  • Please log in to reply
6 replies to this topic

#1 Jerry Bridgers

Jerry Bridgers
  • Members
  • 15 posts

Posted 15 March 2012 - 04:48 PM

I would like to be able to compile Autohotkey programs into a format that would run on an android device as an app.

Android devices are becoming more and more popular, and it would be nice to be able to script for them as well as scripting for Windows.

#2 Frankie

Frankie
  • Members
  • 2930 posts

Posted 15 March 2012 - 07:53 PM

What would it do? It seems like a lot of the functionality would be limited. Are global hotkeys possible on android?

#3 infogulch

infogulch
  • Moderators
  • 717 posts

Posted 15 March 2012 - 09:46 PM

Are global hotkeys possible on android?

No. There aren't *any* hotkeys (except maybe a few devices that support external keyboards). Most android apps use menus for options.

The most an autohotkey script could do is make a regular app. If you're going to do that you might just want to go ahead and learn java.

However, IA compiles scripts that can be run by .NET or Mono... There is a port of Mono for android (barely). Maybe that could work.

#4 Frankie

Frankie
  • Members
  • 2930 posts

Posted 15 March 2012 - 10:01 PM

My phone has a slide-out keyboard. Is it possible from a API standpoint?

#5 Jerry Bridgers

Jerry Bridgers
  • Members
  • 15 posts

Posted 15 March 2012 - 11:35 PM

infogulch:

You said make an app...I know nearly nothing about apps. Can one be made with hotkey?

I tried programming in Java once, but found it to case sensitive for my taste... Tough! I may have to become more tasteful!

Just curious. Kids bought me a kindle and I'm just trying to find it's limits.

Thanks for your response

#6 Frankie

Frankie
  • Members
  • 2930 posts

Posted 15 March 2012 - 11:51 PM

Scripting on Android is possible, but there's no AutoHotkey interpreter. If you wanted to learn Python, Ruby, Perl, or another supported language; SL4A lets you run scripts. I don't think there's much point to porting AutoHotkey to Android, personally.

#7 Scratch

Scratch
  • Members
  • 100 posts

Posted 09 April 2012 - 01:14 PM

It would be nice, but not a trivial task, in the meantime you could use DROID vnc server to control your android device from the pc as shown
here:

Naturally then, you could use ahk scripts on the android client window diplayed on the pc to get pixelcolors , do imagesearches and pass clicks through the android device.