- cygwin
- Latest JDK6
- Latest Apache Ant
- Latest Android SDK
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
| <?xml version="1.0"?> | |
| <!DOCTYPE module PUBLIC | |
| "-//Puppy Crawl//DTD Check Configuration 1.2//EN" | |
| "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | |
| <!-- | |
| Checkstyle-Configuration: Android checkstyle by Enea | |
| Description: none | |
| --> |
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
| // | |
| // NSData+AESCrypt.h | |
| // | |
| // AES Encrypt/Decrypt | |
| // Created by Jim Dovey and 'Jean' | |
| // See http://iphonedevelopment.blogspot.com/2009/02/strong-encryption-for-cocoa-cocoa-touch.html | |
| // | |
| // BASE64 Encoding/Decoding | |
| // Copyright (c) 2001 Kyle Hammond. All rights reserved. | |
| // Original development by Dave Winer. |
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
| //http://stackoverflow.com/questions/2646028/android-horizontalscrollview-within-scrollview-touch-handling | |
| public class VerticalScrollView extends ScrollView { | |
| private float xDistance, yDistance, lastX, lastY; | |
| public VerticalScrollView(Context context, AttributeSet attrs) { | |
| super(context, attrs); | |
| } | |
| @Override | |
| public boolean onInterceptTouchEvent(MotionEvent ev) { |
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
| import android.graphics.PointF; | |
| import android.view.animation.Animation; | |
| import android.view.animation.Transformation; | |
| // http://www.math.ubc.ca/~cass/gfx/bezier.html | |
| public class ArcTranslateAnimation extends Animation { | |
| private int mFromXType = ABSOLUTE; | |
| private int mToXType = ABSOLUTE; |
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 de.markusfisch.android.textrect; | |
| import android.app.Activity; | |
| import android.graphics.Canvas; | |
| import android.graphics.Color; | |
| import android.graphics.Paint; | |
| import android.graphics.RectF; | |
| import android.os.Bundle; | |
| import android.view.SurfaceHolder; | |
| import android.view.SurfaceView; |
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
| <?xml version="1.0"?> | |
| <!DOCTYPE module PUBLIC | |
| "-//Puppy Crawl//DTD Check Configuration 1.2//EN" | |
| "http://www.puppycrawl.com/dtds/configuration_1_2.dtd"> | |
| <!-- | |
| Checkstyle-Configuration: Android checkstyle by Enea | |
| Description: none | |
| --> |
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/bash | |
| function actual_path() { | |
| if [ [ -z "$1" ] -a [ -d $1 ] ]; then | |
| echo $(cd $1 && test `pwd` = `pwd -P`) | |
| return 0 | |
| else | |
| return 1 | |
| fi | |
| } |
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/bash | |
| #===================================================================== | |
| # Selects an android device | |
| # Copyright (C) 2012-2013 Diego Torres Milano. All rights reserved. | |
| # | |
| # See: | |
| # - http://dtmilano.blogspot.ca/2013/01/android-select-device.html | |
| # - http://dtmilano.blogspot.ca/2012/03/selecting-adb-device.html | |
| # for details on usage. | |
| #===================================================================== |
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
| import SimpleHTTPServer | |
| class CORSHTTPRequestHandler(SimpleHTTPServer.SimpleHTTPRequestHandler): | |
| def send_head(self): | |
| """Common code for GET and HEAD commands. | |
| This sends the response code and MIME headers. | |
| Return value is either a file object (which has to be copied | |
| to the outputfile by the caller unless the command was HEAD, | |
| and must be closed by the caller under all circumstances), or |