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.
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...
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...
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...
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...
Good evening
unfortunately, the Docs https://www.b4x.com/android/help/views.html#activity_finish
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...
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.
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...
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("", "")...
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?
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.