problem running exmaple App

aklisiewicz

Active Member
Licensed User
Longtime User
I'm trying to RUN TableExample App and I get errors:

Compiling code. 0.03
Generating R file. 0.00
Compiling generated Java code. 2.16
Convert byte code - optimized dex. 7.27
Standard dexer.
Packaging files. 0.45
Signing package file (debug key). 0.63
ZipAlign file. 0.05
Installing file to device. Error
Process timed out.
Restarting ADB Server may solve this problem.
Tools - Restart ADB Server. Device serial: emulator-5554


Restarting AVD desn't help. I also get a warning window pop up (see atachment). I tested this on 2 computers and got the same results.
So far on 5-6 example Apps which I tried to run only 2 did not failed to run :-(

Arthur
 

Attachments

  • B4A_Error04.jpg
    B4A_Error04.jpg
    8.9 KB · Views: 248

aklisiewicz

Active Member
Licensed User
Longtime User
OK, after downloadind updated version of this example App it works, but I still keep geting the TimeOut message every once a while...so this i still unresolved.

the example App shows simple data manipulation reading/wrinting into dB.
My question is:

where can I get information to learn and grasp the concept how the information entered on the screen (by the user) should be applied the the SQL1.ExecNonQuery method ?

For exampleI I have the following:
- database file: MyDatabase
- table called: PEOPLE
- column called: Name

Now I want to create a Layout with the TextField for the user to enter his name, then I want to apply this input into appropriate INSERT statement.

I would appreciate if somebody could explain the process

Arthur :sign0104:
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
but I still keep geting the TimeOut message every once a while...so this i still unresolved
This has nothing to do with B4A but it is the Emulator that is awfully slow. You can click on No to continue instead of clicking Yes for stopping.

where can I get information to learn and grasp the concept how the information entered on the screen (by the user) should be applied the the SQL1.ExecNonQuery method ?
There are two examples:
- ScrollViewList
- ScrollViewMultiselect

Best regards.
 
Upvote 0