1.通信数据的标准格式 ( JSON ),包括:code:状态码(200,400等)message:提示信息(例如:数据返回成功、邮箱格式错误等)data:返回数据2.JSON 方式封装通信接口response.php $code, 'message' => $message,...
分类:
移动平台 时间:
2015-03-07 21:06:29
收藏:
0 评论:
0 赞:
0 阅读:
299
从Eclipse切换到Android Studio有一点不习惯,在这里把Android Studio常用的几个设置记录下来,我的系统是Ubuntu12.04
我的版本android-studio-ide-135.1740770-linux:
安装后的界面是
字体和主题都不好看,在下方还有Error Download JDK7
1、设置字体和主题,在File->Setting
...
分类:
移动平台 时间:
2015-03-07 20:00:59
收藏:
0 评论:
0 赞:
0 阅读:
299
1.若只支持3.0及以上 若miniSdkVersion设置11及以上 eg:则默认的主题为Theme.Holo此主题下所有activity都包含action bar. (也可在Application或单独activity标签下明确设置主题样式: android:theme="@android:st...
分类:
移动平台 时间:
2015-03-07 19:57:39
收藏:
0 评论:
0 赞:
0 阅读:
244
webview 与 JS交互核心代码为:[webView stringByEvaluatingJavaScriptFromString:@"xxxxxxxxxx"];
分类:
移动平台 时间:
2015-03-07 19:57:19
收藏:
0 评论:
0 赞:
0 阅读:
226
1.若只支持3.0及以上 若miniSdkVersion设置11及以上 eg:则默认的主题为Theme.Holo此主题下所有activity都包含action bar. (也可在Application或单独activity标签下明确设置主题样式: android:theme="@android:st...
分类:
移动平台 时间:
2015-03-07 19:53:49
收藏:
0 评论:
0 赞:
0 阅读:
268
http://mirrors.neusoft.edu.cn/eclipse/releases/luna/打开这个网址就可以看到adt的详细信息:http://developer.android.com/sdk/installing/installing-adt.html或者直接在你的eclipse的...
分类:
移动平台 时间:
2015-03-07 19:52:29
收藏:
0 评论:
0 赞:
0 阅读:
312
Android Studio 运行应用的时候,提示错误: emulator: ERROR: x86 emulation currently requires hardware acceleration!
Please ensure Intel HAXM is properly installed and usable.
CPU acceleration statu...
分类:
移动平台 时间:
2015-03-07 18:48:19
收藏:
0 评论:
0 赞:
0 阅读:
1009
遇到一个问题,一个页面中有一个UITableView,在iOS8中点击里面的图片或者链接push到下一个页面再返回时,TableView的底部就被遮盖在屏幕底部了,只有滑动到底部的瞬间能看到。而iOS7的系统上就无...
分类:
移动平台 时间:
2015-03-07 18:47:49
收藏:
0 评论:
0 赞:
0 阅读:
543
仿QQ底端导航栏废话不多说,直接上代码<?xmlversion="1.0"encoding="UTF-8"?>
<!--Tab导航最新版-->
<TabHostxmlns:android="http://schemas.android.com/apk/res/android"
android:id="@android:id/tabhost"
android:layout_width="fill_parent"
android:layou..
分类:
移动平台 时间:
2015-03-07 18:46:09
收藏:
0 评论:
0 赞:
0 阅读:
325
Intent用法1.1启动一个特定的ActivityIntentintent=newIntent(CurrentActivity.this,OtherActivity.class);startActivity(intent);1.2启动一个未指明的ActivityIntentinter=newIntent(Intent.ACTION_DIAL,Uri.parse(“tel:115-1345”));startActivity(intent);1.3处理一个Activ..
分类:
移动平台 时间:
2015-03-07 18:45:49
收藏:
0 评论:
0 赞:
0 阅读:
185
Your app includes an update button (检查新版本) or alerts the user to update the app. To avoid user confusion, app version updates must utilize the iOS built-in update
mechanism.
We’ve attached scree...
分类:
移动平台 时间:
2015-03-07 18:43:19
收藏:
0 评论:
0 赞:
0 阅读:
322
some characters
cannot be mapped using iso-8859-1 character encoding
some characters cannot be mapped using iso-8859-1 character encoding
Eclipse中新建一个.properties文件,如果输入中文保存时就会提示错误
Rea...
分类:
移动平台 时间:
2015-03-07 18:43:09
收藏:
0 评论:
0 赞:
0 阅读:
238
附录 Andoird/NDK环境下FFmpeg及相关库的编译
本篇介绍在Android/Ndk环境下FFmpeg的编译及使用, FFmpeg自带了H264、AAC、MP3的解码器,但却没有(或没有好的)相应的编码器。相应的编码器需要使用第三方库。推荐使用的第三方库为x264(H264编码) 、FDK_AAC(AAC编码),lame(MP3编码)。
在顺序上,应该先编译好第三方库,最后再编...
分类:
移动平台 时间:
2015-03-07 18:42:19
收藏:
0 评论:
0 赞:
0 阅读:
1590
http://www.cnblogs.com/gcg0036/p/4320738.html ...
分类:
移动平台 时间:
2015-03-07 18:38:49
收藏:
0 评论:
0 赞:
0 阅读:
238
笔者在阅读中总结了一下,在iOS平台容易引起循环引用的四个场景:一、parent-child相互持有、委托模式【案例】:@interface FTAppCenterMainViewController (){}@property(weak,nonatomic) UITableView* myTabl...
分类:
移动平台 时间:
2015-03-07 18:35:49
收藏:
0 评论:
0 赞:
0 阅读:
332
1、项目右键-->properties-->android-->Is library-->Apply2、在其他项目中就能通过add library引用到该库文件其他项目导入该库文件后可看到引用的对应jar包:引用库文件的好处在于可以对源代码进行修改2、移除,注意不能从硬盘删除即上面的选项不勾选3、j...
分类:
移动平台 时间:
2015-03-07 18:32:09
收藏:
0 评论:
0 赞:
0 阅读:
512
转自:http://blog.csdn.net/xuewater/article/details/25687987在资源文件中写字符串时,如果这个字符串时动态的,又不确定的值在里面,我们就可以用xliff:g这个标签,但是我写的资源文件一直有错误,如:Initial format: %1$s错误提示...
分类:
移动平台 时间:
2015-03-07 18:30:49
收藏:
0 评论:
0 赞:
1 阅读:
2254