Android
文章平均质量分 84
石牛软件技术工作室
这个作者很懒,什么都没留下…
展开
-
Android shell should keep unix file format(LF)
[问题]11-26 02:17:58.500: E/logwrapper(505): executing /system/etc/ifconfig_rndis0.sh failed: No such file or directory[原因]文件(ifconfig_rndis0.sh)是DOS格式,需要unix格式,[解决办法]Vi ifconfig_rndis0.sh:s原创 2012-11-26 15:33:22 · 512 阅读 · 0 评论 -
ADB can't work
[Issue]ADB can’t work. [Root cause]Executable filesimageExecutable obj files/root/sbin/adbdRamdiskout/target/product/tulkas/obj/EXECUTABLES/adbd_inter原创 2016-12-05 12:33:01 · 804 阅读 · 0 评论 -
Can the application modify the node's permission?
[Update]1. If theapplication has only the system permission, it can’t improve its permissionthrough the shell(run-asLpyCExV93hsXdwT2 su 0). So in this situation, we can’t change the node’sper原创 2016-10-20 12:01:45 · 240 阅读 · 0 评论 -
Why is the task(TimerTask) triggered many times before late resume?
[Issue]Whyis the task(TimerTask) triggered many times before late resume? [Sample code]private Timer timer;private BISTTimerTask bistTimerTask; timer = new Timer();原创 2016-10-17 11:26:41 · 308 阅读 · 0 评论 -
[Known issue and workaround]
Due to battery consumption, the suspend will work even if the 3Gfunction is available.Here’s the schematic design of 3G function.When CPU enters suspend, USB also enters suspend.But 3G modul原创 2016-10-26 14:49:32 · 433 阅读 · 0 评论 -
Android2.3/4.0 USB tethering为什么不工作了?
1.需要检查PC端的driver是否安装正确.2.需要检查USB tethering的设置,比如我碰到的问题如下: Android2.3上把wifi不作为tethering 的upstream. Android4.0的确将wifi作为tethering的upstream.device/samsung/smdkc110/overlay_ulmo-ics-gmk/frameworks/base/cor原创 2013-01-14 10:28:46 · 1121 阅读 · 0 评论 -
Build Android SDK for window
[TIP]can build the Android SDK for window on linux.here is the web link:http://tools.android.com/build[command]sudo apt-get install mingw32 tofrodossource build/envsetup.shlunch sdk-en原创 2012-12-19 09:51:41 · 697 阅读 · 0 评论 -
Android WiFi Tethering issue
[Issue]1. enable wifi tethering;2. change password, need 1 second on Android2.3, need 7 seconds on Android4.0;3. same hardware, use CSR's APM6656 chip for BT/WiFi.[Work Flow]Android4.0 wil原创 2012-12-26 10:36:03 · 1035 阅读 · 0 评论 -
Add some parameters in Camera app
Android4.0.3, Camera, need add some parameters(brightness/saturation/contrast) on camera app[UI flow]Camera::onCreateCamera::initializeIndicatorControl(Camera_control.xml)IndicatorContro原创 2012-12-10 13:01:16 · 486 阅读 · 0 评论 -
Some issues about building android SDK
Android2.3, samsung s5pc110///////////////////////////////////////////////////////////////////////////////////////////[Audio Issue]prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/../lib/gcc/arm-原创 2012-12-01 11:04:51 · 1788 阅读 · 0 评论 -
android下如何使用ant.jar
1.Put the ant.jar under your assets folder2. Include this copy of the jar in your build path翻译 2011-10-24 15:22:09 · 621 阅读 · 0 评论 -
Android Launcher icon 放大
将Kakaoke APK的icon放大显示在Workspace, 而在All APPS View界面显示的icon要和其他icon一致。如下图:放大显示在Workspace: 在All APPS View界面显示的icon: 第一:需要将icon生成普通icon或者放大的icon; 第二: 需要放到Workspace上占 2x2 的空间。这里涉及4个场景:1。启动launcher原创 2012-09-26 11:08:36 · 1320 阅读 · 0 评论 -
在windows运行CTS
CTS测试可以在windows XP上来做:1. 请按照google提供方法操作:http://source.android.com/compatibility/cts-intro.html2.不过在windows XP上面launch CTS有些特别,[做法]:将下面的代码部分保存更名为CTS.bat;将CTS package解压到D:\android-cts;原创 2012-10-08 10:06:48 · 918 阅读 · 0 评论 -
Camera保存的图片在Gallery2中找不到
Camera保存的图片在Gallery2中找不到[问题]1. Camera保存的图片在Gallery2中找不到,//2. 如果图片是内部Flash的,在Gallery2中无法删除[参考]http://blog.csdn.net/shareviews/article/details/7709258http://blog.csdn.net/shareviews/article/原创 2012-11-13 11:46:48 · 882 阅读 · 0 评论 -
StatusBar expand View,按H/W Back KEY不起作用
[问题]StatusBar expand View,按H/W Back KEY不起作用.[原因]SatusBar的窗口属性为FLAG_NOT_FOCUSABLE, 即不接收按键消息,有点悬浮窗口的意思.如果拿掉这个属性,那么LockScreen就永远得不到焦点,就得不到KEYEVENT/TOUCHEVENT, 也就进入不了Launcher画面.[Solution]在分发KE原创 2012-11-15 09:34:46 · 617 阅读 · 0 评论 -
学习资料
[Android4 3G Module(RIL)学习资料]http://blog.csdn.net/yunfly163/article/details/7619164http://www.codroider.com/forum.php?mod=viewthread&tid=696&extra=page%3D2http://www.codroider.com/forum.php?mod=原创 2012-11-13 18:01:39 · 1076 阅读 · 0 评论 -
Android5.1 PIN/PUK flow
http://img.my.csdn.net/uploads/201704/18/1492505194_7967.png原创 2017-04-18 16:48:43 · 467 阅读 · 0 评论