This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// {"desc":"Description", "url":"http://host/path", "price":9999, "source":"XXX Shoppers"} | |
// -> Item (desc (String), url (String), price (long), source (String)) | |
package com.gmail.altakey.xxx; | |
import android.util.Log; | |
import java.io.*; | |
import java.util.*; | |
import net.vvakame.util.jsonpullparser.*; | |
public class ItemStreamParser { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<project name="jarjar"> | |
<target name="package"> | |
<taskdef name="jarjar" classname="com.tonicsystems.jarjar.JarJarTask" classpath="jarjar-1.4.jar"/> | |
<jarjar jarfile="commons-codec-1.6-android.jar"> | |
<zipfileset src="commons-codec-1.6.jar" /> | |
<rule pattern="org.apache.**" result="com.apache.@1"/> | |
</jarjar> | |
</target> | |
</project> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-injars bin/classes | |
-injars libs | |
-injars /path/to/android.jar | |
-outjars tmp.jar | |
-dontpreverify | |
-repackageclasses '' | |
-allowaccessmodification | |
-optimizations !code/simplification/arithmetic | |
-keepattributes *Annotation* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
android.accessibilityservice.AccessibilityService -> android.accessibilityservice.AccessibilityService: | |
android.accounts.AccountAuthenticatorActivity -> android.accounts.AccountAuthenticatorActivity: | |
android.animation.Animator -> a: | |
android.animation.LayoutTransition -> b: | |
android.animation.ObjectAnimator -> c: | |
android.animation.ValueAnimator -> d: | |
android.app.ActionBar -> android.app.ActionBar: | |
android.app.ActionBar$LayoutParams -> android.app.ActionBar$LayoutParams: | |
android.app.Activity -> e: | |
int[] FOCUSED_STATE_SET -> a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.gmail.altakey.nio; | |
import android.app.Activity; | |
import android.os.Bundle; | |
import android.os.AsyncTask; | |
import java.nio.*; | |
import java.nio.channels.SocketChannel; | |
import java.net.InetAddress; | |
import java.net.InetSocketAddress; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright 2013 Takahiro Yoshimura | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# | |
# Copyright 2013 Takahiro Yoshimura | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# | |
# http://www.apache.org/licenses/LICENSE-2.0 | |
# |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Copyright (C) 2013 Takahiro Yoshimura <[email protected]> | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* | |
* http://www.apache.org/licenses/LICENSE-2.0 | |
* | |
* Unless required by applicable law or agreed to in writing, software |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
pid="$1" | |
if test -z "$pid"; then | |
echo "usage: $0 <pid>" | |
echo "debuggable PIDs:" | |
adb jdwp | |
exit 1 | |
fi | |
adb forward tcp:8600 jdwp:"$1" | |
rlwrap jdb -attach localhost:8600 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From e134c55979f63a48868189b82b5c1ac4ad03fd0a Mon Sep 17 00:00:00 2001 | |
From: Takahiro Yoshimura <[email protected]> | |
Date: Fri, 13 Sep 2013 11:41:50 +0900 | |
Subject: [PATCH] Porting to Java 6/BC-149 | |
--- | |
abe.sh | 6 +++--- | |
build.xml | 4 ++-- | |
src/org/nick/abe/AndroidBackup.java | 6 +++--- | |
3 files changed, 8 insertions(+), 8 deletions(-) |