闲来无事、想搭个框架试试
分析一般应用 将资料整理整理
粗略统计 需要以下资料
android-pulltorefresh SlidingMenu AndroidWheel Android Wheel
Android-Universal-Image-Loade android-async-http...
分类:
移动开发 时间:
2014-06-01 10:00:00
阅读次数:
330
MainActivity如下:
package cc.c;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.util.List;
import android.app.Activity;
import android.app.ActivityMan...
分类:
移动开发 时间:
2014-06-02 23:53:57
阅读次数:
503
BY
Jeff Haden @jeff_haden
Sometimes the route to happiness depends more on what you don't do....
分类:
移动开发 时间:
2014-06-02 23:17:28
阅读次数:
525
MainActivity如下:
package come.on;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.V...
分类:
移动开发 时间:
2014-06-01 10:36:36
阅读次数:
345
原文链接: Wrapping Code Samples on Mobile Devices
原文日期: 2014年5月29日
翻译日期: 2014年5月30日
翻译人员: 铁锚
作为一个技术博客的站长,我的博客中有很多的代码示例(code samples ),有时还需要兼顾小屏幕移动设备。 我惊讶地看到超过 10%以上的访问量是通过手机访问的 —— 真的快疯了! 我开始关注手机上的显示...
分类:
移动开发 时间:
2014-06-01 10:39:16
阅读次数:
296
界面效果
应用的权限
布局文件
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
andr...
分类:
移动开发 时间:
2014-06-03 00:45:02
阅读次数:
303
主要的原理包括:
继承UIView ,重载drawrect和重载触摸事件
待实现的功能还有,路径数组保存等。
#import "testdrow.h"
@implementation testdrow
UIColor *pick_color;
int choose;
UIBezierPath *mpath ;
UIBezierPath *eraser_path;
NSTimer *myt...
分类:
移动开发 时间:
2014-06-03 00:20:36
阅读次数:
323
ios 使用xcode调试代码的时候进入断点显示变量全是nil,但NSLog输出那个变量却是有值的...
分类:
移动开发 时间:
2014-06-02 22:37:34
阅读次数:
425
1.概况
作为Android开发人员,最头疼的莫过于让自己开发的程序在不同终端上面的显示效果看起来尽量一致(当然,如果要充分利用大屏幕的优势另当别论)。在全球范围内来讲,android有着数以亿计的设备,其中就不乏设备分辨率多种多样,以及设备屏幕物理尺寸的多样化。
总得来说我们需要做的有三点,其一让APP的每个UI中的每个View宽和高更加灵活以适应不同分辨率、...
分类:
移动开发 时间:
2014-06-03 00:52:19
阅读次数:
411
今天在使用百度地图的时候运行发现报错:
明明已经加入了liblocSDK3.so,但总是无法定位。提示错误java.lang.UnsatisfiedLinkError: Couldn't load locSDK3: findLibrary returned null.
网上找了很多的资料找到一个方法:
在libs下新建一个armeabi-v7a,然后将liblocSDK3.so复...
分类:
移动开发 时间:
2014-06-01 10:34:07
阅读次数:
249
控制当前的view是否支持旋转,如果是,是支持哪些方向的,有四个方向,分别是home键在下,上,左右.在当前的viewcontroller里,实现shouldAutorotateToInterfaceOrientation方法,告诉系统你支持的旋转方向.不过IOS6以后,这个方法被列为DEPRECATED 方法了...
分类:
移动开发 时间:
2014-06-02 23:18:02
阅读次数:
314
今天,首先对Activity的生命周期进行复习:...
分类:
移动开发 时间:
2014-06-02 23:27:00
阅读次数:
381
Ubuntu下编译Android JNI实例全过程...
分类:
移动开发 时间:
2014-06-01 10:42:40
阅读次数:
324
Objective-C 是 C
语言的超集
您还可以访问标准 C 库例程,例如在
stdlib.h
和 stdio.h
中声明的那些例程。
Objective-C 还是一种非常动态的程序设计语言,而且这种动态是其最大优势。这种动态体现在它允许在运行应用程序时(即运行时)才去确定其行为,而不是在生成期间就已固定下来。因此,Objective-C
的动态机制让程序免受约束(编译...
分类:
移动开发 时间:
2014-06-02 23:57:59
阅读次数:
476
思路:在自定义shape中增加一层或多层,并错开,即可显示阴影效果。为增加立体感,按钮按下的时候,只设置一层。我们可以通过top, bottom, right 和 left 四个参数来控制阴影的方向和大小。关系图以下自定义两种阴影效果:res/drawable-hdpi/shadow1.xml
...
分类:
移动开发 时间:
2014-06-01 11:18:34
阅读次数:
320