B4A Question Can Activity.GetStartingIntent be reset or cleared? - Gregg Homan    
Feb 19, 2014   
(1 reaction) Activity.GetStartingIntent do not keep returning the same intent.
Q1) Can anyone suggest a way to...
Intent1 = Activity.GetStartingIntent
If Intent1.HasExtra("android.intent.extra.STREAM...Hello,
I use the code (below) within Activity_Create to process starting intents stemming from...
link: Thanks a lot!...
link: Make Intent1 a process global variable. Now add this check:
If Activity.GetStartingIntent...
B4A Question Reset Activity.GetStartingIntent.Action - bluedude    
Nov 28, 2014Hi,
On Kitkat my code to reset GetStartingIntent works but on Android 4.3 it does not work:
Activity.GetStartingIntent.Action = ""
Any suggestions to reset the intent and clear...
link: (Activity killing feature). That means it creates the same action.VIEW over and over again....
link: And that is the best way to also check on a specific action like intentExternal.ACTION_VIEW ?...
link: ).
So GlobalIntent is a process global intent?...
B4A Question Activity.GetStartingIntent - SetActivityResult - vb1992    
Jul 25, 2012Is there any example code for:
Activity.GetStartingIntent / SetActivityResult - makes it possible....
SetActivityResult (Result As Int, Data As Intent)
(Advanced) Sets the result that the calling Activity will get after calling StartActivityForResult....
link: interesting thanks....
link: GetStartingIntent is useful to find which intent caused your activity to start. There are some...
B4A Tutorial Receiving shared images from other apps - Erel    
Jun 26, 2017   
(19 reactions)   
tags: Receiving, shared, images Activity_Resume
If IsRelevantIntent(Activity.GetStartingIntent) Then
Dim in As JavaObject = Activity.GetStartingIntent
Dim uri As String = in.RunMethod("getParcelableExtra", Array... the starting intent in Activity_Resume and see whether it is a sharing intent. If so then we extract...:
AddActivityText(Main,
<intent-filter>
<action android:name="android.intent.action.SEND...
link: .GetStartingIntent) Then
Dim in As JavaObject = Activity.GetStartingIntent
Dim uri As String...
B4A Class [class][B4X] Google OAuth2 - Erel    
Oct 29, 2025   
(44 reactions)   
tags: wait, Google
oauth2.CallFromResume(Activity.GetStartingIntent)
End Sub
B4i code:
Sub Application_OpenUrl (Url.... B4A:
Add to the manifest editor:
AddActivityText(Main,
<intent-filter>
<action android:name... of several tasks:
1. Opening the browser and getting the authorization code.
2. Getting and saving the access token and refresh token from the authorization code.
3. Getting a new access token when...
For the Android client you need to get the SHA-1 signature. It is available under Tools - Private...
B4A Question Bug with Activity.GetStartingIntent? - Erel (first post)    
Apr 5, 2013It is better to use the default task modes. You can manually close the other activities if needed....
link: activity fits in the B4a framework but somehow the onNewIntent event is not firing or it is and its...
link: This is not a bug in Basic4android as Basic4android does set the intent when a new intent...
link: and finish all other activities on the stack. So singletask launch mode in combination with Intent...
B4A Question Activity.getstartingintent problem - paragkini (first post)    
Jun 8, 2012 that starting intent. By default it is taking intent.
What my application is expected to do.... I have attached a screen shot of values that I am getting in Extras.
2. Values I expect are (in extra...
link: It is not TEXT and SUBJECT. It is: "android.intent.extra.TEXT" and "android.intent...
link: . You should always check the GetStartingIntent in ActivityResume and then decide what started your...
link: It worked.
Thanks Erel. It was pretty simple. Working on the getstartingintent to find out which...
B4A Question GetStartingIntent can get mType? - scsjc    
Jul 24, 2018some one, know how get a mtype inside: Activity.GetStartingIntent ?
70326...
B4A Question How to refer to Activity in B4A 's library - Olaan    
Jul 5, 2025.
Public Sub CheckForReceivedFiles As LoadResult
Dim Activity As Activity = B4XPages.GetNativeParent(B4XPages.MainPage)
If IsRelevantIntent(Activity.GetStartingIntent) Then
Dim in As Intent = Activity.GetStartingIntent
Dim uri As String
If in.HasExtra("android.intent.extra.STREAM") Then
uri = in.As(JavaObject).RunMethod("getParcelableExtra", Array("android.intent.extra.STREAM"))
Else
uri = in.GetData...
B4A Library GSheet Library (integrate google sheets into your B4X apps easily) - fernando1987    
Mar 25, 2026   
(17 reactions).GetStartingIntent)
End Sub
Advantages:
It is not linked to paying an external api
the google sheet api...:
Sub GetSheet
table1.ClearAll
Dim j As HttpJob
j.Initialize("", Me)
j.Download....Success Then
Dim parser As JSONParser
parser.Initialize(j.GetString.Trim)
Dim root As Map = parser.NextObject
'Dim majorDimension As String = root.Get("majorDimension")
Dim values As List = root.Get("values")
For Each...
Page: 1  
2  
3  
4  
5  
6  
7