This needs to be added to every page (in the .cs code behind) for every page you want to enable shake detection in Xamarin Forms, if you are using a MasterDetaail navigation hierarchy then you can get away with adding this the MainPage.xaml.cs to cover all the navigated to pages too.
Amend to suit but the example below would navigate to a fictional ‘Support’ Page when the device is shaken, requires the Xamarin Essentials package;
Andy Flisher, the founder of Xyroh, is a mobile app developer, specialising in cross platform mobile apps, iphone apps, android apps, as well as web applications and desktop software for business clients across the North East – feel free to contact him to engage his services
Version 1.7 of our ‘Worst’ Server Monitor is now available, includes support for multiple Status Cake accounts – hit the link to our community boards for release notes and App Store Links, you can also shape the future by suggesting your own ideas and commenting on others – https://clients.xyroh.com…
But Android apps, so far as I can tell, are basically the plan for Chrome. Certainly, Linux environment support is great for enthusiasts and developers, but there are very few commonly-used commercial applications available on Linux, with no sign that will change in the near future.
A comment not so much about Chrome OS, but it’s lack of good tablet optimised applications mirrors that of Android as a whole. The Arcus project I lead for Askaris runs primarily on Android powered tablets, but outside of the Atex rated specialised devices sourcing consistent hardware is a struggle, less and less good Android tablets available, and Chrome OS has probably hindered that, not helped it.
A chicken and an egg, no devices, so no users, so no demand, so no apps. Apple at least has the cash and incentive to have jumped into that cycle and invested / motivated. Outside of Samsung and Google (who keep making poor decisions!) who can do that for Android / Chrome OS?