Android Question Openfile dialog in new version prob

DPaul

Active Member
Licensed User
Longtime User
Hi,

Latest version prob ?
Has something changed in the openfile dialog syntax ?,
because this very "old" part of my app suddenly gives a :

java.lang.NoSuchFieldError: No instance field Text of type Ljava/lang/String; in class Lanywheresoftware/b4a/objects/SimpleListAdapter$SingleLineData; or its superclasses (declaration of 'anywheresoftware.b4a.objects.SimpleListAdapter$SingleLineData' appears in /data/app/b4a.example-2/base.apk)
->
not during compilation, but when the function is actually used.

The code is very simple:
Dim ret As Object
ret = fd.Show( "Select database", "Yes", "Cancel", "", Null) -> this line passes OK, but does not show the dialog!
If fd.ChosenName = "" Then ExitApplication -> this line fails, it used to work

?
Paul
 

DPaul

Active Member
Licensed User
Longtime User
You need to update to the latest version of Dialogs library.
OK, found it and updated.
But i seem to run into new probs:
1. After installing opendialog 2.96
Error compiling program.
Error description: Unknown member: keyboardpopup

2. I also noticed earlier that the sqlite db, which b4a still creates, cannot be read by vb.net on the desktop any more. It thinks there are zero records!
Are there more updates to be done ?

thx,
Paul
 
Upvote 0

Erel

B4X founder
Staff member
Licensed User
Longtime User
Error description: Unknown member: keyboardpopup
You can remove this line. It will not popup by default.

I also noticed earlier that the sqlite db, which b4a still creates, cannot be read by vb.net on the desktop any more. It thinks there are zero records!
Nothing has changed related to the SQL library.
 
Upvote 0

DPaul

Active Member
Licensed User
Longtime User
OK, opendialog works, popup statement no longer necessary !
Thanks.
(Will do further tests on sqlite. It's not b4a that throws an error, but vb.net)
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…