Re: mobilePickPhoto and Galaxy Note 8

2019-08-23 Thread Alan Stenhouse via use-livecode
Hi Dan

This is a confirmed bug, see (+ subscribe to) it at:

https://quality.livecode.com/show_bug.cgi?id=22054

cheers

Alan

On 24 Aug 2019, at 8:52 am,Dan Friedman 
mailto:d...@clearvisiontech.com>> wrote:

Greetings!

I am using mobilePickPhoto to take a photo.  On all Apple devices it's working 
great. It's also working as expected on all Android devices except a Galaxy 
Note 8.  On this specific device the camera comes up, we take the photo and 
hear the shutter sound, but no photo is returned/created.  It's as if 
mobilePickPhoto was never called.  Again, this ONLY happens on a Galaxy Note 8. 
 Anyone have any insight to this?   Perhaps someone has a Galaxy Note 8 and can 
see if you're getting the same result?

Thanks in advance,
--Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


mobilePickPhoto and Galaxy Note 8

2019-08-23 Thread Dan Friedman via use-livecode
Greetings!

I am using mobilePickPhoto to take a photo.  On all Apple devices it's working 
great. It's also working as expected on all Android devices except a Galaxy 
Note 8.  On this specific device the camera comes up, we take the photo and 
hear the shutter sound, but no photo is returned/created.  It's as if 
mobilePickPhoto was never called.  Again, this ONLY happens on a Galaxy Note 8. 
 Anyone have any insight to this?   Perhaps someone has a Galaxy Note 8 and can 
see if you're getting the same result?

Thanks in advance,
--Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: mobilePickPhoto on Android

2019-05-14 Thread panagiotis merakos via use-livecode
Hello Dan,

Looks like another user is affected by the same bug, in a Samsung s8 device:

https://quality.livecode.com/show_bug.cgi?id=22054

Cheers,
Panos
--

On Mon, 6 May 2019 at 11:16, panagiotis merakos  wrote:

> Hello Dan,
>
> Thank you for the update. I am wondering if this is device-specific. If
> anyone of the folks watching this thread has a Samsung Galaxy S9+ and could
> test mobilePickPhoto "camera", it would be very useful.
>
> In the meanwhile, I suggest you file a new bug report so as we can track
> (and fix) this issue.
>
> Kind regards,
> Panos
> --
>
> On Fri, 3 May 2019 at 18:08, Dan Friedman  wrote:
>
>> Panos,
>>
>>
>>
>> Here’s an update…  I met in person with my client with his Samsung Galaxy
>> S9+ running Android 9.  My standalone built with 9.0.4 rc3 is failing on
>> his device.  I call mobilePickPhoto "camera", and the camera does come up.
>> I take the picture, the screen flashes, and then the camera is ready to
>> take another photo.  The photos are being added to his photo library.  It
>> doesn’t return to the app.  If I cancel the camera, it returns to the app
>> and I get “cancel” as the result.  There must be something different about
>> this particular device.  Do you have any insight or things I might try?
>>
>>
>>
>> Anyone out there with a Samsung Galaxy S9+ running Android 9 that can
>> confirm mobilePickPhoto is or isn’t working?
>>
>>
>>
>> -Dan
>>
>>
>>
>>
>>
>> *From: *Dan Friedman 
>> *Date: *Tuesday, April 30, 2019 at 10:26 AM
>> *To: *panagiotis merakos , How to use LiveCode <
>> use-livecode@lists.runrev.com>
>> *Subject: *Re: mobilePickPhoto on Android
>>
>>
>>
>> Panos,
>>
>>
>>
>> Thank you for the reply.  This version fixed the issue on several of our
>> devices.   However, my client is saying it’s failing on his Samsung Galaxy
>> S9+ running Android 9.  I have verified that he has the updated build (made
>> with LC 9.0.4 rc 2) installed on his device.   He says he has made no
>> software or hardware modifications to the device but is still having the
>> same issue.  Perhaps there is a different issue with camera access with
>> this device?
>>
>>
>>
>> -Dan
>>
>>
>>
>>
>>
>>
>>
>> *From: *panagiotis merakos 
>> *Date: *Tuesday, April 30, 2019 at 4:04 AM
>> *To: *How to use LiveCode 
>> *Cc: *Dan Friedman 
>> *Subject: *Re: mobilePickPhoto on Android
>>
>>
>>
>> Hello Dan,
>>
>>
>>
>> This sounds like https://quality.livecode.com/show_bug.cgi?id=21826,
>> affecting only specific Android devices, and has been fixed in LC 9.0.4
>> RC-1+
>>
>>
>>
>> Kind regards,
>>
>> Panos
>>
>> --
>>
>>
>>
>> On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode <
>> use-livecode@lists.runrev.com> wrote:
>>
>> Greetings!I am calling mobilePickPhoto "camera" on a Android device.
>>  If I am running Android version 7.0, everything works great.   If I am
>> running Android 8.0, then I get an empty back where length(image 1) is 0.
>>  Using LiveCode 9.0.3.   Anyone know of an issue with mobilePickPhoto on
>> late versions of Android.   FWIW, mobilePickPhoto "library" works fine on
>> all versions of Android.
>>
>> Thanks in advance,
>> -Dan
>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: mobilePickPhoto on Android

