07-19-2011 07:17 PM
The users of my app will be filling out the form offline more than 90% of the time. If they start the app/form offline, would the .htaccess file be stored locally(and compiled with the app?)or up on the server? Thanks!
Sorry for such an easy question, i'm waiting for a new set of code signing keys to arrive.
Solved! Go to Solution.
07-20-2011 12:04 PM
07-26-2011 05:48 PM
I'm a little confused since I don't have experience with .htaccess files.
I tried adding these lines today(per the Define Offline Queues instructional page) immediately after the opening part of my form code:
<input type="hidden" name="x-rim-request-title" value="My Form Submission" />
<input type="hidden" name="x-rim-queue-id" value="MyOfflineQueue" />
When I try to submit offline, it says that I can't....because i'm offline. Any idea of what i'm doing wrong?
If it makes any difference, here is my form declaration:
<form id="MTForm name="MTForm" method="post" enctype-"multipart/form-data" action="http://my server's ip address"/test.php">
07-26-2011 06:04 PM
I just realized I didn't appropriately name the x-rim-request-title property. I changed it to my form id, recompiled the app, loaded it on the device...and still got the same error.
07-26-2011 07:49 PM
I've just read the doc and this is not to be used for app developpment but for mobile websites, hosted on your server. You also need to be running Apache on the server if you want to be able to use the .htaccess method.
07-26-2011 08:02 PM
Oh no! My app is a web form that will be primarily started and used while offline. Is there any way I can still achieve the offline queueing?
07-26-2011 08:16 PM
07-27-2011 12:24 AM
07-27-2011 05:01 PM
Can I use a client-side sql database instead of localstorage? It looks like localstorage might only be supported in BB 6.