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
10
votes
10 answers

Disadvantages of using Basic4Android?

I am currently researching the pros and cons about Basic4Android. I have a good list of pros (http://www.basic4ppc.com/android/why.html) but what are some disadvantages to using this? What limitations does this tool have? Thank-you for the help!
ChickSentMeHighE
  • 1,706
  • 6
  • 21
  • 30
4
votes
3 answers

Android - layout width/height percentage of a screen?

I was testing out B4A (Basic4Android) and there's something called a "designer script", this basically allows you to position elements on a screen. For example: TextBox1.setTopAndBottom(0%y, 50%y) TextBox1.setLeftAndRight(0%x, 50%x) When this script…
user3422952
  • 319
  • 2
  • 8
  • 17
3
votes
2 answers

Manifest permission needed to copy files to the Android device internal area?

I would like to give the user the choice to copy files onto the Android device data directory as well as the external area. Can you tell me what I need to add to the manifest that will allow my app to copy the files to the internal area? I was…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152
2
votes
1 answer

truncating a file name - extension

I have a file being loaded into fd.ChosenName and wondering if there is a quick solution such as an opposite to stringbuilder to truncate a file name (extension) for display purposes. So if the value of fd.ChosenName is picture1.jpg I could actually…
Tony Moreira
  • 93
  • 3
  • 18
2
votes
3 answers

Can B4A get geocode information?

I would like to know if there is a way in B4A to get the geocode for a postal address and then assign it a unique number. If this can be done, please show me the coding needed to obtain the geocode and unique number. I assume it would need to go out…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152
2
votes
3 answers

Where can I find the b4a .apk on my phone after It gets installed?

I wanted to send the file to a friend via Bluetooth tonight but could not seem to find the apk file on the phone file system, but the icon was installed and in my apps? Any help would be appreciated. Cheers
Heather McVay
  • 939
  • 3
  • 15
  • 31
2
votes
0 answers

Locate Lips on a Face in Android

I have a need to detect face in a photo. Generally the face will be covering 60% of the photo. Once face is detected I have to highlight the lips of the photo with a per-defined color which is Black. I tried to get the Face Detection feature of…
Yogi Yang 007
  • 5,147
  • 10
  • 56
  • 77
2
votes
1 answer

smsInterceptor in the background?

Is it possible to use the smsInterceptor in the background? I'm trying to use services for that but it won't work, it won't toast message the sms for me on the MessageReceived event. 'Service module Sub Process_Globals 'These global variables…
Adam
  • 81
  • 3
  • 7
2
votes
2 answers

Any way to center a view?

I noticed in the properties of the designer you can center the text in a label, etc. did not see anything that allows you to center the view itself. For example, I looked at the properties for a button. There is Horizontal Alignment and Vertical…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152
2
votes
2 answers

Understanding Lists adding/removing a value

I'm learning lists and adding/removing. In the below code I create a list , generate a random number - and then want to permanently remove the number from the list: cardsLST.AddAll(Array As Int(1,2,3,4,5)) 'create the list s = Rnd(1,6) 'generate a…
Tony Moreira
  • 93
  • 3
  • 18
2
votes
1 answer

How to show Google Translate popup from my app?

Is it possible to call Google Translate popup (only the popup, and not the whole Google Translate app) from my application, using intent or something else? I'm using B4A (Basic for Android) platform, so if it is possible, please guide me based on…
2
votes
1 answer

Adding and styling border to a button or label in B4A (basic4android) with script?

I'm new to B4A. I want to add border to a button and change it's color with writing script in activity module, in B4A. What should I do? Tnx
Soroosh Noorzad
  • 503
  • 1
  • 6
  • 18
2
votes
0 answers

Graphview SetBackgroundColor issue when using two Y Axis

i'm wrapping this library so that it can be used with a platform called Basic4Android, so far everything works as expected, except that i'm having an issue setting the graphs background color when using two Y axis, has anyone seen this issue or is…
2
votes
3 answers

How to use basic4android exported apk

I am a .net developer but new to android programming. I have used basic for android and set to compile & run project into my LG device. Everything is good but my question is when I compile and run, everything is done? Can I use the exported…
Salar Ashgi
  • 128
  • 2
  • 13
2
votes
0 answers

Handling AGC (Automatic Gain Control) VoiceRecognition?

How can we handle the automatic gain control of VoiceRecognition with code? If I'm not mistakened, source.Android.com's article explains that in voicerecognition the AGC is not enabled, yet but in my HTC, after running the VoiceRecognition I noticed…
Alberto Rubini
  • 655
  • 3
  • 10
  • 19
1
2 3
14 15