I’m developing a “small” application which creates alarms/reminders using the TNotificationCenter.
The app shows the current time on the main screen, two buttons and a label.
One button is to add new alarms, the other button is for settings.
Outside of the “viewable screen” there are two rectangles containing the components for purpose according adding alarms and the menue.
Both rectangles use a floatanimationn to be shown and hide.
When I compile the app with Delphi XE7 the application works fine on different mobiles (Galaxy S2 Android 4.2, Galaxy S3 Android 4.3, Galaxy S3 Android 4.4).
When I compile the app with Delphi XE8 the application starts fine. I also can press the menue button to show the menue. But when I press one of the menue buttons (show alarms, set sound file, quit application) it freezes.
Especially for this app it would be great if I could use Delphi XE8, because with it I can use a certain sound for the notification (TNotification.SoundName), a feature which has been introduced with XE8.
I have read a similiar problem here:
Black screen with Delphi XE8 Firemonkey + Android 4.4
I followed that instructions, but it didn’t help for me. I checked this way, because sometimes the app also started and just showed a black screen. But most of the time it freezes when I press one of the menue items.
Any idea to this? Did someone encounter the same problem?
You can download the project here:
http://mschlereth.de/stuff/dl/QuickAlarm.zip
Thanks for your help in advance!
XingFu
Hi @all,
first, thanks for your answers.
I have built the application from scratch under XE8 and now it works.
Of course, I copied and pasted most of the code, but the interface is built from scratch.
That’s a bit frustrating, because it probably means that I would have to do this will all of my applications if I would like to use XE8 as the preferred IDE. 🙁
XingFu