Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Can I call method from MainActivity by using a caller nested in MainPage.xaml

$
0
0
Am trying to access a method which uses android dependencies to check if my device supports bluetooth, so I have a button called Check in my MainPage.xaml, how can I call this method from MainPage.xaml?

Putting the code In MainPage.xaml.cs throws errors because the file doens't have dependencies for Android

Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>