Search found 19 matches

by Manu9351
Wed Feb 14, 2018 8:31 pm
Forum: Android Deployment
Topic: Livecode Update - App Update could not be installed because of wrong signature
Replies: 8
Views: 6138

Re: Livecode Update - App Update could not be installed because of wrong signature

jacque wrote:
Wed Feb 14, 2018 8:01 pm
Just edited my first post, see above.
i can't store or backup the database file in the external documents, because this function will be updated with the new .apk, which i can't install.. This function is the reason, why i needed the new LC 8.1.9
by Manu9351
Wed Feb 14, 2018 8:01 pm
Forum: Android Deployment
Topic: Livecode Update - App Update could not be installed because of wrong signature
Replies: 8
Views: 6138

Re: Livecode Update - App Update could not be installed because of wrong signature

I thin by "signature" it means the reverse-domain you have entered in standalone settings, it would look something like this: com.domain.appname That is how Android identifies your app. If you changed that, Android would consider it a different app that happens to have the same name as an existing ...
by Manu9351
Wed Feb 14, 2018 7:42 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

Re: database works fine in Livecode, not in Android

thanks to everybody!
specialFolderPath("External documents") works fine, but the update to the new version of livecode brought up another problem..
viewtopic.php?f=53&t=30619
by Manu9351
Wed Feb 14, 2018 7:33 pm
Forum: Android Deployment
Topic: Livecode Update - App Update could not be installed because of wrong signature
Replies: 8
Views: 6138

Livecode Update - App Update could not be installed because of wrong signature

Hi everybody! I did update my Livecode from version 8.1.6 to 8.1.9, because i needed a function which is only included in 8.1.9 (export data to specialfolderpath("external documents") (which works great, special thanks to jacque!) I didn't update the Java SDK yet. its the same version since before. ...
by Manu9351
Thu Jan 25, 2018 8:44 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

Re: database works fine in Livecode, not in Android

Hi Manuel, specialfoderpath("documents") = the documents folder! So you are trying to copy a file to itself and LC has no humor obviously. :-) I think you mean: specialfoderpath("resources") You should check if the file is not already there! ... if there is NOT a file targetDatabaseFolder then put ...
by Manu9351
Thu Jan 25, 2018 8:04 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

Re: database works fine in Livecode, not in Android

specialFolderPath("documents") is a sandboxed location that will not be visible to anything but your application unless you have rooted the phone and/or made some other unsafe changes. If you look at the location: /mnt/sdcard/ you should be able to make a publicly accessible folder there to copy th...
by Manu9351
Tue Jan 16, 2018 7:00 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

Re: database works fine in Livecode, not in Android

3. So in order to work with your database, you need to copy it to the users DOCUMENTS folder and open it from there. And since we do not want to overwrite the database file here, we need to check if we already copied the database from RESOURCES to DOCUMENTS! ok i understand. but under "documents" i...
by Manu9351
Tue Jan 16, 2018 5:16 pm
Forum: Talking LiveCode
Topic: ASK Command Return Button means "OK"
Replies: 13
Views: 8574

Re: ASK Command Return Button means "OK"

But the ask is in the button. I assume that the user presses a button to select if they are using a scanner or entering the number by hand. My point is that he does not need the buttons to choose. All he needs is a field with that code in it. It will handle a number entered manually or using a scan...
by Manu9351
Sun Jan 14, 2018 10:23 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

Re: database works fine in Livecode, not in Android

No problem, don't be sorry for asking questions. I guess I need to first ask if you have attached your database in Copy Files of the standalone settings? If not you need to. When you attach files in the Copy Files they are put in the "engine", also call "resources", folder of the app. Therefore it ...
by Manu9351
Sun Jan 14, 2018 10:17 pm
Forum: Talking LiveCode
Topic: ASK Command Return Button means "OK"
Replies: 13
Views: 8574

Re: ASK Command Return Button means "OK"

quailcreek wrote:
Sun Jan 14, 2018 9:57 pm
Ok, so you want the return char to end the ask interaction without letting the user examine the scan data. I see. I'm not sure how to do that.
correct, that's what i want. The scan data MUST be right, because the barcode scanner enters the line of numbers. No need to examine it before return
by Manu9351
Sun Jan 14, 2018 9:41 pm
Forum: Talking LiveCode
Topic: ASK Command Return Button means "OK"
Replies: 13
Views: 8574

Re: ASK Command Return Button means "OK"

I've written a couple of scanner apps so I understand that it puts a RETURN char at the end. This is how I handle it. if the last char of EANTemp is RETURN then delete the last char of EANTemp The return is not thw problem, its possible to turn this last return in the properties from the scanner of...
by Manu9351
Sun Jan 14, 2018 9:08 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

Re: database works fine in Livecode, not in Android

What Klaus is asking is do you have something like this in your stack script. put specialFolderPath("documents") & "/MHDManager.sqlite" into tDatabaseFile if there is not a file tDatabaseFile then put url("binfile:" & specialFolderPath("engine") & "/MHDManager.sqlite") into url("binfile:" & special...
by Manu9351
Sun Jan 14, 2018 9:05 pm
Forum: Talking LiveCode
Topic: ASK Command Return Button means "OK"
Replies: 13
Views: 8574

Re: ASK Command Return Button means "OK"

I think I understand what you are asking. Maybe post that part of your code that is setting the return char. That's just this, where i have to set the return code? global EANTemp on mouseUp ask "Bitte scannen Sie den EAN Code!" //English: Please scan the barcode put it into EANTemp put it into fiel...
by Manu9351
Sun Jan 14, 2018 8:12 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

Re: database works fine in Livecode, not in Android

Hi Manuel, please post all relevant scripts and/or pathnames that you are using. Do you copy that database file from specialfolderpath("resources") to the Docs folder, when the app starts for the first time? Maybe this is just a typo, but this should read e.g.: ## specialFolderPath("Documents")/Dat...
by Manu9351
Sun Jan 14, 2018 7:52 pm
Forum: Databases
Topic: database works fine in Livecode, not in Android
Replies: 19
Views: 15639

database works fine in Livecode, not in Android

Hi, my databaseconnection and everything in the app works fine in Livecode. Read, Write, Search, everything is ok when i'm in Livecode on my computer. On Android, the app says: Database Connection ID is 1, and when i want to do something with the database, theres the error: "revdberr,DatabaseError: ...

Go to advanced search