SriramBms / connectbot

Automatically exported from code.google.com/p/connectbot
Apache License 2.0
0 stars 0 forks source link

Kindle Fire: cannot connect from quick-connect #532

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. download APK from connecbot google code page
2. install on Kindle fire with unknown sources installation enabled
3. open app
4. after entering <user@hostname> no return option in keyboard to connect and 
no button available to do such either

What is the expected output? What do you see instead?

connect or go button to connect a server to comepnsate for not return on kindle 
fire keyboard or, using correct text box for it to pull it up (go or return is 
available in other standard android apps)

What version of the product are you using (you can see this by using Menu
-> About in the Host List)?

What type of system are you trying to connect to?

gives  ̈́onnectBot(working copy) "in help
master development snapshot 2011-10-20_12-30-56
and
tablet development snapshot 2011-10-20_12-30-56

If you are able to connect, what is the output of "echo $TERM", "uname -a",
and any other relevant information on the host?

Please provide any additional information below.

Original issue reported on code.google.com by howaboutudance on 16 Nov 2011 at 1:51

GoogleCodeExporter commented 9 years ago
I have the same issue.  The app seems to work but the software keyboard on the 
Kindle Fire does not default with a <enter> type key.  It shows up as either 
"Search" or "Go" in some of the native apps that come with it.  I'm assuming 
it's just an attribute on the EditText to set this but I do not know.  This 
will be a problem if we do manage to get connected to as there will be no way 
to submit commands in a shell.

Original comment by jond...@jondale.net on 16 Nov 2011 at 2:09

GoogleCodeExporter commented 9 years ago
For me, this is the "killer app" for my Kindle Fire.  PLEASE fix this as soon 
as feasible!!!

Original comment by larry.he...@gmail.com on 16 Nov 2011 at 5:31

GoogleCodeExporter commented 9 years ago
Ditto. Ability to use this on my kindle fire would be great!

Original comment by pouncing...@gmail.com on 16 Nov 2011 at 8:33

GoogleCodeExporter commented 9 years ago
Count me in.  I use this on the Galaxy Tab 10.1 but would like this on the KF.

Original comment by CpuFixr...@gmail.com on 16 Nov 2011 at 10:26

GoogleCodeExporter commented 9 years ago
Yes, I did the same last night hoping to use this on my Kindle Fire, and also 
noticed the lack of the enter key!   

Original comment by gmei...@gmail.com on 18 Nov 2011 at 3:31

GoogleCodeExporter commented 9 years ago
Yes having same problem on kindle fire.

Original comment by 2wal...@gmail.com on 18 Nov 2011 at 4:35

GoogleCodeExporter commented 9 years ago
If you go to e-mail on the Fire, you'll notice that virtual keyboard there 
*has* an <enter> key.. I'm still looking through the device's help and Amazon 
tech support to see if this it is configurable which keyboard can be used with 
which app. 

Original comment by leannero...@gmail.com on 18 Nov 2011 at 7:36

GoogleCodeExporter commented 9 years ago
it is part of the code...I am zeroing in on the issue as much as I can...my 
java is pretty decent android app development not so much.

Original comment by howaboutudance on 21 Nov 2011 at 2:02

GoogleCodeExporter commented 9 years ago
Nailed it...how do I contribute my changes? Probably just a hack, i've never 
worked with android code before...

I just changed two inputType fields and they keyboards are now showing up with 
the enter key.  Have not tried on any other platforms.

https://gist.github.com/1384710

Original comment by zpet...@gmail.com on 22 Nov 2011 at 2:27

Attachments:

GoogleCodeExporter commented 9 years ago
As mentioned above, changing the inputType on the EditText fields to 
textMultiLine seems to make a return key appear.    Hopefully this can be put 
into the official apk.

Original comment by jond...@jondale.net on 22 Nov 2011 at 8:35

GoogleCodeExporter commented 9 years ago
Can someone attach the .apk here? Can't wait for the official build... nobody 
seems to care.

Original comment by googli...@gmail.com on 23 Nov 2011 at 2:28

GoogleCodeExporter commented 9 years ago
OK - managed to make a build myself. Here it is for those who want it now.

Original comment by googli...@gmail.com on 24 Nov 2011 at 3:26

Attachments:

GoogleCodeExporter commented 9 years ago
Just one more echo, that the rebuilding from source with the changes listed to 
the EditText fields fixes the issues I have seen on my fire.

