小编Sis*_*hin的帖子

如何实现像uber android这样的可拖动地图,用更改位置更新

如何实现像超级一样的可拖动地图?我正在使用谷歌地图v2.实际上我得到了解决这篇文章的解决方案 并在这里分享我的完整解决方案

android google-maps

45
推荐指数
2
解决办法
5万
查看次数

AES加密j2me

我正在尝试在j2me中进行AES加密.我使用几乎相同的android代码,它在那里工作正常.以下是代码块.我输出为null

package cartoon;

import javax.crypto.Cipher;
import javax.crypto.spec.IvParameterSpec;
import javax.crypto.spec.SecretKeySpec;

public class MCrypt {

private String iv = "0123456789abcdef";// iv 
private IvParameterSpec ivspec;
private SecretKeySpec keyspec;
private Cipher cipher;
private String SecretKey = "fedcba9876543210";// secretKey 

public MCrypt() {
    ivspec = new IvParameterSpec(iv.getBytes(), 0, iv.getBytes().length);

    keyspec = new SecretKeySpec(SecretKey.getBytes(), 0, iv.getBytes().length, "AES");

}

String Decrypt(String text) throws Exception {
    cipher = Cipher.getInstance("AES/CBC/PKCS5Padding");

    cipher.init(Cipher.DECRYPT_MODE, keyspec, ivspec);
    byte[] results = null;
    int results1 = cipher.doFinal(Base64.decode(text), 0, Base64.decode(text).length, results, 0);
    System.out.println("String resultssssssssssssss " + results1); …
Run Code Online (Sandbox Code Playgroud)

java android aes java-me

5
推荐指数
1
解决办法
932
查看次数

谷歌播放广告系列跟踪没有谷歌分析实施android

如何在不使用Google分析的情况下实施Google广告系列跟踪系统?

我正在使用mixpanel进行跟踪

android analytics google-analytics mixpanel

2
推荐指数
1
解决办法
1267
查看次数