MobGUI is Not ready for Android Yet.

This is the place to discuss anything relating to MobGUI

Moderators: heatherlaine, kevinmiller, robinmiller, malte, splash21

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

MobGUI is Not ready for Android Yet.

Post by BarrySumpter » Sat Jul 16, 2011 1:57 am

Just wondering if I can use MobGUI for Android?
Last edited by BarrySumpter on Sat Jul 16, 2011 12:59 pm, edited 2 times in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Is MobGUI for Apple Only?

Post by BarrySumpter » Sat Jul 16, 2011 2:04 am

http://forums.runrev.com/viewtopic.php? ... 488#p40629
splash21 wrote:I've been playing with android - all the controls are built with LiveCode graphics, so they work fine on android - although there's a known bug in the rendering of some of the graphics objects, so they'll not be 100% until that's fixed in the next LiveCode release. Android is now high on the to-do list - I've even made a scaleable android to start things off 8)
AndroidLogo.livecode.zip
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Is MobGUI for Apple Only?

Post by BarrySumpter » Sat Jul 16, 2011 2:44 am

Step by step guides - very nice.

http://www.youtube.com/MobGUI

Android usage develping on win32:
Selecting Button images:
C:/LiveCode/OmegaBundle/IconPeople Aspen Icons - 0610070707/Aspen Std/png/phone32.png

All the / needs to be \ on windows.
If I copy and paste into Windows Explorer i get an error .

save - close - reopen
does NOT recover custom size of stack
nor last position of tab buttons.
Perhaps tab buttons are just graphics and need to be locked into size and position.

And the uTabID and uTabText is always empty.
So the go Card can't identify which card to go to.

Weird I've just noticed this Stack window has lost its resizing frame. hmmmm
Last edited by BarrySumpter on Sat Jul 16, 2011 11:59 am, edited 2 times in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Is MobGUI for Apple Only?

Post by BarrySumpter » Sat Jul 16, 2011 11:47 am

Started all over.
Rebooted the PC.
Copied revMobGUI.livecode to Plugins folder and as .rev

Restarted LiveCode 4.6.2
and opend Developement | Plugins | revMobGUI

This time I entered the Label for the three Tab Buttons into the MobGUI interface
and NOT the LiveCode Property Inspector. The labels in the LiveCode Property Inspector are blank.

Now "the uTabText" AND "the uTabID" is returning the correct label value.

It was probably me fumbling around yet again with the groupings.
Last edited by BarrySumpter on Sat Jul 16, 2011 11:05 pm, edited 1 time in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: Is MobGUI for Apple Only?

Post by BarrySumpter » Sat Jul 16, 2011 12:57 pm

Froyo 2.2 emulator - doesn't respond to touches.

HTC HD2 - doesn't respond to touches.

Oh well.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

splash21
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 369
Joined: Sun Dec 19, 2010 1:10 am
Location: UK
Contact:

Re: MobGUI is Not ready for Android Yet.

Post by splash21 » Sun Jul 17, 2011 12:21 pm

Hi, Barry. It's no secret that MobGUI isn't ready for android yet, as there are no android style controls yet! :wink: You can still use most of the objects in their current state for android if you want to experiment though - I've been playing with them for a while. I've been using a MacBook and everything responds to touches OK on it (Froyo 2.2), except for objects nested within multiple groups - there is a confirmed LiveCode bug for this, but happily it is easily worked around using mouse handlers instead of touch handlers. You asked if MobGUI is for Apple only - I have demonstrated the prototyping capabilities a few times for designing iOS apps on a Windows machine. Android for LC is still a bit behind iOS for LC, but it's progressing steadily and I plan to start adding some android style controls. I've just been ironing out a few remaining bug reports with the plugin itself.

Forward slashes seem to work OK for me in Explorer - I believe LiveCode uses forward slashes across all platforms for file names;

Code: Select all

answer file "Select a file"
answer it
Gives me "C:/Users/John/Images/highRed/highRed1.png"

The last time I tried android on Windows was some time ago, before MobGUI existed, so I've just set it up again. Unfortunately I'm getting an error when I click the 'Test' button just before the stack launches in the emulator, so I'll test some more on Windows when I get it up and running properly. :(


I thought I had fixed that bug with the 'custom size' setting, but I missed out one detail! It will definitely be fixed i the next release. :)


Thanks for your feedback, Barry - I'm listening to ALL the feedback I'm getting and it's turned out to be very helpful in getting the plugin to it's current state. Android is not far off - watch this space!
LiveCode Development & Training : http://splash21.com

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: MobGUI is Not ready for Android Yet.

Post by BarrySumpter » Sun Jul 17, 2011 12:58 pm

Cool.

I've run into absolutely every single error you could run into
when setting up, developing, and testing with LiveCdoe for Android on Win32.

Very detailed doco here:
http://forums.runrev.com/viewtopic.php?f=53&t=8137


You can ask me or look thru my posts as I've tried to make sure there are
answers to every one of my queries.

I'm just trying to setup LiveCode for Android and iOS on OSX 10.6.8.
I've alreay downloaded the 4+ gig XCode but can't get it off my privious OSX 10.6.6.
I'm trying to copy the xCode installer to PC
but it looks like Apple refuses to acknowledge
any other operating system.

Different platform and heaps of new issues.

-----

When selecting the graphics for the tab buttons the path needs to remember/default to the last folder. The file path text box needs to have the back slashes to copy and paste into windows explorer.

LiveCode converts the file paths internally.
WinExp doesn't.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

Re: MobGUI is Not ready for Android Yet.

Post by BarrySumpter » Thu Jul 21, 2011 8:21 am

Hi all,

Just thought I'd mention this other mobGUI thread
where some of these mobGUI controls ARE actually working well enough for Android:

http://forums.runrev.com/viewtopic.php?f=54&t=8442

which got me testing other mobGUI controls.
All working well.


NICE!

Of course, my luck running as true as ever,
I selected the TabBar and TabButtons to test with first.

WITH Images it wasn't responding to touches.
Which were giving me all kinds of headaches.

BUT WITHOUT images it IS responding to touches.

Everything else seems to be running ok on the Android.
Except iOS native controls.

But maybe we can add the Android native controls depending on the development envrionment.
I understand video player is supposed to have been updated.
checking now.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Post Reply

Return to “MobGUI”