
Originally shared by Lars Fosdal
This looks irrelevant to my napping!
Snurre is not overly impressed with my new reading material from Nick Hodges. Me? I rather enjoy it 🙂
http://www.amazon.com/Coding-Delphi-Nick-Hodges/dp/1941266037

Originally shared by Lars Fosdal
This looks irrelevant to my napping!
Snurre is not overly impressed with my new reading material from Nick Hodges. Me? I rather enjoy it 🙂
http://www.amazon.com/Coding-Delphi-Nick-Hodges/dp/1941266037
In case you missed it – Amazon now carries Nick’s new book.
There is something about ink and paper, even in this digital day… so I just ordered my copy 🙂
http://www.amazon.com/Coding-Delphi-Nick-Hodges/dp/1941266037
The Google+ Delphi Developers Community sprung another sibling!
Feel free to join up with the Delphi iOS & Android Developers Community.
The Delphi Developers Community is a relatively whine free place to discuss our programming challenges, and has just passed 2200 members, and our new iOS and Android offspring focuses on the finer details of getting the most out of the FireMonkey mobile platform – already have 125 people participating.
Then there is the growing Delphi Component Directory, where a steady flow of posts are highlighting the good stuff we may need to solve our challenges.
There even is a place to vent your anger with Delphi and Embarcadero without detracting focus from solving programming issues. If you need to rant and rage – people are all ears in Unit Number 5.

Delphi Android Warriors
Jim McKeeth posted this warrior tribe over at http://delphi.org/2013/09/delphi-xe5-android-wallpaper/ – there even is a huge .png version found in his post.
Kinda cute 🙂 I just hope they are not grouped to fight off flaming apes 😉
There are a few differences between a Windows App and an Android App that puzzled me initially. Why doesn’t my application get FocusChanged Activate/Deactivate or Close when switching between or terminating apps on Android?
https://apis.google.com/js/plusone.js
In this post I also test out Google+’s new support for embedding G+ posts in blogs and web pages.
Originally shared by Lars Fosdal
Android Application Events
There are a few differences between a Windows App and an Android App that puzzled me initially. Why doesn’t my application get FocusChanged Activate/Deactivate or Close when switching between or terminating apps on Android?
Turns out that FireMonkey has extra trickery for that in FMX.Platform.
You need to hook your own event handler in.
function TBasicAndroidForm.AppEventHandler(AAppEvent: TApplicationEvent; AContext: TObject): Boolean;
begin
Result := True; // Does it matter what result you return?
LogEvent(‘AppEvent ‘ + TRttiEnumerationType.GetName(AAppEvent));
end;
procedure TBasicAndroidForm.SetupAndroidEventHook;
var
ApplicationEventService: IFMXApplicationEventService;
begin
if TPlatformServices.Current
.SupportsPlatformService(IFMXApplicationEventService, IInterface(ApplicationEventService))
then ApplicationEventService.SetApplicationEventHandler(AppEventHandler);
end;
I’ve attached a small test project that show some of the events you get when you start the app.
Starting the app:
Create, Resize, Resize, Resize, Show, Activate, aeFinishedLaunching, and aeBecameActive.
The app is now up and running.
If I now pull down the Android system menu, I only get aeWillBecomeInactive.
If I close the system menu, I get aeBecameActive.
If I click the home button to get to the main Android navigator, I get aeWillBecomeInactive, aeEnteredBackground, aeWillBecomeInactive. Why the double event? I don’t know.
Using the Android task switch, I bring the app back up on display, and get aeWillBecomeForeground, aeBecameActive.
Note that during this, I did NOT get the form events Show, Resize or Activate.
If you lock the Android device or open the task switcher, you get the same events as if you visited Home.
Note that if you leave your device inactive for a long time – the App may actually fully terminate, leaving you with _aeWillBecomeInactive and aeEnteredBackground_ as key events for securing what appears as a persistent state for the user.
If you don’t save your states here, you may not get another chance to do it.
Francisco Ruiz spotted that the RAD Studio Mobile Roadmap has been updated.
http://edn.embarcadero.com/article/42544






With Blogger’s ability to +mention people, and now also sharing the blog comments on Google+, I’d say that you would have a hard time finding something that can beat it the Google+/Blogger combo for impact. Perhaps this can reignite the Delphi blogosphere, as it has never been so easy to create content and reach a targeted audience.
So, why don’t you put on your writer’s hat, write about your Delphi experience, and share it with us at the Delphi Developers Community?
Project “World Ruler” – An OpenGL game written in Delphi!
by Sascha Willems, Digital Performance GmbH
You must be logged in to post a comment.