iPhone Web based apllication back ,forward and refresh button - html

In my iphone web based application i want to add backword,Forward,Refresh and Action button like the native Webview,How i implement this in my app.
Thanks,
Arun

Use what HTML gives you to draw this navigation. Or look for ready code for that.

Related

RemoveBackEntry in Prism Universal apps

I am building a Universal App using Prism framework. In my Windows Phone app, I have a scenario that I navigate from Page 1 to Page 2, and from Page 2 to Page 3. On click of the Back button on Page 3, I want to go back to Page 1.
I figured that only way I can do is by removing the previous entry from the back stack. But, unfortunately, the NavigationService provided by Prism doesn't have such a method. There is ClearHistroy, but that is not what I want.
Is there a way?
Appreciate your help.
Naweed
For the moment the current implementation of PRISM has stopped ( there is a team working on a newer version - so let's hope they extend this for Win10 ).
So you need to do this the 'old' way, get hold of the Frame in the app and remove an entry from the BackStack. You could use a PRISM event to notify the page and in the code behind of that page run
if(this.Frame.CanGoBack)
{
this.Frame.BackStack.RemoveAt(0);
}

Pull out tab on android app navigation drawer

My Samsung Galaxy Duos phone has a small pull out tab on the left edge which basically pulls out a panel for quick access to Gmail, FB etc (as seen in the picture attached). I would like to do the same for my android app's navigation drawer. I tried to look it up on google and do some reading. However, I didn't get much success. Is it even possible to customize this in Android. Any help is much appreciated.
Use this. Just on each item in ListView put action to start new Activity via Intent. Other things are pure cosmetic.

Current panel in jqmobi app

I am porting a mobile app from jQueryMobile to jqMobi and am looking for a way to determine the currently viewed panel. In jQuery they had
$.mobile.activePage
Does jqMobi have something similar, or do i need to track it myself?
There is a property called "activeDiv" that you can use - it is the raw DOM node.
$.ui.activeDiv

Using the android backbutton with Dojomobile and phonegap in worklight

Im creating an app (rather big one) with Worklight. When im testing the app in an android phone and press the backbutton it closes the app.. now i want it to go back one page. Right now the page navigation is with dojox mobile implemented system. this way:
<button data-dojo-type="dojox.mobile.ToolBarButton" data-dojo-props="transition:'fade',dir:'1',moveTo:'Contact'" class="buttonHem" style="color:black; font-size:1em;">Kontakta Oss</button>
is there a way to use the android backbutton without having to redo everything?
we have deadline in 2 weeks so there is really no time to redo the app with jquery mobile..
Answers will be appreciated.
If you're talking about a hardware Android back button you have a WL API to override it's behaviour.
WL.App.overrideBackButton(function() { doSomething });
and WL.App.resetBackButton();
The back button functionality should work in Dojo Mobile. Looking at the documentation for ToolBarButton I think what you need to do is use a # in front of your next view for the moveTo attribute. In your example it would be moveTo:'#Contact' Take a look at the moveTo attribute in the doc below for more info.
http://dojotoolkit.org/reference-guide/1.8/dojox/mobile/ToolBarButton.html

Need help with touch gestures on an html website

I am currently working on a web application. I have a menu bar that moves when someone clicks on arrow. With every click a new menu option is activated.
Now, I would like to give the user the option to slide over the menu bar/screen to navigate on a touch interface.
Any idea how I would do that ?
Thanks
Well I don't think you'll be able to do it using just HTML, but if you're comfortable with jQuery take a look at this:
http://plugins.jquery.com/project/swipe
This plugin enables you to bind events to gestures, but I believe it only works on iPhone and iPad.