Android Developer FAQs - Gaojiquan/android_bootable_recovery GitHub Wiki

Android Developer FAQs

一些android编译中常见问题的解答。挺有用的。网址如下: http://processors.wiki.ti.com/index.php/Android_Developer_FAQs

目录如下:

Contents [hide] 1 Booting 1.1 Q: While booting, kernel boots fine but problem comes when actual Android processes start.Following logs appears on the screen. 2 Android System 2.1 Q: init.rc tutorial. Android initialization process 2.2 Q: How to port an Android on ARM based SoC? 2.3 Q: Where to add custom property in Android? 2.4 Q: What is android property architecture ? 2.5 Q: How to create custom service in Android ? 2.6 Q:logcat is not working. Command “ls /sys/kernel/logger” return error. What is the catch? 2.7 Q:How to write a script, which can run after android boot? 2.8 Q: How to set http-proxy proxy sqlite3 in android ? 2.9 Q: How does touchscreen or keyboard event process in android ? Input event handling in android 2.10 Q: How to see apk contents ? 2.11 Q: How to change android start language ? 2.12 Q: How to access (read and write) linux tty serial port using Android API ? 3 Memory 3.1 Q:How to do auto mount sdcard ? 3.2 Q:Where to locate memory footprint of android ? 3.3 Q:Where to locate prelink android libraries ? 3.4 Q: How to use generic audio ? 4 Debug & Log 4.1 Q: How to debug android crash? 5 Peripherals 5.1 Q: How to port wifi driver to Android device? 5.2 Q: How to configure keypad on Android device? 5.3 Q: How to get GPIO Keypad working ? 5.4 Q: How to get USB Event and change node permission in android ? 5.5 Q: How to get USB stick installed ? How to install apk residing on USB stick ? 5.6 Q:How to add/configure LCD touchscreen ? 5.7 Q:How to add or port radio layer interface on android ? 5.8 Q:How to add ethernet support in settings for android gingerbread ? 5.9 Q:How to come out of Airplane mode ? 5.10 Q: Sliding to camera gives error on ICS unlock screen 6 Build Errors 6.1 Build error on 64-bit machine 6.2 Error: 6.3 Error: 6.4 Error: cannot stat pvrsrvkm.ko 7 Others 7.1 Q:How to start android application from command line or console ? 7.2 Q: How to auto disable key guard/screen lock after android boot? How to see home screen instead of screen lock after android boot ? 7.3 Q:Any link for getting started on porting android for new mobile device ? 7.4 Q: How to use mplayer command to play the camera video? 7.5 Q: How to launch a video/audio clip from gallery from command line? 7.6 Q: I get this error: ./mkmmc-android.sh: /bin/bash^M: bad interpreter: No such file or directory 7.7 Q: How to read contents of boot.scr 7.8 Q: Android Tips to improve user experience 7.9 Q: How to switch off android device from console ? 8 Benchmark 9 References

⚠️ **GitHub.com Fallback** ⚠️