2019-05-06 Thread panagiotis merakos via use-livecode
Hello Dan,

Thank you for the update. I am wondering if this is device-specific. If
anyone of the folks watching this thread has a Samsung Galaxy S9+ and could
test mobilePickPhoto "camera", it would be very useful.

In the meanwhile, I suggest you file a new bug report so as we can track
(and fix) this issue.

Kind regards,
Panos
--

On Fri, 3 May 2019 at 18:08, Dan Friedman  wrote:

> Panos,
>
>
>
> Here’s an update…  I met in person with my client with his Samsung Galaxy
> S9+ running Android 9.  My standalone built with 9.0.4 rc3 is failing on
> his device.  I call mobilePickPhoto "camera", and the camera does come up.
> I take the picture, the screen flashes, and then the camera is ready to
> take another photo.  The photos are being added to his photo library.  It
> doesn’t return to the app.  If I cancel the camera, it returns to the app
> and I get “cancel” as the result.  There must be something different about
> this particular device.  Do you have any insight or things I might try?
>
>
>
> Anyone out there with a Samsung Galaxy S9+ running Android 9 that can
> confirm mobilePickPhoto is or isn’t working?
>
>
>
> -Dan
>
>
>
>
>
> *From: *Dan Friedman 
> *Date: *Tuesday, April 30, 2019 at 10:26 AM
> *To: *panagiotis merakos , How to use LiveCode <
> use-livecode@lists.runrev.com>
> *Subject: *Re: mobilePickPhoto on Android
>
>
>
> Panos,
>
>
>
> Thank you for the reply.  This version fixed the issue on several of our
> devices.   However, my client is saying it’s failing on his Samsung Galaxy
> S9+ running Android 9.  I have verified that he has the updated build (made
> with LC 9.0.4 rc 2) installed on his device.   He says he has made no
> software or hardware modifications to the device but is still having the
> same issue.  Perhaps there is a different issue with camera access with
> this device?
>
>
>
> -Dan
>
>
>
>
>
>
>
> *From: *panagiotis merakos 
> *Date: *Tuesday, April 30, 2019 at 4:04 AM
> *To: *How to use LiveCode 
> *Cc: *Dan Friedman 
> *Subject: *Re: mobilePickPhoto on Android
>
>
>
> Hello Dan,
>
>
>
> This sounds like https://quality.livecode.com/show_bug.cgi?id=21826,
> affecting only specific Android devices, and has been fixed in LC 9.0.4
> RC-1+
>
>
>
> Kind regards,
>
> Panos
>
> --
>
>
>
> On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> Greetings!I am calling mobilePickPhoto "camera" on a Android device.
>  If I am running Android version 7.0, everything works great.   If I am
> running Android 8.0, then I get an empty back where length(image 1) is 0.
>  Using LiveCode 9.0.3.   Anyone know of an issue with mobilePickPhoto on
> late versions of Android.   FWIW, mobilePickPhoto "library" works fine on
> all versions of Android.
>
> Thanks in advance,
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: mobilePickPhoto on Android

2019-05-03 Thread Dan Friedman via use-livecode
Panos,

Here’s an update…  I met in person with my client with his Samsung Galaxy S9+ 
running Android 9.  My standalone built with 9.0.4 rc3 is failing on his 
device.  I call mobilePickPhoto "camera", and the camera does come up.  I take 
the picture, the screen flashes, and then the camera is ready to take another 
photo.  The photos are being added to his photo library.  It doesn’t return to 
the app.  If I cancel the camera, it returns to the app and I get “cancel” as 
the result.  There must be something different about this particular device.  
Do you have any insight or things I might try?

