今天在调试一个基础的Struts2框架小程序。总是提示"There is no Action mapped for namespace / and action name"的错误。上网查询后发现这是一个初学者经常碰到的问题,导致错误的原因主要有两种。总结如下: 一、struts.xml文件错误。这种...
分类:
移动开发 时间:
2015-07-31 12:35:57
阅读次数:
131
framework 的制作工程见:http://www.cocoachina.com/ios/20141126/10322.html;遇到问题:由于自己的framework 要使用图片资源,最后找到两种解决办法。1.使用新建bundle;使用第一种方法:新建bundle 类型的项目,得到bundle...
分类:
移动开发 时间:
2015-07-31 12:33:36
阅读次数:
294
ViewTreeObserver结构extends Objectjava.lang.Object ? android.view.ViewTreeObserverViewTreeObserver概述A view tree observer is used to register liste...
分类:
移动开发 时间:
2015-07-31 12:30:56
阅读次数:
282
使用 Visual Studio 开发并调试 Mail Add-in (mail app for Outlook)
分类:
移动开发 时间:
2015-07-31 12:30:21
阅读次数:
326
1.自动缩放到指定大小+ (UIImage *)thumbnailWithImage:(UIImage *)image size:(CGSize)asize{UIImage *newimage;if (nil == image) {newimage = nil;}else{UIGraphicsBeg...
分类:
移动开发 时间:
2015-07-31 12:27:31
阅读次数:
139
iOS是由苹果公司开发的移动操作系统,以xcode为主要开发工具,具有简单易用的界面、令人惊叹的功能,以及超强的稳定性,已经成为iPhone、iPad 和iPod touch 的强大基础;iOS 内置的众多技术和功能让 Apple设备始终保持着遥遥领先的地位。iOS学习路线:http://www.m...
分类:
移动开发 时间:
2015-07-31 12:25:38
阅读次数:
796
在AndroidManifest.xml中, java提取meta-data信息: ApplicationInfoappInfo = this.getPackageManager().getApplicationInfo(getPackageName(),PackageM...
分类:
移动开发 时间:
2015-07-31 12:19:22
阅读次数:
179
var c = new C1() { ID = 1, Name = 2 }; var d = new C2() { ID = 3, CName = 4, Des = 3 }; var im = Mapper.CreateMap();...
分类:
移动开发 时间:
2015-07-31 12:11:14
阅读次数:
135
今天在eclipse里报这个错误:Android requires compiler compliance level 5.0 or 6.0. Found '1.4' instead.Please fix project properties1.项目右键 ->android tools->Fix P...
分类:
移动开发 时间:
2015-07-31 12:09:31
阅读次数:
140
Android是一个以Linux为基础的半开源操作系统,主要用于移动设备,由Google和开放手持设备联盟开发与领导。据2011年初数据显示仅正式上市两年的操作系统Android已经跃居全球最受欢迎的智能手机平台,一些没有接触过Android知识又想学习Android开发的人,看到一行行密密麻麻的代...
分类:
移动开发 时间:
2015-07-31 12:08:20
阅读次数:
155
友盟第三方SDK的开发需要考虑很多因素,比如稳定性、灵活性等,并且还要做到能让开发者能自由定制UI层、替换子系统。本文以友盟微社区为例,详细讲解了在开发SDK时架构方面的设计理念。
分类:
移动开发 时间:
2015-07-31 12:07:27
阅读次数:
135
Android 通知栏Notification的简但使用,效果如上图,废话不说,代码: 1 private void notification() { 2 Notification notification; 3 int notification_id = 11; 4...
分类:
移动开发 时间:
2015-07-31 12:01:25
阅读次数:
123
-?(void)setPhoneVolume
{
????MPVolumeView?*volumeView?=?[[MPVolumeView?alloc]?init];
????UISlider*?volumeViewSlider?=?nil;
????for?(UIView?*view?in?[volumeView?subviews]){...
分类:
移动开发 时间:
2015-07-31 10:56:28
阅读次数:
378
1.Build -> Generate Signed APK...,打开如下窗口 2.假设这里没有打过apk包,点击Create new,窗口如下 这里只要输入几个必要项 Key store path(生产key文件的保存路径 ) Key store password(key 存储密码) ...
分类:
移动开发 时间:
2015-07-31 10:57:04
阅读次数:
168
昨日,魅蓝2在天猫独家首发,而差不多一周时间以前大神Note3曾与淘宝众筹合作过盲订式首发,此外此前的荣耀4C、大神F2全网通、魅族Note2、魅族MX5等机型也都是在天猫首发。对于这个情况其实应该引起京东的重视,部分厂家态度的转变折射出一个“隐患”问题。手机厂商价格战导致..
分类:
移动开发 时间:
2015-07-31 10:51:49
阅读次数:
133
//
// AppDelegate.m
// UI02作业
//
// Created by dllo on 15/7/30.
// Copyright (c) 2015年 zhozhicheng. All rights reserved.
//
#import "AppDelegate.h"
@interface
...
分类:
移动开发 时间:
2015-07-31 10:50:16
阅读次数:
114
call方法:
语法:call([thisObj[,arg1[, arg2[, [,.argN]]]]])
定义:调用一个对象的一个方法,以另一个对象替换当前对象。
apply方法:
语法:apply([thisObj[,argArray]])
定义:应用某一对象的一个方法,用另一个对象替换当前对象。
function add(a,b)
{
...
分类:
移动开发 时间:
2015-07-31 10:48:40
阅读次数:
147