Ejemplo n.º 1
0
        public static void Launch(Activity act, SearchUrlTask task, ActivityLaunchMode launchMode)
        {
            Intent i = new Intent(act, typeof(ShareUrlResults));

            task.ToIntent(i);
            launchMode.Launch(act, i);
        }
Ejemplo n.º 2
0
        public static void Launch(Activity act, PwGroup g, AppTask appTask, ActivityLaunchMode launchMode)
        {
            Intent i = new Intent(act, typeof(GroupActivity));

            if (g != null)
            {
                i.PutExtra(KeyEntry, g.Uuid.ToHexString());
            }
            appTask.ToIntent(i);

            launchMode.Launch(act, i);
        }