API Diff Specification
To Version: Android SDK 0.9_r1
From Version: Android SDK m5-rc14
Generated 2008.08.14 15:44

Class android.app.Instrumentation

Removed Methods
void callActivityOnCompleteThaw(Activity, Bundle) Perform calling of an activity's Activity.onCompleteThaw method.
void callActivityOnFreeze(Activity, Bundle) Perform calling of an activity's Activity.onPause method.
Bitmap dupWindowBitmapSync(Activity) Return a copy of the bitmap holding the overall contents of the Activity's window.
void getCpuTime(Bundle) Puts the cpu time for this process in results.
Application newApplication(ClassLoader, String) Perform instantiation of the process's Application object.
 

Added Methods
void callActivityOnDestroy(Activity)  
void callActivityOnRestoreInstanceState(Activity, Bundle) Perform calling of an activity's Activity.onRestoreInstanceState method.
void callActivityOnSaveInstanceState(Activity, Bundle) Perform calling of an activity's Activity.onPause method.
void callActivityOnStop(Activity) Perform calling of an activity's Activity.onStop method.
void endPerformanceSnapshot()  
ComponentName getComponentName() Returns complete component name of this instrumentation.
boolean invokeContextMenuAction(Activity, int, int) Show the context menu for the currently focused view and executes a particular context menu item.
Activity newActivity(Class<?>, Context, IBinder, Application, Intent, ActivityInfo, CharSequence, Activity, String, Object) Perform instantiation of an Activity object.
Application newApplication(ClassLoader, String, Context) Perform instantiation of the process's Application object.
Application newApplication(Class<?>, Context) Perform instantiation of the process's Application object.
void sendStatus(int, Bundle) Provide a status report about the application.
void setAutomaticPerformanceSnapshots()  
void setInTouchMode(boolean) Force the global system in or out of touch mode.
void startPerformanceSnapshot()  
Activity waitForMonitorWithTimeout(ActivityMonitor, long) Wait for an existing ActivityMonitor to be hit till the timeout expires.
 

Changed Methods
ActivityResult execStartActivity(Context, IApplicationThread, IBinder, Activity, Intent, int) Change in signature from (ApplicationContext, IBinder, Activity, Intent, int) to (Context, IApplicationThread, IBinder, Activity, Intent, int).
Execute a startActivity() call made by the application.
Bundle getAllocCounts() Change in return type from void to Bundle.
Change in signature from Bundle to void.
Returns a bundle with the current results from the allocation counting.
Bundle getBinderCounts() Change in return type from void to Bundle.
Change in signature from Bundle to void.
Returns a bundle with the counts for various binder counts for this process.
boolean invokeMenuActionSync(Activity, int, int) Change in return type from void to boolean.
Execute a particular menu item.
 

Added Fields
String REPORT_KEY_IDENTIFIER If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies the class that is writing the report.
String REPORT_KEY_STREAMRESULT If included in the status or final bundle sent to an IInstrumentationWatcher, this key identifies a string which can simply be printed to the output stream.
 

©2008 Google - Code Home - Site Terms of Service - Privacy Policy
Generated by JDiff