I was just going over this tutorial: https://developer.xamarin.com/guides/cross-platform/application_fundamentals/notifications/android/remote_notifications_in_android/ and notice it uses an Android Intent to generate a token using GCM. As per my basic understanding, an Intent is a thread started to do an activity. My question is, why do I need to do it in an Intent? Can't I just use a button "generate token" to get my token and send it to the server?
Thank you in advance.