Loading...

android-porting@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[android-porting] Re: how to get hardware key event in android application Sai Chaitanya Chitneedi Wed Feb 08 08:02:04 2012

Also this may be what you are looking for :-
https://groups.google.com/group/android-developers/browse_thread/thread/f34fa32b7bbff8e6


On Wed, Feb 8, 2012 at 4:36 PM, Sai Chaitanya Chitneedi <
[EMAIL PROTECTED]> wrote:

> Hi Devindrappa,
> What you are trying to do is exactly what the camera button does(It
> triggers camera.apk).
> Once you have the key Mapping working, it will have more to do with the
> app's manifest. So you can start looking into the stock camera app's
> sources for pointers. This might help :-
> http://developer.android.com/reference/android/content/Intent.html
> But i'm not sure. It's better to get confirmation from somebody who has
> done this before.
>
>
> On Tue, Feb 7, 2012 at 7:07 PM, Devindrappa Handraki <
> [EMAIL PROTECTED]> wrote:
>
>> Hi all,
>>
>> I am working on devkit8000 with android gingerbread, on devkit8000 i have
>> one USER-KEY,  when i press USER-KEY
>> i want to start one application. basically i want to get the hardware key
>> event how can i do this, please suggest me the way.
>>
>> Thanks and regards,
>>
>> Devindrappa
>>
>>
>

-- 
unsubscribe: [EMAIL PROTECTED]
website: http://groups.google.com/group/android-porting