B4A Question Active Intent Volume Control - mohammad be (first post)    Oct 5, 2020 .b4x.com/android/forum/pages/results/?query=Intent+Volume+
Hello
I did not notice anything in this post...
see this:
https://www.b4x.com/android/forum/threads/when-you-press-the-volume-down-button-or-increase-the-volume-this-executes-an-event-in-a-service.110471/#post-689421
https://www.b4x.com/android... B4A Question Intercept volume button press? - Cothek    Apr 9, 2013 service and add the manifest lines from the link as well as the starting intent but pressing the volume...I currently have an alarm that plays at a given time and would like to be able to cancel the alarm by pressing either of the volume keys. This would allow the user to silence the alarm if... B4A Tutorial Intent Filters - Intercepting SMS messages in the background - Erel    Jan 13, 2023   (14 reactions) SmsInterceptor objects from the Phone library also use dynamic registration to listen for common intents... is that dynamic receivers listen to intents as long as the process is running. Static receivers... killed. This means that you cannot rely on dynamic receivers to intercept intents when your... type of intents then you may prefer to use a static receiver. Note that some intents can only... intents to the service. For example when you call StartServiceAt, it is the receiver that actually... 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 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 Question Volume Change .. Service starts twice and how do I disable - mangojack    Aug 11, 2013 Hi .. I have included the following lines in the manifest to start a service on each volume change .. AddReceiverText(VLService, <intent-filter> <action android:name="android.media.VOLUME_CHANGED_ACTION" /> </intent-filter>) From logs it appears the service starts twice on each single volume button press , is this a problem ? also ..apart from installing... on future volume changes. Thanks Cheers mj... B4A Question when you press the volume down button or increase the volume, this executes an event in a service - DonManfred (first post)    Oct 14, 2019   (3 reactions) .MyReceiver" >
<intent-filter>
<action android:name="android.media.VOLUME_CHANGED_ACTION" />
</intent-filter>
</receiver>
Or a broadcastreceiver... context, Intent intent) {
if (intent.getAction().equals("android.media.VOLUME_CHANGED_ACTION")) {
Log.d("Music Stream", "has changed");
}
}
}... 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 multiple images selected via Gallery app's share menu. I also added intent filters (below) to my.... 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... B4A Question waking the phone from volume buttons - aeropic    Nov 14, 2013   (1 reaction) .ExtrasToString
Log(mystring)
Dim volume As Int = startingIntent.GetExtra("android.media.EXTRA_VOLUME_STREAM_VALUE")
Dim volume_prec As Int = startingIntent.GetExtra("android... is unlocked, the background service catches the intent and performs the correct action when volume...Hi All,
I would want to be able to access to the physical volume buttons from a locked device... B4A Code Snippet Get Free USB mass storage space - Blueforcer    Apr 19, 2024   (6 reactions) .READ_EXTERNAL_STORAGE) AddReceiverText(USBService, <intent-filter> <action android:name="android.intent.action.MEDIA_MOUNTED" /> <data android:scheme="file"/> </intent-filter>) Sub Service_Start (StartingIntent As Intent) If(StartingIntent.Action = "android.intent.action.MEDIA_MOUNTED") Then Log("Media mounted:") Dim jo As JavaObject = StartingIntent Dim StorageVolume As JavaObject = jo.RunMethod... Page: 1   2   3   4   5   6   7   |