Your browser does not support the audio element.

11 2015 档案

摘要:android 无线调试转载:http://blog.csdn.net/daditao/article/details/19077281 阅读全文
posted @ 2015-11-26 17:04 shoneworn 阅读(165) 评论(0) 推荐(0)
摘要:TextView的字体颜色也可以和ImageView的background一样,跟随状态发生改变。只需要自定义一下字体颜色。在color文件夹下面,新建一个颜色文件的xml。OK ,这就完成 了。create by shone.chen . 阅读全文
posted @ 2015-11-19 10:26 shoneworn 阅读(652) 评论(0) 推荐(0)
摘要:新浪的IP地址查询接口:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js新浪多地域测试方法:http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip=218.... 阅读全文
posted @ 2015-11-18 10:52 shoneworn 阅读(2582) 评论(0) 推荐(0)
摘要:一、Get请求方式 以下是我写的一个用get请求方式获取api工厂中汇率的类。package com.example;import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;... 阅读全文
posted @ 2015-11-18 10:22 shoneworn 阅读(2084) 评论(0) 推荐(0)
摘要:public void getCountry(){ try { String s1 = "\u5e7f\u5c9b\u4e4b\u604b.mp3"; byte[] converttoBytes = s1.getBytes("UTF-... 阅读全文
posted @ 2015-11-17 14:35 shoneworn
摘要:android多国语言文件夹android多国语言文件夹文件汇总如下:(有些语言的书写顺序可能跟中文是相反的)中文(中国):values-zh-rCN中文(台湾):values-zh-rTW中文(香港):values-zh-rHK英语(美国):values-en-rUS英语(英国):values-e... 阅读全文
posted @ 2015-11-16 16:26 shoneworn 阅读(1158) 评论(0) 推荐(0)
摘要:建好android项目后,默认的是有个values文件,该文件下面默认的有strings.xml。做多语言适配的时候,就需要在创建好的项目中,右键单击res文件夹,选择创建新的xml文件。然后点击确定。在新的strings文件中,却做多语言翻译工作。其他语言同理。。 阅读全文
posted @ 2015-11-16 16:23 shoneworn 阅读(512) 评论(0) 推荐(0)