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

How can I use Firebase on Basic4Android applications?

I try to use the new Firebase from Google.How can I use Firebase on Basic4Android applications?
0
votes
1 answer

show error when compile lib that I wrapped for basic4android

I wrapped a source github for b4a with Eclipse. I added core.jar but when I compile the project in b4a it shows this error: trouble processing "java/com/lsjwzh/widget/materialloadingprogressbar/CircleProgressBar$OvalShadow.class": Ill-advised or…
S.A.R.M
  • 11
  • 1
  • 5
0
votes
1 answer

Compiler warnings are not showing in basic4andriod ide

my log in the IDE is not working well. i cant see synthax errors, warnings etc. here is a screenshot The first circled area is a sample synthax error that is supposed to produce warnings in the log window circled to the right.
Frankofoedu
  • 365
  • 3
  • 8
0
votes
1 answer

How to place msCardView in ScrollView

I'm trying to use CardView buttons in ScrollView by this code but It doesn't work.I define a sub to place My MsCardView to ScrollView one by one. I'm new in Basic4Android and I can't understand where is the problem! I will be appreciate if you help…
0
votes
1 answer

how to update one map file using two Map objects in B4A when both Maps are still open?

how to update one map file using two Map objects in B4A when both Maps are still open? My code is : dim MapForUser1, MapForUser2 as Map
MapForUser1 = File.ReadMap(File.DirInternal, "scores.dat") MapForUser2 = File.ReadMap(File.DirInternal,…
0
votes
1 answer

How can I update a row with a Double value using B4A and Jackcess?

I am creating an MS Access database with B4A (was: basic4android) and Jackcess. Every time I try to save a Double value I get the error JavaLangNumberFormatException invalid double : "null". How can I update the Access field with a Double value…
0
votes
3 answers

iOS how calculate height of label?

in b4a we can easily calculate height of label by measure text height and StringUtils library like this : StringUtils.MeasureMultilineTextHeight but in B4i there is not such library or option for do this , so how can i load a long txt in label (…
Arman
  • 1
  • 1
  • 5
0
votes
3 answers

how to make text Moving Persian in basic4android[b4a]

Im have a problem in basic 4 andriod how to make a text in basic 4 android that moving from left to right and write a moving text??? im need help
amin
  • 1
  • 1
0
votes
2 answers

How to draw random number from array in basic4android?

I am very new to Basic4Android programming. I just want to know how to draw a random number from an array.
0
votes
2 answers

Find the size of selected image from gallery in android

I use basic4android and I want to know the size of selected image from gallery. my code is : Dim PicChooser As ContentChooser PicChooser.Initialize("PicChooser") PicChooser.Show("image/*", "Select a pic") Sub PicChooser_Result(Success…
Salar Ashgi
  • 128
  • 2
  • 13
0
votes
1 answer

Compress image in android (b4a)

I'm using this java code to compress an image in basic4android! However, nothing works! #if java import android.graphics.Bitmap; import java.io.*; import android.os.Environment; public void Resize(Bitmap mPhoto) { try { …
Salar Ashgi
  • 128
  • 2
  • 13
0
votes
1 answer

Error in getting all contacts

i work basic4android and i want to run a java code with JavaObject in it. i want to get all contacts. my java code is : #if java import android.content.*; import android.database.Cursor; import android.provider.ContactsContract; public String…
Salar Ashgi
  • 128
  • 2
  • 13
0
votes
1 answer

How to replace b4a pop-up animation when starting Activities

In basic4android, when an Activity starts, it pops out from the corner of the screen on my phone. I tried creating XML files for animations between Activities, but still Activities start with my animation along that annoying pop up animation. I want…
0
votes
1 answer

Does anyone know the code for generating a barcode scanner in B4a

I'm trying to create an android app using B4A which holds a Barcode or QR code, so my question is: does anyone know the code for generating Barcode or Qr scanner in B4A. thanks
Lion Law
  • 3
  • 1
  • 4
0
votes
1 answer

How to set background image in center of the panel in Basic4Android

I want set the background image for a panel in the center of it. But how can I set the image in center of panel? I wrote this code: Dim panel21 As Panel panel21.Initialize("panel21") ScrollView1.Panel.AddView(panel21, 0, 138%y, 100%x,…
mR.Rian
  • 615
  • 2
  • 6
  • 28