Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-10694] Android: Setting 'url' or 'html' of a webview results in a crash on Android 2.3.3 emulator

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionCannot Reproduce
Resolution Date2013-04-25T07:07:06.000+0000
Affected Version/sRelease 2.1.1
Fix Version/s2013 Sprint 09
ComponentsAndroid
LabelsSupportTeam, api, exalture
ReporterAnirudh Nagesh
Assigneejithinpv
Created2012-08-28T16:16:27.000+0000
Updated2013-11-07T18:37:26.000+0000

Description

Run the attached app.js ( build it with Ti SDK 2.1.1GA) The app crashes on the webview launch. It happens only on 2.3.3 emulator. App works fine on all other emulators and devices. Note: The app does not crash on 2.3.3 emulator if its built with Ti SDK 2.0.1 GA2, 2.0.2 GA2 and 2.1.0 GA!! Might be related to this issue: http://code.google.com/p/android/issues/detail?id=12987

Comments

  1. Anirudh Nagesh 2012-09-13

    Sorry , had not uploaded the test case. Here it is.
       var win = Ti.UI.createWindow({
       	layout : "vertical",
       	backgroundColor:'white',
       	//fullscreen:'true'
       });
        
       var wv = Ti.UI.createWebView({});
        
       wv.url = 'http://www.google.com'
       win.add(wv);
       win.open();
       
  2. jithinpv 2013-04-25

    cannot reproduce Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Android Emulator: Android SDK version: 2.2
  3. Shyam Bhadauria 2013-05-10

    App is rendering normally.No crashes encountered.So closing the bug. Used environment SDK - 2.1.1.GA , 3.1.0.GA Appcelerator Studio : 3.1.1.201305072102 Device : Android Emulator 2.3.3

JSON Source