1. rleiman

    Android Question Intent Based Camera - Taking photo with confirm screen

    Greetings, I'm experimenting with the intent based camera by Erel and would like to alter this code in TakePicture so the confirmation screen with "Ok" and "Retry" is not displayed so execution goes directly to ion_Event. Truly, Emad Sub TakePicture Dim i As Intent...
  2. S

    B4A Class Camera Intent, Picture and Video

    Hello, This is a class (clsCameraIntent) inspired by this thread. It adds Video support. One line of code in your activity to call the camera intent One Callback sub in your activity to get the dirame and filename of the picture/video taken/recorded Demo Project with class in zip attached SpSp
  3. walterf25

    Java Question onActivityResults Help

    Hello everyone, i'm currently trying to wrap a library for a POS system, the device has a built in app which makes it really easy to do all the Transactions between customer and banks, the app is called using a number of intents, they have provided a Class which defines all the actions and extra...
  4. peacemaker

    Android Question {SOLVED} Get file's MimeType from received Intent ?

    (Intent) Intent { act=android.intent.action.SEND typ=image/* flg=0x1b088001 cmp=peacemaker.elchecks/.main clip={image/* U:content://0@media/external/images/media/12645} (has extras) } Such Intent's GetData is null. But Extras: Bundle[{more_actions_quick_connect=1, from-myfiles=true...
  5. A

    Android Question Share image throw FileProvider class

    Hello, I tried to use Erel's new class ( to share an image. I tried to share an image by the example of sharing a file, but the app crashed... Does anybody have an example of sharing an image(only) using...
  6. Lowegaterecords

    Android Question Problems with FileProvider and intent.

    Hi I'm having problems with the FileProvider, I can not open pdf files with an external app. I use an intent to view other apps, but no apps appear in the selection panel, a message appears saying (that the app for this intent has either been blocked or not installed) but outside of my app in...
  7. C

    Android Question Saving a Picture to the Gallery

    I'm using the following code to save an image to the gallery. Dim Out AsOutputStream Dim Out As OutputStream Out = File.OpenOutput(File.DirInternal, "PI.jpg", False) bmp.WriteToStream(Out, 100, "JPEG") Out.Close If...
  8. Derek Johnson

    Android Question [Solved] Intent to show Google App Voice Settings and Download Languages

    I'm working with Voice Recognition and I would like to show the Voice Settings to the user. I know this can be done but I can't figure out the exact intent required. This is the screen that I want to show: Could someone tell me what the Intent would be to show this screen and also the...
  9. Cain Soft

    Android Question How can I open the call log (with intent)

    Hi All, I tried this: Dim i As Intent i.Initialize(i.ACTION_VIEW, "content://call_log/calls") StartActivity(i) this code opens the phone app but not in the call log tab.
  10. Yunus ÖZ

    Android Question Intent camera problem

    Hi, This is my code which is running when i click to button Dim obj4Url As Object If ph.SdkVersion < 24 Then Dim uri As Uri uri.Parse("file://" & File.Combine(imageFolder, "iv1.jpg")) obj4Url = uri Else Dim FileProvider As JavaObject Dim context As...
  11. M

    Android Question Trigger event when clicked on the "cancel" of an Intent view

    I was trying this code to open a package in playstore: Dim fURI As String fURI = "market://details?id=com.b4a.example" Dim Market As Intent Market.Initialize(Market.ACTION_VIEW,fURI) StartActivity(Market) However, it gives an option to any of the two android marketplaces...
  12. C

    Android Question Android Device with Built In Scanner

    I have a Android device with a built in barcode scanner, not a camera. In the documentation it mentions about using AIDL files. Am I able to use these in B4A to operate the scanner. Failing that I saw text relating to intents. Is the barcode scanner automatically broadcasting using an Intent...
  13. carlos7000

    Spanish Correr otras aplicaciones (Solucionado)

    Hola a todos. Estoy tratando de ejecutar una aplicacion cada cierto tiempo. Desafortanadamente no sé que hice el código fuente de dicha aplicación, lo que me impide agregarle un 'servicio'. Por lo que he creado un servicio, para llamar a dicha aplicacion cada 5 minutos. El código que estoy...
  14. J

    Android Question Activity.Finish: What does it mean?

    Good evening unfortunately, the Docs for Activity.Finish is very sparse: Therefore my question to understand and prevent Bugs in my App: Does Activity.Finish just cleans up internal B4A resources or does it handle e.g. necessary...
  15. Amanda Sura

    Android Question Open External Applications

    I was wondering how I can open applications such as whatsapp, facebook, and other applications. I know that with intent I can do this, but I do not know how to get the intent of each application.
  16. Multiverse app

    Android Question Change the default device assist app

    After downloading Cortana, it lets you set as the default device assist app. The app does that by firing up the specific settings page via intent. So, what is the specific intent for doing so? I have asked the same question to many forums, but I got the same answer- It is not possible... Turns...
  17. Rockefeller Goldman

    Android Question Native Camera Intent

    Hi, Wondering if anyone knows if it is possible to send Intent to the Native Camera to Auto-Snap Picture and then Exit Thank you guys in advance
  18. alimanam3386

    Android Question New instance of an activity

    Hi guys , How can I create new instance of an activity ? I want to create new activity of act2 and again when I clicked the activity again new instance of this activity create. its my code but it not works Sub Activity_Click Dim Intent1 As Intent Intent1.Initialize("", "")...
  19. Multiverse app

    Android Question Default Device assistance app

    Sadly, now we can no more map our apps to Long press home button Event. But, There is a settings page where it is possible to change the default device assistance app: Is it any way possible to launch the settings page (via intent) to make the user change the setting?
  20. peacemaker

    Android Question Intent based camera in Android 4.x and 7.x for OCR

    HI, All For OCR the picture with a text must be prepared in correct orientation (without option\setting of the picture orientation, let it be so). And photo of the max possible resolution. If to use the intent based camera and get the photo for OCR - it's very different result under Android...