Quantcast
Channel: Appcelerator Developer Center Q&A Tag Feed (android)
Viewing all articles
Browse latest Browse all 7655

Showing the "Open in..." button

$
0
0

Titanium SDK = 2.0.1GA2 Platform = iOS 5

Looking for how to show the "Open in.." button in the navigation bar or for a way to show that menu when something is clicked. I've been able to preview the Word docs using a webview but I want users to be able to open the docs in another app (Dropbox, office apps, etc) and make some notes.

var win = Ti.UI.createWindow();
 
var webView = Ti.UI.createWebView({
  url: 'url-to-file-note-this-is-not-what-I-really-used'
});
 
win.add(webView);
win.open();
I am thinking that this may have to go the route of custom module, but I am hoping that there might be another solution that I have yet to find. I have looked at some of the documentation for that here. I did find a couple questions that were similar but they wanted to do the reverse (they wanted to be the handler to open files that other apps send them). Let me know soon since this project has to be completed within the next two weeks. Also would be curious what I should do for android in this situation as well.

Viewing all articles
Browse latest Browse all 7655

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>