[AC-2943] Ti.Platform.openURL doesn't work on Android
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Closed |
Resolution | Invalid |
Resolution Date | 2012-07-03T12:10:09.000+0000 |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | Titanium SDK & CLI |
Labels | Android, openUrl |
Reporter | Tobias Reike |
Assignee | Mostafizur Rahman |
Created | 2012-06-20T02:48:36.000+0000 |
Updated | 2016-03-08T07:47:56.000+0000 |
Description
When using Ti.Platform.openURL on Android (seen only on compiled-for-production apps, don't know for apps in dev), no matter if it's http://www.somewebsite.com or tel:01234566789 on Android an exception is thrown:
Runtime Error
Message: Uncaught Error: Java Exception occured
Source:
c.addEventListener("click", function(){ Ti.Platform.openUrl("h...
It's working again in 2.1.0, but in 2.1.0 there are some opacity issues, so not yet usable.
Tobias, Could you please provide the code snippet you are using!? I recently tested this feature on Android and its working fine.. Regards, Anirudh
Tried it again with a clean app, this time not getting the error. Don't know why I did get this exception. Sorry about that.
Feature working fine.
This works fine with android emulator but fails to perform on iPhone
This is not reproducible anymore with latest 3.2.0GA release.
Testing Environment:
MAC OS X 10.8.5 Android SDK: 4.2.2 Titanium SDK: 3.2.0.GA Titanium CLI Version: 3.2.0Test Code
Steps to Test:
1. Create a sample project, 2. Paste this code in app.js file. 3. Run this with testing environment. 4. Click on URL test buttonClosing since it is not reproducible anymore.