I'm creating new app using xamarin. I have already completed some part using some sample codes. I'm able to disable back buttons, volume buttons and power button. But when trying to disable home button I'm getting error on debugging. I'm following this link,Kiosk mode in Andriod.
相关问题
- Custom controls disabled. There was an internal is
- Xamarin. The name 'authorEntry does not exist
- How to implement only emoji keyboard for Entry?
- Error:Xamarin.Forms targets have been imported mul
- Store data and global variables using the Applicat
相关文章
- Xamarin form MessagingCenter Unsubscribe is not wo
- Reload data on tab selected in a fragment using vi
- The type initializer for 'SQLite.SQLiteConnect
- What to use for AttributeName in Xamarin Mac
- How to use native C++ libraries in Mono for Androi
- Start an Activity from another Activity on Xamarin
- Xamarin build error: defining a default interface
- Xamarin Android Player Error when attempting to fi
Since you didn't post your code and your error message, we don't know what happened, I just tried to create such a sample followed the blog your posted and it works fine by my side.
Here is the service:
I started this service in the
OnCreate
ofMainActivity
: