Debian on hero - Hero CDMA Android Development

i just confirmed that Debian will run well on our CDMA hero. also i installed icewm and it worked just fine. the one hitch that we have though is not having a hardware keyboard. once you boot up into the GUI all u have is a mouse.

That's pretty exciting news! I was wondering when something like this would be mentioned.
I was going to attempt DSL, but just haven't gotten around to it yet.

It's safe to assume it is still slow since it uses VNC, right?

When i first got my hero rooted the first thing i did was test debian on hero and it works good, but system processes go crazy, I was able to surf the web and type fine, if yo hold down the menu key it should bring up the software keyboard for use as input.

chuckhriczko said:
It's safe to assume it is still slow since it uses VNC, right?
Click to expand...
Click to collapse
yes. its running android....then debian, then a GUI like icewm, then vnc-server within debian and then a vnc viewer within android to connect to localhost...so yes it is very slow. lol

i have both icewm and lxde installed both are slow but icewm isnt as bad. we are still a long way away from runnong kde and gnome on the phones relaibly

So it would be nice if someone could put together a guide here. Sounds like yet another thing to waste away my life with.

Related

OperaMini for G1 is a go!

Just came across this within the last few minutes, it seems using the app (that can be found in the market) J2ME MIDP Runner, OperaMini can and does work...you don't even hassle with the SD card as there is a d/l option in the program itself. This "MIDlet Runner" seems like it has alot of potential. If anyone knows what the other listed programs are, let me know?
As for Opera, touch is not yet implemented on this build, so I will stick with the default , but check out J2ME at least for the sake of knowing that "yes, I actually do have a choice in applications and the way I control my device."
Here's the link to the page for J2ME allowing opera.
http://www.android-unleashed.com/2008/11/android-j2me-midp-runner-beta-v12-is.html
Hmm...I think I just started noticing G1's sweet sweet smell of freedom.
What about that build?
http://labs.opera.com/news/2008/04/10/
It seem they are using the same approach of wrapping the java in an emulator layer.
It only mention the emulator so I don't know if it works with the actual phone.
mrboyd said:
What about that build?
http://labs.opera.com/news/2008/04/10/
It seem they are using the same approach of wrapping the java in an emulator layer.
It only mention the emulator so I don't know if it works with the actual phone.
Click to expand...
Click to collapse
Ive tried to get that on the phone. it wont install, probably because its not signed yet.
It will probably be to unstable though.
If you download j2me from the marketplace, it has opera mini and a few others there already. Opera works, but functionality is very limited. Touch screen works to some extent. Connection tests passes, but entering a url just gives me illegal url.

Android Screencast - Control your phone from your PC (My Mobiler for Android)

This is incubus26jc's thread, just posting it here for exposure.
incubus26jc said:
Alright guys, I finally found a Java App that will actually control your phone from your pc. This is not complicated. Thanks to acid256 for this open source project.
If your looking to do screenshots, use the java screenshot program in this thread
Features
- Mouse and keyboard control FOR ROOTED DEVICES ONLY
- Landscape mode (right click)
- Video recording
- Basic file browser
INSTRUCTIONS
Download Android sdk. Place android-sdk-windows folder on root of your C:\
http://developer.android.com/sdk/index.html
Download(skip login) and install JRE(JDK) 6
http://java.sun.com/javase/downloads/widget/jdk6.jsp
Download the attached java file, unzip it, and just run it.
Place it anywhere you want. It doesnt have to be in the sdk folder like the screenshot program.
Make sure your phone is plugged in for a minute or two.
If you cant get it to control, run the automount app or dual mount sd widget.
Click to expand...
Click to collapse
Damn that is sweet! Will try it when I get home from work
Thank you for posting about this. Just gave it a shot, and it works pretty well. It's a bit laggy, but definitely gets the job done. I needed this in order to respond to texts without looking like I'm responding to texts, and for that this works very well.
Thanks for posting this. I might have to give this a try.
Good for if your phone is in someone else's hands. :-O
Just tested it out.
Found a couple problems-
-It's a little slow
-If you have the phone set up with the kickstand, and it turns the orientation side ways, it does the same on the computer. So then everything is sideways.
-If the phone is Asleep, it wont wake it up
Besides those few problems, it's great!
Can't wait to see what this will be like in the coming weeks as the dev. gets the bugs worked out!
Yes very slow but I like it. Awesome owkr.
Cool beans, thanks
i was hoping this was similar to MyMoblier for WinMo. being able to remotely control (or at least view) a device is rather handy for support folks.
has anyone seen something more like mymobiler for winmo that will work on android?
Works good but it needs more responsiveness in the mouse clicking. I can drag but I cant click very well. I press menu and go to Wallpaper. But I cant press Wallpaper.
Excellent program for people who want to text in privacy at work.
Awesome, this could be quite useful
i'm having absolutely no luck with this. granted, i'm using adb wireless to try and manipulate it, but i'm rooted, and it should still work. getting absolutely no control at all. none. i can see the screen, and can rotate my view of it, but i can't do squat through the phone.
i'm rooted, btw.

