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
0 answers

QuickAction With ScrollView

I am using Basic4Android as my programming language and I am trying to display the popup menu using the AHQuickAction library. (v1.01) I am trying to make it when you tap on a label make it display the popup menu. I am using the following code…
Aaron
  • 3,389
  • 12
  • 35
  • 48
1
vote
2 answers

Communicating between Basic4android and VB6

I would like a simple answer as to how to press a button on an Android (using basic4android), and get a VB6 program to accept the data and respond. Both the Android and the computer running the VB6 program are connected to the same WiFi. Erel gives…
Dan Clark
  • 11
  • 1
  • 2
1
vote
1 answer

Open image in default gallery

Here's the code I'm using to open an image taken with the camera with the default gallery: Dim i As Intent i.Initialize(i.ACTION_VIEW,…
grant1842
  • 357
  • 1
  • 7
  • 23
1
vote
0 answers

Need to Intergrate Airpush ads for basic4android

http://www.basic4ppc.com/forum/additional-libraries-classes-official-updates/11832-airpush-library.html I followed these instructions but It wont let me to compile app. I'm Using version 1.9. It looks like code changed but there help forum not…
APP Bird
  • 1,371
  • 1
  • 20
  • 37
1
vote
1 answer

Show a Basic Webpage in Basic4Android?

I am looking everywhere ad just cant to find a good answer to this. I looked everywhere but found nothing Read all of the html and webview tutorials too. So what i have done is that i have a new project in the basic4android. All i want to do is…
Sarim A.
  • 35
  • 2
  • 8
1
vote
1 answer

Automatically moving from the splash screen in Basic4android

I just started programming in Basic4android. I have created 2 layouts. splash and search. I want to display the splash layout for about 2 seconds and then automatically move to the search layout. This is the code I have so far. Sub Process_Globals …
Isuru
  • 30,617
  • 60
  • 187
  • 303
1
vote
0 answers

Android XML Themes VS Styling

I've perused ALL of the questions here and countless tutorials on Styling and Themes for Android. The odd hierarchy between Themes and Styles is still a mystery to me. My Manifest calls out this "Style" (android:theme, "@style/rforderstyle")…
1
vote
1 answer

UDP between 3G connected device and WiFi PC

Is it possible to use UDP over the 3G network? I have tried but failed, I have an application on my PC that reads UDP packets and I'm trying to send UDP packets to that "server" using my 3G connected phone. These scenarios works: Local to Local over…
Adam
  • 81
  • 3
  • 7
0
votes
2 answers

Cannot pass data between classes

I have an activity which creates a unique ID and then passes the String to a service, the problem I am having is that the app force-closes every time I try passing the data from the activity to the service. Normally when I am programming java…
Grady-lad
  • 105
  • 1
  • 2
  • 9
0
votes
1 answer

Using setlayout for a listview on a tabhost

I am trying to adjust a ListView's appearance within a Tabhost with the following code - but keep getting a null error. When I remove the setlayout line - all is fine, but my ListView is off by just a hair from what I'd…
Tony Moreira
  • 93
  • 3
  • 18
0
votes
1 answer

Solution for saving a mediaplayer sound as ringtone

I have some sounds playing in the app with the mediaplayer (MP.PLAY). Is their a solution or library to set a mediaplayer sound as a ringtone. I had seen an older post on b4a mentioning that it wasn't possible at the time.
Tony Moreira
  • 93
  • 3
  • 18
0
votes
2 answers

Syntax for changing text properties in a ListView

I have about 25 entries in a ListView by using: ListView1.AddTwoLinesAndBitmap2("Entry Title","Entry Description",Bitmap1,1) I'm looking to change the text size and color of the Entry Title and Entry Description. I tried setting properties as if it…
Tony Moreira
  • 93
  • 3
  • 18
0
votes
1 answer

How do you parse a millisecond number into HH:MM:SS

Can you tell me how to parse a millisecond number such as 10173510 into hours, minutes and seconds? Formated like this maybe? HH:MM:SS Thanks. Update: I was able to get it close but I need to format the numbers correctly because I need leading zeros…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152
0
votes
2 answers

Can an SQL file be imported into Basic4Android?

I am trying to directly import an SQL file from a SQLite database into Basic4Android. I exported a .sql file and then I loaded the SQL file into the Basic4Android assets in the IDE. Then I put this in my Process_Globals Dim access As…
jb11
  • 557
  • 5
  • 18
0
votes
1 answer

How do you convert a string into an InputStream

I want to use the SaxParser to parse a string that contains XML code I got using the HTTPUtils. Can you tell me how to convert the string I got from the HTTPUtils into an InputStream? I tried to do this but it won't let me compile it: Sub JobDone…
Emad-ud-deen
  • 4,734
  • 21
  • 87
  • 152