Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development

Reply
Contributor
Manigovindarajulu
Posts: 10
Registered: ‎04-20-2011
My Device: Storm
My Carrier: Verizon
Accepted Solution

webworks : Sqlite + Playbook + smart Phone

Hi All,

 

    Thanks in advance,

 

Can anyone please answer my queries.

 

   * is sql lite in webworks local persistance for playbook & smart phones

  * How can i access the sqlite db thru command prompt (or any other way) in Playbook and smart phone

  * wht would be the difference html4 web database and sqlite in web works?

 

Please answer my questions , i am looking forward your reply.

 

Please use plain text.
Regular Contributor
ingybing
Posts: 65
Registered: ‎01-21-2011
My Device: Not Specified

Re: webworks : Sqlite + Playbook + smart Phone

1) Yes sql lite is locally persisted to the device

2) Don't know if you can other than though the web api's

3) HTML5 Web Database is a sql lite db..

Please use plain text.
BlackBerry Development Advisor (Retired)
astanley
Posts: 1,382
Registered: ‎07-02-2009
My Device: BlackBerry Bold 9900
My Carrier: Bell

Re: webworks : Sqlite + Playbook + smart Phone

Hi,

 

1) Yes 

 

2) Use Web Inspector!  I have a blog post coming out about this soon, however until then this is how you leverage this feature  (PlayBook only):

a) Use the -d command line argument when building your app using bbwp.exe

b) Enable development mode, and deploy your app to the simulator/tablet as per usual

c) Launch your WebWorks app

d) From a desktop browser, load the IP address of your tablet/sim followed by port 1337  (e.g. "192.168.1.7:1337") in the address bar

e) Voila - Web Inspector processing content from a live PlayBook tablet.

 

3) Do you mean HTML5 Web DB?  If so they are one in the same.  The Web DB interface uses SQLite as its internal storage mechanism.

 

 

What type of app are you planning on building?

 

Cheers,

Adam

Follow me on Twitter: @n_adam_stanley
-------------------------------------------------------------------------------------------------------------------------
Your app doesn't work? Use BlackBerry remote web inspector to find out why.
Please use plain text.
Contributor
Manigovindarajulu
Posts: 10
Registered: ‎04-20-2011
My Device: Storm
My Carrier: Verizon

Re: webworks : Sqlite + Playbook + smart Phone

Thanks for your reply. Actually i am planning to create app for HRM of my company. which will use persistent storage,

Maps etc.. i am wondering does playbook supports Geo location?

Please use plain text.
Contributor
Manigovindarajulu
Posts: 10
Registered: ‎04-20-2011
My Device: Storm
My Carrier: Verizon

Re: webworks : Sqlite + Playbook + smart Phone

Hi Adam,

 

  I have tried based on your instructions , i could see Playbook application in the desktop brower by hitting the url <playbook ip address>:1337. After clicking the application it went to inspector tool . But i couldnt able to see the database in the web inspector basically database is disabled. if i run the same application as web app , i could see the db and can see datas in it.

 

Please advice ..

Please use plain text.
New Member
domo3elward
Posts: 1
Registered: ‎12-15-2012
My Device: 9800
My Carrier: stc

Re: webworks : Sqlite + Playbook + smart Phone

I cant open messenger 7
Please use plain text.