Anton6737105
Posts: 0
Joined: Sat Mar 15, 2014 7:22 pm

iOS\\Back gesture

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...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

iOS\\Back gesture

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.

Anton6737105
Posts: 0
Joined: Sat Mar 15, 2014 7:22 pm

iOS\\Back gesture

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/Сним...

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

iOS\\Back gesture

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

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

iOS\\Back gesture

Hello Anton,

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

Anton6737105
Posts: 0
Joined: Sat Mar 15, 2014 7:22 pm

iOS\\Back gesture

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?

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

iOS\\Back gesture

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.

Serhii Kulibaba
Posts: 150
Joined: Tue Aug 27, 2013 1:47 pm

iOS\\Back gesture

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.

Anton6737105
Posts: 0
Joined: Sat Mar 15, 2014 7:22 pm

iOS\\Back gesture

Excellent!
Thanks a lot!

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

Return to “Issues”