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
1
vote
1 answer

How can I use additional type-faces with Android widgets?

Is there any way of using additional type-faces in Android widgets? Dim GothicFont As Typeface GothicFont = Typeface.LoadFromAssets("gothic.ttf") I just want to use Century Gothic font with a text label in my home screen widget.
effe
  • 1,335
  • 3
  • 17
  • 26
1
vote
1 answer

Is it possible to programmatically get the speech synthesizer manufacturer's identity?

My application needs to know the speech synthesizer manufacturer's identity. The "Default Engine" which is set in Android's TTS settings. Knowing this piece of information would allow me to custom tailor my app to take advantage of individual…
Bob G
  • 23
  • 2
  • 6
1
vote
1 answer

Null GetLine1Number

Dim p As PhoneId Dim ph As Phone numPhone = p.GetLine1Number I need another way that extract the number phone. Im using number phone for register our app, that was sell on market. As market mercant, when our app was suspended we only have that way…
KashMalaga
  • 77
  • 1
  • 6
1
vote
1 answer

Writing and reading variables in Basic4Android

Firstly, great job on B4A. I've just started, and already have a small app running on my 10" tablet. It's very exciting. But I'd like to do this next... As a self-taught newbie, I wrote an app using VB6. It's a "glorified calculator" that produces…
CNCPete
  • 13
  • 1
  • 3
1
vote
3 answers

Panel which 'slides open' - use timer to change height

I think probably I have the wrong idea here - can someone set me straight? I have a label which when clicked causes a panel to appear - i did this with panel.visible = true - in fact it is pretty clunky though and I would love to have it slide…
1
vote
3 answers

Some beginner questions

I guess I'll start by saying I am very new to B4A, and to programming in general. I have some very basic java and html exp. but that's it. I do not have any basic4ppc or really any IDE experience. Been using B4A for a few days now and can't get…
JonPM
  • 129
  • 1
  • 7
1
vote
1 answer

Implement global menu in Basic4android

I am developing an application that has many activities. Is there any way to implement the same menu to all activities?
adamioan
  • 81
  • 1
  • 10
1
vote
2 answers

Centering a panel on screen

I've been playing with centering a panel on a device screen. I've tried a few things but cant get the syntax/math correct. I am adding the panel with it's size relative to the screen size as below (80% width and 40% height). At the moment I left the…
Tony Moreira
  • 93
  • 3
  • 18
1
vote
1 answer

Is there an easy way to rename a directory in Basic4Android?

I would like to rename a directory that I created on the SD card and thought I could easily do that through the File object (something like File.Rename). However, I don't see something that easy. Do I have to copy all of the directory structure to…
Andris
  • 13
  • 3
1
vote
1 answer

Is it possible to have arrays with more then one dimension in Basic4Android?

in the docu I found ARRAY -> creates arrays with one dimension DIM a() as string -> Array with strings in one dimension MAP -> 1 Key, 1 Data field do I miss something ?
1
vote
1 answer

Obtaining multiple touch or "Down" events for musical instrument

I am trying to detect multiple taps on the screen basically to create piano like app using the B4A SoundPool control and panel.touch event to trigger sounds. My problem is that once the screen (or one panel of many representing keyboard) is touched…
Brainfart
  • 11
  • 2
1
vote
2 answers

Any way to create an arbitrary tone with Basic4android?

Is there any way with Basic4Android to make it emit a sound of arbitrary frequency (meaning, I don't want to have pre-recorded sound files) and duration? In some "traditional" Basic languages this would be done via e.g. a BEEP command followed by…
user973682
  • 11
  • 2
1
vote
2 answers

How to post a payload with basic4android

i started working with b4a and i want to send post request with payload(data). In python it works like this : requests.post(url,data)
1
vote
2 answers

Error in B4A: java.lang.RuntimeException: Object should first be initialized (EditText)

I have recently started to learn B4A (Basic For Android) which is an IDE that can be used to make Android apps. Unfortunately, I got an error while I was executing my code and I do not know how to fix it. The error is: java.lang.RuntimeException:…
Learner
  • 11
  • 5
1
vote
0 answers

Use Basic4Android signature key with .keystore extension For flutter .jks

I want to use the signature key made with Basic4Android for the Flutter But when installing the update on the old version, it says that the program was not installed Is there a way?
1 2
3
14 15