Select to view content in your preferred language

Dynamic Layer in Landscape Mode

1147
2
08-15-2011 08:39 AM
ZahidChaudhry
Deactivated User
I created a mobile application using latest ArcGIS API for Flex. It behave as expected but in Android OS, when i switch from portrait to Landscape mode, my dynamic layer disappear. Any clue whats going on here....
Tags (2)
0 Kudos
2 Replies
IvanBespalov
Frequent Contributor
You need to search information about mobile browser meta tags.

Some times ago we solved the similar problem with:

...
<head>
    <title>${title}</title>
    <meta name="google" value="notranslate">
    <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi, initial-scale=1.0, user-scalable=no" />   
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
...


Try to search in web this key worlds: "Building web pages to support different screen densities".

Good luck
0 Kudos
ZahidChaudhry
Deactivated User
You need to search information about mobile browser meta tags. 

Some times ago we solved the similar problem with: 

...
<head>
    <title>${title}</title>
    <meta name="google" value="notranslate">
    <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi, initial-scale=1.0, user-scalable=no" />   
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
...


Try to search in web this key worlds: "Building web pages to support different screen densities". 

Good luck

Thanks for your reply but problem is i am not building a web page, rather building an air application hat run in android...IF it works fine in a tablet like galaxy but not on a phone...
0 Kudos