Questions tagged [vb4android]

33 questions
0
votes
0 answers

Google Drive open password protected PDF file in WebView

I am trying to open in WebView Google Drive hosted PDF file which is password protected. Here is the file link So, after page load finished, using following java script command I'm injecting password to password…
Hayk o
  • 1
0
votes
0 answers

Need to use SecuGen SDK in my Basic for Android App?

I have been developing applications with B4A for more than 2 years. Whenever I have been stuck anywhere this forum always remained helpful for me. I have developed a quite large scaled app in B4A and this project is near ending. The only hurdle is…
0
votes
0 answers

Fullscreen button hidden using WebView

I'm trying to watch a streaming through the control WebView, but it is not possible to catch the full screen button at the botton bar at the right. On computers, smartphones using chrome or whatever browser, it works. Endeed the right corner is…
878757
  • 65
  • 9
0
votes
0 answers

How to move imageview in B4A

How to move ImageView (added in the designer) in B4A, I google it but I can't find how to move it. imageview1.left = 100 does not works (I use main for scripting)
user15703696
0
votes
0 answers

B4A : ContentResolver error "Invalid token limit"

From Android 11, LIMIT and OFFSET should be retrieved using Bundle by public Cursor query (Uri uri,String[] projection,Bundle queryArgs,CancellationSignal cancellationSignal) I found it In bellow link : ContentResolver.query() method throws…
0
votes
1 answer

B4A - (Beginner) Can't run beacuse of an unknown error

Just installed B4A as it's shown on the official website and i still can't build & run an example project (Hello world). I installed the app on my cellphone too and successfully connected to it, installed B4A Designer as the firt app asked to. I'm…
0
votes
0 answers

B4A How to popup a message box on top of non-related apps

I need to run a service that notifies an android phone user with a button/messagebox that there is a message waiting for them in a background app. I have a scheduler program that does this very thing. Can someone help me with the code or point out…
William
  • 1
  • 1
0
votes
0 answers

Android kill all my app services after some time

I'm writing an android app on B4A (not an android studio) because I better know that language. But I think the problem is related to the OS. In my app, I have a service called "Tracker" that tracks with GPS and FusedLocationProvider the…
0
votes
1 answer

Convert B4A layout to XML version

Is there anyway to convert B4A designed layouts (.bal) to XML version? I am making layouts in B4A designing tool but i want to have 'em in XML too.
0
votes
0 answers

b4a custom view stay empty space

i use native ads inside customListView module in my b4a project. when for any reason ads not loaded the space for ads stay empty. how can i fill the empty space ? this my code : Sub Activity_Create(FirstTime As…
batnight
  • 139
  • 1
  • 10
0
votes
1 answer

Uploaded image file Android using B4A not working - corrupted

Using B4A (B4X), I upload a file from my Android emulator to my IIS (localhost) web server on my PC (the file being uploaded is .jpg format). Here's the upload routine: Dim boundary As String = "---------------------------1461124740692" Dim stream…
swabygw
  • 813
  • 1
  • 10
  • 22
0
votes
1 answer

basic4android download file code

how can i add download db file code for this codes from URL ? =================================================================== { *Sub Activity_Create(FirstTime As Boolean) Activity.LoadLayout("lay1pezeshki") Dim jobname As String …
0
votes
1 answer

b4a Insert Timer in a code

I am french so sorry for my english i do my best... I try to call a sub named timer1_tick and i want it to stop my sub "b_reponse1_click". The problem is that my sub dont wait until the end of the timer... Code: Sub Process_Globals Dim Timer1 As…
Calvero
  • 3
  • 1
  • 2
0
votes
1 answer

b4a how to parse a json data

can you help me understand how to parse this one in b4a using jsonparse function. Please i need your help so bad. [{"success":true,"msg":"Your transaction has been successfully Completed. Thank you for having us. Please enjoy our…
n4mi
  • 21
  • 1
  • 12
0
votes
1 answer

B4A - making and referring to a directory?

In B4A (or just Visual Basic), I've created a directory: Files.MakeDir(Files.DirInternal, "app_data) However, when I try and read a file I get an error stating the directory/file doesn't exist: Files.ReadString(Files.DirInternal & "/app_data",…
user3422952
  • 319
  • 2
  • 8
  • 17