Re: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-03-01 Thread Andrew at MWCM via use-livecode


> andrew,
> ok, now i'm curious:
> do you also do deep linking into your app, itself?
> I've thought about doing that, but I've never tried to figure out how.

No deep linking INTO (but I think that is covered at 
https://lessons.livecode.com/m/4069/l/58672-using-custom-url-schemes 
) but I 
do have deep linking OUT of another app project (Florida On Tap) that opens the 
Untappd app if a user has it installed and goes to a specific section of their 
app.

-- Andrew Bell
___
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: On mobile: mergAVRequestMediaAccess "video" and androidRequestPermission "android.permission.CAMERA"

2023-03-01 Thread Mike Kerner via use-livecode
andrew,
ok, now i'm curious:
do you also do deep linking into your app, itself?
I've thought about doing that, but I've never tried to figure out how.

On Tue, Feb 28, 2023 at 4:13 PM Andrew at MWCM via use-livecode <
use-livecode@lists.runrev.com> wrote:

> >
> > Date: Tue, 28 Feb 2023 10:14:37 -0500
> > From: Mike Kerner 
> > To: How to use LiveCode 
> > Subject: Re: On mobile: mergAVRequestMediaAccess "video" and
> >   androidRequestPermission "android.permission.CAMERA"
> > Message-ID:
> >bnu3tskh4...@mail.gmail.com>
> > Content-Type: text/plain; charset="UTF-8"
> >
> > this isn't an uncommon problem.
> > what other apps on ios do is throw up a separate dialog that directs the
> > user to Settings->Privacy and Security->whatever (in your case, both
> > "Camera" and "Microphone"), and tells the user to return to try again
> when
> > that setting is changed.
>
> Here is a code-block with deep links that I use in an iOS app to do pretty
> much the same thing, except for push notifications instead of camera access
> after the user declines the initial acceptance pop-up. You’ll need to
> change the path to your specific app bundle and update the root from
> NOTIFICATIONS_ID to something else like CAMERA (not 100% certain):
>
> on mouseUp
>put "To enable Push Notification Settings go to your iOS device
> settings..." & RETURN & RETURN &"Settings -> Indiana On Tap ->
> Notifications" & RETURN & RETURN & "...then select Allow Notifications."
> into tMessage
>answer tMessage with "Good to know" and "Take me there!"
>put it into tReply
>if tReply = "Take me there!" then
>   launch url
> "App-Prefs:root=NOTIFICATIONS_ID=com.midwestcoastmedia.indianaontap"
> // iOS 10+
>   if the result is "no association" then
>  launch url
> "prefs:root=NOTIFCATIONS_ID=com.midwestcoastmedia.indianaontap" // iOS
> 9
>   end if // the result is "no association"
>end if // tReply = "Take me there!"
> end mouseUp
>
> —Andrew Bell
> ___
> 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
>


-- 
On the first day, God created the heavens and the Earth
On the second day, God created the oceans.
On the third day, God put the animals on hold for a few hours,
   and did a little diving.
And God said, "This is good."
___
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: I need to fetch some text from a WP website, but need to login first

2023-03-01 Thread jbv via use-livecode

Hello,

The WP REST API can be really slow and therefore painful to use.
I recently had to make changes in a couple of WP websites and
found it much easier to write data straight into the DB.

jbv

Le 2023-02-28 18:57, pere xavier Rossello via use-livecode a écrit :

Hi.

The easy way to do this is using REST API.

https://developer.wordpress.org/rest-api/

And using it from livecofe

https://lessons.livecode.com/m/4071/l/1325310-how-to-request-a-resource-from-a-rest-api

Pere X.





El mar, 28 feb 2023, 18:22, harrison--- via use-livecode <
use-livecode@lists.runrev.com> escribió:


Hi Matthias,

If you can’t get it done with tsNet or LiveCode,
you might want to try using Keyboard Maestro.

Rick


> On Feb 28, 2023, at 11:00 AM, matthias rebbe via use-livecode <
use-livecode@lists.runrev.com> wrote:
>
> Hi,
>
> i need to login into a WP website to fetch some specific data. Currently
this is done manually in a browser, but i would like to automate it 
using

tsNET external or pure Livecode script.
>
> Did anyone already do this with Livecode?
>
> Regards,
> Matthias
>
>
> ___
> 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


___
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