[android-porting] Android requirements for HOME and Power button

2012-12-21 Thread Jan Pohanka
Hi, I'm working on a new tablet device which has only one mechanical button. >From the hardware point of view it "enables" the device. I'd like to know if it is possible to share the function of Home and Power button together. Something like single press works as Home, long press works as power m

[android-porting] Re: Android requirements for HOME and Power button

2013-01-02 Thread Jan Pohanka
ual buttons? > > Jan Pohanka於 2012年12月21日星期五UTC+8下午7時04分43秒寫道: >> >> Hi, >> I'm working on a new tablet device which has only one mechanical button. >> From the hardware point of view it "enables" the device. I'd like to know >> if it is possible to

[android-porting] Voice call audio routing

2013-05-14 Thread Jan Pohanka
Hello all, I'm lost in Andorid audio framework. In system/core/include/system/audio.h there is defined an enum with audio device types. If I understand it correctly AUDIO_DEVICE_IN_COMMUNICATION should be used for calls like VoIP, Skype etc. AUDIO_DEVICE_IN_VOICE_CALL should be used for GSM ca