B4A Question How to "consume" the Starting Intent - DonManfred (first post)    Aug 24, 2025 I know this solution sice years.
My search to find the "code example" was:
https://www.b4x.com/android/forum/pages/results/?query=remember+starting+intent
;-)... B4A Tutorial Intent Filters - Intercepting SMS messages in the background - Erel    Jan 13, 2023   (14 reactions) intents to the service. For example when you call StartServiceAt, it is the receiver that actually..., Body As String) End Sub Sub Service_Create End Sub Sub Service_Start(startingIntent As Intent) If startingIntent.Action = "android.provider.Telephony.SMS_RECEIVED" Then Dim messages() As Message messages = ParseSmsIntent(startingIntent) For i = 0 To messages.Length... SmsInterceptor objects from the Phone library also use dynamic registration to listen for common intents... B4i Tutorial Dummies Guide to Getting Started with B4i - Falcon    Aug 11, 2021   (41 reactions) Hi Everyone, Since I joined this forum and started with B4i many people have given their time...: For each project you create the 'Package' name MUST always start with your Domain name, e.g... an incomming connection by starting the server on it, then from the B4i IDE, goto 'Tools'... to start the App on the device during Development. Reference: https://www.b4x.com/android... first, then a particular App will not be able to start on the device. May give a message like... B4A Question Now - Android 6 ServiceStartAtExact not accurate - wes58    Mar 26, 2016 , PendingIntent operation). Erel implemented this in B4A as StartServiceAtExact. Now I have upgraded to android 6... @Override public void onReceive(Context context, Intent intent){ startWakefulService(context,new Intent(context,MyService.class)); long period = intent.getLongExtra(PERIOD,-1...With KitKat, Google changed AlarmManager such that if you wanted the Service to start at exactly...,AlarmManager alarms, long period){ Intent i = new Intent(context,PollReceiver.class); PendingIntent... B4A Question Can Activity.GetStartingIntent be reset or cleared? - Gregg Homan    Feb 19, 2014   (1 reaction) Hello, I use the code (below) within Activity_Create to process starting intents stemming from.... Everything works fine except that the code below keeps seeing the same starting intent each time... named strStartingIntent (below) to 'strong-arm' a solution, but, I am looking for a more elegant way to reset or clear 'something' within the starting intent so that successive calls to Activity.GetStartingIntent do not keep returning the same intent. Q1) Can anyone suggest a way to... B4A Tutorial [B4X] [B4XPages] Intent based camera - Erel    Jul 23, 2024   (17 reactions) This solution will not work with Android 14+. Please use the more powerful MediaChooser instead: MediaChooser - cross platform videos and images chooser B4A + B4i project that uses an intent in B4A and the Camera object in B4i to take a picture using the default camera app. The B4A code depends on JpegUtils: https://www.b4x.com/android/forum/threads/11629/#content It rotates the bitmap based on the EXIF orientation attribute. Don't miss: - Manifest code in B4A. - #PListExtra in main... B4A Code Snippet Using StartActivityForResult with JavaObject - Erel    Jun 18, 2020   (11 reactions)   tags: call external for result As String, Args() As Object) As Object 'Args(0) = resultCode 'Args(1) = intent Return Null End Sub Sub StartActivityForResult(i As Intent) Dim jo As JavaObject = GetBA ion = jo.CreateEvent...SubName: StartActivityForResult Description: This code demonstrates how JavaObject can be used to call external APIs that should be called with Context.startActivityForResult. Same implementation in...("startActivityForResult", Array As Object(ion, i)) End Sub Sub GetBA As Object Dim jo... B4A Tutorial Intent Based Camera - Erel    Sep 19, 2021   (20 reactions)   tags: Erel, camera, intent, Fotos, camera intent Newer example: Intent based camera This example uses an intent to take a picture with the default camera app. It is based on this tutorial: https://developer.android.com/training/camera/photobasics.html It is simple to use and doesn't require any permission (*). It does rely on the default camera app to work properly and save the image file in the path passed in the intent. As a fallback, if the image was not saved it tries to get the thumbnail from the intent returned. Don't... B4A Code Snippet B4x pages GetStartingIntent - Erel (first post)    Jul 21, 2020   (4 reactions) Simpler solution: Dim in As Intent = B4XPages.GetNativeParent(Me).GetStartingIntent Remember that the native parent of all pages, in B4A, is the Main activity.... B4A Code Snippet Start Local Hotspot - Erel    May 31, 2023   (15 reactions)   tags: B4A Local Hotspot Starting from Android 8 there is a public API for starting a local hotspot. Notes: - The hotspot doesn't allow internet connection. - The password and SSID are chosen randomly and cannot be changed. - Debug it with USB debug mode as it will break B4A-Bridge connection. https://www.b4x.com/basic4android/images/SS-2018-10-26_09.36.57.png Updates: - Project was updated with changes required to support Android 13 devices with targetSdkVersion >= 33. There is a new NEARBY_WIFI_DEVICES... Page: 1   2   3   4   5   6   7   |