Anyone out there with a Samsung Galaxy S9+ running Android 9 that can confirm 
mobilePickPhoto is or isn’t working?

-Dan


From: Dan Friedman 
Date: Tuesday, April 30, 2019 at 10:26 AM
To: panagiotis merakos , How to use LiveCode 

Subject: Re: mobilePickPhoto on Android

Panos,

Thank you for the reply.  This version fixed the issue on several of our 
devices.   However, my client is saying it’s failing on his Samsung Galaxy S9+ 
running Android 9.  I have verified that he has the updated build (made with LC 
9.0.4 rc 2) installed on his device.   He says he has made no software or 
hardware modifications to the device but is still having the same issue.  
Perhaps there is a different issue with camera access with this device?

-Dan



From: panagiotis merakos 
Date: Tuesday, April 30, 2019 at 4:04 AM
To: How to use LiveCode 
Cc: Dan Friedman 
Subject: Re: mobilePickPhoto on Android

Hello Dan,

This sounds like https://quality.livecode.com/show_bug.cgi?id=21826, affecting 
only specific Android devices, and has been fixed in LC 9.0.4 RC-1+

Kind regards,
Panos
--

On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:
Greetings!    I am calling mobilePickPhoto "camera" on a Android device.   If I 
am running Android version 7.0, everything works great.   If I am running 
Android 8.0, then I get an empty back where length(image 1) is 0.   Using 
LiveCode 9.0.3.   Anyone know of an issue with mobilePickPhoto on late versions 
of Android.   FWIW, mobilePickPhoto "library" works fine on all versions of 
Android.

Thanks in advance,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: mobilePickPhoto on Android

2019-04-30 Thread Dan Friedman via use-livecode
Panos,

Thank you for the reply.  This version fixed the issue on several of our 
devices.   However, my client is saying it’s failing on his Samsung Galaxy S9+ 
running Android 9.  I have verified that he has the updated build (made with LC 
9.0.4 rc 2) installed on his device.   He says he has made no software or 
hardware modifications to the device but is still having the same issue.  
Perhaps there is a different issue with camera access with this device?

-Dan



From: panagiotis merakos 
Date: Tuesday, April 30, 2019 at 4:04 AM
To: How to use LiveCode 
Cc: Dan Friedman 
Subject: Re: mobilePickPhoto on Android

Hello Dan,

This sounds like https://quality.livecode.com/show_bug.cgi?id=21826, affecting 
only specific Android devices, and has been fixed in LC 9.0.4 RC-1+

Kind regards,
Panos
--

On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode 
mailto:use-livecode@lists.runrev.com>> wrote:
Greetings!I am calling mobilePickPhoto "camera" on a Android device.   If I 
am running Android version 7.0, everything works great.   If I am running 
Android 8.0, then I get an empty back where length(image 1) is 0.   Using 
LiveCode 9.0.3.   Anyone know of an issue with mobilePickPhoto on late versions 
of Android.   FWIW, mobilePickPhoto "library" works fine on all versions of 
Android.

Thanks in advance,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com<mailto:use-livecode@lists.runrev.com>
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: mobilePickPhoto on Android

2019-04-30 Thread panagiotis merakos via use-livecode
Hello Dan,

This sounds like https://quality.livecode.com/show_bug.cgi?id=21826,
affecting only specific Android devices, and has been fixed in LC 9.0.4
RC-1+

Kind regards,
Panos
--

On Sat, 27 Apr 2019 at 01:09, Dan Friedman via use-livecode <
use-livecode@lists.runrev.com> wrote:

> Greetings!I am calling mobilePickPhoto "camera" on a Android device.
>  If I am running Android version 7.0, everything works great.   If I am
> running Android 8.0, then I get an empty back where length(image 1) is 0.
>  Using LiveCode 9.0.3.   Anyone know of an issue with mobilePickPhoto on
> late versions of Android.   FWIW, mobilePickPhoto "library" works fine on
> all versions of Android.
>
> Thanks in advance,
> -Dan
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


mobilePickPhoto on Android