[DEV] Developing on the Transformer

I just wanted to kick off a discussion, and possibly start the ball rolling for a project to port some development tools to honeycomb.
Ideally it would be cool to be able to set up a whole Android development environment that runs on the tablet itself. If the project is just too massive in scope, I'd settle for porting GNU GCC and some native development tools. I'm imagining either way it will only be possible to run these things on a rooted device.
Another project I'm interested in is a way to run apps that are not optimized for tablet, blown up to full screen. The way they run right now, if you put the proper flags in AndroidManifest.xml to say that you don't support high dpi or tablet- the UI shows up in a small section of the screen and looks pretty bad. Not as bad as an app that is not designed to blow up to tablet size and is missing the tags though. I'm thinking this will require honeycomb sources though, which are not yet available- but still i'm very interested in working on such a project and would like to hear anyone else's ideas about it.
It would be awesome to do some Android development directly on the Transformer. Subscribing for updates.
On my Nook Color running CM7 there is an option to "Disable Compatibility Mode" which blows apps up to full screen. I think it's a standard Android function but it's usually hidden. Might be available in Spare Parts or something. I'll check when I get a chance.
I think it might be possible since it is java based. I think someone already got the java compiler working.
Sent from my GT-P1000 using Tapatalk
elnoxvie said:
I think it might be possible since it is java based. I think someone already got the java compiler working.
Sent from my GT-P1000 using Tapatalk
Click to expand...
Click to collapse
Nice, your saying this prompted me to search for "android java compiler ported to android" and I found this project, which looks to be very far along. http://code.google.com/p/java-ide-droid/
I haven't installed it yet, but it seems very promising.
0TheRain0 said:
Nice, your saying this prompted me to search for "android java compiler ported to android" and I found this project, which looks to be very far along. http://code.google.com/p/java-ide-droid/
I haven't installed it yet, but it seems very promising.
Click to expand...
Click to collapse
Eeek, well- at least a lot of the important tools are already ported and working. The UI is pretty bad as it is though. Seems like some good work to start with.
I was just thinking about this today. With the dock it would be great to get write some code on this and just have a compiler to make sure everything is syntactically correct maybe with some mavin support to merge some code.
I'd settle for a VI like IDE that would allow you to just browse a remote computer and do the editing that way...
Basically have it run over SSH. You can view the contents of a dir on the remote computer, edit the file, save/upload it back, then execute a command to have the remote computer do the compiling and then push the APK back to the device.
SSH is already ported. I feel like that's pretty much all you really NEED asides from the java front end for the IDE.
Thoughts?
EDIT: Other advantages are that you could develop for ANY platform with this as long as your remote computer was set up to compile it.
ViViDboarder said:
I'd settle for a VI like IDE that would allow you to just browse a remote computer and do the editing that way...
Basically have it run over SSH. You can view the contents of a dir on the remote computer, edit the file, save/upload it back, then execute a command to have the remote computer do the compiling and then push the APK back to the device.
SSH is already ported. I feel like that's pretty much all you really NEED asides from the java front end for the IDE.
Thoughts?
EDIT: Other advantages are that you could develop for ANY platform with this as long as your remote computer was set up to compile it.
Click to expand...
Click to collapse
That's an interesting thought. Personally I kind of want to be able to build completely on the transformer itself. But if creating a good IDE/Project editor is a major focus of this project it certainly wouldn't be difficult to add the ability to execute some arbitrary command/call in to a script that would allow you to do a remote build on your other system and easily retrieve the result.
0TheRain0 said:
That's an interesting thought. Personally I kind of want to be able to build completely on the transformer itself. But if creating a good IDE/Project editor is a major focus of this project it certainly wouldn't be difficult to add the ability to execute some arbitrary command/call in to a script that would allow you to do a remote build on your other system and easily retrieve the result.
Click to expand...
Click to collapse
But i guess that defeats the purpose. his idea is probably to do a direct compiling from the Transformer and i think it's possible, provided we have the compiler ready. Let me know, if you are interested, i can help with the IDE and UI coding. Maybe .. we can code a VI functionality in. and that would be straight awesome. ^^
main problem is in my eyes that if you screw up and crash your tab you lose allot of data.
and can be quite annoying
ViViDboarder said:
I'd settle for a VI like IDE that would allow you to just browse a remote computer and do the editing that way...
Basically have it run over SSH. You can view the contents of a dir on the remote computer, edit the file, save/upload it back, then execute a command to have the remote computer do the compiling and then push the APK back to the device.
SSH is already ported. I feel like that's pretty much all you really NEED asides from the java front end for the IDE.
Thoughts?
EDIT: Other advantages are that you could develop for ANY platform with this as long as your remote computer was set up to compile it.
Click to expand...
Click to collapse
This is one of the things I'm hoping to get out of the TF. Connectbot runs pretty well in dock mode, except there's no ESC key! Is there any way to remap the top row to ESC and F1-12 and require FN for their Android functions?
pokey9000 said:
This is one of the things I'm hoping to get out of the TF. Connectbot runs pretty well in dock mode, except there's no ESC key! Is there any way to remap the top row to ESC and F1-12 and require FN for their Android functions?
Click to expand...
Click to collapse
I found out that if you click with the mouse on the screen you'll see the escape button pop up and you can click that. It's a connectbot feature. I wish he would implement something like Search key sends escape...
But on another note, it looks like someone already did my idea! https://market.android.com/details?id=com.touchqode.editor&feature=search_result
Doesn't work quite as well as I hoped on the TF, but I'm going to email the dev some suggestions.
Hey pokey! Looks like you're moving on from your NC! I just got a TF, and I'm loving it so far.
I'm just about to try installing a chroot Ubuntu image. I'm hoping that will give me emacs and bash, etc. Let's see how far we can push this thing!
Sent from my Transformer TF101 using Tapatalk
Chroot Ubuntu works like a champ, emacs and all!
Not having an escape key is going to be a problem, though. As soon as I brought up emacs I hit the back arrow key by reflex, and closed out the terminal!
Instructions here:
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Forgot to mention, make sure you install busybox first (needs losetup).
Sent from my Transformer TF101 using Tapatalk
SmokeMasta said:
main problem is in my eyes that if you screw up and crash your tab you lose allot of data.
and can be quite annoying
Click to expand...
Click to collapse
Maybe the ability to auto-sync your working directory with dropbox might help.
axe2 said:
Chroot Ubuntu works like a champ, emacs and all!
Not having an escape key is going to be a problem, though. As soon as I brought up emacs I hit the back arrow key by reflex, and closed out the terminal!
Instructions here:
http://androlinux.com/android-ubuntu-development/how-to-install-ubuntu-on-android/
Forgot to mention, make sure you install busybox first (needs losetup).
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
How's the responsiveness of using a VNC client? Is there one that maybe maps Search to Esc? Or an Open Source one we could maybe modify?
ViViDboarder said:
How's the responsiveness of using a VNC client? Is there one that maybe maps Search to Esc? Or an Open Source one we could maybe modify?
Click to expand...
Click to collapse
I didn't plan on installing any GUI components, just using text text mode, so I haven't tried a VNC serever. Text mode would only require a modified terminal server.
Unfortunately, I'm not sure I can get used to anything short of mapping back array to escape, which could be a problem.
Sent from my Transformer TF101 using Tapatalk
axe2 said:
I didn't plan on installing any GUI components, just using text text mode, so I haven't tried a VNC serever. Text mode would only require a modified terminal server.
Unfortunately, I'm not sure I can get used to anything short of mapping back array to escape, which could be a problem.
Sent from my Transformer TF101 using Tapatalk
Click to expand...
Click to collapse
Well I forked ConnectBot (ssh client) with an option to map Search to ESC.
Works pretty well. It's in a easily available location too. The issue is I can't really map over Back because you need that to exit windows. I could try to "move" the back button maybe... I'll see if I can do something like Back = Esc and Ctrl + Back = Back.
Also I noticed on GitHub someone did some enhancements for Honeycomb so I'll try to merge those too.
ViViDboarder said:
Well I forked ConnectBot (ssh client) with an option to map Search to ESC.
Works pretty well. It's in a easily available location too. The issue is I can't really map over Back because you need that to exit windows. I could try to "move" the back button maybe... I'll see if I can do something like Back = Esc and Ctrl + Back = Back.
Also I noticed on GitHub someone did some enhancements for Honeycomb so I'll try to merge those too.
Click to expand...
Click to collapse
I've had better luck with Android Terminal, and I have been able to map back to escape, which is great! I also mapped caps-lock to control, but that only worked half way (it still does a caps lock).
Anyhoo, the point is that we apparently can remap the keys however we want in an app, which is good news.
I think my ideal mapping would be:
Back = Escape
Caps Lock = Ctrl
Ctrl = Back
I would just lose Caps Lock. How often is is really necessary anyway.
On an unrelated note, is there a way to turn down the sensitivity of the touchpad? I keep getting random clicks, and I think it's coming from me hitting the touchpad.
axe2 said:
I've had better luck with Android Terminal, and I have been able to map back to escape, which is great! I also mapped caps-lock to control, but that only worked half way (it still does a caps lock).
Anyhoo, the point is that we apparently can remap the keys however we want in an app, which is good news.
I think my ideal mapping would be:
Back = Escape
Caps Lock = Ctrl
Ctrl = Back
I would just lose Caps Lock. How often is is really necessary anyway.
On an unrelated note, is there a way to turn down the sensitivity of the touchpad? I keep getting random clicks, and I think it's coming from me hitting the touchpad.
Click to expand...
Click to collapse
That sounds cool. I'll check it out.
As for the touchpad, i always hate tap to click on touchpads. I wish this was a ag to turn that off, but i haven't seen it yet.
Sent from my Transformer TF101 using XDA Premium App

