francoisg Active Member Licensed User Longtime User Jun 21, 2011 #1 Hi, maybe I'm just being dumb but how does "Intent" work? I got sample code but it won't compile (Unknown type: intent) - what libs do I need to include for this class??? Please see the code below: Sub ShowWifiSettings Dim i As Intent i.Initialize( "android.settings.WIFI_SETTINGS", "") i.Flags = 268435456 StartActivity(i) End Sub Regards, M. le Roux
Hi, maybe I'm just being dumb but how does "Intent" work? I got sample code but it won't compile (Unknown type: intent) - what libs do I need to include for this class??? Please see the code below: Sub ShowWifiSettings Dim i As Intent i.Initialize( "android.settings.WIFI_SETTINGS", "") i.Flags = 268435456 StartActivity(i) End Sub Regards, M. le Roux
Erel B4X founder Staff member Licensed User Longtime User Jun 21, 2011 #2 You need to reference the Phone library. Note that you can search for http://www.b4x.com/search?query=Intent The first link will be the link to the library documentation and there you can see that it belongs to the Phone library. Upvote 0
You need to reference the Phone library. Note that you can search for http://www.b4x.com/search?query=Intent The first link will be the link to the library documentation and there you can see that it belongs to the Phone library.
francoisg Active Member Licensed User Longtime User Jun 21, 2011 #3 Thank you for the quick reply - problem solved :sign0098: Upvote 0