This week's giveaway is in the Programmer Certification (OCPJP) forum.
We're giving away four copies of Java Mock Exams (software) and have David Mayer on-line!
See this thread for details.
Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Integrating Connectbot source code with another Android application

 
Aggarwal Arpit
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am having connectbot source code that I want to integrate with my existing Android application.
I want user to enter username@host:port in my existing Android application which is maped to connectbot.

Thanks in Advance for your help.......
 
Tim Moores
Saloon Keeper
Posts: 3326
61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what Intents are for. If ConnectBot has no Intents for starting it in that way, you can add that, since you have the source code. I'm sure the developer of ConnectBot would like it if you contributed that to his project!
 
Aggarwal Arpit
Ranch Hand
Posts: 86
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tim,

Can you please tell me the starting Activity of Connectbot where I can pass my username,host and port from my application.
 
Tim Moores
Saloon Keeper
Posts: 3326
61
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No idea. As I said, I don't know if that's even possible with the released version. If this was my problem I'd look at the manifest file- it lists all publicly accessible activities and which intents they can handle.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!