码迷,mamicode.com
首页 > 移动开发
移动端调试工具-Weinre
java版本安装和调试首先需要下载weinre, weinre目前支持Windows与MacOS, 本文中以Windows版为例。下载地址:http://people.apache.org/~pmuellr/weinre/builds/1.x/1.6.1/点击weinre-jar-1.6.1.zip...
分类:移动开发   时间:2015-04-15 22:49:00    阅读次数:217
IOS笔记4
1.文本size的计算方法1 NSDictionary *dict = @{NSFontAttributeName: NJTextFont};2 CGSize maxSize = CGSizeMake(200, MAXFLOAT);3 CGSize textSize = [_mes...
分类:移动开发   时间:2015-04-15 22:46:56    阅读次数:170
安卓Db天气客户端 大作业开发 记一
前几天总是叫团队开发。但因为是我自己开发的,所以我决定把它叫做大作业开发今天写一写这几天做的功课。项目还没开始,还在筹备,准备功课中。设计准备改一下,调研还是起到了一些作用的,我觉得天气中加入图片创意虽然还不错,但是会混淆功能,还在考虑该不该去掉。一开始准备开发ios,虚拟机这都要装了,后来发现说在...
分类:移动开发   时间:2015-04-15 22:45:17    阅读次数:133
Android Studio build dex jar
通过Gradle和python结合的方式来实现jar文件中的MANIFEST.MF修改。
分类:移动开发   时间:2015-04-15 22:40:23    阅读次数:191
info.plist、pch和四大对象(UIApplication、UIApplicationDelegate、UIWindow、UIViewController)
info.plist、pch和四大对象(UIApplication、UIApplicationDelegate、UIWindow、UIViewController)
分类:移动开发   时间:2015-04-15 22:39:15    阅读次数:199
Android---15---EditText输入表情图像
activity_main.xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:l...
分类:移动开发   时间:2015-04-15 21:33:18    阅读次数:200
Android---16---EditText中输入特定的字符
activity_main.xml: <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" andro...
分类:移动开发   时间:2015-04-15 21:34:20    阅读次数:164
通过adb来给手机桌面截图
1、通过adb进入手机Linux系统;$ adb shell2、使用screencap命令来截图;shell@rk3288:/ $ adb pull /sdcard/1.png3、退出手机Linux系统,回到我们的Linux终端,通过adb pull命令将图片发送出来;$ adb pull /sdcard/1.png...
分类:移动开发   时间:2015-04-15 21:32:06    阅读次数:488
android 讯飞语音识别(离线)注意事项
讯飞语音识别:使用注意事项:mainfest.xml中一定要记得权限写进去21001:我的情况是没有写SpeechApp类,并且需要在application中注册;20005:无匹配结果23300:本地引擎错误,,我的问题是在于语法错误,少了一个分号,,,尼玛,调试好久才找到,而且不会有提示。一般情...
分类:移动开发   时间:2015-04-15 21:25:47    阅读次数:751
手机访问电脑端网站时自动跳转手机端网站代码
备注http://www.balijieji.com这个地方注意填写你的手机网网址才行哦!
分类:移动开发   时间:2015-04-15 21:18:53    阅读次数:176
小米2s换了屏幕后不能近距离对焦,拆过后无法对焦?
主要问题就是小米2/2S手机中壳套后摄像头的位置,里面还有一个正方形的黑色塑胶垫片,一般拆机后这个垫片是不会掉出来的,所以一般上盖时也是直接把中壳合上后上螺丝。这样安装基本会导致塑胶垫片把摄像头顶住(卡住)的情况发生,摄像头被顶住,里面镜头动不了,当然就不能对焦了!解决方法是,重新拆机,把中壳套摄像...
分类:移动开发   时间:2015-04-15 21:09:05    阅读次数:140
Android:View中的performClick()触发条件
先看看performClick()源码:public boolean performClick() { sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_CLICKED); if (mOnClickListener ...
分类:移动开发   时间:2015-04-15 21:08:05    阅读次数:177
[Android]path绘图demo
class MyView extends View { float phase; PathEffect[] effects = new PathEffect[7]; int[] colors; private Paint paint; Path path; pub...
分类:移动开发   时间:2015-04-15 21:01:39    阅读次数:152
android嵌入式布局并创建自定义控件
一、如何在android中嵌入布局文件:新建一个布局title.xml,该文件为公共文件我们在主页面中添加如下代码:即可引入公共布局文件二、如何创建自定义控件在以上代码的基础上新建如下代码:public class TitleLayout extends LinearLayout { publ...
分类:移动开发   时间:2015-04-15 20:56:09    阅读次数:156
IOS UIActivityIndicatorView(指示控制器)用法总结
对于UIActivityIndicatorView的使用,我们一般会创建一个背景View,设置一定的透明度,然后将UIActivityIndicatorView贴在背景View上,在我们需要的时候将这个view呼出。 初始化UIActivityIndicatorView - (instan...
分类:移动开发   时间:2015-04-15 19:45:38    阅读次数:138
CommandError: App ‘polls‘ has migrations
执行python manage.py sql polls时出现错误 E:\projects\djangotest\mysite>python?manage.py?sql?polls CommandError:?App?‘polls‘?has?migrations.?Only?the?sqlmigrate?and?sqlflush?commands?c...
分类:移动开发   时间:2015-04-15 19:45:56    阅读次数:155
IOS学习—表情的排列
// // ViewController.m // 表情排列 // // Created by on 15/4/15. // Copyright (c) 2015年 apple. All rights reserved. // #import "ViewController.h" #define kImageWidth 40 @interface ViewContr...
分类:移动开发   时间:2015-04-15 19:44:20    阅读次数:187
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!