Android equivalent of auto fit, Page scaling mobile browser

The place to discuss anything and everything about running your LiveCode on Android

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
kungfudave
Posts: 4
Joined: Thu Nov 28, 2013 12:59 pm

Android equivalent of auto fit, Page scaling mobile browser

Post by kungfudave » Thu Nov 28, 2013 1:04 pm

Hi,

Is there and android alternative to stop page scaling in android? My app using iphone controls works perfectly using autofit.

My Android apps show only half they page they need to. Been searching for about a week to try and solve this to no avail.

Any help please?

bangkok
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 937
Joined: Fri Aug 15, 2008 7:15 am

Re: Android equivalent of auto fit, Page scaling mobile brow

Post by bangkok » Fri Nov 29, 2013 8:29 am

Are talking about the new version 6.5 and the

Code: Select all

set the fullscreenmode of me to "exactFit"
new feature ?

kungfudave
Posts: 4
Joined: Thu Nov 28, 2013 12:59 pm

Re: Android equivalent of auto fit, Page scaling mobile brow

Post by kungfudave » Fri Nov 29, 2013 4:01 pm

No i can resize the browser window as i see fit, however it will only display a protion of the webpage im trying to display. What i want it to do is scal the web page down to fit the browser window.

Autofit works nicley on IOS but there isnt a suitable control for android.

Any help is much appreciated

Traxgeek
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 281
Joined: Wed Jan 09, 2013 10:11 am

Re: Android equivalent of auto fit, Page scaling mobile brow

Post by Traxgeek » Sat Nov 30, 2013 6:43 pm

Hi'ya, if it helps I have a script to resize my controls to suit stack size changes / any screen size. This rescales all controls (and their text) - except DataGrids - which need to be handled within each DG itself. If it would be any good to you... might be rubbish for you use thou...
I'm 'getting there'... just far too slowly !
Mac (Siera) and PC (Win7)
LiveCode 8.1.2 / 7.1.1

kungfudave
Posts: 4
Joined: Thu Nov 28, 2013 12:59 pm

Re: Android equivalent of auto fit, Page scaling mobile brow

Post by kungfudave » Tue Dec 03, 2013 3:44 pm

Hi,

Im not having an issue with stack resizing. Its more to to with the actual contents of the browser window, I did ask one of the Devs, but they gave me the exact fit command but it dosent work for the contents of the browser. Just the container for it.

Unless theres something missing? i dont really want to have to go down the route of apple only because personally im a fan of android, but otherwise im going to have to use a different programming platform

Klaus
Posts: 14199
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Android equivalent of auto fit, Page scaling mobile brow

Post by Klaus » Tue Dec 03, 2013 4:26 pm

Hi Dave,

if Livecode does not support "autofit" for native browser control on Android, I'm afraid you're out of luck.


Best

Klaus

kungfudave
Posts: 4
Joined: Thu Nov 28, 2013 12:59 pm

Re: Android equivalent of auto fit, Page scaling mobile brow

Post by kungfudave » Thu Dec 05, 2013 11:16 am

Is there something i can modify in my CSS to allow resizing using native controls?

Post Reply