Questions tagged [vb4android]
The vb4android tag has no usage guidance.
30
questions
0
votes
0
answers
13
views
How to move imageview in B4A
How to move ImageView (added in the designer) in B4A, I google it but I can't find how to move it. imageview1.left = 100 does not works (I use main for scripting)
0
votes
0
answers
26
views
java.lang.NoClassDefFoundError: com.jeremyfeinstein.slidingmenu.lib.R$styleable
I am in my b4a project from the library sliding menu wrappe I used it and it was good until sdk I updated and it gives the following error
java.lang.NoClassDefFoundError: com.jeremyfeinstein....
0
votes
0
answers
120
views
B4A : ContentResolver error "Invalid token limit"
From Android 11, LIMIT and OFFSET should be retrieved using Bundle by
public Cursor query (Uri uri,String[] projection,Bundle queryArgs,CancellationSignal cancellationSignal)
I found it In bellow ...
3
votes
0
answers
107
views
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 ...
0
votes
0
answers
67
views
(B4A)java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (RadioButton)
Hello I've been getting this error in B4A when I compile in debug mode. I do not quite understand why this is occurring. I have tried to dim my radio buttons but the error still occurs.
#Region ...
1
vote
0
answers
661
views
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 ...
0
votes
1
answer
40
views
B4A - (Beginner) Can't run beacuse of an unknown error
Just installed B4A as it's shown on the official website and i still can't build & run an example project (Hello world).
I installed the app on my cellphone too and successfully connected to it, ...
1
vote
1
answer
124
views
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 ...
1
vote
1
answer
31
views
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)
j....
0
votes
0
answers
272
views
B4A How to popup a message box on top of non-related apps
I need to run a service that notifies an android phone user with a button/messagebox that there is a message waiting for them in a background app. I have a scheduler program that does this very thing....
0
votes
0
answers
426
views
Android kill all my app services after some time
I'm writing an android app on B4A (not an android studio) because I better know that language.
But I think the problem is related to the OS.
In my app, I have a service called "Tracker" that tracks ...
-1
votes
1
answer
53
views
Variable passed to SQL statement returns nothing, no errors though
I'm passing a variable to an SQL query.
Dim accept As String
accept = Cursor1.GetString("accepted_id")
Msgbox(accept, "")
Cursor1 = SQL1.ExecQuery("SELECT answer FROM answers WHERE ...
3
votes
0
answers
91
views
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,"...
0
votes
1
answer
825
views
B4A Application cannot running well
I asked by someone to continue developing a mobile application, the app use b4a, my J-D-K version is 1.8, the database is p-o-s-t-g-r-e-S-Q-L, server is l-o-c-a-l-h-o-s-t on my PC, and my device to ...
0
votes
1
answer
343
views
Convert B4A layout to XML version
Is there anyway to convert B4A designed layouts (.bal) to XML version? I am making layouts in B4A designing tool but i want to have 'em in XML too.
1
vote
0
answers
90
views
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
1
vote
1
answer
1k
views
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 ...
0
votes
0
answers
362
views
b4a custom view stay empty space
i use native ads inside customListView module in my b4a project.
when for any reason ads not loaded the space for ads stay empty.
how can i fill the empty space ?
this my code :
Sub ...
0
votes
1
answer
1k
views
Uploaded image file Android using B4A not working - corrupted
Using B4A (B4X), I upload a file from my Android emulator to my IIS (localhost) web server on my PC (the file being uploaded is .jpg format). Here's the upload routine:
Dim boundary As String = "----...
0
votes
1
answer
897
views
basic4android download file code
how can i add download db file code for this codes from URL ?
===================================================================
{
*Sub Activity_Create(FirstTime As Boolean)
Activity....
0
votes
1
answer
3k
views
b4a Insert Timer in a code
I am french so sorry for my english i do my best...
I try to call a sub named timer1_tick and i want it to stop my sub "b_reponse1_click". The problem is that my sub dont wait until the end of the ...
0
votes
1
answer
3k
views
b4a how to parse a json data
can you help me understand how to parse this one in b4a using jsonparse function. Please i need your help so bad.
[{"success":true,"msg":"Your transaction has been successfully Completed. Thank you ...
1
vote
0
answers
1k
views
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
...
3
votes
0
answers
833
views
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 ...
0
votes
1
answer
770
views
B4A - making and referring to a directory?
In B4A (or just Visual Basic), I've created a directory:
Files.MakeDir(Files.DirInternal, "app_data)
However, when I try and read a file I get an error stating the directory/file doesn't exist:
Files....
1
vote
2
answers
8k
views
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 ...
0
votes
1
answer
776
views
vb.net code for Android app
I am working on a BlackBerry app. This app has already been developed in Android in "Basic4Android" program. The code for the android app is written in vb.net. I need to write the exact same code for ...
0
votes
1
answer
150
views
Synthetic landscape 360 degree
Does anyone have experience about SRTM or HGT or DEM files ("DIGITAL ELEVATION DATA") with you can create a static and synthetic landscape of the type of the image :
http://www.lalpinistavirtuale.it/...
1
vote
1
answer
343
views
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 ...
0
votes
1
answer
184
views
vb4android Alternative for Mac OS X
Is there any alternative to vb4android for Mac OS X?