B4A Tutorial Intent Filters - Intercepting SMS messages in the background - Erel    
Jan 13, 2023   
(14 reactions) an intent filter in the manifest file. See this link for more information about intent filters.
For...)
AddReceiverText(s1,
<intent-filter>
<action android:name="android.provider.Telephony...
link: is it possible to block the number of sending (only 1 sms) same correspondent or same number phone ?...
link: is it possible to block the number of sending (only 1 sms) same correspondent or same number phone ...
link: Please start a new thread for this in the questions forum....
Java Question Example of #Extends in Service - Erel    
Mar 13, 2018   
(7 reactions) adds the intent filter and permission to the B4A service....
B4A Question Reading Intent Filters Extra - Nerdworld    
Aug 9, 2014 information from the starting intent.
Manifest:
AddActivityText(Main,
<intent-filter>
<action android:name="android.intent.action.SEND" />
<category android:name="android...-filter>)
Code & Output:
' Code
Log(Activity.GetStartingIntent.ExtrasToString)
'...
link: Works like a charm - thank you! :)...
link: Try this:
Dim in As JavaObject = Activity.GetStartingIntent
Log(in.RunMethod...
B4A Tutorial Sharing files from your app with File Provider - Erel    
Oct 3, 2018   
(17 reactions) FileProvider from Android support library.
The steps required are:
1. Add an intent filter that will tell... of the activity.
AddActivityText(FilePicker,
<intent-filter>
<action android:name="android..." />
<data android:mimeType="image/*" />
</intent-filter>
<intent-filter>
<action android:name="android.intent.action.GET_CONTENT" />
<category...
</intent-filter>
)
3. When the relevant activity is resumed it needs to check the starting...
B4A Library Facebook - Extends FirebaseAuth to support Facebook - Erel    
Nov 7, 2022   
(25 reactions).CurrentAccessTokenExpirationBroadcastReceiver"
android:exported="false" >
<intent-filter....ACTION_CURRENT_ACCESS_TOKEN_CHANGED" />
</intent-filter>
</receiver>
<receiver....ACTION_CURRENT_AUTHENTICATION_TOKEN_CHANGED" />
</intent-filter>
</receiver>...
>
<intent-filter>
<action android:name="android....AuthenticationTokenManager$CurrentAuthenticationTokenChangedBroadcastReceiver"
android:exported="false" >
<intent...
B4A Tutorial Receivers and Services in 2023+ - Erel    
Jul 28, 2024   
(32 reactions).RECEIVE_BOOT_COMPLETED)
AddReceiverText(MyReceiver, <intent-filter>
<action android:name="android.intent.action.BOOT_COMPLETED"/>
</intent-filter>)
A few use cases for receivers... static Broadcast Receiver. Receivers "listen" to intents and are started when a relevant intent is received.
The default code is:
Sub Process_Globals
End Sub
'Called when an intent... this method.
Private Sub Receiver_Receive (FirstTime As Boolean, StartingIntent As Intent)
End Sub...
B4A Class [class][B4X] Google OAuth2 - Erel    
Oct 29, 2025   
(44 reactions). B4A:
Add to the manifest editor:
AddActivityText(Main,
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="$PACKAGE$" />
</intent-filter>
)
B4i:
Change...
oauth2.CallFromResume(Activity.GetStartingIntent)
End Sub
B4i code:
Sub Application_OpenUrl (Url...
B4A Question Intent Filters - Adding my app as a dial option. - SOLVED - Jaco vd Walt    
Jun 3, 2020Hi all, hopefully someone can point me in the right direction. I "think" I understand intents and BRs, however what I am trying to achieve is when a user clicks a phone number link in chrome, I want my app to appear as a possible dialer. At this stage no matter what I do, it goes straight...
link: . But it works.
AddActivityText(Main,
<intent-filter>
<action android:name...
link: Just an update, I have no problem in registering the app as shared content receiver, by using the post https://www.b4x.com/android/fo...
B4A Question Google play warning for intent filter to have android:exported="true - Juzer Hussain (first post)    
Mar 31, 2025 for starter_BR.
This way android:exported="true" is added to the already defined intent...
link: The correct syntax is:
AddManifestText(anything you like
to add. It can span multiple lines
...
..
)
No CRLF and no &....
link: android:exported="true" is not added for all intent filters.for this i am trying to add...
B4A Question Manifest's intent-filter for MimeType "text/*" - peacemaker    
Feb 5, 2019-filter>
<action android:name="android.intent.action.SEND" />
<category... />
</intent-filter>)
PDF, MS Office, images are almost OK (some *.doc? and *.xls? not always...
link: " !
Intent filter how is OK, but...
AddActivityText(Main,
<intent-filter>
<action...
link: help also:
AddActivityText(Main,
<intent-filter>
<action android:name="android...
link: try "text/rtf"
No help. And "text/*" covers it as "plain".
Should... :...
Page: 1  
2  
3  
4