- 博客(8)
- 资源 (6)
- 收藏
- 关注
转载 Service Intent must be explicit: Intent
up vote9down votefavorite3I have an app some time now in which I call a service through a broadcast receiver (MyStartupIntentReceiver). The code in the broadcast receiver in order
2016-07-29 22:22:53 615
转载 Android Studio does not detect .aidl files
up vote15down votefavorite5I have found a sample from the Internet (https://github.com/manishkpr/Android-AIDL-Example) and ran on Android Studio and it worked fine.But now wh
2016-07-29 21:52:13 450
原创 mac常见快捷键和常用用法
1.创建文件快捷方式:第一步、找到你要创建快键方式的文件。第二步、按住Command+option拖动文件或者程序到桌面2.终端常用快捷键Clean up the line: You can use Ctrl+U to clear up to the beginning.Clean up the line: Ctrl+A Ctrl+K to wipe the cur
2016-07-26 09:35:47 591
转载 解决谷歌浏览器无法读取本地js文件
解决chome浏览器无法读取本地js增加--enable-file-cookies --allow-file-access-from-files这2个启动配置到谷歌浏览器中
2016-07-25 16:54:03 14079 1
转载 使用Android Studio进行单元测试
转载请注明出处:http://blog.csdn.net/zhaokaiqiang1992Android Studio已经到了1.2版本,国内的开发者基本也在从Eclipse向Android Studio进行转变,对于Android开发者,以后必将是Android Studio的天下。 昨天在完善煎蛋项目的时候,需要进行单元测试,在Eclipse环境中进行是很简单的,但是在
2016-07-25 07:53:44 309
转载 genymotion模拟器链接本地tomcat服务器
思路1:今天在写项目的注册模块,用的本地服务器tomcat模拟,不得不吐槽下奇葩的模拟器的本地服务ip真是狗血。具体情况是这样,我要在Android模拟器终端将用户注册信息传送到服务器端并存储到数据库中,但是程序写的也木有错但是就是链接不上服务器。在一般的Android模拟器访问本地服务器(你电脑上的tomcat服务器)所用的ip地址是10.0.2.2,即在Android端
2016-07-24 16:27:11 1437 1
转载 在不root手机的情况下读取Data目录下的文件
如果直接使用adb命令会产生以下错误:[plain] view plain copy127|shell@android:/ $ cd /data cd /data shell@android:/data $ ls ls opendir failed, Permission denied 你是没有权限的。
2016-07-24 14:21:12 26293 3
转载 使用adb命令时的错误
如果直接使用adb命令会产生以下错误:[plain] view plain copy127|shell@android:/ $ cd /data cd /data shell@android:/data $ ls ls opendir failed, Permission denied 你是没有权限的。正确使
2016-07-10 23:01:18 770
安全帽检测的完整代码
2023-11-17
TA创建的收藏夹 TA关注的收藏夹
TA关注的人