Download PDF Failing
The following urls set in the BrowserComponent
converts HTML to a PDF that can be downloaded by clicking a button.
This works in a web browser, but it doesn’t download in Codename One simulator or app installed in a device.
Why am I getting a NullPointerException when I copy my Database to FileSystemStorage?
I have used the code example to copy my included database into FileSystemStorage. The database is copied, but the Util.copy(pi, po); line throws a NullPointerException. Anyone have any ideas? Thanks.
How to Decrypt Files Encrypted using EncryptedStorage
To secure app storage, I encrypted the storage using EncryptedStorage
as explained here. That is,
Issue with iOS 17 Map Display
We have a serious problem with the map. If you look at the attached file, there is a line dividing the Sahara that shouldn’t be there. This issue appears only on the iOS 17 version. I am providing a photo from Google Maps to show the difference. Please, we need your help as soon as possible. It’s very urgent.
Replace SQLite Database with External SQLite Database
I am trying to replace SQLite Database with a external SQLite Database which is selected using a FileChooser
.
Save SQLite Database to External Storage
I am trying to save a SQLite Database to external storage same way WhatsApp does it in Android device by creating folder and saving Database there.
How can this be achieved in Codename One App?
Why am I getting a “cannot find symbol” error when I Rebuild my class?
I have inserted the code to bring my sql Database into local storage, but I am getting the error. I cannot find any examples of the imports needed to overcome the error with any of the examples I found of the copyDb(path) usage. Any ideas of the class I need that has the copyDb method in it? I have some imports to delete for this class, but I wanted to get this solved so I can start troubleshooting. Thanks in advance.
What is the best way to recall data in both iOS and Android?
I am looking for a way to store coordinates in storage to move labels around my container. I could take screen shots and replay them with imageviewer, but I am concerned with the size of storage if I had hundreds of screen shots saved after months of app use.
How do I keep from generating an Error when creating an Output Stream
I have found many examples of creating the output stream, and used them in my code. I am getting the following error: incompatible types: java.lang.String cannot be converted to java.io.OutputStream
I cannot move into the next phase until I get past this. Any ideas would be appreciated.
Here is the class code:
Adjust Buttons and Labels font sizes when default font size of the device increased or decreased
I realized buttons and labels font sizes of Codename One app doesn’t change when the font size of the device is adjusted.