摘要:
原因一:xxx的错误,若为R.layout.main 那么应该是main.xml文件中的标签 使用错误,最常见的而且编译器不会提示的错误就是 android:name 和android:id 两者混淆,仔细检查main.xml的标签是否全部正确原因二:在setContentView(view)方法之... 阅读全文
posted @ 2015-06-25 19:04
赵彦军
阅读(1560)
评论(-1)
推荐(1)
摘要:
一:问题二:解决方法(1)选择android工程,右键AndroidTools —> Clear Lint Markers这种方式能够清除android工程里面的所有警告信息,但很遗憾,下一次打开eclipse的时候还会继续提示,非常不爽!(2)使用@SuppressLint标注忽略指定的警告要使用... 阅读全文
posted @ 2015-06-25 19:00
赵彦军
阅读(2457)
评论(3)
推荐(0)
摘要:
出现该问题应该是导入项目的android版本问题。编译的时候把build path 下 source选项卡中的libs去掉就正常了。http://blog.csdn.net/e421083458/article/details/38490393 阅读全文
posted @ 2015-06-25 18:55
赵彦军
阅读(374)
评论(0)
推荐(0)
摘要:
final TextView txtTitle = (TextView) findViewById(R.id.txtTitle); final WebView webView = (WebView)findViewById(R.id.btnWebView); WebChromeClient wv... 阅读全文
posted @ 2015-06-25 18:47
赵彦军
阅读(4950)
评论(0)
推荐(0)
摘要:
1、权限 2、方法Uri uri = Uri.fromFile(new File("/sdcard/temp.apk")); //这里是APK路径 Intent intent = new Intent(Intent.ACTION_VIEW); intent.setDataAndType(uri... 阅读全文
posted @ 2015-06-25 18:30
赵彦军
阅读(492)
评论(0)
推荐(0)

浙公网安备 33010602011771号