java running on the XDA? - MDA, XDA, 1010 General

Does anybody have any clues where I can get the software to allow me to run javascript/java applets on the XDA - apparently it currently only runs j-script.

I thought its the j scripts that are not available, only the applets. Where did you get your script?
u can get the applets from sun.java.com under mobile devices

Related

Java JBED.apk

Its wonderful to be able to change between all the current 2.1 roms, though the included apps differ due to user demand and popularity, I rely on using the Java JBed application to run a trading app that requires it to be installed.
So my question is this, would it be possible to get a standalone installation zip of the Java app that i could flash on to any of the 2.1 Roms? I've tried installing/pushing all the related files that i can find from a 2.1 ROM that has it included but it does run and force closes.
the files Ive tried pushing are jbed.apk, libjbedvm.so, jbed.odex
are there any others? Any help would be appreciated!

bash for Android?

Hey
There are a few threads about this but some are dedicated towards one device or updated. I'm looking for a way to install bash (along side with sh) to have a bit more flexability. Is there a "generic" updated version for all Andoid devices?
Thanks!
Noone has any idea or information?
afaik Android had both of them out of the box, as it's based on Linux.
Just install the "Terminal Emulator" and type "bash" or "sh" in to check.
Besides that sh is also available in "busybox".
Sent from my GT-I9100 using XDA
Root your device or install a pre-rooted ROM.
Rooting installs Superuser.apk to /system/app; su to system/bin (or xbin, depends) and busybox to system/bin (or xbin, depends). Busybox contains common linux utilities, including bash and Bourne (sh).
Fine, but if he doesn't want to root? Warranty maybe?
sh is in busybox, but bash isn't.
As far as I am aware, at least bash is included in Android from the beginning.
I have CyanogenMod and therefore busybox so I can't tell.
But the OP could just install the fret terminal emulator and check it.
Sent from my GT-I9100 using XDA
I'm using terminal IDE, available on market. Lots of stuff included, has bash 4.2.0. I like the fact that it runs 4 terminal sessions, so I can bounce (errr, swipe) back & forth.
No rooting required.

[APP] Running Ubuntu on HTC Evo 4G LTE

NOTE: As of 7/5/2012 I've decided that the Samsung Galaxy S3 is a better fit for me and have returned my HTC Evo 4G LTE. I will not be updating this post. Any expressed intention to do so later on this post is therefore a LIE!
Short version: You can get Ubuntu (and presumably Backtrack and/or Debian) running on top of Android on the HTC Evo 4G LTE (EvoLTE, from now on).
What's working for me now:
Rooted/Unlocked/S-Offed (Dunno if all that is NEEDED, it's just what I'm working with ATM.)
ViperROM eLiTE v1.2.1
Dual Core Mod Ultimate (I flashed the ViperROM-specific mod.)
Market App: Complete Linux Installer (Paid App)
Before I bought the paid app, I tested it with the free Ubuntu Installer app. It didn't work "out of the box" so to speak as the busybox installation included with the free app seemed broken. The free app worked only after I renamed the included busybox and copied the one I have from Busybox Installer in it's place. If you get errors about not being able to create a loopback device when you try the 'sh ubuntu.sh' script, then you're seeing what I saw.
Both the paid Linux Installer app and the free Ubuntu Installer app contain a guide with buttons to download the necessary scripts, Ubuntu/Linux boot images and applications to boot Linux on Android. The other apps are a specific terminal emulator and a VNC client. The installer apps also provide directions on what to do with the files, where to unzip them and such.
Main things you get with the paid vs. free app are:
Support for Debian, Backtrack and Ubuntu in one app.(Note1)
No need to download a script or run it manually.
A "launch" button inside the app instead of manually running a script.
A widget to boot your linux image from the homescreen.
(Note1: There are one-off paid apps that only support one distribution of Linux each, they're cheaper than the "Complete" version).
I don't see any reason why someone couldn't eschew the paid installer apps and just use the free ones along with ScriptManager or similar program to launch their Linux images.
You may be wondering: "But is the hosted" Linux USABLE?"
Yup, it sure is! I'm using VNC on my desktop computer to access the LXDE desktop of my phone's Ubuntu session right now and it's pretty quick. I suspect what minor speed/lag blips I'm seeing are more because of the network and VNC than the performance of my phone.
Hopefully this post passes muster as-is. As I mentioned above, I will be fleshing it out as I tinker with it and have to time until it's more of a how-to. I will also flash other ROMs and see if it's possible on other ROMs. I suspect that it will be, as the Stock ROM apparently supports loopback devices, which is the real hurdle once you've rooted your phone.
Now this is cool stuff, keep us posted on your progress. I know is possible to hook up a mouse/trackpad and keyboard along with mirrored display with android but have not seen anyone other than those on the website for ubuntu make it work. http://www.ubuntu.com/devices/android

Fetching APKs through shell/perl

Hi all,
I'm a flashaholic, updating my Rom everytime the Developer provides a new version (Using Jellytime by randomblame for the Desire HD). Though I'd like to modify the rom before flashing, to customize it to my needs.
For that I am working on a Shell script to do the modifications automatically.
So far so good, but I am stuck at fetching the apks of the apps I want to include in the rom.
Of course I could use the google chrome extension and download the apks manually, or fetch them from my phone, but both ways hinder the automatisation proccess a lot, especially when it comes to getting the latest versions of these apks.
So would anyone perhaps know a way of fetching the apks with linux shell commands or through perl scripts or does anyone perhaps even know of a CLI application that can do that?
Thanks in advance and keep up the awesome work

[Q] Compiling help a noob.

Im writing a Network Scanner currently in Python/Kivy for Android. I could do everything i wanted if i could execute a Python module called Scapy from the shell(Obviously this is a rooted app), but unfortunately its not possible. Atleast not with alot of work and when the App is finished i dont want my users to have to go through installing countless dependencies to get it working!
I've stumbled along a little unix program called Arp-Scan but i cant find a port for Android. I'm not sure how to port this to Android so i can execute it from a shell.
I have no experience with compiling and needless to say this is frustrating the hell out of me! . This one little stumbling block has been plaguing me for 2 weeks. The rest i will be able to do in pure Python, namely PortScanning and such.
The way the Android OS works is that an APK is unable to use raw sockets. But you are allowed to run a shell as root.
I have the option to use Nmap but if there was ever to be a paid version of my app i would have to buy a license and i simply cant afford it.
All i need is to execute a program from shell: like Arp-Scan to obtain an IP and MAC from the LAN.
Any help will be greatly appreciated.
Thanks in advance.

Categories

Resources