3 ms·
As far as ssh, I bet it was already installed on the device when you got it. Can you uninstall ssh and install it again without rooting Android? If you downlo
by pjbrunet 13y ago
As far as ssh, I bet it was already installed on the device when you got it. Can you uninstall ssh and install it again without rooting Android? If 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. Does the real JVM work on Android? Why not? 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. I'd rather pluck out my eyeballs.
- icebraining 13y agoNo, ssh wasn't installed, yes, I can install it again without rooting Android, it's a matter of copying the binary to a directory with executable permissions and running it using at terminal. 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 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.
- pjbrunet 13y agoThat'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.