I am trying to write an app that uses the Device Admin API.

My curretn blocking issue is that I cannot persuade mandroid to generate the
correct manifest file as specified here

http://developer.android.com/guide/topics/admin/device-admin.html

I need a receiver clause

a) when I put 

   
[BroadcastReceiver(Enabled=true,Name="monoandroidapplication3.DeviceAdminSample",
Label="lbale"
        ,Permission="android.permission.BIND_DEVICE_ADMIN")]
    [Activity(Label = "MonoAndroidApplication3", MainLauncher = true, Icon =
"@drawable/icon",Name="monoandroidapplication3.Activity1")]
    [IntentFilter(new[] { Intent.ActionView },
    Categories = new[] { Intent.CategorySampleCode, "my.custom.category" })]
    public class Activity1 : Activity

I end up with no receiver clause

b) there doesnt seem to be a way to add the meta-data sub-clause of the
receiver clause

--
View this message in context: 
http://mono-for-android.1047100.n5.nabble.com/Device-Admin-API-tp4889945p4889945.html
Sent from the Mono for Android mailing list archive at Nabble.com.
_______________________________________________
Monodroid mailing list
[email protected]

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

Reply via email to