2018年3月9日
摘要: 基于目前最新的国内汉化版修改的 修改点有: 1、全汉化 2、完全去广告 3、邮件可点击 4、三叶草数量没有修改(这游戏修改了三叶草就没意思了) 5、抽奖改为一个卷抽一次,比例改为 白玉:37 ,蓝玉:30,绿玉:20,红玉:10,黄玉:3 6、支持使用三叶草抽奖 注:此版本为个人使用,如果有异义或版 阅读全文
posted @ 2018-03-09 10:48 月vs枫 阅读(175) 评论(0) 推荐(0) 编辑
  2017年7月29日
摘要: 本插件的开发目的主要给前端同学使用,本人是专注于后台开发的,对css样式不熟悉,但逼于前端要求做一个共公组件方便日常开发,所以这个插件在样式上可能不适合大部分人,喜欢的拿走吧,不喜欢的也请别喷。 一、使用环境 1.Angularjs 1.x 2.Bootstrap 3 在自己的环境里请自行配置js和 阅读全文
posted @ 2017-07-29 11:50 月vs枫 阅读(621) 评论(0) 推荐(0) 编辑
  2012年9月14日
摘要: 修改tomcat下的server1 <Connector connectionTimeout="20000" port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true"/> 阅读全文
posted @ 2012-09-14 09:10 月vs枫 阅读(154) 评论(0) 推荐(0) 编辑
  2012年6月4日
摘要: 效果图 主要是在自定义tabHost添加两个按钮,这个定义方法与普通的定义相同,这里就不再说明了。xml布局: 1 <LinearLayout 2 android:orientation="horizontal" 3 android:layout_width="fill_parent" 4 android:layout_height="wrap_content" 5 > 6 <ImageButton 7 android:id="@+id/left" 8 android:layout_height= 阅读全文
posted @ 2012-06-04 20:32 月vs枫 阅读(1213) 评论(0) 推荐(0) 编辑
  2012年5月31日
摘要: 1、添加上网权限:<uses-permission android:name="android.permission.INTERNET" />2、设置webview 1 WebView webView; 2 WebSettings ws; 3 4 5 ws = webView.getSettings(); 6 ws.setAppCacheEnabled(true);// 设置启动缓存 7 ws.setAppCacheMaxSize(1024 * 10);// 设置最大缓存 8 ws.setSupportZoom(true);// 设置成拖动放大缩小 9 ws.s 阅读全文
posted @ 2012-05-31 08:41 月vs枫 阅读(4335) 评论(2) 推荐(1) 编辑
  2011年12月16日
摘要: 1 HttpResponse httpResponse = httpclient.execute(httppost);2 int statusCode = httpResponse.getStatusLine().getStatusCode();3 if(statusCode==HttpStatus.SC_OK)4 {5 //获得返回结果6 response =EntityUtils.toString(httpResponse.getEntity(),"UTF... 阅读全文
posted @ 2011-12-16 16:57 月vs枫 阅读(994) 评论(0) 推荐(0) 编辑
  2011年7月12日
摘要: 对于TextView显示的内容,通过点击屏幕,就能把当前显示的内容获取出来。以下的例子是通过判断空格来区分每个词,对于英文单词是适用的,如果想抓中文就得自己想办法了,当然也可以改变判断来抓词。 实现代码主码有TextPaint paint = text.getPaint(); float x, y; String str = text.getText().toString().replace(",", " ").replace("-", " "); String temp = " "; x = 阅读全文
posted @ 2011-07-12 11:33 月vs枫 阅读(395) 评论(1) 推荐(0) 编辑
  2011年4月12日
摘要: 具体做法是仿照系统的RockAudioPlayer,我也是通过查看源码,然后把它简化出来,更容易于应用。通过自定义一个RepeatingImageButton,当然这个名字可以自己更改,RepeatingImageButton里的代码可以查看RockAudioPlayer的源码,我这里只给出经过简化过的java代码。 1 public class MainActivity extends Activity { 2 /** Called when the activity is first created. edit by etgyd*/ 3 private RepeatingImageBut. 阅读全文
posted @ 2011-04-12 15:50 月vs枫 阅读(793) 评论(0) 推荐(0) 编辑
  2011年4月8日
摘要: 在程序里弹出一个小窗口,像系统的MediaController一样,具体做法:先在mail.xml的layout布局里加一个id,这个到后面会用到的,1 <?xml version="1.0" encoding="utf-8"?>2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"3 android:orientation="vertical"4 android:layout_width="f 阅读全文
posted @ 2011-04-08 17:41 月vs枫 阅读(15423) 评论(5) 推荐(2) 编辑
摘要: 调大声:1 AudioManager audioMa=(AudioManager)this.getSystemService(Context.AUDIO_SERVICE);2 audioMa.adjustStreamVolume(AudioManager.STREAM_MUSIC,AudioManager.ADJUST_RAISE,AudioManager.FX_FOCUS_NAVIGATION_UP);调小声:1 AudioManager audioMa=(AudioManager)this.getSystemService(Context.AUDIO_SERVICE);2 audioMa. 阅读全文
posted @ 2011-04-08 17:24 月vs枫 阅读(461) 评论(0) 推荐(0) 编辑