Questions tagged [basic4android]

Basic4android (Basic for Android) is a simple and powerful development environment for developers of Android applications

Basic4android (Basic for Android) is a simple and powerful development environment for developers of Android applications

Site: http://www.b4x.com

It's called Visual Basic for Android too.

223 questions
0
votes
1 answer

Android-support-v4 library doesn't have JobIntentService in B4A

I have a library and it depends on Android-support-v4 (The JobIntentService class). I'm going to use it in Basic4Android. There are two ways of adding supprt-v4 dependency to project: Add com.android.support:support-v4 to…
Mahdi-Malv
  • 16,677
  • 10
  • 70
  • 117
0
votes
1 answer

Manifest of library is not merged with the final manifest file

Recently I have created a library that does somethings using content providers. I made a wrapper of that for B4A. The problem is it's content providers are not invoked when the app starts (as they should). When I look at the final manifest I see…
Mahdi-Malv
  • 16,677
  • 10
  • 70
  • 117
0
votes
1 answer

Error: java.lang.IllegalArgumentException: Request must not be null

I am using B4A for calling ASMX service also used httputils2 library. I use the following code for calling service: Private httprequest As HttpJop httprequest.Initialize("Job1",…
0
votes
1 answer

get the result page . get Element b4a

I wanted to know how to get the result page of this site http://estelam.rahvar120.ir/index.jsp?siteid=1&fkeyid=&siteid=1&pageid=2371666 I'm logging in with Get Element, but I do not know how to display the next page. Please help me. I'm programming…
pourya
  • 1
0
votes
1 answer

Dynamically plot line graphs based on user input change in B4A

Is there a way to plot line graphs in B4A dynamically? What I mean is, taking inputs of two editbox where the first edit box would represent x axis value and the second edit box would represent y axis value, and with a button event the graph replots…
Gobinda Sinha
  • 99
  • 1
  • 9
0
votes
1 answer

SmsSentStatus method receives null instead of PhoneNumber

Previusly I was using PhoneSms.send method for sending one part message , and everything was fine,Now I got the following Sub for sending multpart message: Sub SendLargeSms(Destination As String, Message As String) Dim ctxt As JavaObject …
Vahid2023
  • 863
  • 3
  • 11
  • 33
0
votes
2 answers

basic4android - regex match with url

I have the following regex pattern for testing a url and it works fine with all online regex testers including b4a's original regex tester(https://b4x.com:51041/regex_ws/index.html) but not in code!! Sub Validate(Url As String)As String Dim…
0
votes
1 answer

i've got an error for B4a or Basic 4 android can someone help me to fix it PDFVIEWER

** Activity (categories) Pause, UserClosed = false ** ** Activity (books) Create, isFirst = true ** ** Activity (books) Resume ** ** Activity (books) Pause, UserClosed = false ** ** Activity (pdfviewer) Create, isFirst = true…
0
votes
1 answer

how to run another app from my app with a specified height(for example half screen)-B4A

In B4A (Basic for android) I know how to run another application from my app. this could be done using "phone" library and using intent. now my question is that how can I start the another app from my app with a customized width or height (for…
Nima
  • 21
  • 2
0
votes
1 answer

how to parse json in basic4android?

I want to parse JSON from URL to android label in basic4android . I try this but not working : Sub Activity_Create(FirstTime As Boolean) Dim Label1 As Label Dim job As HttpJob job.Initialize("Job",…
0
votes
1 answer

Basic4Android show error when compile - very simple

I just install basic4android and want to run my first application on b4a bridge, but I am getting the following error: B4A version: 5.02 Parsing code. (0.08s) Compiling code. (0.36s) Compiling layouts code. (0.03s) Generating R file. …
Inum
  • 53
  • 1
  • 7
0
votes
1 answer

B4A - webview using chrome browser

In the WebView that is based on default browser of android my website isn't loading correctly, How can I load it using chrome at least in the case that chrome is installed? Note that I don't want execute chrome browser I want to embed it inside of…
Vahid2023
  • 863
  • 3
  • 11
  • 33
0
votes
2 answers

how to use a webservice in Basic4Android?

I need to add a webservice to my b4a project .. please help me I really don't know how to do it..I've tried the https://www.b4x.com/android/forum/threads/how-call-a-web-services-in-b4a.10577/ and…
mari Mir
  • 39
  • 1
  • 7
0
votes
1 answer

replace text via database in basic4android

I wanted to set Label1's text, to Edittext's text, but I wanted to replace some characters though, but the characters were too many and I had to write multiple codes like this: Label1.text = Edittext.text.Replace("A","B") Label1.text =…
Maziar
  • 1
  • 1
0
votes
0 answers

how use .GetHeadRotation ( As Float)

I use basic4android in Google VR library. My code is: VrPanoramaView1.GetHeadRotation ( 180,90 As Float) Google documentation says says: GetHeadRotation (YawAndPitch() As Float) Provides yaw and pitch angles corresponding to where the user is …