FileDocCategorySizeDatePackage
PlatformLibrary.javaAPI DocAndroid 1.5 API1879Wed May 06 22:41:08 BST 2009com.example.android.platform_library

PlatformLibrary

public final class PlatformLibrary extends Object

Fields Summary
private int
mJniInt
Constructors Summary
public PlatformLibrary()


      
Methods Summary
public intgetInt(boolean bad)

        /* this alters mJniInt */
        int result = getJniInt(bad);

        /* reverse a string, for no very good reason */
        String reverse = reverseString("Android!");

        Log.i("PlatformLibrary", "getInt: " + result + ", '" + reverse + "'");

        return mJniInt;
    
private native intgetJniInt(boolean bad)

private static native java.lang.StringreverseString(java.lang.String str)

private static voidyodel(java.lang.String msg)

        Log.d("PlatformLibrary", "yodel: " + msg);