Page 1 of 2

iOS\\Back gesture

Posted: Thu May 01, 2014 2:03 pm
by Anton6737105

My app displays an xml feed from the Facebook.
When I press the link of the particular post it displays the post as a full screen.
There is no Back button!

How could I return back to the app page (previous page or at least Home page)?
Even if tap the hardware iPad's button and click my app again I get back to the Facebook page and can't work with the app at all...


iOS\\Back gesture

Posted: Thu May 01, 2014 3:36 pm
by Illya Stepanov

Hi Anton,

We need more information about how you implement this functionality in your app:

  • some examples with code that you're using,

  • some screen shots.

    Thanks.


iOS\\Back gesture

Posted: Thu May 01, 2014 4:24 pm
by Anton6737105

Or, sure

io.appery.project149558

http://appery.io/app/mobile-frame?src...
It is marked as public. If you need some extra permissions please tell where to click.

Service svcFacebook: https://www.facebook.com/feeds/page.p... get xml
mapped to a grid as usually

Produces a page with Facebook's feed:
http://cdn.r-as.ru/upload/Skitch/Симу...

In the bootom of every post you can see a small link "Перейти к записи"
Click on it and you will see a full screen Facebook page
http://cdn.r-as.ru/upload/Skitch/Сним...


iOS\\Back gesture

Posted: Sat May 03, 2014 6:14 pm
by Illya Stepanov

Hi Anton, sorry for the delay we need additional time to solve this. We are working on it.


iOS\\Back gesture

Posted: Sun May 04, 2014 7:35 am
by Serhii Kulibaba

Hello Anton,

Use InAppBrowser (http://docs.appery.io/tutorials/using...) instead of direct link in html.


iOS\\Back gesture

Posted: Sun May 04, 2014 11:48 am
by Anton6737105

Thank you Sergiy,

And could you please suggest the best approach for it?
I mean now I map this link in a datasource (and there is a grid with many records of the xml feed). I can replace it with a JS.
But if I just replace the "value" with a kind of "window.open(value,'blank')" it will not work as it still will be like
a id="Facebook_lnk" href="window.open(value,'blank')" name="lnk" dsid="lnk" class="Facebook_lnk ui-link" GoTo... /a

Am I right that instead of adding a "link" to the mobile grid component I'd add another type of control?
Which one?


iOS\\Back gesture

Posted: Sun May 04, 2014 12:54 pm
by Serhii Kulibaba

You can use label instead of link. Add the same mapping to it (to text paremeter) and add click event listener "run JavaScript":

var url = $(this).text();
window.open(url,'_blank');

That's all.


iOS\\Back gesture

Posted: Sun May 04, 2014 12:58 pm
by Serhii Kulibaba

You can use label instead of link. Add the same mapping to it (to text parameter) and add click event listener "run JavaScript":

var url = $(this).text();
window.open(url, '_blank');

That's all.


iOS\\Back gesture

Posted: Sun May 04, 2014 2:06 pm
by Anton6737105

Excellent!
Thanks a lot!

And is there any way to replace "Done" at the bottom left with something in Russian?


iOS\\Back gesture

Posted: Mon May 05, 2014 7:56 pm
by Serhii Kulibaba