FileDocCategorySizeDatePackage
Client.javaAPI DocAndroid 1.5 API1338Wed May 06 22:41:08 BST 2009com.example.android.platform_library.client

Client

public class Client extends android.app.Activity
Use a custom platform library.

Fields Summary
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle savedInstanceState)

        super.onCreate(savedInstanceState);

        // Call an API on the library.
        PlatformLibrary pl = new PlatformLibrary();
        int res = pl.getInt(false);
        
        // We'll just make our own view to show the result.
        TextView tv = new TextView(this);
        tv.setText("Got from lib: " + res);
        setContentView(tv);