GithubHelp home page GithubHelp logo

Comments (3)

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
Sticking an 'if(actionBar != null)' in front of each reference in 
ActionBarWrapper fixed the crash. No further changes were needed to get to a 
working shell. There are a few cosmetic issues: the font sizes on the 
connections list and the first-run walkthrough are way too big, and the 
protocol-select button renders in white-on-almost-white font. More importantly, 
the keybindings for Ctrl+letter don't seem to do anything. (Port-forwarding 
worked fine; that was actually the main thing I was after). At once point it 
rotated ninety degrees and showed an onscreen keyboard, which is silly, but it 
rotated back and then I couldn't reproduce it.

Original comment by [email protected] on 13 Dec 2013 at 11:37

from connectbot.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
Also - my Glass crops ~4 pixels off the left (and documentation suggests that 
sort of thing may be common), so a configurable margin would be useful. (Though 
it'll probably be unnecessary or superseded by a new API in a future iteration.)

Original comment by [email protected] on 13 Dec 2013 at 11:40

from connectbot.

GoogleCodeExporter avatar GoogleCodeExporter commented on August 21, 2024
Seconded on my Glass Explorer Edition 2.0 model. I can ack the reproduction 
steps jimrandomh provided, as well as the fix.

The steps I took to reproduce this issue:

1) Starting with a Glass Explorer model with Debug Mode enabled, connect to 
another machine over USB.
2) adb install the latest APKs for Settings and Launcher2 
(http://www.glassxe.com/2013/05/23/settings-apk-and-launcher2-apk-from-the-hacki
ng-glass-session-at-google-io/).
3) adb install the latest release APK of connectbot (in my case, 
http://code.google.com/p/connectbot/downloads/detail?name=ConnectBot-git-master-
2013-11-01_20-34-19.apk&can=2&q=)
4) adb shell, am start com.android.launcher/com.android.launcher2.Launcher, 
open the app tray, select connectbot (one can, alternatively, am start 
org.connectbot/.HostListActivity directly)
5) Follow the dialogs, input a valid server, and attempt to connect.

Expected behavior: a connection is established with the server and 
.ConsoleActivity is run.
Actual behavior: connectbot crashes with the dump above.

To fix this, I followed jimrandomh's advice, going a step further and 
commenting out all references to "actionBar". After installing the APK I built 
from the current git master with these changes, the app works on my model of 
Glass.

I was able to reproduce the rotation issue by turning off my Bluetooth 
keyboard. Turning it back on fixed the orientation problem. I suspect it's 
simply related to the default display of the on-screen keyboard.

I cannot recognize, or at least reproduce at this time, the cropping issue 
discussed above, though I have not gone out of my way to attempt to reproduce 
it. My IRSSI session in connectbot appears, naively, to be properly aligned.

Original comment by [email protected] on 26 Dec 2013 at 12:08

from connectbot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.