delphi XE5 编译的APK启动时短暂黑屏,如何解决?
我纳闷的是为什么delphi编译的安卓程序启动时会有短暂的黑屏出现,如何解决这个问题?
什么原因呢,你们没有发现QQ等就没有么?
[解决办法]






3.添加 /res/drawable-port/loading.png (若是横屏的启动画面,请放于 /res/drawable-land/loading.png )
4.完成
参考代码:
<style name="MyTheme.NoTitleBar.CustomBackground" parent="@android:Theme.Black">
<item name="android:windowBackground">@drawable/loading</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
<application android:icon="@drawable/icon" android:label="@string/app_name" android:debuggable="true">
<activity android:label="@string/app_name" android:theme="@style/MyTheme.NoTitleBar.CustomBackground" android:configchanges="keyboardHidden
[解决办法]
navigation
[解决办法]
orientation" android:name="com.test.ui.MainActivity" android:screenorientation="portrait">
<intent-filter>
<action android:name="android.intent.action.MAIN">
<category android:name="android.intent.category.LAUNCHER"> </category>
</action>
</intent-filter>
</activity>
...
...
[解决办法]
我表示我还没有整XE5,目前只对他的FMX比较感兴趣,希望把FMX效率提上来就行!其他的,暂时是浮云,整Android还是Eclipse+ADT比较正点
[解决办法]
delphi XE5 编译的APK启动时短暂黑屏,,,XE5 无法解决,等待 XE5 for update 1
[解决办法]
今晨在此項目回復了"頂一個!!!!!!"...現在發現不見了~ 這給了我一個相當不好的感覺與印象! 
這是怎麼回是呢?
[解决办法]
增加启动图片显示:
1.Project---Deployment
添加:
Styles.xml res\values\
Loading.png res\drawable-port\
打开AndroidManifest.template.xml
添加这段: android:theme="@style/MyTheme.NoTitleBar.CustomBackground"
Styles.xml文件内容为:
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="MyTheme.NoTitleBar.CustomBackground" parent="@android:Theme.Black">
<item name="android:windowBackground">@drawable/loading</item>
<item name="android:windowNoTitle">true</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
</style>
<style name="AppBaseTheme" parent="android:Theme.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
</resources>
[解决办法]
之前用Eclipse编译安卓程序会觉得慢,但是看到你们用xe5慢得更历害,一种优越感油然而生,投入Eclipse的怀抱吧
[解决办法]
编译速度顶个球用..
Delphi 编译速度不完爆 C++....
编译速度慢有一个好处.. 预防颈椎病.. 编译的时间正好用来尿
[解决办法]
再等一两个版本就好了,做为只会用DELPHI的人也只能等
[解决办法]
今天xe5上海发布会现场 李维老师演示了解决黑屏加入启动图片,李维老师经常来csdn 他说的
------解决方案--------------------

[解决办法]
现在都流行手机开发了.
[解决办法]
我们公司还买了正版的XE5。。。
[解决办法]
真是高手在民间啊,学习了
[解决办法]
xe5开发移动程序,在数据库方便,感觉不是很方便。
[解决办法]
老Delphi用户们都期待着呢
[解决办法]
[解决办法]
http://m.blog.sina.com.cn/s/blog_643d40e60101g8za.html#page=1