Re:The PC’s Death Might Also Mean the Web’s Demise
by pjbrunet on Wednesday January 15, 2014 @05:48PM
(#7066796)
That's fascinating, especially the C compiler, maybe I'll try it. But how to get C applications into Play?
Still the "Allow UNSAFE Binaries?" setting is BS "WARNING: You are about to open your device to hackers! Are you sure? Y / N." You were more patient than I was. I downloaded F-Droid, researched the APK format, almost got an Android emulator working in Debian, even looked at "PhoneGap" yuck. Call me crazy but I prefer Debian over Android. Millions of people rooting their phone I think proves my point--people are willing to risk destroying their device to get root access. Maybe Android would be better if Google had not sold out to the carriers? I don't know.
f you downloaded some ssh "app" from Play you probably just downloaded a cute interface to the real ssh--which must place nice with the Google proprietary JVM in order to work.
I didn't need an SSH app, and no, Dalvik is not proprietary. Also, you don't need to get apps from Play, you can just download them from the web or use another repository.
Does the real JVM work on Android? Why not?
For the same reason it doesn't work on Glendix - nobody ported it to that userspace.
There was a presentation posted on HN recently from a Python developer explaining why he can't code Python apps for Android. He explained it pretty well--you must use Eclipse, you must use the Google Virtual Machine. If you do a few searches for "code Android app" the only way is to download Eclipse and compile through the Google Virtual Machine.
No, you don't. You just need to cross-compile it to ARM, copy it and run: http://benno.id.au/blog/2007/11/13/android-native-apps
And this is nothing new: if you take notice, the post is from 2007.
Joey Hess writes git-annex in freaking Haskell, compiles the binary using Cabal and I run it just fine on my non-rooted Nexus.