[Q] Special keys in Terminal Emulator, VI - Captivate General

Hi guys. I am trying to learn how to use the Terminal Emulator on the Captivate. This will save me from needing to adb into a shell to do simple things. However, I cannot figure out how to get the special keys to work.
For example, I would like to 'Escape'wq but cannot figure out how to use the escape key.
The special key is set to Vol.Down and the listing for escape is Vol.Down+1
However, trying this never seems to give me an escape, just a 1
Any help?

In vi you can use ctrl-c to leave insert mode. Then type :wq to save and quit.
Sent from my SAMSUNG-SGH-I897 using XDA App

Thanks. But I am having trouble using the CTR + something keyboard shortcuts. The volume down button does nit seem to be working.
Sent from my SAMSUNG-SGH-I897 using XDA App

Just using the vol-down is working as an escape for me with version 18 of the TE. So Vol-Down+: enables me to wq(bang).
Sherpa
PS Thanks for reminding me, I was having a heck of a time getting it to work with the earlier versions of the terminal so I haven't tried it in a while.
PPS.... Nah I don't want to start a vi vs emacs war. Besides I hate emacs

Ok, out seems vol down + 1 allowed me to wq afterwords. Thanks for the help!
Sent from my SAMSUNG-SGH-I897 using XDA App

Now only if we could implement tab completion in the shell..

terrigan said:
Now only if we could implement tab completion in the shell..
Click to expand...
Click to collapse
It does. Just setup an initial command to launch 'busybox ash' then use ctrl-i to do tab completion. That's all there is too it.

Does anyone know how to "hit" escape in adb shell? I made the mistake of opening a file in vi through an adb shell today, and I tried everything I could think of to exit insert mode in order to quit vi. I finally had to open another shell and kill the vi process...

tmusall said:
It does. Just setup an initial command to launch 'busybox ash' then use ctrl-i to do tab completion. That's all there is too it.
Click to expand...
Click to collapse
Eh!?

Related

Bluetooth Keyboard driver for Android

