mradhip ramesh
Posts: 0
Joined: Fri Dec 26, 2014 8:00 pm

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

I am trying to incorporate something like facebook messenger chat head and I need to access system overlay. Is this possible in appery ?

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

Hello Mradhip,

Sorry, I'm not sure I understand you correctly, could you please elaborate your question with some screenshots?

mradhip ramesh
Posts: 0
Joined: Fri Dec 26, 2014 8:00 pm

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

This is what I want to achieve:

  1. I need to open three websites inside my app(for eg: google.com, facebook.com, twitter.com). I need to keep the header and footer to be present even if I open the mentioned websites.

    I tried iframe way but could not open google.com, I tried inappbrowser way but the header and footer was missing.

    Need your help to achieve this.

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

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

Hi -

You can use HTML component for such cases, please also check the solution described in our documentation here: https://devcenter.appery.io/documenta...

mradhip ramesh
Posts: 0
Joined: Fri Dec 26, 2014 8:00 pm

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

I tried html component, but cannot open Google.com inside iframe. If I open inappbrowser, header and footer disappears. Please help

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

Hello!

Please try to test your app on a real device, html component should work correctly there.

mradhip ramesh
Posts: 0
Joined: Fri Dec 26, 2014 8:00 pm

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

I tried html component with iframe. It is giving x-origin error, hence could not open Google.com. I can open appery.up here but not Google.com, hope you get the issue now.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

How do I keep my screen on top ? Is there anything similar to WindowManager.LayoutParams ?

Unfortunately some sites prohibit to display their data this way. Apparently Google.com is among them now (it was working not long ago). You may look for the alternative of it and use some other search site. Or you may look for some phonegap/cordova plugin that would fit your needs.

Return to “Issues”