码迷,mamicode.com
首页 > 移动开发
步步为营_Android开发课[3]_Activity学习
Focus on technology, enjoy life!—— 杨焕州 QQ:804212028 原文链接:http://blog.csdn.net/y18334702058/article/details/44624305 本文可能存在参考或借助部分外界资源,如有任何侵权行为,请与我联系! 主题:Activity学习 -activity是用户和应用程序交互的窗口,在其上可以布置按钮,...
分类:移动开发   时间:2015-03-31 16:00:43    阅读次数:152
Android学习(十二) ContentProvider
一、ContentProvider简介 当应用继承ContentProvider类,并重写该类用于提供数据和存储数据的方法,就可以向其他应用共享其数据。虽然使用其他方法也可以对外共享数据,但数据访问方式会因数据存储的方式而不同,如:采用文件方式对外共享数据,需要进行文件操作读写数据;采用shar.....
分类:移动开发   时间:2015-03-31 15:59:42    阅读次数:137
新建arcgis api for android 项目失败
新建ArcGIS Project for Android项目失败解决方案 - skybot的专栏 - 博客频道 - CSDN.NET http://blog.csdn.net/daonidedie/article/details/8556184 问题描述: The selected wizard c...
分类:移动开发   时间:2015-03-31 15:57:10    阅读次数:196
控制物体的移动与碰撞检测
using UnityEngine; using System.Collections; public class move : MonoBehaviour { GameObject go; // Use this for initialization void Start () { go= GameObject.Find("c4"); //命名为c4的...
分类:移动开发   时间:2015-03-31 14:49:39    阅读次数:134
iOS上架打包注意
1,新上架ios需要支持64bit 2,打包时注意:    a,building setting时coding sign将identity和profile选择成我们当前使用的    b,deployment时选择本软件所支持的最低运行系统,当前为ios7.0课更具引用特点设置    c,archicture(特别注意),将base sdk选择为最新的ios sdk,然后将build act...
分类:移动开发   时间:2015-03-31 14:46:25    阅读次数:136
ios本地化支持
ios应用本地化     第一步:首先,在xcode左侧选中当前工程,     第二步:接下来注意,以为默认的悬着是Targets,而我们在这里需要的是Project,     第三部:点击进入project下的我们的工程名。选中info     第四部:有选项Localizations,点击下面的加号,选择我们需要提供支持的语言。     第五部:这一步走有两种方法可以实现a:有sto...
分类:移动开发   时间:2015-03-31 14:45:53    阅读次数:137
Android Studio 小知识 文件无法读写解决
Android Studio 使用过程遇到的小问题记录,不喜勿喷,转载请注明:http://blog.csdn.net/lrs123123/article/details/44778773 Garrylin,乐在分享。...
分类:移动开发   时间:2015-03-31 14:44:18    阅读次数:130
Android学习之:Menu菜单实践
1:在res/menu下面新建main.xml 2:在Activity中加载菜单 /** * 加载菜单 */ @Override public boolean onCreateOptionsMenu(Menu menu) { MenuInflater inflater ...
分类:移动开发   时间:2015-03-31 14:43:18    阅读次数:121
iOS 改变tableview cell的背景色
cell.selectedBackgroundView = [[UIView alloc] initWithFrame:cell.frame]; cell.selectedBackgroundView.backgroundColor = [UIColor colorWithRed:0.855...
分类:移动开发   时间:2015-03-31 14:40:56    阅读次数:109
安卓学习笔记之输入输出流
一:向本地资源写数据(字符流) import java.io.FileWriter;import java.io.IOException;/** * Created by ahtcfg24 on 2015/3/30. */public class OUtputStreamDemo{ public s...
分类:移动开发   时间:2015-03-31 14:38:55    阅读次数:139
iOS6 与iOS7以及7以上状态栏的颜色设置
iOS7默认状态栏文字颜色为黑色 修改为白色的方法:(chenyong注意 我的Status bar style 使用的仍是默认值Gray style(default))1在Info.plist中设置View controller-based status bar appearance 为NO2 在...
分类:移动开发   时间:2015-03-31 14:32:51    阅读次数:278
Android打包常见错误之Export aborted because fatal lint errors were found
打包时报如下错误:Export aborted because fatal lint errors were found. These are listed in the Lint View. Either fix these before running Export again,or turn ...
分类:移动开发   时间:2015-03-31 14:29:53    阅读次数:168
ios启动原理及应用生命周期
ios程序启动原理及生命周期图: ios应用程序的入口是main.m 1 #import 2 3 #import "WYSAppDelegate.h" 4 5 int main(int argc, char *argv[]) 6 { 7 @autoreleasepool { 8...
分类:移动开发   时间:2015-03-31 14:24:56    阅读次数:141
android.view.ViewRootImpl$CalledFromWrongThreadException错误处理
一般情况下,我们在编写android代码的时候,我们会将一些耗时的操作,比如网络访问、磁盘访问放到一个子线程中来执行。而这类操作往往伴随着UI的更新操作。比如说,访问网络加载一张图片new Thread() { @Override public void run() { try { URL url ...
分类:移动开发   时间:2015-03-31 14:12:04    阅读次数:133
Android Volley 框架JSON中文乱码问题的解决
近期在项目中使用Volley作为网络通信框架,却发现在传输中文时会出现乱码。先交代一下项目的软硬件的基础设施 线上: Django+restful_framework+monogdb APP: Android + volley 在使用android端测试之前,我使用了...
分类:移动开发   时间:2015-03-31 13:10:17    阅读次数:788
js判断是否是ipad还是iphone及各手机用户
<scripttype="text/javascript">if(/AppleWebKit.*Mobile/i.test(navigator.userAgent)||(/MIDP|SymbianOS|NOKIA|SAMSUNG|LG|NEC|TCL|Alcatel|BIRD|DBTEL|Dopod|PHILIPS|HAIER|LENOVO|MOT-|Nokia|SonyEricsson|SIE-|Amoi|ZTE/.test(navigator.userAgent))){if(window.loc..
分类:移动开发   时间:2015-03-31 13:01:50    阅读次数:183
交换机IOS和配置文件的备份与还原
1.备份IOS和配置文件 1.首先要有一个配置好的ftp服务器,并且保证要在一个网段中(能够互相的ping通)。实例:Switch#copyflash:tftp:Sourcefilename[]?c2960-lanbase-mz.122-25.FX.binAddressornameofremotehost[]?192.168.1.2Destinationfilename[c2960-lanbase-mz.122-25.FX..
分类:移动开发   时间:2015-03-31 12:59:25    阅读次数:197
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!