Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
19 Views

how to invoke native app in xdk?

how to invoke native app and other html5 app ,in xdk?

who can give me a sample?

Tags (2)
0 Kudos
3 Replies
Highlighted
Employee
19 Views

Are you trying to launch an app like Facebook from within your app you built with the XDK? Is so, you can try the following code. You need to know what the 'protocol handler' is for the app that you are trying to launch. In this case, it is twitter://

    <div align=center onclick="intel.xdk.device.launchExternal('twitter://post?message=Message%20Tex');">Tweet    </div>

PS. Make sure to include the intel.xdk.device plugin in the project settings. There may be other 3rd party plugins that allow the same functionality as well.

 

 

0 Kudos
Highlighted
Beginner
19 Views

hi sir i am developing one mobile app,will you please provide how to give a sharing to  my mobile app,i am using a method  window.plugins.socialsharing.share(mytext); but it is not working plz provide alternate thanks in advancee

0 Kudos
Highlighted
19 Views

@Lakshmi, please start a new thread as this is unrelated.

What exactly are you trying to share? A message from your app to social media? In that case, you can use https://github.com/EddyVerbruggen/SocialSharing-PhoneGap-Plugin

I think that is the one you are using now. How are you testing it? It is a third party plugin and will require you to either test it on a built app or build a debug module. 

0 Kudos