DragonRAD Forum
June 19, 2013, 06:52:09 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1] 2
  Print  
Author Topic: Out of coverage.  (Read 1006 times)
Shragel
Member
*
Posts: 13


View Profile
« on: December 01, 2010, 12:23:40 PM »

Is there a way to have the information stored on the device so if it loses connection it can continue using a local copy?
Logged
YiLiu
Seregon
****
Posts: 202


View Profile
« Reply #1 on: December 01, 2010, 12:40:51 PM »

All our data stored on the device should be persistent. no matter whether the connection is lost or power is lost, the data should not lost.
Logged
Shragel
Member
*
Posts: 13


View Profile
« Reply #2 on: December 01, 2010, 12:43:33 PM »

So i did an initial Get all, and letter am running a sync rule to get a subset of the query, then i disconnect for network and then i try a new find and getting error cant connect.

 I thought it will give me the results based on whats stored on the device.

Logged
YiLiu
Seregon
****
Posts: 202


View Profile
« Reply #3 on: December 01, 2010, 01:00:34 PM »

Oh, Do you want to display the find results where the results should be either new results if get new results or no results if no new results return or old results if lost connection?
Logged
Shragel
Member
*
Posts: 13


View Profile
« Reply #4 on: December 01, 2010, 01:10:52 PM »

correct if there is a connection look up the results. If no connection look on the local storage for results.
Logged
YiLiu
Seregon
****
Posts: 202


View Profile
« Reply #5 on: December 01, 2010, 01:16:45 PM »

I just did a quick testing with our sample app public safty demo search for person.

The results turned out like what you want:

If has connection
   the new results was displayed if return new results or no results was displayed if no new results returned

if without connection (I disable the connection)
   a warning message box will be displayed and older results was displayed.

If you are getting different results than mine, might you compare with that sample app or you can send your project file over to us, we can help you out.
« Last Edit: December 01, 2010, 01:20:03 PM by YiLiu » Logged
Shragel
Member
*
Posts: 13


View Profile
« Reply #6 on: December 01, 2010, 01:27:23 PM »

i get the following


screen sync error :

http://192.168.1.100:8082/dragon/datasender MSG is: could not establish connection to network....
.
Logged
YiLiu
Seregon
****
Posts: 202


View Profile
« Reply #7 on: December 01, 2010, 01:38:30 PM »

Hmm, what I saw was "radio signal is too low..." looks like different with yours. Are u testing on simulator or real device? Is it BlackBerry or other platform? I was using real Blackberry for testing.
Logged
Shragel
Member
*
Posts: 13


View Profile
« Reply #8 on: December 01, 2010, 01:46:51 PM »

real device wm6 hp ipaq
Logged
YiLiu
Seregon
****
Posts: 202


View Profile
« Reply #9 on: December 01, 2010, 01:58:17 PM »

It should work the same as blackberry. We will do a testing on that device, might be a bug there.
Logged
Shragel
Member
*
Posts: 13


View Profile
« Reply #10 on: December 01, 2010, 02:08:42 PM »

Just tried it in blackberry stimulator. Once i have no signal i cant even load the program. And if i am in the program i do not get the results.

So does this mean that nothing gets stored on the device only the current view.
Logged
YiLiu
Seregon
****
Posts: 202


View Profile
« Reply #11 on: December 01, 2010, 02:27:10 PM »

Each project can have multiple applications. The data table, records are associated with application not project. First time, loading the project, only the definition of project will be loaded on device through host server. After that, user starts project, the data table, records will be retrieved from database through host server by using "GetAll" synch rule.

The project/application/data tables have to be successfully load once in order to work offline. If no signal connection at beginning, the program cannot be started.

After loading the application and data, the user can continue to work on the downloaded data even if connection lost after that.
Logged
Shragel
Member
*
Posts: 13


View Profile
« Reply #12 on: December 01, 2010, 02:37:54 PM »

So that means if i have a device that has only a wifi connection while in the office has no use of this application, because once he is out of the office this will not work.
Logged
YiLiu
Seregon
****
Posts: 202


View Profile
« Reply #13 on: December 01, 2010, 02:46:54 PM »

Yes, you are right. if you only have wifi connection, and the application has never been started before, you can not lunch the application if no wifi connection available.
Logged
Shragel
Member
*
Posts: 13


View Profile
« Reply #14 on: December 01, 2010, 02:49:40 PM »

even if it has been started once if its closed it cannot be restarted. correct.
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!