Community Questions & Answers
open link in safari onclick within webview
is this possible to use for opening a new safari window, if a link within webview-html-content is clicked? i tried to use `onclick="Titanium.Platform.openURL('www.url.com');"` within an <a>-tag and failed, but maybe i'm doing...
link, redirection
i want to make a redirection to open another template .xml when my button is clicked, i work with alloy framework, thank you
Webview click url
Hi there, i have a webview and i want to click links in the message, and want to open them in a modal window, but how can the script understand that the text have a link? This is for iOS. Thanks ~~~ var lbl = Titanium.UI.createWebView({ html :...
Custom URL Scheme - iPhone & Android
Hi, I am looking on how to implement the **Custom URL Scheme** feature (i.e launch the mobile app when clicking on a link in safari or e-mail) for both iPhone and Android. My goal is to send an e-mail with an HTML link ~~~ <a...
How can I create a link on a map annotation? (mobile)
I have a map view, with several annotations, and I want my annotations to be able to redirect to something, any URL or a view. I've tried to add an event listener on my annotation, to add a html link in the annotation subtitle, but nothing works. Any ideas?
Coverflow
Hi, I am debating about using coverflow for my project, but before I decide if it's the right fit, how easy is it to: -have a link open up when any image is clicked? (I'm guessing the only way to do this is to add an EventListener) -have text underneath...
Detect link and open new window
**Plateform : Android +2.3** **Titanium Studio, build: 2.1.1, Titanium Mobile, SDK 1,8** Hello, Searching on the QA without success, i need help. I want all link on a webview open on a new window, with Titanium.Platform.openURL of course. I changed the...
Where to download titanium Developer
Could some one give me a download LINK for "TITANIUM DEVELOPER" for WINDOWS OPERATING SYSTEM please PS I have already downloaded titanium studio so i don't need that Thanks in advance for the help
Button onClick Redirect???
i Need the onclick event to redirect the button click to another .js file. including if i have to add anything in the app.js i am a newbie just trying to learn this. thanks in advanced and see you at Codestrong!
Opening AppStore from titanium app
titanium mobile sdk 2.0 iphone sdk 5.1 Hi, I wanted to create a link which will lead the user to itunes/appstore and display all my apps. I used [iTunes Link Maker](http://itunes.apple.com/linkmaker) to create the links and then added this into my app...
Extract URL from a local HTML file
I am opening a local html file in the app. Within the html page, i am running javascript that opens an ad. I need to extract that ad link and use it to create a `Ti.App.fireEvent('openURL', {url: 'MYLINK'});` The link is stored in the "href"
Can't link FB username and picture to my profile in the app
hi so i have written this bit of code: //FB Ti.Facebook.appid = 'xxxxxxxxxxxxxx'; Ti.Facebook.permissions = ['publish_stream','read_stream']; Ti.Facebook.addEventListener('login', function(e) { if (e.success) { winInterface.open(); } ...
how to run fql
who can help me out ... so basically i want to link the users name and profile photo from FB to the profile of my app. so when the user logs in into my app with FB and heads on over to profile, then he should be able to see his photo and name my code...
profile info linked to facebook account
hi so i am making this app where the user logins in via fb (that bit worked). the next step is that when the user goes to his profile account he should be able to see his picture that is linked to his fb account (that bit worked also). the next step is...
Linking profile account to users FB account
hi i am making this app, where the user has a profile button (for his/her settings). Upon starting the app the user has to login via the FB sign in button. Now i want that the profile photo in my app is link to the profile photo of the users Facebook...
retrieving fb username and implementing it into a profile account
how to retrieve the user name from FB and implement/link it into my profile account (user has to first login via fb, to get access the the app)
Flash videos are not displayed
I'm already posted a question about this but i want to complete it. [Open webview link from XML Parser with a new window](http://developer.appcelerator.com/question/136033/open-webview-link-from-xml-parser-with-a-new-window#comment-124672) I created a RSS...
external Account Link - Check if allready Linked
Hi. I am trying to develop a logic where a user can login with its facebook account. if there is an acs account with the same email i want to link them allready together. but i think i have to test first if it is not allready linked? how can i get this...
Is possible to change popup in webview when touch the web link?
I hope change this popup from original TWO option ("open","copy" with web page URL in title) to other option or button, is it possible? Thanks for your answer~
Linkify part of text in label.
Hi,In my application I want to linkify part of text in label. Eg. you have read and agree to the **terms of services** and if I click on terms of services, open terms of services web page. I tried following solution ~~~ var win = Ti.UI.currentWindow; var...
Create autolink on tablview lable or textarea in Iphone?
Hi, I am unable to create autolink on table view's label or text area. i have tried with text area , it works when the text area is on window ,but it wont work in table view text area.how to solve this problem? Anybody have idea about it...?
Sending link to an email ?
hi , i almost finished my first app , but got something when the user what to send email in my app , his OS going to make him chose how to send it like this :  if the user...
Label with Multiple Links
Hey Guys, I just had a question that I figured I would ask to make sure I wasn't reinventing the wheel before I built it out myself. This question is relating to the iPhone build...for now. What I want to do is have a label (or other?) tag that contains...
Open webview link from XML Parser with a new window
Hello everyone I think I get by pretty well with Titanium but I'm stuck on a problem. I develop for Android. I am creating an application used to view RSS feeds from a site. The creation was very simple thanks to Kitchensink but I decided to open an...
TiStudio module library with Symbolic Links
I have been trying to use a symbolic link(MAC) to allow me to have a common modules dir that can be referenced in any project. I just add the symbolic link into the Resources dir of any project and refer to it as though it were a local directory. This...
Getting the application to leave
I'm creating an webview in my app with some content. But I want that people when clicking inside that webview leave the app. Is there any way to do that?
Link two scrollViews
I would like to link two scrollviews and I understand this may not be possible. What I mean by that is this: Scrollview 1: Horizontal scrollview with content that exceeds the right hand side of the screen. User can drag to view the contents that exceed...
PDF Links are not clickable when loaded in WebView: iOS
I opened a ticket in the Ti JIRA bug tracker ([http://jira.appcelerator.org/browse/TC-592](http://jira.appcelerator.org/browse/TC-592)) and go to look that nothing in the section I posted in had been looked at since November, so I will post this again....
Click hold on a button & copy dialog box opens
Hi there, I'm trying to find a way to prevent this default action. Clicking buttons is fine. But if I press and hold the button, an apple dialog box opens with "file:///var/etc." (ie. the link to that page). Then 3 buttons: Open, Copy,...
linking two switches ~ switch value depends on another switch
I have two settings that can't be enabled both, so what I need is to switch the second switch off, when the first switch is switched on. And in reverse of course. Problem is that when I switch the other one within its change event, the change event is...
Titanium.App.fireEvent in iOS5
I have been testing my apps on an iOS 5 device and have found that most things seem to work fine. The exception is that Titanium.App.fireEvent does not seem to work inside a webview. Has anyone else noticed this?
Where are my builds?
Right now I'm alway from the Studio where I build my app, but I wold like to install the "private" build here to test. So I realised that I only have access to the public page for the build in the Studio I build the app. There is a way to find...
Facebook Feed, avatar link up to date.
Hi. I am connected to a fan page, and retrieving the wall feed throw this link: http://www.facebook.com/feeds/page.php?format=atom10&id=XXXXXXXX I'm able to see the wall's post, but I don't know how to link to the little avatar from the fan...
Youtube Embed ios version problem
Hi. Recently I found that a youtube video link with the parameter embed, won't load on an iOS version <= 4.1. On 4.2 & 4.3, they load ok. ~~~ var myurl = 'http://www.youtube.com/embed/xxxxxxxxxx'; var webview =...
Stupid web link button question
In my button click handler, how would I open a URL in Safari? This is iOS obviously, on an iPad. I would want to prompt the user (unless the happens automatically) that the action will close my app, but I want to hand off the URL to Safari instead on...
Problem finding a regex
Hello everyone, I am stuck right now. I have a webview with remote content stored locally (basically some text with html tags and a little css). Everything works fine except that some of the images and links are relative to the website and so the app...
How come Titanium.Platform.openURL() does not work in Android?
Hi! When using Titanium.Platform.openURL(url); on iPhone, the link opens in Safari. Is there any way to get this to work an Android? My problem is that when i click on an advertising banner on Android, the link opens in the adspace and not the built in...
Take youtube link tittle from embebed video
Hi. Is it posible to take out, or at least hide the link from a youtube video?. I have it on a webview: ~~~ url:'http://www.youtube.com/embed/' + vguid ~~~ What I'm looking for, is to "block" the click on the video/tittle that redirects to the...
Link in the text
hello can i link a text in the label like this --> This is <a href='http://google.com'>google</a> so when the google clicked or touched i want to open that link on a webview .
Add a click event to a TableViewRow?
Hey, I'm having a bit of a problem. Basically I am generating my tableviewrows with a 'for' loop to drag in all the data from JSON. However I want to adda click event to the rows that opens a certain view but passes a value specific to that particular row...
How to assign listeners to tableViewRows in a loop
Hi - I'm trying to assign listeners to table view rows in a loop but no matter what the loop takes the final url value of the loop rather than its specific indexed url. Here's my code: ~~~ var tweetLinks = []; var tweets =...
facebook share button
Hi, I have a basic question, but i don't know how to treat this situation... I just want to add a button : "Share on Facebook" in order to share an URL. How is it possible ? (as seen on Sharekit.com for example) Thanks a million in advance.
Using the YQL-Flickr example in KS how to open image in webview?
Hi Guys. Im modifying the KitchenSink example of the YQL+Flickr to grab images from my album. The example just shows an alert with the row number etc... when an image is clicked. Instead i would like to show a webview with the full sized image. How do i go...
color of link in textarea
Hi, Is it possible to change the color of the link in textarea after applying autolink. thanks
How to detect if another app is installed and/or...
Hello to everyone, I need to detect if another app is installed in the iphone, if installed run that app, if not go to the appstore directly to that app to install it... Would appreciate any help or comments that help me to solve this or at least help me...
createImageView url linking
Is it possible to link a createImageView image to a .js page, either within the var or as a click event? I would like to link this image to page called 'home.js'. Here is the code I have at present: var Logo = Ti.UI.createImageView({ width :...
Loading external DLL's ?
Anyone aware of - if Titanium Desktop is able to load external dynamic link libraries? (.so / dylib / dll) ? I've searched through the docs and Q&A's but can't seem to find anything.
Parsing a link
How would I go about finding a link in, say, a twitter status, and then allowing the user to click on that row to open the link in a web view. Here is what I am using to get, parse, and display current tweet data. Now I am just wanting to add the ability...
links broken in a webview
**UPDATE** If you are having the same issue, you can follow the ticket in the link below for a solution I've posted this in the as a bug already: https://appcelerator.lighthouseapp.com/projects/32238/tickets/2995-webview-link-doesnt-click but I was...
Tip on Link to iTunes Store - Author instead of product
I wanted to add a link into my app that linked to other products that the company has. This is done using the viewAuthor parameter, this way: http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewAuthor?id=xxxxxxxx&mt=8 It works and I hope it is...
Showing 1-50 of 71 1 2