I posted this initially on the Peterborough LUG list but I wonder if there are more Android experts here?
---
Anyone here played with Android app development?
It's something I've wanted to try my hand at, and just needed an app to work on. I now have one (a specific development for a customer, it's not going to be App of the Year 2013 on Google Play or anything :-)
"All" it needs to do is create a secure connection (SSH) to an existing server using a pre-shared key, then tunnel a connection through it to a web server, displaying the web content in the app. Most of the infrastructure is already set up, although the web pages will want some tweaking to suit the Android device (although not too much as it'll probably be a tablet not a phone).
Some time ago I did install the development tools and get as far as a simple "hello world" app, although I can't claim to remember much of the experience, so I'm starting very much from the position of a novice.
On Thu, 13 Dec 2012, Mark Rogers wrote:
Anyone here played with Android app development?
It's something I've wanted to try my hand at, and just needed an app to work on. I now have one (a specific development for a customer, it's not going to be App of the Year 2013 on Google Play or anything :-)
"All" it needs to do is create a secure connection (SSH) to an existing server using a pre-shared key, then tunnel a connection through it to a web server, displaying the web content in the app. Most of the infrastructure is already set up, although the web pages will want some tweaking to suit the Android device (although not too much as it'll probably be a tablet not a phone).
A left-field thought, but does this really need to take the form of a new app? You can install your favourite Linux distro in a chroot on an Android device, as described at http://evilzone.org/android/debian-on-android/ with a Debian focus or at http://forum.xda-developers.com/showthread.php?t=789003 with a Gentoo focus. You can then get a local X session on the Android device using a VNC server from that Linux distribution and one of the VNC client apps already available on the Android Marketplace, and use the X11 forwarding capability of the Linux distribution's ssh client.
On 14/12/12 12:13, Dan wrote:
A left-field thought, but does this really need to take the form of a new app?
In this case yes: it needs to be something that a "normal person" can install (albeit side-loaded).
It's certainly possible in an app; there are several apps that act as proxys to send all web traffic through a secure tunnel (to defeat the Great Firewall of China etc) which do something pretty close to what I need. The problem is any time I search for keywords like "Android ssh tunnel" I get pages of hits for that, not examples on what I actually need.
I think I just need to re-install the tools and give it a go, and see where I get stuck.
Mark