苹果开发者 https://developer.apple.com/
证书创建流程
certificates (证书):
是电脑能够加入开发者计划的凭证
证书分为:开发证书和发布(产品)证书,开发证书只能做真机测试,发布证书只能做产品发布
identifiers (标识符):
应用的唯一标识符(App ID)
App ID对应Xcode中Boundle...
分类:
移动开发 时间:
2014-10-10 18:59:04
阅读次数:
242
#import
typedef enum
{
IdentifierTypeKnown = 0,
IdentifierTypeZipCode, //1
IdentifierTypeEmail, //2
IdentifierTypePhone, //3
IdentifierTypeUnicomPho...
分类:
移动开发 时间:
2014-10-10 18:07:54
阅读次数:
178
//
// TabBar.m
// TabBarDemo
//
// Created by LeeYunHeNB on 14-10-10.
// Copyright (c) 2014年 XinMaHuTong. All rights reserved.
//
#import "TabBar.h"
#import "Ta...
分类:
移动开发 时间:
2014-10-10 18:54:44
阅读次数:
375
package com.example.mynotification;
import android.os.Bundle;
import android.app.Activity;
import android.app.Notification;
import android.app.NotificationManager;
import android.app.PendingIntent;
i...
分类:
移动开发 时间:
2014-10-10 18:21:14
阅读次数:
190
In this Document
Goal
Solution
1: How do you enable trace for an API when executed from a SQL script outside
of Oracle Applications ?
2: H...
分类:
移动开发 时间:
2014-10-10 18:20:14
阅读次数:
273
在用Eclipse时候,你可以进行设置,设置成不管你输入任何字母,都能进行代码的提示,在Android Studio中也可以
设置,而且比Eclipse设置来的简单。当然如果你觉得代码自动提示会降低你的代码水平,你也可以不设置,在写代码
过程中,如果一时忘记了,你就可以用代码提示的快捷键。android studio代码提示的快捷键是什么呢?看这篇文章:
【Android Studio快捷键...
分类:
移动开发 时间:
2014-10-10 18:19:44
阅读次数:
192
日前,百度安全实验室发现手机木马开始利用另一新的Android设备管理器漏洞,新的设备管理器漏洞是由于Android系统在取消激活设备管理器流程的设计缺陷引起的,恶意软件利用该设计缺陷,可以阻止用户取消激活设备管理器,进而达到反卸载的目的。该漏洞存在于Android系统所有版本。...
分类:
移动开发 时间:
2014-10-10 17:29:24
阅读次数:
347
第一种方法:
[UIApplication sharedApplication].statusBarStyle = UIStatusBarStyleBlackOpaque;
self.navigationController.navigationBar.tintColor = [UIColor blackColor];
if (is_ios_7_Later) {
...
分类:
移动开发 时间:
2014-10-10 18:52:15
阅读次数:
189
1 横竖屏切换:
文件名称相同, 文件夹不同.
layout-port/ 代表竖屏
layout-land/ 代表横屏
layout/ 代表任何没有修饰符的layout文件夹。
最终的实现 横竖品方案:
两套 相同名称,单文件夹不同的布局。
2 横竖屏切换的时候:
代码需要进行 方向 的判断。
因为使用了不同的layout...
分类:
移动开发 时间:
2014-10-10 17:28:45
阅读次数:
210
//@"123456789" 转换后 @"123,456,789"
@interface NSString (num)
- (NSString *)money;
@end
@implementation NSString (num)
- (NSString *)money{
NSNumberFormatter *numFormat = [[NSNumberForma...
分类:
移动开发 时间:
2014-10-10 19:06:04
阅读次数:
140
转载:http://www.cnblogs.com/bluestorm/p/3622444.html从事Android开发,免不了会在应用里嵌入一些广告SDK,在嵌入了众多SDK后,发现几乎每个要求在AndroidManifest.xml申明Activity的广告SDK都会要求加上注明这么一句属性:...
分类:
移动开发 时间:
2014-10-10 17:57:54
阅读次数:
190
在进行robotium 编写自动化测试用例的时候,有些case 需要控制网络来进行验证,这个时候就需要来回关闭,打开wifi 连接。在网上搜了一下,使用方法比较简单,整理如下:1、首先需要在app中的 AndroidManifest.xml 文件中申请wifi的访问权限,配置如下:Xml代码2、ja...
分类:
移动开发 时间:
2014-10-10 19:04:04
阅读次数:
190
http://blog.163.com/scuqifuguang@126/blog/static/171370086201399113833299/ 最近研究了一下极光推送(JPush),百度云推送和个推在IOS平台的推送机制,做了一下对比。 首先, 介绍苹果推送通知服务的推送机制(APNS: .....
分类:
移动开发 时间:
2014-10-10 18:46:24
阅读次数:
212
问题是由于Android Dependencies小差号引起的,下午一搞Android的哥们在群里说最近导入的几个工程每个都是Android Dependencies报错,小差号,我先说解决方法: 方法一:自己新建工程,将整个工程重新建一遍。(事倍功半) 方法二:将Android Depen...
分类:
移动开发 时间:
2014-10-10 18:08:34
阅读次数:
7685
在设计Android测试的时候,不可避免会遇到屏幕锁定的问题,除非你暴力将手机设为不锁定(当然这么做手机不久就废掉了),在实践中,我们使用了一下方式来解锁/唤醒屏幕。1、解锁: 我们使用appnium自带的unlock app,在测试机上安装后,在setup方法中调起该app,方法如下:public...
分类:
移动开发 时间:
2014-10-10 18:55:24
阅读次数:
189
(转自:http://blog.csdn.net/ithomer/article/details/7365147)一、 BroadcastReceiver简介BroadcastReceiver,用于异步接收广播Intent,广播Intent是通过调用Context.sendBroadcast()发送...
分类:
移动开发 时间:
2014-10-10 18:21:55
阅读次数:
239
(转自:http://blog.csdn.net/ithomer/article/details/7366396)一、bindService简介bindService是绑定Service服务,执行service服务中的逻辑流程。service通过Context.startService()方法开始,...
分类:
移动开发 时间:
2014-10-10 18:37:54
阅读次数:
240