Uploaded image for project: 'Titanium SDK/CLI'
  1. Titanium SDK/CLI
  2. TIMOB-8646

Android: Database: V8: Runtime error is occuring while launching the app.

    Details

    • Type: Bug
    • Status: Closed
    • Priority: High
    • Resolution: Not Our Bug
    • Affects Version/s: Release 2.0.1, Release 3.1.0
    • Component/s: Android
    • Labels:
    • Environment:

      Titanium SDK: 2.0.1.v20120406170211
      Titanium Studio: 2.0.1.201204061639
      Android OS 2.2.1 Motorola Milestone, Android OS 2.2.2 LG-P970
      Android Runtime : V8
      OS - Windows 7

      Description

      On launching the app, a runtime error is displayed on android 2.2 . Snapshot of the same is attached.

      Steps to reproduce:
      1) Create an app with code below and add speed.db file in the project(attached in the bug).
      2) Install and launch the app.

      var win = Ti.UI.createWindow({
          backgroundColor: '#fff'
      });
      var label1 = Titanium.UI.createLabel({
      			color : '#999',
      			text : 'I am Window 1',
      			font : {
      				fontSize : 20,
      				fontFamily : 'Helvetica Neue'
      			},
      			textAlign : 'center',
      			width : 'auto'
      		});
       
      		var db = Titanium.Database.install('speed.db', 'myDB');
       
      		win.add(label1);
      		win.open();
      		
      

      Expected result : A window should be displayed : "I am window 1"
      Actual result : A runtime error is displayed.
      Note: It is showing expected behavior on android 3.2 and 4.0.2

        Attachments

          Activity

            People

            • Assignee:
              pwang Ping Wang
              Reporter:
              sbhadauria Shyam Bhadauria
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Backbone Issue Sync

                • Titanium SDK/CLI <> Titanium Mobile
                  Synced with:
                  TIMOB-12960
                  Sync status:
                  ERROR
                  Last received:
                  Last sent:

                  Git Integration