2019-04-26 Thread Dan Friedman via use-livecode
Greetings!I am calling mobilePickPhoto "camera" on a Android device.   If I 
am running Android version 7.0, everything works great.   If I am running 
Android 8.0, then I get an empty back where length(image 1) is 0.   Using 
LiveCode 9.0.3.   Anyone know of an issue with mobilePickPhoto on late versions 
of Android.   FWIW, mobilePickPhoto "library" works fine on all versions of 
Android.

Thanks in advance,
-Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: problems with mobilepickphoto

2018-01-03 Thread Bob Sneidar via use-livecode
Yeah I tripped over that when I first began using Answer File/Folder. The 
result contains "Cancel" if the cancel button is clicked, and is empty if a 
file/folder is chosen. The it variable contains the absolute file/folder path 
if one is chosen or empty if the user cancels. It's somewhat counter to the 
Answer command unless you think about the it variable always containing the 
information requested. In a simple answer dialog, that would be the button 
clicked, but in answer file/folder it is the path to the file/folder. 

Bob S



> On Jan 3, 2018, at 08:46 , Klaus major-k via use-livecode 
> <use-livecode@lists.runrev.com> wrote:
> 
> Hi friends,
> 
> found it!
> 
>> Am 03.01.2018 um 17:33 schrieb Klaus major-k via use-livecode 
>> <use-livecode@lists.runrev.com>:
>> 
>> Hi friends,
>> 
>> I have a strange problem with "mobilepickphoto"!
>> 
>> Here the script:
>> on mouseUp pMouseButton
>> lock screen
>> if the environment = "mobile" then
>> mobilePickPhoto "library",212,212
>> ## if the result is empty then
> 
> ## This way! :-)
> if the result = "cancel"


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: problems with mobilepickphoto

2018-01-03 Thread Klaus major-k via use-livecode
Hi friends,

found it!

> Am 03.01.2018 um 17:33 schrieb Klaus major-k via use-livecode 
> <use-livecode@lists.runrev.com>:
> 
> Hi friends,
> 
> I have a strange problem with "mobilepickphoto"!
> 
> Here the script:
> on mouseUp pMouseButton
> lock screen
> if the environment = "mobile" then
> mobilePickPhoto "library",212,212
> ## if the result is empty then

## This way! :-)
if the result = "cancel"
> exit mouseUp
> end if
> 
> ## Works on Device and simulator so far!
> 
> else

Best

Klaus

--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


problems with mobilepickphoto

2018-01-03 Thread Klaus major-k via use-livecode
Hi friends,

I have a strange problem with "mobilepickphoto"!

Here the script:
on mouseUp pMouseButton
lock screen
if the environment = "mobile" then
mobilePickPhoto "library",212,212
if the result is empty then
exit mouseUp
end if

## Works on Device and simulator so far!

else

answer file "Bitte ein Bild auswählen" with type "jpeg, png|jpg,png|"
if IT is empty then
exit mouseUp
end if
import paint from file it
end if

## When on MOBILE, the script stops here without any error?
## Works fine on desktop!

## Not executed on mobile?
 put last image into image "foto-01"

## Same for this line?
set the text of image "foto-01" to the text of last image

delete last img
...

Any hints very welcome, thank you!


Best

Klaus
--
Klaus Major
http://www.major-k.de
kl...@major-k.de


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Update: Crash with mobilePickPhoto and Android

2017-08-11 Thread Roger Eller via use-livecode
Also, you shouldn't have to use a workaround just because it is Android.
The mobile syntax should work the same for either OS.

~Roger


On Fri, Aug 11, 2017 at 12:32 PM, J. Landman Gay via use-livecode <
use-livecode@lists.runrev.com> wrote:

> This needs a bug report. Crashes are high priority fixes.
> --
> Jacqueline Landman Gay | jac...@hyperactivesw.com
> HyperActive Software   | http://www.hyperactivesw.com
>
>
>
>
> On August 11, 2017 10:17:35 AM Dan Friedman via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>
> For those who may be interested, here’s a fun one…
>>
>> If acceleratedRendering is enabled, mobilePickPhoto will crash the app on
>> Android.  Here’s your workaround:
>>
>>   set the acceleratedRendering of stack "main" to false
>>   mobilePickPhoto "camera"
>>   set the acceleratedRendering of stack "main" to true
>>
>> Perhaps LC will fix this or add this limitation to the documentation.
>>
>> -Dan
>>
>>
>> Hello!   Having some trouble with mobilePickPhoto on an Android device.
>>>> I call mobilePickPhoto "library"
>>>> (or mobilePickPhoto "camera") and I can choose the photo or take the
>>>> picture, but as soon as I accept the
>>>> image (when LC should have control again) the app crashes with the
>>>> prompt “[appName] has stopped”.
>>>> LC 8.1.5, Moto g5 Plus running Android 7.0.   Any thoughts?
>>>>
>>>> Any assistance would be GREATLY appreciated!
>>>>
>>>> -Dan
>>>>
>>>
>> ___
>> use-livecode mailing list
>> use-livecode@lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your
>> subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>
>
>
>
> ___
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Update: Crash with mobilePickPhoto and Android

