
android例子库
文章平均质量分 50
iteye_10735
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
在SD卡中写入文件
// create a File object for the parent directoryFile fileDirectory = new File(Environment.getExternalStorageDirectory()+"/filexxxx"); // have the object build the directory structure, i...原创 2011-06-06 15:36:29 · 229 阅读 · 0 评论 -
Android GPS定位
今天整了一天GPS问题,崩溃啊!!后来还好找到了一个解说详细的博文,一下豁然开朗。原文地址:http://justsee.iteye.com/blog/657337 关于GPS值的获取,主要是使用到LocationManager,用法如下: LocationManager locationManager = (LocationManager) getSystemService...原创 2011-03-25 04:09:27 · 125 阅读 · 0 评论 -
Android java和javascript之间的相互调用
相互调用主要是在java代码中实现的,如下: javascript调用java:webView.getSettings().setJavaScriptEnabled(true);webView.addJavascriptInterface(new JavascriptInterface(), "device");String loadUrl = "file:///an...原创 2011-03-27 17:09:22 · 124 阅读 · 0 评论 -
Ubuntu下使用Android实体机调试前需要修改的设置
笔记摘抄自:http://developer.android.com/guide/developing/device.html 在ubuntu下,第一次连入实体机进行调试会发现ubuntu无法识别到android手机。需要进行的设置是:Log in as root and create this file: /etc/udev/rules.d/51-android.rules....原创 2011-04-18 01:56:05 · 116 阅读 · 0 评论