[android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread BillS
Mark, Sorry, I meant the key sequence would launch my activity. Can you elaborate on what it would take? Thanks in advance! On Feb 18, 8:57 am, Mark Murphy mmur...@commonsware.com wrote: BillS wrote: For example, typing 321 launches my application. Only from one of your own activities, and

Re: [android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Mark Murphy
BillS wrote: Sorry, I meant the key sequence would launch my activity. Can you elaborate on what it would take? Again, it would only work if you are trying to launch Activity B from Activity A, where you wrote both B and A. The precise techniques will vary based on what Activity A is doing,

[android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread BillS
So I would need to write an activity that listens for a certain key sequence and then launches a second activity? On Feb 18, 9:08 am, Mark Murphy mmur...@commonsware.com wrote: BillS wrote: Sorry, I meant the key sequence would launch my activity. Can you elaborate on what it would take?

Re: [android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Mark Murphy
BillS wrote: So I would need to write an activity that listens for a certain key sequence and then launches a second activity? Yes. I suspect you're trying to get it such that arbitrary other applications, or the operating system, will register the key events and start up your activity for

Re: [android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread TreKing
I don't know if this will help your situation at all, but note that there is the option for users to set keyboard shortcuts, so you could set a shortcut for yourself for your own app. On Thu, Feb 18, 2010 at 12:51 PM, Mark Murphy mmur...@commonsware.comwrote: BillS wrote: So I would need to

Re: [android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Mark Murphy
TreKing wrote: I don't know if this will help your situation at all, but note that there is the option for users to set keyboard shortcuts, so you could set a shortcut for yourself for your own app. *smacks forehead* I keep forgetting about that, particularly now that I'm using a

[android-developers] Re: Is it possible to launch an activity on a certain key sequence?

2010-02-18 Thread Abhi
On that note, Can I launch an activity from the called 'Camera App' within my own activity on the press of Capture button? Abhi On Feb 18, 2:13 pm, Mark Murphy mmur...@commonsware.com wrote: TreKing wrote: I don't know if this will help your situation at all, but note that there is the