[Q] Ctrl key and SSH

Hi all !
First of, a big thanks to everyone involved with this forum. You guys are doing a great job.
Now to my concerns:
as system administrator, I spend half of my day working on some hosts via ssh. When I got my TF101 I was so psyked to see that there were android ssh clients, thinking that I could also use my tablet + dock as a backup working station.
But after trying all the (free) ssh clients, it seems that none of them can use the Ctrl key on the dock's keyboard. I mean, what the point of an ssh client that doesn't understand the Ctrl key.
After rooting my TF101 I flashed Prime1.5 on it. I though that the terminal emulator in it would help a bit but I ended up finding out that there is no ssh binaries on android so far.
I might give a shot at the native ubuntu installation to see if i could work with it, but I kinda like android so I would prefer to stay on it.
Does anyone have the same problem as me ?
Does any dev around here know of a solution ?
Could it be possible to compile for android the openssh client from the GNU sources ?
Thanks in advance.
This might works. (will take some reading)
makec3rt's link does work. This is the APK:
https://github.com/downloads/lorantkurthy/connectbot/ConnectBot1.apk
This is a different branch with similar features:
https://github.com/downloads/tcoxon/connectbot/connectbot-transformer.apk
The first one has right-alt support and more tablet features, while the second one has right-shift+numbers for functions and a more phone-like interface.
I ended up buying Better Terminal Emulator Pro (can't have external links cause I'm too new). It supports Tab, Ctrl, and even lets you remap Back to Esc. It seems to solve all the problems I had with it.
Not sure if this adds any insight, but I used Connectbot which works with Hackers keyboard. I paired my TF with a bluetooth keyboard and the ctrl key did not work.
I haven't dug into it yet, but I'm hoping it's just a key mapping issue.
sent from my cyanogen(mod) vision
Just use Hacker's keyboard.
It works great with the original ConnectBot or the HoneyComb update that is floating around.
Edit: I misread and thought you were talking about the virtual keyboard. The modified APKs ldrn linked to should work nicely. Note that by default they will not act any differently, you must change a setting to set it for the "Asus Transformer Keyboard"
sassafras
There is a modified version of ConnectBot that is designed to use the Transformer's keyboard correctly.
APK
Github
EDIT :: Oops, same links as post 3. My bad
Thanks for your replies.
So I've tried the modified ConnectBot App and it indeed make the ctrl-key .... well kindof work.
It seems that only some combinaisons are mapped, for example: Ctrl+c and Ctrl+d wor fine but neither ctrl+a nor ctrl+e are recognized. Also the key combos used in 'screen' like ctrl+a,n don't work which is still a big problem for me.
I don't think that modifying a software made for phone in the case of a ssh client. They have no real line editor. it's like typing an sms and send it to the terminal.
In my opinion the best, most proper and probably not too hard solution, would be to find a way to compile a real (from the linux/bsd world) ssh binary that can be used through the terminal emulator on the TF101.
I'll give try to Ubuntu on the TF and see for myself if it can b worth a shot...
thx again.
Hacker's keyboard.
bibifuk said:
I don't think that modifying a software made for phone in the case of a ssh client. They have no real line editor. it's like typing an sms and send it to the terminal.
In my opinion the best, most proper and probably not too hard solution, would be to find a way to compile a real (from the linux/bsd world) ssh binary that can be used through the terminal emulator on the TF101.
Click to expand...
Click to collapse
That's exactly what Better Terminal Emulaor Pro does. It's a terminal emulator with an ssh binary.

