Android
聖少俊
为了快乐奋斗吧
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
Failed to allocate memory: 8 .
Failed to allocate memory: 8 This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. This following soluti...原创 2018-12-26 14:31:24 · 807 阅读 · 0 评论 -
android中的category
CATEGORY_ALTERNATIVE 设置这个activity是否可以被认为是用户正在浏览的数据的一个可选择的action CATEGORY_APP_BROWSER 和ACTION_MAIN一起使用,用来启动浏览器应用程序 CATEGORY_APP_CALCULATOR 和ACTION_MAIN一起使用,用来启动计算器应用程序 CATEGORY_APP_CALENDAR 和ACTI...原创 2018-12-26 14:32:02 · 6319 阅读 · 2 评论 -
android------权限
在利用android访问本地服务器是需要设置权限: < uses-permission android:name ="android.permission.INTERNET" ></ uses-permission > 其他权限为: 我学习的过程中总结了一些经常涉及到的权限,供楼主参考一下: 添加WiFi以及访问网络的权限: <uses-permiss...原创 2018-12-26 14:32:40 · 140 阅读 · 0 评论 -
Android EditText不弹出软键盘的方法
EditText 不弹出软件键盘 方法一: 在AndroidMainfest.xml中选择哪个activity,设置windowSoftInputMode属性为adjustUnspecified|stateHidden 例如: <activity android:name=".Main" android:label="@string/app_name" android:windowSof...原创 2018-12-26 14:33:04 · 465 阅读 · 0 评论 -
Android大屏幕设置(平板电脑开发)
如果使用android进行大屏幕开发,比如开发基于android平台的平板电脑应用,我们需要进行如下的设置。 1、需要在AndroidManifest.xml中添加如下代码: <supports-screensandroid:largeScreens=”true”android:anyDensity=”true”/> 这样在虚拟机上显示大屏幕时才不会缩在中...原创 2018-12-26 14:33:32 · 2243 阅读 · 0 评论 -
java.net.ConnectException: localhost/127.0.0.1:8080 - Connection refused
String webServiceUrl = "http://localhost:8080/Service1.asmx" 转换 String webServiceUrl = "http://10.0.2.2:8080/Service1.asmx"原创 2018-12-26 14:36:55 · 1052 阅读 · 0 评论 -
Android java.lang.RuntimeException: Can't create handler inside thread that has not called Looper.pr
new Thread(){ @Override public void run() { Looper.prepare(); if (getInfo()){ Intent intent = new Intent(); intent.setClass(MainActivity.this, Deta...原创 2018-12-26 14:37:17 · 219 阅读 · 0 评论 -
Android 调用webservice
new Thread(){ @Override public void run() { Looper.prepare(); if (getInfo()){ Intent intent = new Intent(); intent.setClass(MainActivity.this, DetailActivity.class); startActivity(intent); }else...原创 2018-12-26 14:37:38 · 468 阅读 · 0 评论 -
android Adobe Acrobat Reader Read
https://apkdot.com/apk/adobe/adobe-acrobat-reader/adobe-acrobat-reader-16-2-x86/ https://apkdot.com/uploads/?packagename=com.adobe.reader原创 2018-12-27 17:03:51 · 553 阅读 · 0 评论
分享