Thanks for the suggestion, I will keep that as an option. Though, I would
like to try the other way, replacing the home activity, and so far, I
believe I managed. I found this link:
http://www.mail-archive.com/monodroid@lists.ximian.com/msg03976.html

seems like someone else bumped into this. So I have my main app, and I want
to invoke another app using an intent.

I'm doing it like this:

            Intent intentFMobile = new Intent( Intent.ActionMain );

            intentFMobile.SetClassName( "Frotcom.FMobile",
"fmobile.HomeActivity" );
            StartActivity( intentFMobile );

Though, this is not working. Don't know what I'm missing here... logcat
tells me it's a permission thing... but hmm...

I/ActivityThread( 2049): Pub FLauncher.FLauncher.__mono_init__:
mono.MonoRuntimeProvider
D/dalvikvm( 2049): Trying to load lib
/data/data/FLauncher.FLauncher/lib/libmonodroid.so 0x4051f278
D/dalvikvm( 2049): Added shared lib
/data/data/FLauncher.FLauncher/lib/libmonodroid.so 0x4051f278
I/monodroid-gc( 2049): environment supports jni NewWeakGlobalRef
*I/ActivityManager(  201): Starting: Intent {
act=android.intent.action.MAIN cmp=Frotcom.FMobile/fmobile.HomeActivity }
from pid 2049*
W/ActivityManager(  201): *Permission denied*: checkComponentPermission()
reqUid=10068
W/ActivityManager(  201): Permission Denial: starting Intent {
act=android.intent.action.MAIN cmp=Frotcom.FMobile/fmobile.HomeActivity }
from ProcessRecord{408f9420 2049:FLauncher.FLauncher/10071} (pid=2049,
uid=10071) requires null
I/MonoDroid( 2049): UNHANDLED EXCEPTION: Java.Lang.Exception: Exception of
type 'Java.Lang.Exception' was thrown.
E/mono    ( 2049):
E/mono    ( 2049): Unhandled Exception: Java.Lang.Exception: Exception of
type 'Java.Lang.Exception' was thrown.
I/ActivityManager(  201): Process FLauncher.FLauncher (pid 2049) has died.

Any help?


On 28 March 2012 15:10, Roy Goode <r...@roygoode.com> wrote:

> I can offer this is as a suggestion:  http://www.soti.net/mobicontrol/
>
> On 28 March 2012 09:04, Goncalo Oliveira <gonc...@minkan.net> wrote:
>
>> Nothing?
>>
>>
>> On 27 March 2012 14:54, Goncalo Oliveira <gonc...@minkan.net> wrote:
>>
>>> Hello there,
>>>
>>> I'm trying to find some information on how to (and if possible) replace
>>> the home activity. We have a request to lock users within our app, and for
>>> that, I could only see two options; 1. Some sort of parental control (like
>>> Android Parental Control app) 2. Fully replace home activity.
>>>
>>> According to Google docs it should be possible, but I was wondering if
>>> anyone can throw me a few hints on this; the best ways to implement this;
>>> the impact - whether I can go back to the other one and if it is possible
>>> to control this...
>>>
>>> Cheers
>>>
>>>
>>> --
>>> Gonçalo Oliveira
>>>
>>
>>
>>
>> --
>> Gonçalo Oliveira
>>
>> _______________________________________________
>> Monodroid mailing list
>> Monodroid@lists.ximian.com
>>
>> UNSUBSCRIBE INFORMATION:
>> http://lists.ximian.com/mailman/listinfo/monodroid
>>
>>
>
> _______________________________________________
> Monodroid mailing list
> Monodroid@lists.ximian.com
>
> UNSUBSCRIBE INFORMATION:
> http://lists.ximian.com/mailman/listinfo/monodroid
>
>


-- 
Gonçalo Oliveira
_______________________________________________
Monodroid mailing list
Monodroid@lists.ximian.com

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to