Chinaunix首页 | 论坛 | 博客
  • 博客访问: 839552
  • 博文数量: 182
  • 博客积分: 1992
  • 博客等级: 上尉
  • 技术积分: 1766
  • 用 户 组: 普通用户
  • 注册时间: 2010-10-18 11:49
文章分类

全部博文(182)

文章存档

2019年(1)

2016年(5)

2015年(29)

2014年(38)

2013年(21)

2012年(36)

2011年(52)

我的朋友

发布时间:2014-01-26 11:12:39

webSettings.setJavaScriptEnabled(true);mWebView.addJavascriptInterface(this, "js");点击(此处)折叠或打开@JavascriptInterface    public void callFunction(String po) {  &n.........【阅读全文】

阅读(1205) | 评论(0) | 转发(0)

发布时间:2014-01-22 10:03:33

这是android.location.Location中的计算方式,拿来用应该没问题,没试过点击(此处)折叠或打开public static void distanceBetween(double startLatitude, double startLongitude,       double endLatitude, double endLongitude, float[] .........【阅读全文】

阅读(4282) | 评论(0) | 转发(0)

发布时间:2014-01-21 12:22:15

jquery mobile中<a>默认是ajax加载,也就是在同一个页面内有多页面个data-role='page',而此时如果两个页面的javacript在document.read中都会被执行,如果在第一个页面中加了scroll中监听,第二个页面中也会响应。所以如果要分开页面,在a链接中加上<a href="/mobile/ListView.jsp" data-ajax="false" data-role="none" ro.........【阅读全文】

阅读(974) | 评论(0) | 转发(0)

发布时间:2014-01-10 15:52:20

在activity or application中android:theme="@style/MyTheme"使用<style name="MyTheme" parent="@android:style/Theme.NoTitleBar">        <item name="android:windowAnimationStyle">@style/MyTheme.Window</item>    </style>    <style name="MyTheme.Window" pare.........【阅读全文】

阅读(859) | 评论(0) | 转发(0)

发布时间:2014-01-07 16:36:00

context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_FLASH); See http://developer.android.com/reference/android/content/pm/PackageManager.html for more information.......【阅读全文】

阅读(482) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册