Questions tagged [vb4android]
33 questions
3
votes
0 answers
Generate desugared library for B4A
I'm making an Android library for B4A framework.
Here's the situation:
My Android library uses Java8 features (such as Lambda)
B4A (Basic4Android) uses legacy dex (instead of d8) to make the apps and thus, incompatible with java8 and will not…

Mahdi-Malv
- 16,677
- 10
- 70
- 117
3
votes
0 answers
java.lang.SecurityException: Permission Denial: opening provider androidx.core.content.FileProvider
So I've been making these 2 apps and I want app 1 to be able to send pdf files to app 2. They're both signed with different keys as app 1 should be usable by any other apps as well.
The way I want it to work is as follows. App 2 sends a…

Michael
- 31
- 4
3
votes
0 answers
Get element in Instagram login page
I cannot get element by id of instagram login page.(in Android)
This is my code, please see
Sub EditText1_TextChanged (Old As String, NEW As String)
WebViewExtras1.executeJavascript(webview1,"document.getelementsByid('id_username')[0].value…

hshshs sghssg
- 31
- 2
3
votes
0 answers
How to use android .aar in basic for android (b4a)
I tried wrapping class.jar and adding res folder and manifest file to my b4a project. But, unfortunately, b4a can not find declared services and receivers in the manifest file. What is the proper way to make a wrapper for arr files?

speed demon
- 31
- 2
2
votes
1 answer
How to solve "object converted to string" error in B4A
Sub Process_Globals
'These global variables will be declared once when the application starts.
'These variables can be accessed from all modules.
Type DBResult (Tag As Object, **Columns As Map**, Rows As List)
Type DBCommand (Name As String,…

Kavindu Senevirathne
- 45
- 7
1
vote
1 answer
Admob Test Ads In The Emulator
I followed the tutorial and put the admob code into a test app and everything seemed to work and I saw the test ads displayed on the screen. I'm not sure why test ads instead of real appeared on the screen, but the code seemed to be working. When I…

user988750
- 21
- 1
- 3
1
vote
1 answer
How can i post data using this code below and also tell user to wait while sending message
Iam currently using b4a for android
here is the error which comes
enter code here
',' expected.`enter code here`
enter code here
Dim j As HttpJob
j.Initialize("", Me)
…

makumbi sulaiman
- 31
- 2
1
vote
0 answers
basic for android - Equivalent of Span classes in b4a
I want to set part of my textview to be clickable with basic for android. how can I do that?
Documents are low. I am new in b4a and I can not handle myself in it yet

faeze saghafi
- 650
- 10
- 25
1
vote
1 answer
Android TTS in-text controls? Are they available or any equivalent technique?
I am trying to port a TTS app that utilizes in-text control tags from desktop/web/iOS to Android. The app makes a text file consisting of the text to be spoken and silent periods between the spoken words. Silent periods are represented with in-text…

Gina Kalani
- 128
- 1
- 9
1
vote
0 answers
Basic4Android Send SMS By Dual Sim Card
I Used B4A And Convert Java Code On This Topic
Sending message automatically in Dual Sim
To B4a Code But This Code Just Sending SMS On SimCard 1 And When Use Simcard 2 ID Still Sending By Simcard 1
Can AnyOne Know The Problem?
Regards
Sub Globals
…

pertican2010
- 11
- 3
1
vote
2 answers
Write/Read then Save text file Basic4Android
I'm creating an application on Basic4android that collects GPS coordinates and equipment deficiencies in a dropdown list (Spinner). The GPS coordinates consists of latitude and longitude shows up on a label field when GPS is ON and the deficiencies…

user2712056
- 13
- 1
- 4
0
votes
1 answer
Can't get phone contacts (B4A)
I need to get the phone number of a contact by name; I'm using B4A (B4XPages).
So I tried ContactUtils and wmContactUtils libs, and also by content resolver, with the official sample of coded; I did not get any error or exception, but I did not get…

user18107302
- 13
- 4
0
votes
1 answer
Play 2 different frequencies one Left and one Right
I am using Basic4Android (B4A).
I created a sub that plays 2 different frequencies,
Let's call them FreqLeft and FreqRight.
Both of them is playing in one channel (Mono).
I want to play FreqLeft in the Left Channel (Left Ear Audio Speaker)
and…

Hedi
- 21
- 5
0
votes
1 answer
Closing services when working with WebView
In my app, I have a service that runs in the background and sends a text every 5 seconds to the server
(basic 4 android)
And if I delete the app from the background of the phone, it runs again
So far there is no problem
But when I add a webview to…
0
votes
1 answer
vb4android Alternative for Mac OS X
Is there any alternative to vb4android for Mac OS X?

Nathan Campos
- 28,769
- 59
- 194
- 300