Yesterday I saw this picture on another forum:
It appears to be a bluetooth keyboard driver for the android, and the screenshot already shows a successfully connected keyboard with what seems to be some test input text.
Unfortunately no apk no nothing.
Here is the thread on xda-devs discussing this:
http://forum.xda-developers.com/showthread.php?t=508026
And here is where I've found the picture:
http://forum.androidcentral.com/htc-droid-eris/1158-external-bluetooth-keyboard-droid.html
Let's try to identify this software and get our hands on the apk, for the major good of our android devices !
http://www.mytouch3gaccessories.net/bluetooth-keyboard-b0056.html
Does the Mytouch have a HID profile? This keyboard implies such.
edit: http://groups.google.com/group/android-platform/browse_thread/thread/73eed70fb229d7ae?pli=1
edit 2: http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html
Maybe a stupid remark, but in the picture in OP, the bluetooth symbol doesn't appear to have any devices connected.
Zappza said:
Maybe a stupid remark, but in the picture in OP, the bluetooth symbol doesn't appear to have any devices connected.
Click to expand...
Click to collapse
I think the app is not using the google api since the bluetooth functionality provided is so limited:
http://sites.google.com/a/android.com/opensource/projects/bluetooth-faq
So maybe this explains the icon's state.
ytj87 said:
http://www.mytouch3gaccessories.net/bluetooth-keyboard-b0056.html
Does the Mytouch have a HID profile? This keyboard implies such.
edit: http://groups.google.com/group/android-platform/browse_thread/thread/73eed70fb229d7ae?pli=1
edit 2: http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html
Click to expand...
Click to collapse
No. Read the page more carefully. It clearly states that the MT3G does not currently support the HID profile.
I wonder if the majority of Android users are rooting their devices. Seems like a must have for the more exotic applications.
swivel said:
No. Read the page more carefully. It clearly states that the MT3G does not currently support the HID profile.
Click to expand...
Click to collapse
Yes, I worded poorly. I more accurately meant, "Has the MT3G been hacked to support the HID profile?" The claim at in the ad implied they could do it, but that's hardly confirmation that it works.
Subsequent searches yielded the two links I added in the edit. Indeed some have gotten a HID profile to work.
So I just got my logitech bluetooth keyboard connected to my Magic, running excellently
http://www.youtube.com/watch?v=x4rM2Tb35RE
If anyone wants a guide as to how I did it I could put it up
Please do!
The instructions at http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html should be easy enough, I got my Dell BT keyboard working on my G1 without problems.
Yep thats what I used
...well, what about the reverse? Is it possible to use the Dream device keyboard via bluetooth to communicate with, let's say, a PS3 for example?
(be nice, I really don't have a clue lol)
unknown.soul said:
The instructions at http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html should be easy enough, I got my Dell BT keyboard working on my G1 without problems.
Click to expand...
Click to collapse
that's awesome. I got it to work with my iGo stowaway keyboard but only briefly. Do I have to type the hciconfig commands in a terminal or adb shell each time I want to connect? Looks like an opportunity to put an app in the Market
There's no need to push the files mentioned in the link. At least for CM 4.2.5. My Apple BT keyboard works just using the hidd commands. Now we need to write a script to do this, using solely the hidd --connect command, with the appropriate device MAC, then linked to a shortcut on one of the home screens. Very nice.
edit: typo correction
http://forum.xda-developers.com/showthread.php?t=486486
Easy to make a shell script shortcut with the program here. Do...
hidd --connect MAC
with su, then link to a shortcut on the desktop via a long press.
webmastertroi said:
...well, what about the reverse? Is it possible to use the Dream device keyboard via bluetooth to communicate with, let's say, a PS3 for example?
Click to expand...
Click to collapse
This is actually what I would like. A lot of Sony Ericsson phones have had that ability since the Bluetooth 1.2 days.
easier way plz
could someone please post an easier way 2 do dis cause i went to the site(http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html) and i do not get wat i hav 2 do i know adb has somethin to do with it but what do i do and what do i download from the site please help
`
Well yes, this is what we all want to have.
And there is an app I've posted in the first message, and I think I know where the installer is from.
turtlesmank4 said:
could someone please post an easier way 2 do dis cause i went to the site(http://i-miss-erin.blogspot.com/2009/09/connect-bluetooth-keyboard-in-android.html) and i do not get wat i hav 2 do i know adb has somethin to do with it but what do i do and what do i download from the site please help
`
Click to expand...
Click to collapse
There really is no easier way unless someone writes an app or a script to automate the commands.
Not to be a **** but if you don't understand the instructions on that blog then you are really risking seriously damaging your device by doing things that are on this site. I am surprised you were able to root...
Wow, this works perfectly.
For total noobs - if you follow the instructions from the link - before running the commands, you obviously have to:
# chmod +x hcitool
# chmod +x hidd
(otherwise ull get permission denied)
also you might want to change system back to ro when you are done
# mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
I really wonder why Google doesnt put any effort in developing HID bluetooth service for Android. Would be really cool to be able to use different types of input devices (especially for games/typing).

[Q] How to copy "Wireless Tether" app from HTC Indredible to my new Thunderbolt??

[Q] How to copy "Wireless Tether" app from HTC Indredible to my new Thunderbolt??
As many of you may already know, the app from the market called "Wireless Tether" has been removed (or I sure as hell cannot find it!!) I have a HTC Incredible and just got the Thunderbolt. I want to try and get this app on my Thunderbolt but I cannot save the app to my sim from the app menu.
Is there any way to do this? I was thinking open it up on the computer as a hard drive and then copy it? If so, what will it be named and where would it be located? Then where should I copy it, or should I ask how do I get it installed on my Thunderbolt???
Thank you all for any help or suggestions ahead of time. I am new to this forum and appreciate any advise. Also, if I posted this in the wrong forum or if someone already asked this questions, well sorry haha.
The easiest way to get it is to just enable airplane mode and then turn on WiFi and connect to your network. It will then show up in the market and you can just download it. By the way, nice name!
Like this. http://bit.ly/juruRY
Thanks for the name compliment finger lol, I also tried your idea of airplane and wifi but I had no luck. I am wondering if the app is even on there anymore at all? It did not come up for me either way.
Thanks TONY, I am always skeptical of downloading files but I will trust you on this one lol. Now, how should I get this onto my phone and how do I get it to open up? I am assuming I should open that link FROM my phone? Will I need to save it and where to?
Or you can Google search "wireless tether for root users" and get the newest beta edition.
Sent from my ADR6400L using XDA App
theincrediblenoob said:
Thanks for the name compliment finger lol, I also tried your idea of airplane and wifi but I had no luck. I am wondering if the app is even on there anymore at all? It did not come up for me either way.
Click to expand...
Click to collapse
It works for me
Remember the episode of South Park "Make Love not Warcraft" where Randy couldn't figure out how to get "the Sword of a Thousand Truths" to Stan? -- This question made me think of that, lol.
You can do as they've described above or also:
From Incredible:
Code:
adb pull /path/to/apk.apk
To Thunderbolt:
Code:
adb push /path/to/apk.apk
Hahahahahahaha!!!!!
dirtyfingers said:
The easiest way to get it is to just enable airplane mode and then turn on WiFi and connect to your network. It will then show up in the market and you can just download it. By the way, nice name!
Click to expand...
Click to collapse
This.
Also had some luck with the "Market Enabler" app that is available on the Android Market and, at least for now, isn't blocked by carriers.
Yea, Idk finger. I just tried it again and still could not find that app.
nerozehl said:
Remember the episode of South Park "Make Love not Warcraft" where Randy couldn't figure out how to get "the Sword of a Thousand Truths" to Stan? -- This question made me think of that, lol.
You can do as they've described above or also:
From Incredible:
Code:
adb pull /path/to/apk.apk
To Thunderbolt:
Code:
adb push /path/to/apk.apk
Click to expand...
Click to collapse
Ok now this is really gonna sound noobish haha, but what am i putting this code into? lol
You'll need to open up a command prompt in Windows and cd to the path where adb is installed on your computer. If it isn't, you're going to need to get yourself the Android SDK, and then the tools that contain adb.
theincrediblenoob said:
Ok now this is really gonna sound noobish haha, but what am i putting this code into? lol
Click to expand...
Click to collapse
You need to set your current working directory to wherever you have adb installed (I can't remember the exact directory name). If you're on Linux and don't have the directory where ADB is installed in your $PATH then you'll need to type ./adb but if you're on Windows you can just type adb. (Remember you used adb to root your phone... right?)
I remember it from when I rooted my Incredible but I have not attempted to root on my Thunderbolt yet. I used Unrevoked cause I was being a girl and was afraid to brick my phone. Since Unrevoked has not cracked the Thunderbolt yet, I will have to do it like everyone else. I guess I will look back on this forum after I root (which will be any day now) and get the program. I just want to make sure that I can still get it.
Let me ask you guys this. If I hook my computer up to my phone and run it as a "hard drive" what file can I pull to get the wireless tether program. Like where will it be located? Cause then I can just send it to my Thunderbolt after I obtain root. I actually have not even opened my Thunderbolt yet. I am charging it. I just was not sure when I activate it if I will be able to access all my files on my incredible. Sometimes i noticed phones will go right to a screen which makes you activate which I can not go around
Just download that link to our phone and open the apk file after it's done. That's all.
FatTony666 said:
Like this. http://bit.ly/juruRY
Click to expand...
Click to collapse
This looks like an older version of wireless tether that you posted. The current one, or at least the one I have is 2.0.7
Just download the apk from the Google code website.
Here
http://db.tt/GrsXJ47
dirtyfingers said:
Here
http://db.tt/GrsXJ47
Click to expand...
Click to collapse
Thanks! For anyone else with this problem, this is the best and easiest solution. Exactly what I was looking for. Simple and to the point!
Thanks everyone else as well!

[Q] Terminal Emulator w/ HW keyboard

hey just wondering what apps you guys are using for your terminal emulator..I'm using a free one called "Android Terminal Emulator" from Jack Palevich, but when I use it with my hardware keyboard, I can't figure out how to type forward slashes. Any time I try, the ~ character comes up instead, anybody else have this problem, or can maybe suggest another terminal emulator app to use?
hate to say it, but the way i've been getting around this for now is to just slide the keyboard in and toggle the soft keyboard to get the slashes, or any special characters.
Just about every alternate character on the hardware keyboard comes up as a tilde.
Others have mentioned this problem here before, I don't know if any other terminal emulator was suggested.
This one is the one I use, and it sucks to slide the keyboard in and out so much, but I don't want to use the on-screen keyboard as much as possible.
gahh...that's really annoying. I'll look for other terminal emulators and let you know if I find a good one..
mat_oli said:
gahh...that's really annoying. I'll look for other terminal emulators and let you know if I find a good one..
Click to expand...
Click to collapse
Every terminal emulator I've tried screws up the / ? key and the [email protected] key
Connect locally in ConnectBot, works flawlessly for me.
arcticwolf8 said:
Connect locally in ConnectBot, works flawlessly for me.
Click to expand...
Click to collapse
Dude, you have saved my sanity! The / key is probably one of the more important keys if you're using a terminal emulator. Toggling the soft keyboard sucked! This is much better, thanks for the find!

Vudu apk

Just read over on engadget that Vudu have finally released an app for select Android tablets (galaxy 10.1 not being one of them. The app is free, so I am wondering if any of the wizards here could nab the .apk and post it here for us to enjoy. Would be pretty awesome to be able to watch my ultra-violet movies on my note Thanks in advance
https://play.google.com/store/apps/details?id=air.com.vudu.air.DownloaderTablet
https://www.box.com/shared/d9h6884jctmi5wlf2nzi
Sent from my GT-N8010 using Tapatalk 2
lm that guy said:
https://www.box.com/shared/d9h6884jctmi5wlf2nzi
Sent from my GT-N8010 using Tapatalk 2
Click to expand...
Click to collapse
You Rock!:highfive: thanks so much for doing that
Works perfectly. Thanks again
brett_day said:
Works perfectly. Thanks again
Click to expand...
Click to collapse
No Problem. I was able to download the app on my note. Maybe its compatible now?
Sent from my GT-N8010 using Tapatalk 2
lm that guy said:
No Problem. I was able to download the app on my note. Maybe its compatible now?
Sent from my GT-N8010 using Tapatalk 2
Click to expand...
Click to collapse
interesting. Just went to Google play to see and it still shows it as not being compatible with mine. Very strange. Oh well, thanks to you kind sir, I am enjoying it as we speak
Phones are not supported. I just tried this on my Samsung Galaxy SII
I could not press the play button because the UI does not let me scroll down to that. I can attempt to download but it is telling me I do not have sufficient storage. It downloads to the Internal storage and cannot be moved. I am trying to see what I am able to do with the application.
The screen on the note is big enough you should be able to navigate the UI though it may be a little difficult I was not able to log in until I searched for a title then the sign in was visible.
lm that guy said:
https://www.box.com/shared/d9h6884jctmi5wlf2nzi
Sent from my GT-N8010 using Tapatalk 2
Click to expand...
Click to collapse
Thanks so much dude, works like a charm! :good:
Gs3 doesn't have enough real estate either. I can barely hit whatever button is right under the cover art.
Asked me to log in. My vudu account is from Walmart and this app will only slow you to log in via fb or your normal vudu account.
Update
Changed lcd density to 300 and works well.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Kindle fire HD
Works ok on my Kindle Fire HD 7. The movie plays upside down when in a propped up case, but that's not a huge deal. Only plays in SD. But, hey, it works.
Thank you!
lm that guy said:
https://www.box.com/shared/d9h6884jctmi5wlf2nzi
Sent from my GT-N8010 using Tapatalk 2
Click to expand...
Click to collapse
Confirm it works on a razr maxx
Thanks for the ApkI it does work on the RAZR Max although it does stay locked in landscape and there is no way to login in. Was able to stream a trailer and when stopped screen went black this also has happens at the start up so be patient with it if do install it on a done as it does seem this is only made for devices with a fast processor.
---------- Post added at 05:02 PM ---------- Previous post was at 04:58 PM ----------
knifegodflux said:
Phones are not supported. I just tried this on my Samsung Galaxy SII
I could not press the play button because the UI does not let me scroll down to that. I can attempt to download but it is telling me I do not have sufficient storage. It downloads to the Internal storage and cannot be moved. I am trying to see what I am able to do with the application.
The screen on the note is big enough you should be able to navigate the UI though it may be a little difficult I was not able to log in until I searched for a title then the sign in was visible.
Click to expand...
Click to collapse
Thanks for the ApkI it does work on the RAZR Max although it does stay locked in landscape and there is no way to login in. Was able to stream a trailer and when stopped screen went black this also has happens at the start up so be patient with it if do install it on a done as it does seem this is only made for devices with a fast processor.
https://www.box.com/shared/wzb4fhpvbasvbtcwupwm
Vudu apk with added multi window mod support
ycavan said:
Gs3 doesn't have enough real estate either. I can barely hit whatever button is right under the cover art.
Asked me to log in. My vudu account is from Walmart and this app will only slow you to log in via fb or your normal vudu account.
Update
Changed lcd density to 300 and works well.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
Click to expand...
Click to collapse
How do you do change the LCD density?
Sent from my SAMSUNG-SGH-I747
If you are rooted, the easiest way is to get a market app that edits build.prop correctly. Do not use LCD density changer apps! They tend to not set permissions correctly and your phone will not boot all the way.
If you have adb, you can do the following after plugging your phone in:
Open cmd prompt
>adb shell
$ <-- is the shell prompt
$su
# <-- is the root prompt
#mount -o remount,rw /system
#chmod 777 /system/build.prop
#cp /system/build.prop /system/build.bak <-- make a backup
Open another cmd prompt
>abd pull /system/build.prop
Open WordPad or any text editor
Find the line that contains the keyword density
change that value. The smaller the number, the smaller everything on your screen gets. Most tablets are set for 240. The gs3 is normally 320. I only needed a little more space so i could see my movies so i changed it to 300.
Save the file
>adb push build.prop /system/build.prop
Go back to first cmd prompt
#chmod 644 /system/build.prop
#reboot
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
install wont work
When in try to install it i get the error "Parse error There is a problem parsing the package." Does anyone know why i'm getting it or have another download i could try
I'm getting the same error
Sent from my Kindle Fire using Tapatalk 2
Normally that means that the package is corrupt. I would recommend downloading on a PC and copying the apk over.
Sent from my SAMSUNG-SGH-I747 using Tapatalk 2
I did download on the computer and copy to my phone same error
Does anyone know where vudu stores the movies that you download I can't find vudu or my movie in the file browser?
Sent from my KFJWI using Tapatalk 2

Gear 2/Gear 2 Neo - how to make screenshot

Has anyone succeeded in taking screenshot of a actual screen? I have tried various combinations with fingers and home button, but I have found nothing. Same for the SDB developer tools, there is no option how to screenshot. Have you found another way?
Thx
hmyzak said:
Has anyone succeeded in taking screenshot of a actual screen? I have tried various combinations with fingers and home button, but I have found nothing. Same for the SDB developer tools, there is no option how to screenshot. Have you found another way?
Thx
Click to expand...
Click to collapse
have not tried this on the watch, but...
$ sdb shell
# xwd -root -out /tmp/screen.xwd
# exit
copy screen.xwd to somewhere that you can work with it, use a program like gimp (and i'm sure many others) to convert the xwd image to png or something.
xformulax said:
have not tried this on the watch, but...
$ sdb shell
# xwd -root -out /tmp/screen.xwd
# exit
copy screen.xwd to somewhere that you can work with it, use a program like gimp (and i'm sure many others) to convert the xwd image to png or something.
Click to expand...
Click to collapse
This is, what I have been trying for the first time, however, watches don't know what command xwd means, so this is no way how to screen capture Gear 2, but thanks for reply
thank you : Cười:
hnganpc said:
thank you : Cười:
Click to expand...
Click to collapse
No need to thank for, screening Gear 2 is not possible in this time
Still no way to take a gear 2 screenshot?
recDNA said:
Still no way to take a gear 2 screenshot?
Click to expand...
Click to collapse
Just take a shoot from your mobile phone camera.. it's a alot easier...
If you are a developer, use the emulator, then you can get a screenshot.
Hielko said:
If you are a developer, use the emulator, then you can get a screenshot.
Click to expand...
Click to collapse
It's also the only way I can image to have the screenshot.
If porting to android wear, it's possible to have the screenshot with ADB.

Categories

Resources