Page 1 of 1

is there a method to display all objets for all Android rect

Posted: Thu Jan 03, 2013 7:15 pm
by Fasasoftware
is there a method to display all objets for all Android devices rects...once? without buy any plugin??????

I have also tryed the Nativesoftware plugin Native geometry, but for me is too complicated and i can't able to use as i want , because is too complex for me and the final results is so far in my opinion....i'm sorry....but this is my modest opinion....

Ok...can somebody help me please???


Best regards,

Lestroso :oops:

Re: is there a method to display all objets for all Android

Posted: Thu Jan 03, 2013 7:29 pm
by Dixie
Something must have got lost in the translation... Do you mean :-
'Is there a way to display the rects of all the objects on a device (Android and/or iOS) ?' without using a plugin

Dixie

Re: is there a method to display all objets for all Android

Posted: Thu Jan 03, 2013 8:08 pm
by Fasasoftware
yes dixie,

i'm sorry for my bad english....

you're right..is there a way to display the rects of all the objects on a device (Android and/or iOS) ?' without using a plugin????

best regards,

Lestroso

Re: is there a method to display all objets for all Android

Posted: Thu Jan 03, 2013 8:19 pm
by Dixie
Don't worry about 'bad English', I can assure you that your English is much better than my Italian as all I can say is 'Ferrari', 'Milan' and 'Pizza'...:-)

Well listing all the controls on a card..

Code: Select all

on mouseUp
   repeat with count = 1 to the number of controls of this card
      put the short name of control count && the rect of control count & cr after controlList
   end repeat
   put controlList
end mouseUp
be well

Dixie

Re: is there a method to display all objets for all Android

Posted: Thu Jan 03, 2013 8:43 pm
by Fasasoftware
Many thanks DIXIE......

But this code that you have written is right for universal to display all objets rights on his geometry and scale???for all devices?? If so .... i thank again....

can you confirm me please...but in truth my problem is that, when i start a new program for android i don't know what width an height use..to display the corect rect to fit all images or object inside.....can you help me please???...thanks a lot....

Best regards,

Lestroso :oops:

Re: is there a method to display all objets for all Android

Posted: Fri Jan 04, 2013 2:57 pm
by Klaus
Hi Lestroso,

the code Dixie supplied will only tell you the current RECT of all the objects on a card, nothing more!
Because that was your question! 8)

What you need to do is to check "the screenrect" before the stack opens, do some calculations and
(re-)layout your cards accordingly.

Not an easy task, lot of work, but YOU want to develop for the mobile platform :D

Unfortunately there is no universal recipe for this, but please search the forum, there are some solutions
and hints around here!

As I wrote in another thread:
This is one reason I do not develop for mobile, just too many possible screen sizes...
8)


Best

Klaus

Re: is there a method to display all objets for all Android

Posted: Fri Jan 04, 2013 3:59 pm
by Fasasoftware
Many thanks to you klaus.....i appreciate a lot your answer...i will look more about the screenrect...

Happy New year...

Best regards,

Lestroso :D