当前位置:首页 > Android 第3页

android Service : onStartCommand intent为null

xjtudll10年前 (2016-02-19)8440
参考资料:http://hold-on.iteye.com/blog/2024926问题:service中加入onStartCommand之后,不定期crash。......

Android Studio Warning:Not annotated parameter overrides @NonNull parameter

xjtudll10年前 (2016-02-06)23700
问题:android studio提示:Not annotated parameter overrides @NonNull parameter分析:......

Android的Service中弹出窗口解决方法

xjtudll10年前 (2016-02-01)13550
参考资料:http://www.cnblogs.com/fbsk/archive/2011/12/28/2304523.htmlhttp://blog.csdn.net/djun100/article/details/23756681问题:我们在使用Service时,经常会碰到这样的情况,比如用一个...

eclipse:android R.java文件丢失或无法更新

xjtudll10年前 (2016-01-25)9290
eclipse:android R.java文件丢失或无法更新
http://www.cnblogs.com/zdz8207/archive/2012/11/30/eclipse-android-adt-update.html问题:eclipse编译android工程,发现R.java无法更新解决办法:......

CC2541 HOGP Android 5.x无法自动回连

xjtudll10年前 (2016-01-19)13380
CC2541  HOGP Android 5.x无法自动回连
参考资料:https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/t/406142问题:使用CC254x做BLE键盘,利用HOGP(HID Over Gatt Profile),成功实现了键盘的功能。首次...

Android Warning: Converting to string: TypedValue …

xjtudll10年前 (2016-01-05)7680
参考资料:http://stackoverflow.com/questions/4903948/android-resources-converting-to-string-typedvalue-warning 问题:  切换activity时,android studio lo...

Eclipse导入Android工程,出现default与Displaying的问题解决

xjtudll10年前 (2015-12-23)4310
Eclipse导入android工程时出现如下提示:[15:04:03 - XXX] 'default' is not a best match for any device/locale combination.  ......

CC254x android6.x无法配对

xjtudll10年前 (2015-12-18)6080
参考资料:https://e2e.ti.com/support/wireless_connectivity/bluetooth_low_energy/f/538/t/457958问题:配对时提示密码或PIN错误,但是根本就没有到输入密码这一步,就直接说密码错误了。环境:android 6.0,CC2...

android bluetoothGatt :onClientRegistered() - status=133 clientIf=0

xjtudll10年前 (2015-12-04)44370
android bluetoothGatt  :onClientRegistered() - status=133 clientIf=0
参考资料:http://stackoverflow.com/questions/25330938/android-bluetoothgatt-status-133-register-callback问题:BLE连接时(使用 .connectGatt),不是提示成功或失败,而是提示:Bluetooth...

android 停止Handler

xjtudll10年前 (2015-11-19)5350
mHandler.removeCallbacks(mRunnable);或者mHandler.removeMessages(what);......