Hello everyone.
First, I'm new to Java and Android Development so I hope you're patient with me :)
My aim in my first app is to establish an ssh-connection
to my linux machine running openssh
and sending commands to it on the one hand and receiving stdout
on the other hand.
Since there is an app for doing all the ssh that absolutely benefit to my needs, (connectbot) I thought it would be the best not reinventing the wheel and using connectbot for sending commands.
As I read there is a general mechanism in android to do so called intents. And I found that connectbot seems to offer such intents, but I don't feel able to use them at the moment and I'm not quite sure if it it works that way in general: http://www.openintents.org/en/node/102
As I said I'm new to java and android and only did a few hello world examples using these great xtensivearts video tutorials: So its a bit hard for me to get started the right way.
What do I want to do exacly?
Simply onpressbutton in my app -> sending a certain command in the background to the ssh-connected machine via connectbot or anything that can provide that.
In further development I would like to get data from the ssh-connected machine (stdout would be enough due to I could handle the output server-sided)
All this has to take place in the activity of my app. Even username and password should be configured via the settings of my app.
It simply should use the basic features of ssh via connectbot.
I would be really happy if you could help me getting started right with this issue. I know it sounds a bit hard for the first app but I really need ssh in my app cause it would greatly facilitate the server sided development.
Thanks and Regards