Αναρτήσεις

Προβολή αναρτήσεων από Ιούλιος, 2015

Execution failure report - Αναφορά αδυναμίας εκτέλεσης

[UPDATE Wednesday July 29, 2015]  The problem in the code was at the third line of the MainActivity where I declared that the application should appear in landscape mode... setRequestedOrientation ( ActivityInfo . SCREEN_ORIENTATION_LANDSCAPE );   For a reason I do not understand that line created a memory overflow in some devices and the application was instantly crashed. I manage to find the faulty code by try and error when I created a Nexus 5 API 22 x86 virtual device and reproduce this situation. The solution was to remove the above faulty line and type android : screenOrientation = "landscape"   in the AndroidManifest.xml file. I hope that the 1.0.25 version of Educational Difthera (published July 25) will run normally at all android devices. If this not the case please inform me in order to try to resolve the bad situation.

User guide: Import / export of the database.

Εικόνα
Educational Difthera as an android application relies on SQLite database engine for its data storage needs. SQLite physically is a single file located in the internal memory of the android device. In Educational Difthera this file has the name "tefteri_db" (without any file extension). The application supports easy import and export of its database file. EXPORT To create a backup file of the database it suffice to select Export of database from the SETTINGS screen. By making this choice, a copy of the database file "tefteri_db" is created and saved in the folder MyReports/DbBackup of the external SD card. Then, the user can select either to browse the folder or email this file or upload at his/her Dropbox account or even send this file via bluetooth port at a connected device. IMPORT In order to import a database it suffice to select Import and replace database from the SETTINGS screen. The user will be asked twice to verify that he/she desi