首页 > 移动平台
android遥控器的映射
第一编写kl文件时先在盒子上输入getevent -v查看设备信息,设备信息里有vendor、product、version, 假如分别是xxxx,yyyy,zzzz,那么你的文件名就要命名为Vendor_xxxx_Product_yyyy_Version_zzzz.kl 第二在盒子上输入getev
分类:移动平台   时间:2016-03-08 13:14:13    收藏:0  评论:0  赞:0  阅读:280
Android带加减的edittext
看了网上这样自带加减的edittext写得好复杂,还有各种监听事件,我觉得没有必有。于是我自己写了一个。 我这个edittext仅仅限制整数,每次加减1. public class TestEditTextActivity extends Activity implements OnClickLis
分类:移动平台   时间:2016-03-08 13:13:44    收藏:0  评论:0  赞:0  阅读:386
android开发系列之由ContentValues看到的
这本篇博客里面我想重点来分析一下ContentValues的源码以及它里面涉及到的继承接口Parcelabel,还有HashMap的源码。
分类:移动平台   时间:2016-03-08 13:13:23    收藏:0  评论:0  赞:0  阅读:337
《iOS Human Interface Guidelines》——Tab Bar
本文翻译自苹果官方文档《iOS Human Interface Guidelines》——Bars,讲解标签栏使用的注意事项...
分类:移动平台   时间:2016-03-08 12:04:13    收藏:0  评论:0  赞:0  阅读:340
android判断设备是手机还是平板method
/** * 判断当前设备是手机还是平板,代码来自 Google I/O App for Android * @param context * @return 平板返回 True,手机返回 False */ public static boolean isTablet(Context context)
分类:移动平台   时间:2016-03-08 11:59:23    收藏:0  评论:0  赞:0  阅读:252
[Android Pro] AES加密
reference to : http://blog.csdn.net/wfung_kwok/article/details/7766427 package com.secufity.aes; import java.util.UUID; import javax.crypto.Cipher; im
分类:移动平台   时间:2016-03-08 11:58:53    收藏:0  评论:0  赞:0  阅读:266
ios开发函数(来自网络)
rand() ----随机数 abs() / labs() ----整数绝对值 fabs() / fabsf() / fabsl() ----浮点数绝对值 floor() / floorf() / floorl() ----向下取整 ceil() / ceilf() / ceill() ----向上
分类:移动平台   时间:2016-03-08 10:50:23    收藏:0  评论:0  赞:0  阅读:287
SPRING IN ACTION 第4版笔记-第九章Securing web applications-008-使用非关系型数据库时如何验证用户(自定义UserService)
一、 1.定义接口 Suppose that you need to authenticate against users in a non-relational database suchas Mongo or Neo4j. In that case, you’ll need to impleme
分类:移动平台   时间:2016-03-08 10:48:33    收藏:0  评论:0  赞:0  阅读:328
12步创建高性能Web APP
现在,Web App 日益重视用户的交互体验,了解性能优化的方式则可以有效提高用户体验。阅读和实践下面的性能优化技巧,可以帮你改善应用的流畅度、渲染时间和其他方面的性能表现。 概述 对 Web App 进行性能优化是一份冗杂沉重的工作,这不仅是因为构建一个 Web App 需要前后端协作,而且需要多
分类:移动平台   时间:2016-03-08 10:48:03    收藏:0  评论:0  赞:0  阅读:291
ios富文本的简单使用 AttributedString
富文本,顾名思义就是丰富的文本格式,本文demo使用NSMutableAttributedString //获取富文本 NSMutableAttributedString*attributeString_atts=[[NSMutableAttributedString alloc]initWithS
分类:移动平台   时间:2016-03-08 10:47:33    收藏:0  评论:0  赞:0  阅读:201
SPRING IN ACTION 第4版笔记-第九章Securing web applications-007-设置LDAP server比较密码(contextSource、root()、ldif()、)
一、LDAP server在哪 By default, Spring Security’s LDAP authentication assumes that the LDAP server is listening on port 33389 on localhost. But if your LD
分类:移动平台   时间:2016-03-08 10:42:13    收藏:0  评论:0  赞:0  阅读:351
My WelcomeApplet
1 import java.applet.*; 2 import java.awt.*; 3 import java.awt.event.*; 4 public class WelcomeApplet extends Applet implements ActionListener //继承Appl
分类:移动平台   时间:2016-03-08 10:40:13    收藏:0  评论:0  赞:0  阅读:217
IOS-OC 编码建议
“神在细节之中” Objective-C 是 C 语言的扩展,增加了动态类型和面对对象的特性。它被设计成具有易读易用的,支持复杂的面向对象设计的编程语言。它是 Mac OS X 以及 iPhone 的主要开发语言。 Cocoa 是 Mac OS X 上主要的应用程序框架之一。它由一组 Objecti
分类:移动平台   时间:2016-03-08 10:39:14    收藏:0  评论:0  赞:0  阅读:233
SPRING IN ACTION 第4版笔记-第九章Securing web applications-006-用LDAP比较密码(passwordCompare()、passwordAttribute("passcode")、passwordEncoder(new Md5PasswordEncoder()))
一、 The default strategy for authenticating against LDAP is to perform a bind operation,authenticating the user directly to the LDAP server. Another op
分类:移动平台   时间:2016-03-08 10:33:23    收藏:0  评论:0  赞:0  阅读:473
Could not resolve archetype org.apache.maven.archetypes:maven-archetype-webapp:RELEASE from any of the configured repositories.
修改settings.xml: <mirror> <id>nexus-osc</id> <mirrorOf>*</mirrorOf> <name>Nexus osc</name> <url>http://maven.oschina.net/content/groups/public/</url> <
分类:移动平台   时间:2016-03-08 09:27:33    收藏:0  评论:0  赞:0  阅读:369
android布局属性具体解释
RelativeLayout用到的一些重要的属性: 1:LinearLayout ( 线性布局 ) (里面仅仅能够有一个控件,而且不能设计这个控件的位置,控件会放到左上角) 线性布局分为水平线性和垂直线性二者的属性分别为: android:orientation= " horizontal " an
分类:移动平台   时间:2016-03-08 09:26:53    收藏:0  评论:0  赞:0  阅读:195
android: 通过内容提供器读取系统联系人
读取系统联系人 由于我们之前一直使用的都是模拟器,电话簿里面并没有联系人存在,所以现在需要自 己手动添加几个,以便稍后进行读取。打开电话簿程序,界面如图 7.1 所示。 图 7.1 可以看到,目前电话簿里是没有任何联系人的,我们可以通过点击 Create a new contact按钮来对联系人进行
分类:移动平台   时间:2016-03-08 09:21:13    收藏:0  评论:0  赞:0  阅读:208
Android中Action Bar的使用
在Android 3.0中除了我们重点讲解的Fragment外,Action Bar也是一个重要的内容,Action Bar主要是用于代替传统的标题栏,对于Android平板设备来说屏幕更大它的标题使用Action Bar来设计可以展示更多丰富的内容,方便操控。Action Bar主要功能包含:1.
分类:移动平台   时间:2016-03-08 09:17:43    收藏:0  评论:0  赞:0  阅读:313
android: 内容提供器简介
我们学了 Android 数据持久化的技术,包括文件存储、SharedPreferences 存 储、以及数据库存储。不知道你有没有发现,使用这些持久化技术所保存的数据都只能在当 前应用程序中访问。虽然文件和 SharedPreferences 存储中提供了 MODE_WORLD_READABLE
分类:移动平台   时间:2016-03-08 09:17:23    收藏:0  评论:0  赞:0  阅读:216
【Android】19.3 ContentProvider及安卓进一步封装后的相关类
分类:C#、Android、VS2015; 创建日期:2016-03-08 一、简介 ContentProvider:内容提供程序。 Android的ContentProvider与.NET框架的EF(Entity Framework)非常类似。在EF中,每个类表示数据库中的一个表,类中的每个属性对...
分类:移动平台   时间:2016-03-08 07:04:03    收藏:0  评论:0  赞:0  阅读:266
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!