[TIMOB-10694] Android: Setting 'url' or 'html' of a webview results in a crash on Android 2.3.3 emulator
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Cannot Reproduce |
| Resolution Date | 2013-04-25T07:07:06.000+0000 |
| Affected Version/s | Release 2.1.1 |
| Fix Version/s | 2013 Sprint 09 |
| Components | Android |
| Labels | SupportTeam, api, exalture |
| Reporter | Anirudh Nagesh |
| Assignee | jithinpv |
| Created | 2012-08-28T16:16:27.000+0000 |
| Updated | 2013-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
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();cannot reproduce Tested with Titanium Studio, build: 3.0.1.201212181159 Titanium SDK version: 3.1.0 Android Emulator: Android SDK version: 2.2
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