码迷,mamicode.com
首页 >  
搜索关键字:okhttp get post android    ( 197850个结果
mac系统下命令编译android ndk项目
1.设置ndk环境变量2.构造android ndk项目,命令:ndk-build3.使用ant构造android sdk项目:命令:android update project -p . -n hello-jni -t 3 --subprojects4.使用ant编译出调试apk, 命令:ant ...
分类:移动开发   时间:2015-08-20 18:26:48    阅读次数:168
android --学习导航
官方文档 官方指南:Introduction to Android | Android Developers Android API:Android API| Android Developers 官方中文文档: 序言 | Google Android官方培训课程中文版(v0.5) 博客推荐 and...
分类:移动开发   时间:2015-08-20 18:20:00    阅读次数:206
How to make onActivityResult get called on Nested Fragment
One of the common problem we always meet in the world of Fragment is: although we couldcallstartActivityForResultdirectly from Nested Fragment but it ...
分类:其他好文   时间:2015-08-20 18:19:43    阅读次数:183
安卓突击:ANR
ANR定义 在Android上,如果你的应用程序有一段时间响应不够灵敏,系统会向用户显示一个对话框,这个对话框称作应用程序无响应(ANR:Application Not Responding)对话框。用户可以选择让程序继续运行,但是,他们在使用你的应用程序时,并不希望每次都要处理这个对话框。因此,在...
分类:移动开发   时间:2015-08-20 18:17:22    阅读次数:169
How to distribute your own Android library through jCenter and Maven Central from Android Studio
In Android Studio, if you wish to include any library to your application. You could just simply add a following line of dependency in module'sbuild.g...
分类:移动开发   时间:2015-08-20 18:16:49    阅读次数:231
Android笔记:通知
可以在活动里创建,也可以在广播接收器里创建,还可以在服务里创建。NotificationManager manager = (NotificationManager)getSystemService(Context.NOTIFICATION_SERVICE);创建一个Notification 对象就...
分类:移动开发   时间:2015-08-20 18:15:27    阅读次数:173
安卓手机浏览器判断是否安装了android客户端程序
android项目里面androidManifest.xml文件对activity的配置如下: <activity?android:name=".MainActivity"?android:screenOrientation="portrait">???? ??<intent-filter>???????? ???...
分类:移动开发   时间:2015-08-20 17:07:25    阅读次数:234
Please ensure that adb is correctly located at……问题
遇到问题描述: 运行android程序控制台输出 ?? ?[2013-10-13 16:45:50 - ] The connection to adb is down, and a severe error has occured. ?? ?[2013-10-1316:45:50?- ] You must restart adb and Ecli...
分类:数据库   时间:2015-08-20 17:06:52    阅读次数:164
Android开发小知识点(二)
1.android studio 在Log控制台,显示No debuggable applications,没有办法单独调试某个程序,可以在 Tools->Android->Enable ADB Integration active. 2.从相册中选取图片 //在4.4以后就不在推荐使用?这个Actio...
分类:移动开发   时间:2015-08-20 17:05:33    阅读次数:180
Android学习JNI,使用JNI实现字符串加密
本节学习使用C语言加密字符串,大家都知道使用JAVA实现的加密都可以反编译的,而使用C写的加密是很难被反编译的。所以我们使用JNI学习如何使用C实现对字符串的加密。 首先:我们实现一个界面 布局文件就补贴出了。 其次:在MainActivity中增加一个加密和解密的本地方法 //加密本地方法 public native String encodeFromC(String text, i...
分类:移动开发   时间:2015-08-20 17:00:39    阅读次数:107
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!