码迷,mamicode.com
首页 > 移动开发
IOS 实现界面本地化(国际化)
在制作应用程序的时候,可以使用本地化功能,将应用程序的内容翻译成多种语言,在不同的区域显示不同的语言。下面就通过简体中文本地化设置来讲解一下本地化的简单使用。
分类:移动开发   时间:2015-05-19 10:21:10    阅读次数:138
Android getResources的作用和须要注意点
今天做一个Android的文件管理器,里面用到非常多的地方用到了getResources。Drawable currentIcon = null;currentIcon = getResources().getDrawable(R.drawable.folder);currentIcon = ge....
分类:移动开发   时间:2015-05-19 10:22:39    阅读次数:155
Happy Number - LeetCode
examination questionsWrite an algorithm to determine if a number is "happy".A happy number is a number defined by the following process: Starting with...
分类:移动开发   时间:2015-05-19 10:21:02    阅读次数:242
腾讯移动Web整体解决方案Spirit
Spirit(勇气号),美国航天局NASA派往Mars(火星)的第一艘探测器。移动Web开发是一块新的领域,甚至有很多坑,这一点与人类从未踏上的Mars(火星)相似。为了避免开发者重复遇到相同的问题,我们创建了Mars项目(view on Github),收集与归纳移动Web开发中常见的问题。快速使...
分类:移动开发   时间:2015-05-19 10:18:41    阅读次数:145
Android(java)学习笔记80:UDP协议发送数据
UDP协议发送数据:我们总是先运行接收端,再运行发送端发送端: 1 package cn.itcast_02; 2 3 import java.io.IOException; 4 import java.net.DatagramPacket; 5 import java.net.DatagramS....
分类:移动开发   时间:2015-05-19 10:14:37    阅读次数:270
Android File Hierarchy : System Structure Architecture Layout
Most of the Android user are using their Android phone just for calls, SMS, browsing and basic apps,But form the development prospective, we should kn...
分类:移动开发   时间:2015-05-19 10:13:32    阅读次数:236
Android Volley完全解析(一),初识Volley的基本用法
1. Volley简介我们平时在开发Android应用的时候不可避免地都需要用到网络技术,而多数情况下应用程序都会使用HTTP协议来发送和接收网络数据。Android 系统中主要提供了两种方式来进行HTTP通信,HttpURLConnection和HttpClient,几乎在任何项目的代码中我们都能...
分类:移动开发   时间:2015-05-19 08:52:31    阅读次数:198
AngularJS快速入门指南18:Application
是时候创建一个真正的AngularJS单页面应用程序了(SPA)。一个AngularJS应用程序示例 你已经了解了足够多的内容来创建第一个AngularJS应用程序:My Note Save Clear Number of character...
分类:移动开发   时间:2015-05-19 08:52:02    阅读次数:178
Backup your Android without root or custom recovery
ecently discovered a neat new way to back up apps on my Android without having to use Titanium Backup, having to unlock bootloader or root the device ...
分类:移动开发   时间:2015-05-19 08:49:22    阅读次数:562
How To Backup Your Android Phone’s Boot, Recovery And System Partition Images -- RomDump
One can’t stress enough on the importance of backups and when it comes to tinkering with your Android phone, a backup of your system, recovery and boo...
分类:移动开发   时间:2015-05-19 08:51:37    阅读次数:256
ios常见加密算法
1、MD5 //因为是使用category,所以木有参数传入啦-(NSString *) stringFromMD5 { if(self == nil || [self length] == 0) { return nil; } const char *value...
分类:移动开发   时间:2015-05-19 08:50:14    阅读次数:154
android studio 修改gradle引用本地文件
转:How to switch off download gradle distribution?如何使用本地gradledistributionUrl=file\:///C:/Users/johndoe/downloads/gradle-2.1-all.zip
分类:移动开发   时间:2015-05-19 08:48:10    阅读次数:215
使用Intel HAXM为 Android模拟器加速
IntelHAXM(HardwareAcceleratedExecutionManager)使用基于Intel(R)VirtualizationTechnology(VT)的硬件加速,因此需要CPU支持VT,而且仅限于IntelCPU,与AMDCPU无缘,IntelHAXM的描述如下:使用IntelVT技术;为Androidx86虚拟设备的模拟运行提供硬件加速;与AndroidSDK集成;确..
分类:移动开发   时间:2015-05-19 07:34:09    阅读次数:373
iOS学习之文本尺寸的计算
iOS7新出了一个boudingRectWithSize:options:attributes:context方法计算文本尺寸:NSString*desc=@"想过string";NSDictionary*attribute=@{NSFontAttributeName:[UIFontsystemFontOfSize:13]};//文字的大小CGSizesize=[descboundingRectWithSize:CGSizeMake(100,0)options:NSS..
分类:移动开发   时间:2015-05-19 07:20:44    阅读次数:138
(转)appendChild()、insertBefore()是移动element节点!
原文地址appendChild()、insertBefore()是移动element节点,看书的时候注意过,也可以做一个简单的例子测试一下: 2014var div1 = document.getElementById("div1");var div2 = document.getElemen...
分类:移动开发   时间:2015-05-19 07:08:57    阅读次数:161
iOS # Charles拦截网络数据
Charles: 是在Mac下常用的截取网络封包的工具,在做iOS开发时,我们为了调试与服务器端的网络通讯协议,常常需要截取网络封包来分析。Charles通过将自己设置成系统的网络访问代理服务器,使得所有的网络访问请求都通过它来完成,从而实现了网络封包的截取和分析。 Charles主要的功能包括.....
分类:移动开发   时间:2015-05-19 07:11:36    阅读次数:384
Android手机通讯录备份还原代码
实现方法很简单1.把通讯录中的联系人,电话号码保存到txt文件中完成备份。2.读取txt文件,导入到通讯录完成还原。 具体代码1.添加 通讯录读写权限,存储卡写权限 2.写文件代码 File saveFile=new File("/sdcard/test.txt"); FileOutput...
分类:移动开发   时间:2015-05-19 01:52:47    阅读次数:196
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!