Search found 21 matches

by kap1987
Sat Apr 15, 2017 5:15 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Thx and sorry for the lately answer.... I now have a problem with my data grid... scrolling on android is working. i used this code: local sScrollerID on preOpenCard local tScrollerRect, tContentRect // Only create a scroller on a mobile device if environment() is not "mobile" then exit preOpenCard ...
by kap1987
Fri Apr 07, 2017 7:02 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

I got it working... I can now update a field in the database with the text entered into a field of the stack. Next Problem: :roll: I load the data of the database into a data grid. clicking on the name of a person in the data grid opens a pop up with detailed information about the person (same card)...
by kap1987
Sun Apr 02, 2017 9:35 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

With the full path mentioned before it works on 4 different phones with android 5,6 and 7. so this seems to be the default folder for downloads... i found a solution for the image problem: ... put "/mnt/sdcard/Download/" & gDataWrestler["gimmickname"] & ".jpg" /*gDataWrestler["image"]*/ into field "...
by kap1987
Sat Apr 01, 2017 10:07 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

i think there might be a problem with the encoding/decoding of the image data inside the sqlite database or on the way to show it in livecode or the app. is there an easy way to store many pictures at the same time in the database with livecode because i think the problem is when storing them inside...
by kap1987
Thu Mar 30, 2017 4:17 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Yep, a jpeg file, but is it "freshly" saved from the database? Or is this the original file that you later stored in your db? what do you mean by "freshly" saved "from" the database. the jpeg is an old picture on my hd. it had nothing to do with livecode before. i just saved it "into" the database ...
by kap1987
Thu Mar 30, 2017 2:14 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Yes i´m from good old germany ;) the first 10 characters of the image in text editor say: ÿØÿà JFIF It is a jpg-file which is stored on my hd. PS: i inserted your script... error says: revdberr, invalid column name the link i posted before was wrong... the original example is here to find: http://ja...
by kap1987
Thu Mar 30, 2017 1:36 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

I mean image, as mentioned i tried both... but even the example script in my quote doesn´t work... on mouseUp put revOpenDatabase("sqlite", "C:\Users\kap19\OneDrive\EWR App\Neuer Ordner\runrevemails.sqlite", , , , ) into tID put revQueryDatabase(tID, "SELECT * FROM images WHERE id=" & field "id" & "...
by kap1987
Thu Mar 30, 2017 8:14 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Thx. Now the filter works... I just forgot the ' ' before and after the word :( I put the image into SQlite Database as Blob. In sqlite Admin i can see that it is saved into the field. in Livecode i used: put gDataWrestler["image"] into field "profileimage" of group "profilewrestler" for understandi...
by kap1987
Wed Mar 29, 2017 7:21 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Is ist possible to filter the data shown in a data grid. i´ve built a sqlite database with some columns. i want to load all the data into a variable and show them on the data grid --> checked i used: put revDataFromQuery(tab,return,gtDatabaseID,"SELECT * FROM wrestler") into gWrestler Now i can see...
by kap1987
Tue Mar 28, 2017 8:20 pm
Forum: Android Deployment
Topic: sqlite with android's devices
Replies: 15
Views: 3745

Re: sqlite with android's devices

OK i will try it. Is ist possible to Update The Database? I mean that i edit The Data on pc and put The Database Back to The Phone. Is ist possible to Update The Database when The app is open?
For My Manager game i would Like to load a Special Database in game.
by kap1987
Tue Mar 28, 2017 6:49 pm
Forum: Android Deployment
Topic: sqlite with android's devices
Replies: 15
Views: 3745

Re: sqlite with android's devices

I know this is an old topic but i have a problem as well... i was able to load the database when on pc on livecode... but on android it seems that it won´t load the data... i don´t get any error - simply no data... --> put specialFolderPath("documents") & "/runrevemails.sqlite" into tDatabasePath i ...
by kap1987
Tue Mar 28, 2017 8:09 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Ok no Problem... Another Problem with SQLite Database and Imagesupport... I was able to build my own database with sqlite admin. i was also able to load and show the data into a data grid of my card. but when i store an image in my database with sqlite admin (in a field as BLOB) and update the datab...
by kap1987
Tue Mar 21, 2017 11:00 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Thx again... I have another question for building a slide in menu like it is standard today on almost all android apps. (i mean, a click on the "hamburger-menu" opens a menu from the left (outside the screen) Now I want to open this menu with a swipe from the edge of the screen. I just found this bu...
by kap1987
Fri Mar 17, 2017 12:51 pm
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

oh ok... The "pop up" is just a group... i have the data grid centered on the card. when pushing a button called "show profile", the group "profile" pops up (is shown as a higher layer on the data grid and conceals almost the whole data grid). it shows the information data of the name highlighted in...
by kap1987
Fri Mar 17, 2017 11:25 am
Forum: Getting Started with LiveCode - Complete Beginners
Topic: Sports Text Manager Game (Wrestling)...
Replies: 26
Views: 6464

Re: Sports Text Manager Game (Wrestling)...

Thx again...


I was able to built a pop up, to show the data of the highlighted name in the data grid...

but i have a problem with scrolling the grid...

when the pop up opens scrolling of the grid in the back is still possible. how can i disable the scrolling, only when the pop up is in front?

Go to advanced search