代码改变世界

阅读排行榜

签名应用例子

2013-06-25 16:27 by java20130722, 308 阅读, 收藏,
摘要: 签名应用例子(windows7)前提: 有一个unsign.apk 没有签名的包1. 生成keystore.keystorekeytool -genkey -v -keystore my_test-key.keystore -alias my_test -keyalg RSA -keysize 2048 -validity 10000输入keystore 密码(要记住,以后要用)最后要输入key password(要记住,以后要用)2. 签名应用jarsigner -verbose -sigalg SHA1withRSA -digestalg SHA1 -keystore my_test-.. 阅读全文

Android Interface Definition Language (AIDL)

2013-04-08 11:11 by java20130722, 308 阅读, 收藏,
摘要: Android Interface Definition Language (AIDL)IN THIS DOCUMENTDefining an AIDL InterfaceCreate the .aidl fileImplement the interfaceExpose the interface to clientsPassing Objects over IPCCalling an IPC MethodSEE ALSOBound ServicesAIDL (Android Interface Definition Language) 与其他的接口定义语言相似。定义这个接口,client 阅读全文

android 判断网络状态

2013-05-30 12:21 by java20130722, 306 阅读, 收藏,
摘要: android 判断网络状态package com.example.android; import java.io.IOException; import java.net.HttpURLConnection; import java.net.InetAddress; import java.net.NetworkInterface; import java.net.SocketException; import java.net.URL; import java.util.Enumeration; import android.content.Context; import androi.. 阅读全文

hiveQL 本地mapreduce

2013-04-26 15:42 by java20130722, 306 阅读, 收藏,
摘要: 如果在hive中运行的sql本身数据量很小,那么使用本地mr的效率要比分布式的快很多。。比如:Sql代码hive>select1fromdual;TotalMapReducejobs=1LaunchingJob1outof1Numberofreducetasksissetto0sincethere'snoreduceoperatorStartingJob=job_201208151631_2040444,TrackingURL=http://jt.dc.sh-wgq.sdo.com:50030/jobdetails.jsp?jobid=job_201208151631_20404 阅读全文

Android的NDK开发(3)————JNI数据类型的详解

2012-07-16 09:32 by java20130722, 306 阅读, 收藏,
摘要: 原文:http://blog.csdn.net/conowen/article/details/7523145在Java中有两类数据类型:primitive types,如,int, float, char;另一种为reference types,如,类,实例,数组。注意:数组,不管是对象数组还是基本类型数组,都作为reference types存在,有专门的JNI方法取数组中每个元素。1、voidjava的void与JNI的void是一致的。2、基本数据类型3、对象类型相比基本类型,对象类型的传递要复杂得多。不能对Jstring进行直接操作。[cpp]view plaincopy//如下使用 阅读全文
上一页 1 ··· 51 52 53 54 55 56 57 58 59 ··· 115 下一页