Search found 18 matches

by tjo.mobile
Fri Feb 10, 2017 12:27 am
Forum: Android Deployment
Topic: Keep app running when screen sleeps?
Replies: 4
Views: 4679

Re: Keep app running when screen sleeps?

Thanks Andy! I was aware of mobileLockIdleTimer, however won't this keep the screen on? I'm really hoping for a solution that will allow the app to continue to play sounds with the screen sleeping. My main concern is the huge battery drain of having the screen on the whole time the app is running. T...
by tjo.mobile
Thu Feb 09, 2017 11:28 am
Forum: Android Deployment
Topic: Keep app running when screen sleeps?
Replies: 4
Views: 4679

Re: Keep app running when screen sleeps?

Thanks for the suggestions, much appreciated. My fone in rooted running CyanogenMod, so no extra crap and 4 gigs of RAM, however I'm wondering how long the battery would last.

I'll have to give it a try and find out.

Thanks,

TJ.
by tjo.mobile
Thu Feb 09, 2017 6:59 am
Forum: Android Deployment
Topic: Keep app running when screen sleeps?
Replies: 4
Views: 4679

Keep app running when screen sleeps?

I made a metronome app that plays a click sound at whatever beat per minute the user wants. It works fine but on Android as soon as the screen goes to sleep it stops. I want to use the app with headphones, but having the screen on constantly will kill the battery way too quickly. Is there a way to k...
by tjo.mobile
Sun Dec 18, 2016 10:50 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Abort command with button...
Replies: 3
Views: 2965

Re: Abort command with button...

Thank you both for your advice. I did have the variables listed as globals in the button and card script. The "wait 0 milliseconds with messages" worked perfectly. I did have some "wait 1 tick" lines in the repeat loop, but I'm guessing it was the "with messages" part that did the trick. Thanks agai...
by tjo.mobile
Sun Dec 18, 2016 8:22 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Abort command with button...
Replies: 3
Views: 2965

Abort command with button...

I have a command that can take a long time to complete, so I wanted to give the user a way to abort the running command in case they do not want to wait for the command to complete. The command uses a repeat loop that may run several thousand times. I created an 'ABORT' button and added the followin...
by tjo.mobile
Mon Dec 05, 2016 5:41 am
Forum: Android Deployment
Topic: Simple button animation not working on Android...
Replies: 13
Views: 9995

Re: Simple button animation not working on Android...

Thank you all for the ideas and support. I did try using an animated gif, however I did not have a lot of success getting it to display properly in livecode. Also after running the animated gif in a browser I was generally disappointed with how it looked. However I have found some success by simply ...
by tjo.mobile
Tue Nov 29, 2016 10:36 pm
Forum: Android Deployment
Topic: Simple button animation not working on Android...
Replies: 13
Views: 9995

Re: Simple button animation not working on Android...

Thank you both for the advice. I have one question about the line: send ruotafigura to me in 0.017 sec Previously in the command you have already set the angle property. Does the LiveCode interpreter read the whole command before execution so that it knows not to set the angle property until it gets...
by tjo.mobile
Mon Nov 28, 2016 11:48 pm
Forum: Android Deployment
Topic: Simple button animation not working on Android...
Replies: 13
Views: 9995

Re: Simple button animation not working on Android...

Thanks for the suggestions Max. I tried adjusting some of the numbers in the loops to slow down and speed up the animation. Works beautifully on Windows, but only shows every second image on Android. I might have to resort to using the Spinner on Android. I wanted to use an image that works with the...
by tjo.mobile
Sun Nov 27, 2016 11:14 pm
Forum: Android Deployment
Topic: Simple button animation not working on Android...
Replies: 13
Views: 9995

Re: Simple button animation not working on Android...

Thank you both for your advice. I tried using the "short name of", however the problem still exists. I suppose I could use mobileBusyIndicator, but I was hoping to use my own images that are themed to go with the app. Thanks again for the ideas, I will keep looking for another way to create this ani...
by tjo.mobile
Sat Nov 26, 2016 11:54 pm
Forum: Android Deployment
Topic: Simple button animation not working on Android...
Replies: 13
Views: 9995

Simple button animation not working on Android...

I have a simple animation that displays a spinning wheel. I have been using four images as button icons which are changed in sequence to create the animation. It seems to work fine on windows however when I run it on Android the animation appears to jump between images 1 & 3 or 2 & 4, so that it is ...
by tjo.mobile
Thu Nov 10, 2016 12:15 am
Forum: Android Deployment
Topic: possible bug in answer dialog on Android?
Replies: 3
Views: 4000

Re: possible bug in answer dialog on Android?

I noticed today under the "Standalone Applications Settings" in "Inclusions" the ask and answer dialogs were selected as expected. However I also noticed that while they both display icons for osX, Windows and Linux, neither displays an icon for Android or iOS. Is it possible that the answer and ask...
by tjo.mobile
Mon Nov 07, 2016 10:03 pm
Forum: Android Deployment
Topic: possible bug in answer dialog on Android?
Replies: 3
Views: 4000

possible bug in answer dialog on Android?

I have an answer dialog in my app that pops up if the user enters a non alpha numeric character into a field stating that only letters and numbers are allowed with an OK button. It works as expected on Windows. When I run the standalone on Android the answer dialog pops up as expected. If the user t...
by tjo.mobile
Mon Nov 07, 2016 6:49 am
Forum: Android Deployment
Topic: Copy folder on Android...
Replies: 2
Views: 3277

Re: Copy folder on Android...

I sort of solved this by getting a list of the files in the folder to copy, create a new folder on the SD card, and copy each file into the new folder.

It works fine, however if there is a faster/easier way to just copy an entire folder on Android I'd love to know how.

Thanks,

TJ.
by tjo.mobile
Mon Nov 07, 2016 5:20 am
Forum: Android Deployment
Topic: Copy folder on Android...
Replies: 2
Views: 3277

Copy folder on Android...

I want to copy a folder from my apps sandboxed folder to the sdcard so the user can back up their data. I saw revCopyFolder in the dictionary, which looked perfect, until I realized it doesn't work on Android. Is there something similar for Android? If I want to copy a folder from my app to the sdca...
by tjo.mobile
Wed Nov 02, 2016 7:27 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Only allow digits in dialog box field...
Replies: 3
Views: 3224

Re: Only allow digits in dialog box field...

Thanks for the awesome information and code examples! Very much appreciated. I have not tried them yet, but I am sure that will work.

And now I know how to do it the easier/simpler/better way! (and exclude negative integers too!)

Thanks again,

TJ.