[Q] Has anyone come across an SSH client?

I got given a Surface, I wasn't expecting to like but I really do! Few obvious things missing (VLC) but a biggie for me is an SSH client such as Putty etc... anyone know of one? Know of one that is being worked on at least?
Thanks!
Noxis said:
I got given a Surface, I wasn't expecting to like but I really do! Few obvious things missing (VLC) but a biggie for me is an SSH client such as Putty etc... anyone know of one? Know of one that is being worked on at least?
Thanks!
Click to expand...
Click to collapse
Did you check the store. I don't think it should take too long for someone to make one.
Also, aren't there flash based ssh clients?
I've got an at least semi-working port of BouncyCastle's C# library (which includes ssh functionality) to Windows Runtime. If there isn't an app for ssh on there yet by the time I finish my current app, that's the next one I'll write.
Nothing yet for SSH unfortunately.
So far my 'workaround' is to do a remote app off my dinky little Atom Win2k8R2 server. I rigged up remote apps for SecureCRT and the VSphere client. Works pretty nicely.
Of course, natively running app would be preferred. I asked the folks over at Vandyke (SecureCRT guys) if they were going to do a 'metro' version and they said it wasn't on the roadmap.
Hopefully someone will port Putty or something over.
--Chris
FYI, an SSH Term emulator app just showed up in the store today. 2bucks, with a trial.
--Chris

Categories

Resources