Search found 39 matches

by BigameOver
Thu Feb 11, 2021 5:33 pm
Forum: Android Deployment
Topic: Enable location on android
Replies: 2
Views: 384

Enable location on android

Hi, I created an app where I need to track my user's location and return them where they are. After the users accept all the required premissions for location tracking I can get their location only if their location option in their phone is enabled. I want to ask them to enable the location option i...
by BigameOver
Wed Jan 06, 2021 10:52 am
Forum: Android Deployment
Topic: mobileCurrentLocation() not working on android
Replies: 4
Views: 594

Re: mobileCurrentLocation() not working on android

strongbow wrote:
Wed Jan 06, 2021 6:21 am
It returns an array so check the keys and values of each, perhaps using an arrayToText function.

HTH
At first I thought I should do like this

Code: Select all

answer theLocation[1]
I thought it works with only numbers. But now I understand where was my mistake

Code: Select all

answer theLocation[latitude]
Thank you
by BigameOver
Tue Jan 05, 2021 3:09 pm
Forum: Android Deployment
Topic: mobileCurrentLocation() not working on android
Replies: 4
Views: 594

mobileCurrentLocation() not working on android

Hi, I am trying to get the current location from an android device using mobileCurrentLocation(), but it seems it returns empty. mobileSensorAvailable("location") mobileStartTrackingSensor "location" put mobileCurrentLocation() into theLocation When I try to answer the result, i get nothing. What ca...
by BigameOver
Thu Dec 10, 2020 5:54 pm
Forum: LiveCode Builder
Topic: Android API in lcb
Replies: 1
Views: 590

Android API in lcb

Hi,
How do I use the android api in the livecode builder?
I want to use the In-app reviews API of google play for android.
https://developer.android.com/guide/pl ... app-review
thank you
by BigameOver
Sat Nov 07, 2020 12:46 pm
Forum: Android Deployment
Topic: Visual effects are laggy on android
Replies: 3
Views: 900

Re: Visual effects are laggy on android

Hi, try: set the effectRate to 300 -- Hint: effectRate is in millisecs lock screen for visual effect -- Hint: visual effects seems not to work w/o accelRend ... unlock screen with visual effect "scroll up" very slow -- Hint: "very slow" = use effectRate! Have fun! Thanks, it works :D. But after the...
by BigameOver
Fri Nov 06, 2020 2:41 pm
Forum: Android Deployment
Topic: Visual effects are laggy on android
Replies: 3
Views: 900

Visual effects are laggy on android

Hi guys, When I try to go to card with visual effects the app becomes really laggy for a second and the movement is not smooth. How can I fix this? I tried acceleratedRendering but it seems it has no effect on it. Here is my code: lock screen for visual effect go to card "itemRegister1Card" unlock s...
by BigameOver
Mon Oct 05, 2020 9:49 am
Forum: Android Deployment
Topic: libUrlMultipartFormData on android error
Replies: 8
Views: 1715

Re: libUrlMultipartFormData on android error

Thank you! It works perfect :D
by BigameOver
Fri Oct 02, 2020 6:03 pm
Forum: Android Deployment
Topic: libUrlMultipartFormData on android error
Replies: 8
Views: 1715

Re: libUrlMultipartFormData on android error

What did you try so far? Please show us the script(s). \ function libUrlMultipartFormDataAndroid @pFormData, pParam local tNumParams,tNumParts,tBoundary,tKeys,tKey,tValue,tPart local tFile,tNumFiles,tFilepath,tFilename,tSubBoundary put the paramcount into tNumParams if tNumParams < 1 then return "e...
by BigameOver
Fri Oct 02, 2020 6:02 pm
Forum: Android Deployment
Topic: libUrlMultipartFormData on android error
Replies: 8
Views: 1715

Re: libUrlMultipartFormData on android error

take a look at the resulting FORM in the IDE, should be not to hard to "rebuild" that one, How do I build a similar function? I tried to replace the parts with the binfile that doesn't work but it still doesn't work. Hi, following Klaus idea.... 1) get this interesting stack from minu: https://foru...
by BigameOver
Fri Oct 02, 2020 8:27 am
Forum: Android Deployment
Topic: libUrlMultipartFormData on android error
Replies: 8
Views: 1715

Re: libUrlMultipartFormData on android error

Klaus wrote:
Thu Oct 01, 2020 4:52 pm

But take a look at the resulting FORM in the IDE, should be not to hard to "rebuild" that one,
it is just text in the end.
How do I build a similar function?
I tried to replace the parts with the binfile that doesn't work but it still doesn't work.
by BigameOver
Thu Oct 01, 2020 4:37 pm
Forum: Android Deployment
Topic: libUrlMultipartFormData on android error
Replies: 8
Views: 1715

libUrlMultipartFormData on android error

Does the libUrlMultipartFormData support android?
I need to upload an image I captured on camera from the android device.
When I try to run it on android it doesn't work but when I do it on pc it does work.
Thank you
by BigameOver
Mon Sep 28, 2020 6:38 pm
Forum: Android Deployment
Topic: Getting imageData from a image captured in camera
Replies: 1
Views: 666

Getting imageData from a image captured in camera

Hi,
How can I get imageData from a image captured in camera?
I tried to put the image into a custom property and do this code:

Code: Select all

put  url ("binfile:" & the PICPROP of image "itemPhoto") into timageData
but when I answer timageData I get nothing.
thanks
by BigameOver
Mon Sep 28, 2020 6:35 pm
Forum: Android Deployment
Topic: storage image in var problem
Replies: 9
Views: 1331

Re: storage image in var problem

richmond62 wrote:
Sun Sep 27, 2020 2:09 pm
A button:
-

Code: Select all

on mouseUp
set the screenLock to true
---
-- your import routine here
---
set the PICPROP of me to img "SomeDaftImage"
delete img "Some DaftImage"
wait 5 ticks
set the screenLock to false
end mouseUp
-
?
Woops, I forgot to delete the last image, thanks!
by BigameOver
Sun Sep 27, 2020 1:52 pm
Forum: Android Deployment
Topic: storage image in var problem
Replies: 9
Views: 1331

Re: storage image in var problem

richmond62 wrote:
Sun Sep 27, 2020 1:47 pm
it still doesn't work
Do you mean the image still shows up on screen?
Yes
by BigameOver
Sun Sep 27, 2020 1:24 pm
Forum: Android Deployment
Topic: storage image in var problem
Replies: 9
Views: 1331

Re: storage image in var problem

I put the result into a custom property of a button but it still doesn't work

Go to advanced search