Very nice.

Original comment by bch...@gmail.com on 24 Nov 2011 at 7:15

GoogleCodeExporter commented 9 years ago
The apk provided by #12 seems to work great for connecting. But now I'm stuck 
with the default Kindle keyboard for shell sessions, which doesn't have arrow 
keys, or alt/F-keys. Is there any way to work around the limited keyboard, like 
having more modifer popups? Ctrl and Esc are useful, but not enough for the 
Kindle.

Original comment by jariiz...@gmail.com on 25 Nov 2011 at 9:35

GoogleCodeExporter commented 9 years ago
The patch also works well on mine, but arrow keys are definitely needed.

Original comment by baz...@gmail.com on 26 Nov 2011 at 7:51

GoogleCodeExporter commented 9 years ago
OK - added alt and arrow buttons.

Original comment by googli...@gmail.com on 26 Nov 2011 at 9:59

Attachments:

GoogleCodeExporter commented 9 years ago
Previous poster, can you post the code for your changes?  I'd like to learn 
from it.  Thank youj

Original comment by zpet...@gmail.com on 26 Nov 2011 at 10:11

GoogleCodeExporter commented 9 years ago
Without commit permissions, the best way to contribute is by submitting a 
patch; this allows the developers to easily review and accept fixes, while the 
rest of us can apply the patch against the official source.

I've already made a branch with the changes posted earlier, so I'll attach a 
diff against the latest master (3a4327f).

Original comment by garrison...@gmail.com on 27 Nov 2011 at 2:17

Attachments:

GoogleCodeExporter commented 9 years ago
Works great, but can tab be added?

Original comment by maninsca...@gmail.com on 29 Nov 2011 at 7:03

GoogleCodeExporter commented 9 years ago
I installed both the apks above to no avail.  Anybody else in same boat?

Original comment by LordByr...@gmail.com on 2 Dec 2011 at 5:15

GoogleCodeExporter commented 9 years ago
Better than changing the textfield type to "textMultiline" is to simply change 
the imeOptions attribute to "actionGo" in both the password and the quick 
connect box. That makes the "Go" button appear on the Fire, and shouldn't break 
anything on other platforms. 

Here's a build where I've done that.

Original comment by sombradesoledad on 4 Dec 2011 at 4:17

Attachments:

GoogleCodeExporter commented 9 years ago
Hi, I just found this issue as I was yet another one trying ConnectBot on the 
Kindle Fire. My comments on the two builds posted above:

The one in comment #16 is not usable, as I can not enter any addresses without 
the automatical text correction messing them up. I do have the "Quick Fixes" 
settings in OFF position, as is Auto-capitalization.

The one in comment #21 works fine, but I miss the arrow keys. If the best of 
these 2 versions were combined I think it would be great.

Original comment by Nikkan...@googlemail.com on 17 Dec 2011 at 6:45

GoogleCodeExporter commented 9 years ago
Addition to the above: The build in comment #21 also causes a slight problem 
where the virtual keyboard stays visible even if I switch out of the 
application.

Original comment by Nikkan...@googlemail.com on 17 Dec 2011 at 6:46

GoogleCodeExporter commented 9 years ago
I don't think arrows/alt are necessary in the keyboard, as if you tap the 
terminal window some "extra soft" keys for alt and arrows appear. This is in 
#21 version.

PS: Hawesome. Socks have been rocked.

Original comment by keithdty...@gmail.com on 27 Jan 2012 at 7:25

GoogleCodeExporter commented 9 years ago
I just tried. The one in comment #21 worked well. But the TAB key is missing. 
It will be very useful when you input commands, I think.

Original comment by kchua...@gmail.com on 28 Jan 2012 at 5:57

GoogleCodeExporter commented 9 years ago
ctrl-i works in place of the tab key

Original comment by good.evi...@gmail.com on 28 Jan 2012 at 2:21

GoogleCodeExporter commented 9 years ago
Uh, exactly how did you get arrows to appear in download #21?  I can't get that 
to appear on the Kindle Fire.  I do see Control, Esc, and a keyboard option 
when I tap on the screen, but no arrow keys.

Original comment by bmomj...@gmail.com on 11 Mar 2012 at 4:44

GoogleCodeExporter commented 9 years ago
Thanks a bunch for these patchs!   

Original comment by gclewi...@gmail.com on 21 Apr 2012 at 10:03