| |
| Publicado el 05,febrero 2015 - 07:51 |
sir I Have Create the Android Application The looper did Not work in this Application what kind of function are used in file select in pocket application in this table are used so fselect() function select a file in android application what function are used in looper file select when i have no create database the application build on windev Mobile 17 |
| |
| |
| | | |
|
| | |
| |
| Publicado el 05,febrero 2015 - 08:32 |
Rahul,
the fSelect() funtion is not supported in WM17, but WM17 comes with an example called 'Android Explorer'
This example also uses a "looper". It has no database but is filled by code. Maybe that will give you some hints and tips about how the handle a looper. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 05,febrero 2015 - 08:38 |
sir i have consider the example android explore but the run application the content of the looper does not show proper i have run the test on the simulation mode the content of the not show but i have run the android explore example the content of the looper is show proper manner |
| |
| |
| | | |
|
| | |
| |
| Publicado el 05,febrero 2015 - 09:36 |
Rahul,
do you see NO data or WRONG data??
When you bind the looper to a database you have to use LooperDisplay() to fetch the data .
Can you try to use fill the looper by programming (content tab in the description) Put an extra test-buttonon your window and put the following code in the click-event. (I'm using tbl_customers as an example)
LooperDeleteAll(your_looper1) FOR EACH tbl_customers LooperAddLine(your_looper1,tbl_customers.name, tbl_customers.city) END |
| |
| |
| | | |
|
| | |
| |
| Publicado el 05,febrero 2015 - 10:08 |
sir i have define this code you write in message LooperDeleteAll(loop_Explore) FOR EACH Pass123 LooperAddLine(loop_Explore,1,pass123.filesize, Pass123.FileType) END Loop_Explore is a looper and pass123 is a data file but this code written then run application
this error Generated
rror at line 2 of Click BTN_Cancel process. The HyperFileSQL security mechanism was triggered while browsing the 'Pass123' file on the '' item. native SQLite access error. Error Number = 30
Unable to open or read <Pass123> file.
<File123> file not found.
**********************************************
----- Technical Information -----
WL call: Process of 'Click BTN_Cancel' (WIN_File.BTN_Cancel), line 2, thread 0
What happened? The HyperFileSQL security mechanism was triggered while browsing the 'Pass123' file on the '' item. native SQLite access error. Error Number = 30
Unable to open or read <Pass123> file.
<File123> file not found.
Error code: 73001 Level: fatal error (EL_FATAL) WD55 error code: 3001
Dump of the error of 'WD170HF.DLL' module (17.0.185.0). Identifier of detailed information (.err): 72801 Debugging information: IEWDSQLITE=8.3 Module=<WDSQLITE> Version=<17.0.27.0> Provider: WinDevSQLite |
| |
| |
| | | |
|
| | |
| |
| Publicado el 05,febrero 2015 - 10:47 |
Rahul,
Unable to open or read file
this is the same error you mentioned in previous posts. Apparently you were not able to solve that yet.
So try to understand our answers and tips in those other posts.
Or start with one of the examples including a looper AND a database, like "Android notes" Then strip this one down to a bare minimum and include your own stuff from that point. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 05,febrero 2015 - 11:27 |
sir you explain the example in last Post "Android Notes" then run this example that show same error The 'LOOP_Notes' control cannot be initialized, the following HyperFileSQL error occurred: ============================= native SQLite access error. Error Number = 30
Unable to open or read <Note> file.
<Note> file not found. =============================
Error code: 10085 Level: fatal error (EL_FATAL) WD55 error code: 3001
Dump of the error of 'wpobj.dll' module (17.0.542.33). Identifier of detailed information (.err): 10085 Debugging information: IEWDSQLITE=8.3 Module=<WDSQLITE> Version=<17.0.27.0> Provider: WinDevSQLite Data source: Android Notes.db Database: Android Notes.db Connection time-out: 30 Command time-out: 30 Unicode supported: 1 Page code of WL: 1252 Page code of the connection: UTF-8 Additional Information: EIT_LOGICALTABLENAME : <Note> EIT_NATIVECODE : <30> EIT_INFOCLIENT : <3.7.12.1> |
| |
| |
| | | |
|
| | |
| |
| Publicado el 05,febrero 2015 - 14:55 |
Rahul, you are right. Same error here,
I added this line to the project init code (also the init-section of Win_Main would work) and then this example runs fine. HCreationIfNotFound("*")
This is exactly what we mentioned before in our other answers. The database has to be created first, before you can access it. |
| |
| |
| | | |
|
| | |
| |
| Publicado el 06,febrero 2015 - 07:01 |
sir i have run this "Android Notes" example again in Windev mobile 17 if you say That You edit the code but sir i have run this application again the same error generated in "WIN Notes" is the first window of project but his same error Generated he 'LOOP_Notes' control cannot be initialized, the following HyperFileSQL error occurred: ============================= native SQLite access error. Error Number = 30
Unable to open or read <Note> file.
<Note> file not found. =============================
**********************************************
----- Technical Information -----
What happened? The 'LOOP_Notes' control cannot be initialized, the following HyperFileSQL error occurred: ============================= native SQLite access error. Error Number = 30
Unable to open or read <Note> file.
<Note> file not found. =============================
Error code: 10085 Level: fatal error (EL_FATAL) WD55 error code: 3001
Dump of the error of 'wpobj.dll' module (17.0.542.33). Identifier of detailed information (.err): 10085 Debugging information: IEWDSQLITE=8.3 Module=<WDSQLITE> Version=<17.0.27.0> Provider: WinDevSQLite Data source: Android Notes.db Database: Android Notes.db Connection time-out: 30 Command time-out: 30 Unicode supported: 1 Page code of WL: 1252 Page code of the connection: UTF-8 Additional Information: EIT_LOGICALTABLENAME : <Note> EIT_NATIVECODE : <30> EIT_INFOCLIENT : <3.7.12.1> |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,febrero 2015 - 07:40 |
sir please give me answer for this solution for eg |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,febrero 2015 - 10:43 |
| Can you view the datafile with wdmap also is the datafile called notes or android notes? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,febrero 2015 - 12:48 |
sir please give me solution for the previous example |
| |
| |
| | | |
|
| | |
| |
| Publicado el 07,febrero 2015 - 18:47 |
Rahul,
are you testing in the simulator or on a tablet/phone? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,febrero 2015 - 07:32 |
sir i am tested in a project in the simulator mode |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,febrero 2015 - 09:43 |
Rahul,
the application creates the database when starting up. Do you see the database under ...\WinDev Mobile 19\Examples\Android\Android Notes\Exe\Android Notes.db ?? And can you have a look into this database (with a tool like sqlite viewer which you can find using Google). Are your tables in this database? |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,febrero 2015 - 12:54 |
sir i have used windev mobile 17 platform |
| |
| |
| | | |
|
| | |
| |
| Publicado el 10,febrero 2015 - 13:50 |
Okay, then it should be in ...\WinDev Mobile 17\Examples\Android\Android Notes\Exe\Android Notes.db |
| |
| |
| | | |
|
| | |