How to implement android Hardware HOME_KEY Function

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

How to implement android Hardware HOME_KEY Function

ソリューションへジャンプ
2,156件の閲覧回数
lifusong
Contributor IV

Dear sir.

   AS the title,any body can help me?

any reply is helpful.

BSP version is 4.4.3_r1 kernel 3.10.53 uboot 2014.04

there HAVE a GPIO Pin can used by detect HOME_KEY press

ラベル(2)
0 件の賞賛
返信
1 解決策
1,942件の閲覧回数
lifusong
Contributor IV

Only Need Add code inside dts file ,look seem as voluem and the different is the linux_code

元の投稿で解決策を見る

0 件の賞賛
返信
4 返答(返信)
1,942件の閲覧回数
lifusong
Contributor IV

help please.

0 件の賞賛
返信
1,942件の閲覧回数
CarlosCasillas
NXP Employee
NXP Employee

Hi,

On the following links you could find useful information that may help you to implement the HOME_KEY functionality on Android:

Android Buttons - IOMUX - safeMode

http://stackoverflow.com/questions/2208912/how-can-i-detect-user-pressing-home-key-in-my-activity

https://groups.google.com/forum/#!topic/android-porting/Gd90_zQNZEM


Hope this will be useful for you.
Best regards!
/Carlos

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
1,942件の閲覧回数
lifusong
Contributor IV

Hi CarlosCasillas

thanks for your reply.

we use bsp version is 4.4.3_r1 and kernel is 3.10.53 ,so this function defined in the dts file.but  from FSL office web download the source code don't have HOME_KEY defined. i don't know how to do it.

HOME_KEY function inside android os depend android APP to implement  it or android os have this function?

below link is my asked at google groups.

https://groups.google.com/forum/#!topic/android-porting/Gd90_zQNZEM

0 件の賞賛
返信
1,943件の閲覧回数
lifusong
Contributor IV

Only Need Add code inside dts file ,look seem as voluem and the different is the linux_code

0 件の賞賛
返信