Discussion Forums  >  Uncategorized

Replies: 3    Views: 220

CBungert
Aspiring developer
Profile
Posts: 56
Reg: Jun 17, 2011
Minneapolis
3,310
01/05/12 01:41 PM (14 years ago)

Button in Custom HTML that will lead to another Screen within app?

Is there a way to make a button or images that lead to another screen within my app? Similar to the way <a href> works on webpages... Looked around some but I cant figure this one out...
 
CBungert
Aspiring developer
Profile
Posts: 56
Reg: Jun 17, 2011
Minneapolis
3,310
like
01/05/12 03:18 PM (14 years ago)
after thinking about this some more I realize its likely not to be done in HTML. So just for clarification, any thoughts on how this would be done on a Custom HTML Screen from within a buzztouch server 2.0 app?
 
Parker @ buzztouch
buzztouch Evangelist
Profile
Posts: 1395
Reg: May 09, 2011
Pacific Grove, ...
24,500
like
01/05/12 06:50 PM (14 years ago)
Hi CBungert, If you want to access a screen in your app from an HTML page you'll have to do it by making a call to whichever programming language the app is written in, usually through javascript. An example for iOS: http://tetontech.wordpress.com/2008/08/14/calling-objective-c-from-javascript-in-an-iphone-uiwebview/
 
CBungert
Aspiring developer
Profile
Posts: 56
Reg: Jun 17, 2011
Minneapolis
3,310
like
01/05/12 07:03 PM (14 years ago)
Thank you very much... I will have to look into that now. I started on another method to see where I can get with it. I have begun to make .html files with the content I want inside, and the supporting files linked to from that .html in the same folder (BT_Images for iOS). Then adding the documents HTML Doc plugin. Originally I was doing Custom HTML screen plugin to produce the pages but found several other limitations as well. With the method I'm trying now, I can use simple <a href> links to the other .html files within the app. As well as standard links for images and whatnot. But the more I wander around trying to figure out the best plan, The more I begin to wonder about doing all this from .php and calling the information inside .txt files as HTML. Happen to know anything about implementing .php within an app? Or do you think between the buttons and the HTML docs, I'm better off keeping it simple?
 

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.