public virtual void scheduleLaunchActivity(android.content.Intent intent, android.os.IBinder
                                            token, int ident, android.content.pm.ActivityInfo info, android.content.res.Configuration
                                            curConfig, android.content.res.CompatibilityInfo compatInfo, android.os.Bundle
                                            state, java.util.List <android.app.ResultInfo> pendingResults, java.util.List <android.content.Intent
                                                                                                                           > pendingNewIntents, bool notResumed, bool isForward, string profileName, android.os.ParcelFileDescriptor
                                            profileFd, bool autoStopProfiler)
 {
     throw new System.NotImplementedException();
 }
Exemplo n.º 2
0
 public ActivityInfo(android.content.pm.ActivityInfo orig) : base(orig)
 {
     theme             = orig.theme;
     launchMode        = orig.launchMode;
     permission        = orig.permission;
     taskAffinity      = orig.taskAffinity;
     targetActivity    = orig.targetActivity;
     flags             = orig.flags;
     screenOrientation = orig.screenOrientation;
     configChanges     = orig.configChanges;
     softInputMode     = orig.softInputMode;
     uiOptions         = orig.uiOptions;
 }
Exemplo n.º 3
0
 /// <summary>
 /// Perform instantiation of an
 /// <see cref="Activity">Activity</see>
 /// object.  This method is intended for use with
 /// unit tests, such as android.test.ActivityUnitTestCase.  The activity will be useable
 /// locally but will be missing some of the linkages necessary for use within the sytem.
 /// </summary>
 /// <param name="clazz">The Class of the desired Activity</param>
 /// <param name="context">The base context for the activity to use</param>
 /// <param name="token">The token for this activity to communicate with</param>
 /// <param name="application">The application object (if any)</param>
 /// <param name="intent">The intent that started this Activity</param>
 /// <param name="info">ActivityInfo from the manifest</param>
 /// <param name="title">The title, typically retrieved from the ActivityInfo record</param>
 /// <param name="parent">The parent Activity (if any)</param>
 /// <param name="id">The embedded Id (if any)</param>
 /// <param name="lastNonConfigurationInstance">
 /// Arbitrary object that will be
 /// available via
 /// <see cref="Activity.getLastNonConfigurationInstance()">Activity.getLastNonConfigurationInstance()
 ///     </see>
 /// .
 /// </param>
 /// <returns>Returns the instantiated activity</returns>
 /// <exception cref="java.lang.InstantiationException">java.lang.InstantiationException
 ///     </exception>
 /// <exception cref="System.MemberAccessException">System.MemberAccessException</exception>
 public virtual android.app.Activity newActivity <_T0>(android.content.Context context
                                                       , android.os.IBinder token, android.app.Application application, android.content.Intent
                                                       intent, android.content.pm.ActivityInfo info, java.lang.CharSequence title, android.app.Activity
                                                       parent, string id, object lastNonConfigurationInstance)
 {
     System.Type          clazz    = typeof(_T0);
     android.app.Activity activity = (android.app.Activity)System.Activator.CreateInstance
                                         (clazz);
     android.app.ActivityThread aThread = null;
     activity.attach(context, aThread, this, token, application, intent, info, title,
                     parent, id, (android.app.Activity.NonConfigurationInstances)lastNonConfigurationInstance
                     , new android.content.res.Configuration());
     return(activity);
 }
Exemplo n.º 4
0
		internal void attach(android.content.Context context, android.app.ActivityThread 
			aThread, android.app.Instrumentation instr, android.os.IBinder token, int ident, 
			android.app.Application application, android.content.Intent intent, android.content.pm.ActivityInfo
			 info, java.lang.CharSequence title, android.app.Activity parent, string id, android.app.Activity
			.NonConfigurationInstances lastNonConfigurationInstances, android.content.res.Configuration
			 config)
		{
			attachBaseContext(context);
			mFragments.attachActivity(this);
			mWindow = [email protected](this);
			mWindow.setCallback(this);
			mWindow.getLayoutInflater().setPrivateFactory(this);
			if (info.softInputMode != android.view.WindowManagerClass.LayoutParams.SOFT_INPUT_STATE_UNSPECIFIED)
			{
				mWindow.setSoftInputMode(info.softInputMode);
			}
			if (info.uiOptions != 0)
			{
				mWindow.setUiOptions(info.uiOptions);
			}
			mUiThread = java.lang.Thread.currentThread();
			mMainThread = aThread;
			mInstrumentation = instr;
			mToken = token;
			mIdent = ident;
			mApplication = application;
			mIntent = intent;
			mComponent = intent.getComponent();
			mActivityInfo = info;
			mTitle = title;
			mParent = parent;
			mEmbeddedID = id;
			mLastNonConfigurationInstances = lastNonConfigurationInstances;
			mWindow.setWindowManager(null, mToken, mComponent.flattenToString(), (info.flags 
				& android.content.pm.ActivityInfo.FLAG_HARDWARE_ACCELERATED) != 0);
			if (mParent != null)
			{
				mWindow.setContainer(mParent.getWindow());
			}
			mWindowManager = mWindow.getWindowManager();
			mCurrentConfig = config;
		}
Exemplo n.º 5
0
 public static android.app.SearchableInfo getActivityMetaData(android.content.Context
                                                              context, android.content.pm.ActivityInfo activityInfo)
 {
     throw new System.NotImplementedException();
 }
Exemplo n.º 6
0
 public ActivityInfo(android.content.pm.ActivityInfo arg0)  : base(global::MonoJavaBridge.JNIEnv.ThreadEnv)
 {
     global::MonoJavaBridge.JNIEnv         @__env = global::MonoJavaBridge.JNIEnv.ThreadEnv;
     global::MonoJavaBridge.JniLocalHandle handle = @__env.NewObject(android.content.pm.ActivityInfo.staticClass, global::android.content.pm.ActivityInfo._ActivityInfo1842, global::MonoJavaBridge.JavaBridge.ConvertToValue(arg0));
     Init(@__env, handle);
 }
 public abstract void scheduleLaunchActivity(android.content.Intent arg1, android.os.IBinder
                                             arg2, int arg3, android.content.pm.ActivityInfo arg4, android.content.res.Configuration
                                             arg5, android.content.res.CompatibilityInfo arg6, android.os.Bundle arg7, java.util.List
                                             <android.app.ResultInfo> arg8, java.util.List <android.content.Intent> arg9, bool
                                             arg10, bool arg11, string arg12, android.os.ParcelFileDescriptor arg13, bool arg14
                                             );
 public virtual void scheduleReceiver(android.content.Intent intent, android.content.pm.ActivityInfo
                                      info, android.content.res.CompatibilityInfo compatInfo, int resultCode, string
                                      resultData, android.os.Bundle map, bool sync)
 {
     throw new System.NotImplementedException();
 }
 public abstract void scheduleReceiver(android.content.Intent arg1, android.content.pm.ActivityInfo
                                       arg2, android.content.res.CompatibilityInfo arg3, int arg4, string arg5, android.os.Bundle
                                       arg6, bool arg7);