Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-12879] BlackBerry: Store Ti.App.Properties using application settings (QSettings).

GitHub Issuen/a
TypeNew Feature
PriorityHigh
StatusClosed
ResolutionFixed
Resolution Date2014-05-22T21:12:21.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.1.0, 2013 Sprint 05 BB, 2013 Sprint 05, Release 3.3.0, Release 3.4.0
ComponentsBlackBerry
Labelsqe-3.3.0, qe-testadded
ReporterJosh Roesslein
AssigneePedro Enrique
Created2013-02-26T22:48:06.000+0000
Updated2014-06-19T12:43:09.000+0000

Description

Switch the backend storage for application properties to use settings (QSettings). This simplifies things and maps better to the key/value API we provide. It should also make life easier to support tiapp.xml properties.

Acceptance Testing

1. Run KitchenSink and go to the properties test. 2. Verify in the logs that everything still passes.

Attachments

FileDateSize
log.txt2014-05-22T20:23:15.000+00008118

Comments

  1. Olga Romero 2014-05-22

    Using this code http://pastie.org/private/luurqyhrttlilwltxu24g and the following environment: Appcelerator Studio, build: 3.3.0.201405161313 Titanium SDK, build: 3.3.0.v20140521174951 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-alpha2 npm@1.3.2 titanium@3.3.0-alpha5 titanium-code-processor@1.1.1 Device: BB Z10 (10.2.1) the log output did not correspond to the code provided (see the attachment)
  2. Pedro Enrique 2014-05-22

    PR for Master: https://github.com/appcelerator/titanium_mobile_blackberry/pull/240 PR for 3.3.x: https://github.com/appcelerator/titanium_mobile_blackberry/pull/241
  3. Olga Romero 2014-05-30

    Tested and verified the correct log output
       [INFO] row[0].name=Name 1 row[0].address=1 Main St
       [INFO] row[1].name=Name 2 row[1].address=2 Main St
       [INFO] row[2].name=Name 3 row[2].address=3 Main St
       [INFO] row[3].name=Name 4 row[3].address=4 Main St
       
    with Mac osx 10.9.3 Mavericks Appcelerator Studio, build: 3.3.0.201405271647 Titanium SDK, build: 3.3.0.v20140528144113 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-beta npm@1.3.2 titanium@3.3.0-beta titanium-code-processor@1.1.1 Device: BB Z10 (10.2.1)

JSON Source