Hi,
I am trying to launch a external websites from with in a web app.
I got a reference from https://developer.tizen.org/fr/forums/web-application-development/opening-external-webpage-within-tizen-web-app?langswitch=fr. 
Implemented this suggestion but in the console its throwing error "js/main.js (21) :launch appControl failed. Reason: NotFoundError" with respect to the code 

var appControl = new tizen.ApplicationControl("http://tizen.org/appcontrol/operation/view",target ); tizen.application.launchAppControl(appControl, null, function(){console.log("launch appControl succeeded");}, function(e){console.log("launch appControl failed. Reason: " + e.name);} );

I am Testing this code on Emulator. My Config.xml looks like this

<?xml version="1.0" encoding="UTF-8"?>

<widget xmlns="http://www.w3.org/ns/widgets" xmlns:tizen="http://tizen.org/ns/widgets" id="http://yourdomain/TestApp" version="1.0.0" viewmodes="maximized">

    <access origin="http://www.w3schools.com" subdomains="true"/>

    <tizen:application id="9Ep5u2B2Ee.TestApp" package="9Ep5u2B2Ee" required_version="2.2"/>

    <content src="index.html"/>

    <feature name="http://tizen.org/feature/screen.size.all"/>

    <icon src="icon.png"/>

    <name>TestApp</name>

    <tizen:privilege name="http://tizen.org/privilege/application.launch"/>

    <tizen:profile name="mobile"/>

    <tizen:setting context-menu="disable"/>

</widget>



Can anyone  help me on this? I need to launch an external website for authentication.

hanks & Regards
Subho Dey
System Engineer
Tata Consultancy Services
Building 1B,Ecospace
Plot -  IIF/12 ,New Town, Rajarhat,
Kolkata - 700156,West Bengal
India
Cell:- 9804290536
Mailto: subho....@tcs.com
Website: http://www.tcs.com
____________________________________________
Experience certainty. IT Services
Business Solutions
Consulting
____________________________________________

=====-----=====-----=====
Notice: The information contained in this e-mail
message and/or attachments to it may contain
confidential or privileged information. If you are
not the intended recipient, any dissemination, use,
review, distribution, printing or copying of the
information contained in this e-mail message
and/or attachments to it are strictly prohibited. If
you have received this communication in error,
please notify us by reply e-mail or telephone and
immediately and permanently delete the message
and any attachments. Thank you

_______________________________________________
Application-dev mailing list
Application-dev@lists.tizen.org
https://lists.tizen.org/listinfo/application-dev

Reply via email to