2017-08-11 Thread J. Landman Gay via use-livecode

This needs a bug report. Crashes are high priority fixes.
--
Jacqueline Landman Gay | jac...@hyperactivesw.com
HyperActive Software   | http://www.hyperactivesw.com



On August 11, 2017 10:17:35 AM Dan Friedman via use-livecode 
<use-livecode@lists.runrev.com> wrote:



For those who may be interested, here’s a fun one…

If acceleratedRendering is enabled, mobilePickPhoto will crash the app on 
Android.  Here’s your workaround:


  set the acceleratedRendering of stack "main" to false
  mobilePickPhoto "camera"
  set the acceleratedRendering of stack "main" to true

Perhaps LC will fix this or add this limitation to the documentation.

-Dan


Hello!   Having some trouble with mobilePickPhoto on an Android device.  I 
call mobilePickPhoto "library"
(or mobilePickPhoto "camera") and I can choose the photo or take the 
picture, but as soon as I accept the
image (when LC should have control again) the app crashes with the prompt 
“[appName] has stopped”.

LC 8.1.5, Moto g5 Plus running Android 7.0.   Any thoughts?

Any assistance would be GREATLY appreciated!

-Dan


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your 
subscription preferences:

http://lists.runrev.com/mailman/listinfo/use-livecode




___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Update: Crash with mobilePickPhoto and Android

2017-08-11 Thread Dan Friedman via use-livecode
For those who may be interested, here’s a fun one…

If acceleratedRendering is enabled, mobilePickPhoto will crash the app on 
Android.  Here’s your workaround:

  set the acceleratedRendering of stack "main" to false
  mobilePickPhoto "camera"
  set the acceleratedRendering of stack "main" to true

Perhaps LC will fix this or add this limitation to the documentation.

-Dan


>> Hello!   Having some trouble with mobilePickPhoto on an Android device.  I 
>> call mobilePickPhoto "library"
>> (or mobilePickPhoto "camera") and I can choose the photo or take the 
>> picture, but as soon as I accept the
>> image (when LC should have control again) the app crashes with the prompt 
>> “[appName] has stopped”.
>> LC 8.1.5, Moto g5 Plus running Android 7.0.   Any thoughts?
>>
>> Any assistance would be GREATLY appreciated!
>>
>> -Dan

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: Crash with mobilePickPhoto and Android

2017-08-10 Thread Dan Friedman via use-livecode
FYI…  Also fails with exact same result on Samsung Galaxy S3 Running 4.4.2.

-Dan 

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Crash with mobilePickPhoto and Android

2017-08-10 Thread Dan Friedman via use-livecode
Hello!   Having some trouble with mobilePickPhoto on an Android device.  I call 
mobilePickPhoto "library" (or mobilePickPhoto "camera") and I can choose the 
photo or take the picture, but as soon as I accept the image (when LC should 
have control again) the app crashes with the prompt “[appName] has stopped”.   
LC 8.1.5, Moto g5 Plus running Android 7.0.   Any thoughts?

Any assistance would be GREATLY appreciated!

-Dan


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

mobilePickPhoto - User error, simulator error or Livecode bug?

2014-11-09 Thread Andrew Henshaw
Another oddity ive come across while trying to update some old apps.

The code…

 mobilePickPhoto tSource, tMaxHeight,tMaxHeight
 put the result into tResult

used to work,  but now it returns nothing whatever is selected in the 
simulator,  tested with Livecode 6.6.5,  6.7 and 7.

Is this something to do with my code,  the simulator or perhaps another little 
LC bug?


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Re: mobilePickPhoto - User error, simulator error or Livecode bug?

