Page 1 of 1

Import Image

Posted: Sat Aug 23, 2014 10:45 am
by fko
Hi,

In the application i am doing, i would like to let choose the user the image he wants to put in one 'Image Area' ( i think it should be here )...This image should be in 'the gallery'...
The required size of the image ( to fill all the image área ) is giving by me.

I have really no idea about how to do this...:-(
I was reading in some posts in this forum and in the lessons, but I didn't manage to see what i have to do

What should i do?

Thanks in advance.

Regards,
fko

Re: Import Image

Posted: Sat Aug 23, 2014 11:30 am
by Klaus
Hi fko,

"Gallery"? Does this mean this is for "mobile"?
That is a bit different thatn the desktop!

Please always note your target platform.


Best

Klaus

Re: Import Image

Posted: Sun Aug 31, 2014 6:44 pm
by fko
Hi Klaus,

Sorry for my late answer...:-(
I made one week of holidays and i didn't see your answer before...

So yes, it is for 'mobile'...For the moment i am developping and testing in Desktop, but the idea is to make it for 'mobile'...

regards,
fko

Re: Import Image

Posted: Sun Aug 31, 2014 6:59 pm
by Klaus
Aha! :D

OK, check -> mobilepickphoto in the dictionary, that is what you need.

Re: Import Image

Posted: Mon Sep 01, 2014 3:31 pm
by fko
Hi Kalus,

I looked at "mobilePickPhoto" in the dictionary, but I still have a doubt...:-)

How do i assign the image choosen by the user to the Image Area?

regards,
fko

Re: Import Image

Posted: Mon Sep 01, 2014 3:37 pm
by Klaus
Hi fko,

"mobilepickphoto" will create a NEW image object on your card!
So you can refer to it a LAST IMAGE and do something like thnis:
...
mobilepickphoto...

## User imported an image from gallery or whatever, now assign that image to your image area:
put last img into img "your special user image object here..."

## We don't need th "mobilepickedphoto" anymore:
delete last img
...
You get the picture :D

You can also search the iOS and Android forum, this has come up very often in the past!


Best

Klaus