Google+ ZACARÉS: RAD Studio

Translate

Showing posts with label RAD Studio. Show all posts
Showing posts with label RAD Studio. Show all posts

2016/03/22

Embarcadero RAD Studio 10 Seattle Android Native Splash Screen

Quick Notes

  • Prepare your splash image and name as splash.png (760x1024).
  • Build the project, target Android to obtain AndroidManifest.template.xml
  • Modify generated AndroidManifest.template.xml, change the highlighted line
    <application android:persistent="%persistent%"
        android:restoreAnyVersion="%restoreAnyVersion%"
        android:label="%label%"
        android:debuggable="%debuggable%"
        android:largeHeap="%largeHeap%"
        android:icon="%icon%"
        android:theme="%theme%"        android:hardwareAccelerated="%hardwareAccelerated%">
     <application android:persistent="%persistent%"
        android:restoreAnyVersion="%restoreAnyVersion%"
        android:label="%label%"
        android:debuggable="%debuggable%"
        android:largeHeap="%largeHeap%"
        android:icon="%icon%"
        android:theme="@style/MyTheme.NoTitleBar.CustomBackground"        android:hardwareAccelerated="%hardwareAccelerated%">
  • Create styles.xml with the following content
<resources>
<style name="MyTheme.NoTitleBar.CustomBackground" parent="@android:Theme.Black">
  <item name="android:windowBackground">@drawable/splash</item>
  <item name="android:windowNoTitle">true</item>
  <item name="android:windowFullscreen">false</item>
  <item name="android:windowContentOverlay">@null</item>
</style>
</resources>
  •  Deployment property
    • styles.xml --> res/values/styles.xml
    • splash.png --> res/drawable-port/splash.png

2015/04/29

Embarcadero seems targeting linux platform

It seems Embarcadero beginning to build toolschain to target linux platform. 





 [ComponentPlatformsAttribute(
    pidWin32
    or pidWin64
    or pidOSX32
    or pidiOSSimulator
    or pidAndroid
    or pidLinux32    or pidiOSDevice
    or pidiOSDevice32
    or pidLinux64    or pidWinNX32
    or pidWinIoT32
    or pidiOSDevice64
    )]
That's great but if RAD studio can be cross-platform itself, it would definitely a good news.

#embarcadero #RAD #linux #crossplatform

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

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



2014/07/23

Embarcadero RAD Studio XE6

There is a long time not updating this blog. As recently I have been assigned for a job to test and try developing cross-platform application using Embarcadero RAD Studio XE6.

For paid solution, it seems a great tool. But I need to investigate more.