2014-11-09 Thread Andrew Henshaw
Please ignore this,  it’s user error,   sorry for taking up your time.

Andy

 On 9 Nov 2014, at 12:56, Andrew Henshaw hens...@me.com wrote:
 
 Another oddity ive come across while trying to update some old apps.
 
 The code…
 
 mobilePickPhoto tSource, tMaxHeight,tMaxHeight
 put the result into tResult
 
 used to work,  but now it returns nothing whatever is selected in the 
 simulator,  tested with Livecode 6.6.5,  6.7 and 7.
 
 Is this something to do with my code,  the simulator or perhaps another 
 little LC bug?
 
 
 ___
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your subscription 
 preferences:
 http://lists.runrev.com/mailman/listinfo/use-livecode


___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

mobilePickPhoto

2014-08-14 Thread Eric Corbett
I’m on 6.6.2, building for iOS 7.1 or later and running on an iPhone 4s  above.

After clicking on a photo when using mobilePickPhoto, the phone takes forever 
to return to the application.  (it’s only 5 to 10 seconds average but that’s 
too long, don’t you think?)

Even if we do nothing with the photo after it’s placed on the current card, 
getting back to app is super slow.

The basic script looks like this:

on mouseUp
local tImageAttachment, tImageID, tPhotoCount
   
set vis of the templateImage to false
   
lock screen
   
if exists(img user selected image) then delete img user selected image
   
if the environment is mobile then
put the num of imgs of this cd into tPhotoCount — RETURNING CANCEL MIGHT BE 
BROKEN
answer Choose Photo from... with Library and Camera
mobilePickPhoto it
end if
set the name of the last image of this cd to user selected image
…

I’ve timed every step of the process and the delay is clearly from photo select 
to return to app.

Thanks

-E
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Setting the location of a MobilePickPhoto

2014-03-09 Thread Vaughn Clement
Hi All

I am trying to set the location of a Library photo for the iPad size screen
where the image needs to fit in a image control ImageField1. When I run
the script in the sim the image always shows in the center of the screen. I
have the script set to set the image in the location I want it to appear
at? What I am I doing wrong? The dictionary gives no help using this
command.

*on* mouseUp

   mobilePickPhoto library

   *if* the result is empty *then*

  *# If the result is empty you know the user has chosen an
image and you can start working with it.*

   *end* *if*

   *set* the lockloc of the ImageField1 to true

   *set* the width of the ImageField1 to 246

   *set* the height of the ImageField1 to 160

   *set* the left of the ImageField1 to 738

   *set* the top of the ImageField1 to 162

   mobilePickPhoto library

*end* mouseUp
Thank you

Vaughn Clement

Apps by Vaughn Clement (Support)
*http://www.appsbyvaughnclement.com/tools/home-page/
http://www.appsbyvaughnclement.com/tools/home-page/*
Skype: vaughn.clement
https://secure.join.me/appsbyvclement
FaceTime: vclem...@gmail.com
LogMeIn also avaialble
Call on ooVoo at address:  vaughnclement or 9282549062
Ph. 928-254-9062
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: mobilePickPhoto camera - unstable on android

2013-08-22 Thread Neil Roger

Hi Paul,

If possible, could you submit a bug report on this issue with RunRev 
Quality Control and we will be happy to investigate it further.


You will be able to submit a report here-

http://quality.runrev.com

Kind Regards,

Neil Roger
--
RunRev Support Team ~ http://www.runrev.com
--

On 22/08/2013 04:41, Paul Kocsis wrote:

At present time, testing with community 6.1.1rc2.

I'm finding that on android, mobilePickPhoto camera is NOT stable.  On a
4.1.3 galaxy s2, about 1 out of 30-ish (sometimes more) calls to
mobilePickPhoto camera will not return (I.E. mobilePickPhoto camera' is
called, camera comes up, photo is taken, 'save' is tapped, then app crashes
and immediately restarts).  I know that when a crash occurs, it is
inside mobilePickPhoto camera as the next statement after mobilePickPhoto
does not get called.  It is MUCH worse on a Motorola Atrix 2.3.5.  I can
fairly easily get this crash to occur (maybe 1 out of 5 or 10 attempts).

