#embarcadero #delphi #xe8 #sqlite #encryption #ios
ZAC's Blog for sharing programming related stuffs, focus on free stuffs, occasionally will talk about paid solutions.
Translate
Showing posts with label iOS. Show all posts
Showing posts with label iOS. Show all posts
2015/04/25
Embarcadero RAD XE8 support SQLite encryption on iOS but not OSX
After a quick test, I found that XE8 support SQLite with encryption on iOS, too. However, OSX seems not supported as I got runtime error when running on OSX.
#embarcadero #delphi #xe8 #sqlite #encryption #ios
#embarcadero #delphi #xe8 #sqlite #encryption #ios
Labels:
Delphi,
Embarcadero,
Encryption,
iOS,
RAD Studio,
SQLite
2015/04/17
Embarcadero RAD XE8 Testing
Just have a chance testing with XE8. It has many improvements that make me to try it again for cross-platform development.
The most notable changes that inspire me much are:
If you want to compile RESTDebugger by yourself, just save below code as "uRESTDebuggerResStrs.pas" in the same folder of RESTDebugger source folder will be sufficient. (NB. I just copy the relevant section from XE7 code plus some new stuff with my own wording introduced in XE8).
The most notable changes that inspire me much are:
- All supported platforms have TWebBrowser component. In the past, I always need to build to the device to check for Web Browser related stuff, which is very time consuming. With TWebBrowser supports on Windows platform let me have a quick test on the app before deployment.
- FMX version of TImageList control. Though it is quite heavy weight but it is a very convenience components to add all images to the application
- 64bit iOS support (Apple requirement :( ). I love Qt, but the progress on this is a bit ...
- Box2D Physic Engine, seems interesting though I'm not developing games
- Native HTTP/HTTPS client support, no more openssl dependent. This is great as I have no need to compile openssl for different platforms
- Static SQLite library for supported platform. It seems to be able to use the OTFE database but I need to further test with
If you want to compile RESTDebugger by yourself, just save below code as "uRESTDebuggerResStrs.pas" in the same folder of RESTDebugger source folder will be sufficient. (NB. I just copy the relevant section from XE7 code plus some new stuff with my own wording introduced in XE8).
unit uRESTDebuggerResStrs;#delphi #XE8 #Embarcadero
interface
resourcestring
RSAddCustomParameter = 'Add Custom Parameter';
RSAddParameter = 'Add Parameter';
RSBytesOfDataReturnedAndTiming = '%d : %s - %d bytes of data returned. Timing: Pre: %dms - Exec: %dms - Post: %dms - Total: %dms';
RSCannotProceedWithoutRequest = 'Cannot proceed without request.';
RSComponentsCopied = 'The following components have been copied to the clipboard: %s';
RSConfirmClearRecentRequests = 'Are you sure that you want to clear list of the most recent requests?';
RSConfirmDeleteCustomParameter = 'Are you sure you want to delete the custom parameter?';
RSContentIsNotJSON = 'Content is not JSON';
RSContentIsValidJSON = 'Content is valid JSON';
RSEditCustomParameter = 'Edit Custom Parameter';
RSEditParameter = 'Edit Parameter';
RSInvalidRootElement = 'Invalid root element';
RSNoCustomParameterSelected = 'No custom parameter selected.';
RSProvideAuthCode = 'Authenication Code';
RSProvideAuthEndPoint = 'Authenication End Point';
RSProvideClientID = 'Client Id';
RSProvideClientIDAndClientSecret = 'Client Id and Client Secret';
RSProvideTokenEndPoint = 'Token End Point';
RSProxyServerDisabled = 'Proxy-server disabled';
RSProxyServerEnabled = 'Proxy-server enabled: ';
RSRootElementAppliesToJSON = 'Root Element, "%s" not applied. Root Element is only applied to JSON content. Content is not JSON.';
RSUnableToValidateCertifcate = 'Unable to validate certificate.';
implementation
end.
Labels:
cross platform,
Delphi,
Embarcadero,
iOS,
iOS 64bit,
openssl,
SQLite,
XE8
2014/08/17
Embarcadero RAD Studio XE6 Test (After Thought)
After testing Embarcadero RAD Studio XE6 for sometimes, here are some findings/summary of mine.
Pros:
- great for rapid prototyping
- easy to use (for simple app)
- single code base (delphi/c++) for multi-platform (FMX), Win32, Win64, Android, iOS, OSX.
- ARC for ui components (a feature that Qt already have when I first use it)
- FireDAC for easy database app creation
- REST components
- Some eye-catching features like Application Tethering, Integration with BaaS, InApp Purchase and Advertising components ...
Cons:
- some design issue. e.g. grid assume all cells with same content alignment. (Who will use a table with contents all right-justified?)
- not fully multi-platform. e.g. webbrowser not available on Windows platform
- runtime library a bit large (>30MB in release mode)
- startup time a bit long, especially for android, may be due to the large runtime library
- issue with multi-threading on iOS, got unexpected AV
- sometimes need tweaking, e.g. reorder your code execution sequence, to display properly. The most noticeable one is TWebBrowser on iOS, you need to make TWebBrowser component visible before assigning url, otherwise, the component seems invisible. Also, you need to make it invisible before you can show your other ui components as the TWebBrowser, if visible, will cover up all other components. (may be it is due to the fact that I've placed the webrowsee on a TLayout)
Some suggestions:
- Minimize the forms used in development as starting up a form takes long time, that's why I use a TLayout with TWebBrowser in the above
- TabControl may be another choice for page navigation
- One initialize your first page and postpone all other initialization process to a later time using timer, especially for android to shorten the black screen delay during startup
Labels:
android,
c++,
Delphi,
Embarcadero,
iOS,
multi-platform,
osx,
RAD Studio,
test,
Windows,
XE6
Subscribe to:
Posts (Atom)

