Discussion Forums  >  Uncategorized

Replies: 4    Views: 316

fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
02/19/11 08:08 AM (15 years ago)

Strange behavior in Custom URL - Webpage links...

Quite strange: some of my screens are Custom URL - Webpages that display online content with various links, all leading to HTML content authored for the app. Everything works fine with the links, except when they are supposed to launch a native iPhone app! Example: to show a place, a link loads a map, a first step just to show the place in a large geographical context. On that map, a label invites the user to tap there to launch Maps so as to be able to use the itinerary functions etc. When you tap, the app asks you if you want to launch Maps, you say OK... but then it loads... the same page in Safari! And there, when you tap again, it asks you again if you want to launch Maps... you say yes and there you are! Strange behavior, isn't it? And I have exactly the same problem when I try to put a direct link to my first app's page on the Apple Store... Would you like to launch iTunes?... Yes!... and launches Safari and I have to click again...
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/19/11 12:29 PM (15 years ago)
Yikes, this is strange and needs our attention. Kindly post some steps to take so I can click the links you're describing... a) App Name (buzztouch control panel name) b) Menu / tab / screen with the links
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
02/19/11 02:52 PM (15 years ago)
liondor app tab WEB Lavaux Villages select any village and tap on i icon (it's an online webpage on my server) when you get the detailed webpage click on compass icon (you get the global map) tap on How to go to... see what happens! thanks for your help, David! Jack
 
David @ buzztouch
buzztouch Evangelist
Profile
Posts: 6866
Reg: Jan 01, 2010
Monterey, CA
78,840
like
02/19/11 03:43 PM (15 years ago)
Major no-brainer on our end. This has been fixed and added to the change log, good find! (re-download project). We realize that downloading the project over-and-over again for each little fix is a major pain, just don't know an easier way? If it's easier for you, check your email. I've sent the ONE FILE that needs changed in YOUR app. Each app is created individually during the download process so there are differences between each and every app. This is why it's necessary to send your the file for your app, it's slightly different than all the others ;-) It may be easier to replace the file I attached in the email. Or, you can re-download the entire project, up to you. Details: The URL to load externally (maps, itunes, app store, etc) is contained in the href portion of the tapped link. Because the app asks for confirmation (do you wan to open the native app?) it is necessary that the url in the href tag of the link is 'remembered' for a moment. It's this 'remembered' url that is loaded if the user says YES open, the native app. If they say NO, nothing happens. The url to load after saying YES was not being 'remembered' so the launch-native-app routine was defaulting to the current URL - bogus. Spending my weekend struggling with the Duplicate this App logic - seems easy - it's not! LOL. Bye for now
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
02/20/11 02:42 AM (15 years ago)
Thanks a lot, David, works perfectly now! Just used the file you sent me, but don't worry, downloading the project over-and-over again is not so much pain, it's just a question of good organization! Besides the source code, I have a folder with all my added files, with clear indication of where I have to put them. When I redownload the project, I just have to copy these files in the corresponding folder of the project, reassign the CFBundle bits, build and run... Had to send an SOS to Apple to understand the CFBundle trick but now it should be ok... Thanks a lot for your help! Now I should be almost ready to submit the liondor app to Apple...
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.