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
1.文本size的计算方法1 NSDictionary *dict = @{NSFontAttributeName: NJTextFont};2 CGSize maxSize = CGSizeMake(200, MAXFLOAT);3 CGSize textSize = [_mes...
分类:
移动开发 时间:
2015-04-15 22:46:56
阅读次数:
170
前几天总是叫团队开发。但因为是我自己开发的,所以我决定把它叫做大作业开发今天写一写这几天做的功课。项目还没开始,还在筹备,准备功课中。设计准备改一下,调研还是起到了一些作用的,我觉得天气中加入图片创意虽然还不错,但是会混淆功能,还在考虑该不该去掉。一开始准备开发ios,虚拟机这都要装了,后来发现说在...
分类:
移动开发 时间:
2015-04-15 22:45:17
阅读次数:
133
通过Gradle和python结合的方式来实现jar文件中的MANIFEST.MF修改。
分类:
移动开发 时间:
2015-04-15 22:40:23
阅读次数:
191
info.plist、pch和四大对象(UIApplication、UIApplicationDelegate、UIWindow、UIViewController)
分类:
移动开发 时间:
2015-04-15 22:39:15
阅读次数:
199
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
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
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
讯飞语音识别:使用注意事项: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
主要问题就是小米2/2S手机中壳套后摄像头的位置,里面还有一个正方形的黑色塑胶垫片,一般拆机后这个垫片是不会掉出来的,所以一般上盖时也是直接把中壳合上后上螺丝。这样安装基本会导致塑胶垫片把摄像头顶住(卡住)的情况发生,摄像头被顶住,里面镜头动不了,当然就不能对焦了!解决方法是,重新拆机,把中壳套摄像...
分类:
移动开发 时间:
2015-04-15 21:09:05
阅读次数:
140
先看看performClick()源码:public boolean performClick() { sendAccessibilityEvent(AccessibilityEvent.TYPE_VIEW_CLICKED); if (mOnClickListener ...
分类:
移动开发 时间:
2015-04-15 21:08:05
阅读次数:
177
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中嵌入布局文件:新建一个布局title.xml,该文件为公共文件我们在主页面中添加如下代码:即可引入公共布局文件二、如何创建自定义控件在以上代码的基础上新建如下代码:public class TitleLayout extends LinearLayout { publ...
分类:
移动开发 时间:
2015-04-15 20:56:09
阅读次数:
156
对于UIActivityIndicatorView的使用,我们一般会创建一个背景View,设置一定的透明度,然后将UIActivityIndicatorView贴在背景View上,在我们需要的时候将这个view呼出。 初始化UIActivityIndicatorView - (instan...
分类:
移动开发 时间:
2015-04-15 19:45:38
阅读次数:
138
执行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
//
// 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