(grasping at straws, but...) It almost seems like the older the
phone/android, the more often it happens...but although not the latest, a
galaxy s2 running 4.1.3 experiences the problem too (just not as often)...I
have tried to put a wait for 100 milli with messages before and after the
mobilePickPhoto camera command but it has not affected the crashes (can't
*really* put a wait for 100... immediately after since if I do I lose the
result from mobilePickPhoto, so I do a 'put the result into tresult' and
then do my waitbut no matter.doesn't make things better or worse).

Is there anyone out there that has had more than a cursory use of
mobilePickPhoto camera on android than can either deny or confirm what I
am seeing?

Thanks!

Paul K.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode



___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


Re: mobilePickPhoto camera - unstable on android

2013-08-22 Thread Paul Kocsis
Hello Neil,

Thank you so much for responding.

I have done so, here is the link:

http://quality.runrev.com/show_bug.cgi?id=8

Thanks again Neil!

Paul K


On Thu, Aug 22, 2013 at 3:44 AM, Neil Roger n...@runrev.com wrote:

 Hi Paul,

 If possible, could you submit a bug report on this issue with RunRev
 Quality Control and we will be happy to investigate it further.

 You will be able to submit a report here-

 http://quality.runrev.com

 Kind Regards,

 Neil Roger
 --
 RunRev Support Team ~ http://www.runrev.com
 --


 On 22/08/2013 04:41, Paul Kocsis wrote:

 At present time, testing with community 6.1.1rc2.

 I'm finding that on android, mobilePickPhoto camera is NOT stable.  On a
 4.1.3 galaxy s2, about 1 out of 30-ish (sometimes more) calls to
 mobilePickPhoto camera will not return (I.E. mobilePickPhoto camera' is
 called, camera comes up, photo is taken, 'save' is tapped, then app
 crashes
 and immediately restarts).  I know that when a crash occurs, it is
 inside mobilePickPhoto camera as the next statement after
 mobilePickPhoto
 does not get called.  It is MUCH worse on a Motorola Atrix 2.3.5.  I can
 fairly easily get this crash to occur (maybe 1 out of 5 or 10 attempts).

 (grasping at straws, but...) It almost seems like the older the
 phone/android, the more often it happens...but although not the latest, a
 galaxy s2 running 4.1.3 experiences the problem too (just not as
 often)...I
 have tried to put a wait for 100 milli with messages before and after the
 mobilePickPhoto camera command but it has not affected the crashes
 (can't
 *really* put a wait for 100... immediately after since if I do I lose the
 result from mobilePickPhoto, so I do a 'put the result into tresult' and
 then do my waitbut no matter.doesn't make things better or worse).

 Is there anyone out there that has had more than a cursory use of
 mobilePickPhoto camera on android than can either deny or confirm what I
 am seeing?

 Thanks!

 Paul K.
 __**_
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode



 __**_
 use-livecode mailing list
 use-livecode@lists.runrev.com
 Please visit this url to subscribe, unsubscribe and manage your
 subscription preferences:
 http://lists.runrev.com/**mailman/listinfo/use-livecodehttp://lists.runrev.com/mailman/listinfo/use-livecode

___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode


mobilePickPhoto camera - unstable on android

2013-08-21 Thread Paul Kocsis
At present time, testing with community 6.1.1rc2.

I'm finding that on android, mobilePickPhoto camera is NOT stable.  On a
4.1.3 galaxy s2, about 1 out of 30-ish (sometimes more) calls to
mobilePickPhoto camera will not return (I.E. mobilePickPhoto camera' is
called, camera comes up, photo is taken, 'save' is tapped, then app crashes
and immediately restarts).  I know that when a crash occurs, it is
inside mobilePickPhoto camera as the next statement after mobilePickPhoto
does not get called.  It is MUCH worse on a Motorola Atrix 2.3.5.  I can
fairly easily get this crash to occur (maybe 1 out of 5 or 10 attempts).

(grasping at straws, but...) It almost seems like the older the
phone/android, the more often it happens...but although not the latest, a
galaxy s2 running 4.1.3 experiences the problem too (just not as often)...I
have tried to put a wait for 100 milli with messages before and after the
mobilePickPhoto camera command but it has not affected the crashes (can't
*really* put a wait for 100... immediately after since if I do I lose the
result from mobilePickPhoto, so I do a 'put the result into tresult' and
then do my waitbut no matter.doesn't make things better or worse).

Is there anyone out there that has had more than a cursory use of
mobilePickPhoto camera on android than can either deny or confirm what I
am seeing?

Thanks!

Paul K.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode