Re: [codenameone-discussions] Re: How to save byte array as a file in android and how to view that file in codenameone?

2018-02-13 Thread Shai Almog
Why are you calling Resources.open? Try Display.getInstance().execute(). Resources.open works with "resource files" not files. -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails

[codenameone-discussions] Re: Slow results with dynamic AutoCompleteTextField

2018-02-13 Thread Shai Almog
Hi, sure. I demonstrated this in the online courses but this is a pretty simple strategy. Keep a variable called timer of type UI timer and whenever you get an event: - If you have a timer just cancel it - Create a new timer to send the event in 500ms or even 1 second. That way you create a

Re: [codenameone-discussions] Re: How to save byte array as a file in android and how to view that file in codenameone?

2018-02-13 Thread kantharao512
Sorry for late reply Steve.. here is the full stack trace Resource not found: file:///data/data/com.mypackage.myapp/files/MyFileName.pdf java.io.IOException: file:///data/data/com.mypackage.myapp/files/MyFileName.pdf not found at com.codename1.ui.util.Resources.open(Resources.java:740)

[codenameone-discussions] Re: new ios build glitch: "Invalid code signing entitlements"

2018-02-13 Thread Dave Dyer
I did another build, no changes at all, and this one went up fine. I still have both packages, if there's anything you'd like to know about what was different in the ipa -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe

[codenameone-discussions] Re: new ios build glitch: "Invalid code signing entitlements"

2018-02-13 Thread Dave Dyer
You're gonna love this. I did another build, and this one went up fine. Looking through my catalog of possible screwups, it's just possible that the previous build was a dev build instead of an app store build. If so this is an odd way to be told. -- You received this message because you

[codenameone-discussions] Slow results with dynamic AutoCompleteTextField

2018-02-13 Thread rdvg1962
Hi, Load about 25k of records in a table called "articles". To do the dynamic search of the information, I made a select to the table using the "like" function. Perform a test by entering the word "salsa". For each letter the routine goes to the BD and brings "n" number of records. For

Re: [codenameone-discussions] new ios build glitch: "Invalid code signing entitlements"

2018-02-13 Thread Steve Hannah
Sounds similar to this issue: https://stackoverflow.com/a/27724780/2935174 On Tue, Feb 13, 2018 at 1:31 PM, Dave Dyer wrote: > > Yesterday all was well. Today uploading a new build to the app store I get > the error "Invalid code signing entitlements" Specifcially

[codenameone-discussions] new ios build glitch: "Invalid code signing entitlements"

2018-02-13 Thread Dave Dyer
Yesterday all was well. Today uploading a new build to the app store I get the error "Invalid code signing entitlements" Specifcially the value "*" for key com.apple.developer.associated-domains is not supported. there is some traffic on stackoverflow that seems to be relevant

[codenameone-discussions] Re: How to save byte array as a file in android and how to view that file in codenameone?

2018-02-13 Thread kantharao512
Thanks shai for reply.. I have tried "fs.mkdir(fs.getAppHomePath());" like below but still i'm getting > java.io.IOException: > file:///data/data/com.engravsystems.emqim/files//MyFileName.pdf not found .. > here is the code : FileSystemStorage fs = FileSystemStorage.getInstance();