Icontem

File: example.html

Recommend this page to a friend!
  Classes of Till Wehowski  >  webfan JavaScript Intents Service Server  >  example.html  >  Download  
File: example.html
Role: Auxiliary data
Content type: text/plain
Description: example.html
Class: webfan JavaScript Intents Service Server
Register and call services to handle Web intents
Author: By
Last change:
Date: 2 years ago
Size: 927 bytes
 

Contents

Class file image Download
<!DOCTYPE html>
<html dir="ltr" ng-non-bindable="non-bindable" ng-csp="no-inline-style;no-unsafe-eval" lang="fr"><head>
<script src="http://api.webfan.de/api-d/4/js-api/library.js" type="text/javascript></script>
</head>
<body>



<intent
    action="com.webfan.intents.create"
    type="application/vnd.frdl.webfan.project+json"
    href="http://domainundhomepagespeicher.de/test.html"
    title="Webfan API SDK" 
    disposition="new" 
    icon="http://webfan.de/cdn/frdl/flow/components/frdl/webfan/icon.ico" 
    />
    
    
 <button
   onclick="
     window.navigator.startActivity(new Intent(
         'com.webfan.intents.create',
         'application/vnd.frdl.webfan.project+json' ,
         {'TestParam' : 'TestData'}
         ), 
      function (data) {
            alert(data);  
     }); "
 >
  Start Test-Action (com.webfan.intents.create)	...
 </button>  
 
 
</body> 
</html>