Search found 90 matches

by lemodizon
Tue Dec 22, 2020 6:42 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Andriod App - Splash Card -Widget Spinner
Replies: 9
Views: 656

Re: Andriod App - Splash Card -Widget Spinner

The widget can't be changed but you can use a gif. That's what I usually do. Show the gif on opencard, and use "wait 0 with messages" if your handler is long. If there is a repeat loop, put the wait inside the loop. The gif will not spin reliably unless the wait command has time to update it. Hi Ja...
by lemodizon
Sun Dec 20, 2020 4:44 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Andriod App - Splash Card -Widget Spinner
Replies: 9
Views: 656

Re: Andriod App - Splash Card -Widget Spinner

Hi SparkOut,

Thanks for the explanation. Is there a way to change the picture of the widget spinner?
by lemodizon
Sat Dec 19, 2020 5:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Andriod App - Splash Card -Widget Spinner
Replies: 9
Views: 656

Re: Andriod App - Splash Card -Widget Spinner

Not sure either, but probably the widget uses messages to send to itself to advance the spinner. Your "wait 5 seconds" is blocking and may prevent the screen updates for the spinner animation. Try wait 5 seconds with messages as well as what Klausimausi says. (It is true that preOpenCard fires befo...
by lemodizon
Sat Dec 19, 2020 4:45 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Andriod App - Splash Card -Widget Spinner
Replies: 9
Views: 656

Re: Andriod App - Splash Card -Widget Spinner

Hi Klaus & SparkOut,

Thanks guys, aside from widget spinner can i use a gif in my splash card? I will download a free gif and try to my splash card. are they the same code?

Code: Select all

on OpenCard
show img "sample gif”
wait 5 sec with message
hide img  "sample gif”
go to cd “LoginCard”
end OpenCard
by lemodizon
Sat Dec 19, 2020 2:53 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Andriod App - Splash Card -Widget Spinner
Replies: 9
Views: 656

Andriod App - Splash Card -Widget Spinner

Hello Everyone, I was trying to created a splash card using a widget “spinner” via android Application. At first the widget spinner works well it does spin. After a couple of runs it doesn’t spin anymore. Below is my code. on preOpenStack show widget “MySpinner” wait 5 sec hide widget “MySpinner” go...
by lemodizon
Sat Dec 12, 2020 3:52 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Re: Widget Native Field - Andriod

Hi lemodizon, do this: ... ## If you do not have an ELSE case for this IF -> if EditProd is "EditProd" then ## you should avoid many IF THENs, this makes the script better readable! if EditProd <> "EditProd" then exit mouseup ## or what handler we are currently in end if ## Now check hilite: put th...
by lemodizon
Sat Dec 05, 2020 9:21 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Re: Widget Native Field - Andriod

Great! Good luck with your app. Hi Jacque, How can I get the text of the datagrid going to my widget? i tried this code noting happens if EditProd is "EditProd" then put the dgHilitedLine of group "DataProd" into tLineToEdit if tLineToEdit is empty then beep Answer info "Please select a Product nam...
by lemodizon
Sat Dec 05, 2020 4:19 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Re: Widget Native Field - Andriod

It's simple enough that I doubt there is a lesson. Drag a field widget to the card and name it "user". Drag another to the card and name it "password". In the Enter button, create a mouseUp handler. on mouseUp put the text of widget "user" into tUser put the text of widget "password" into tPass - -...
by lemodizon
Fri Dec 04, 2020 11:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Re: Widget Native Field - Andriod

There are two ways to create an Android field. The first way is to use mobileControlCreate. The second way is to use the field widget in the tool palette which you drag onto the card. Your image looks like you are using the widget, but the code looks like you are creating a native field by script. ...
by lemodizon
Mon Nov 30, 2020 3:06 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Re: Widget Native Field - Andriod

I know little about this widget field, but I know a thing or two about password management. Happy to help where I can. Hello, I just want to do in my simple app is when the user type admin and password it will go to the next card. in my code, I will assign a default username (admin) and password (1...
by lemodizon
Mon Nov 30, 2020 9:10 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Re: Widget Native Field - Andriod

I know little about this widget field, but I know a thing or two about password management. Happy to help where I can. Hello, I just want to do in my simple app is when the user type admin and password it will go to the next card. in my code, I will assign a default username (admin) and password (1...
by lemodizon
Mon Nov 30, 2020 8:01 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Re: Widget Native Field - Andriod

FourthWorld wrote:
Mon Nov 30, 2020 7:11 am
Where is the password stored?
I forgot to include in my code... can you teach me how to use this widget field. Thanks
by lemodizon
Mon Nov 30, 2020 5:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Widget Native Field - Andriod
Replies: 14
Views: 1053

Widget Native Field - Andriod

Hello everyone, I'm new to this widget native field just want to ask how to use it. I have to widget fields username and password I want to validate if the user entered the correct user name and password. Thanks in advance on mouseUp inputCreate end mouseUp on inputCreate if the environment is "mobi...
by lemodizon
Sat Nov 28, 2020 3:57 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I cannot connect my database - sqlite to my andriod phone
Replies: 12
Views: 1211

Re: I cannot connect my database - sqlite to my andriod phone

Hi everyone,

I already found my mistake in my code this now working. Thanks everyone Stay safe.
by lemodizon
Sat Nov 28, 2020 3:16 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: I cannot connect my database - sqlite to my andriod phone
Replies: 12
Views: 1211

Re: I cannot connect my database - sqlite to my andriod phone

Since a couple of version we can have this even shorter: on mouseUp answer "Files in documents:" & CR & files(specialFolderPath("documents")) end mouseUp No more messing with the defaultfolder. :-) Hi Klaus and AxWald, This is now working i was able to connect to my database. thank you very much :)...

Go to advanced search