Get your App in the Google Play store before August 1, 2018

Google is changing its requirements for the target SDK API level. Starting from August 1st any new app uploaded to the Play Store must target API level 26 (Android 8.0). If you have an existing app in the Play Store you’ll have some more time, as updates to the app must only meet this same requirement on November 1st.

This means that if you are currently developing a new Delphi Android App you should consider uploading it into the Play Store before August 1st. Why? The current version of Delphi uses a target SDK of API level 14. If you upload your new app now, this buys you some time until November 1st to become API level 26 compliant with an app update.

I’m working on an API level 26 issue right now, where I’m extending the JContext of Delphi with some of the new API level 26 features for starting a foreground service. This is needed to comply with the new background execution limits introduced in Oreo. This works quite well, and does not require a lot of code.

If you can not upload your app to the Play Store before August 1st, then this blog post from Dave at Delphi Worlds may help you further. It changes some of the Delphi code to achieve (partial) API level 26 compliance.

Delphi 10 Tokyo Update and Firemonkey-Android Power training March-2018

On March 8th and 9th we have the Delphi 10 Tokyo Firemonkey and Android Power training planned in Etten-Leur in the Netherlands. In just two days you will learn how to develop an Android App in Delphi, with high level features in the GUI down to high tech stuff when interacting with the Java side. This training is available in both English and Dutch. Registration can be found here.

A week after, on March 15th and 16th, we have the Delphi 10 Tokyo Update training in our agenda. As one of the previous attendees told me a couple of weeks after attending this training “I’ve learned so many new things in these two days; I especially liked the (PPL) TTasks chapter”. This one is only available in Dutch, registration can be found here. Note: due to a conflict in planning with an on-site training this open training has been moved to April 19th and 20th.

Delphi “The LAB” – 19 september 2017

Er komt een mooi evenement aan met de prachtige gelegenheid om rustig te spreken met de presenters van het evenement in “The LAB”.

Neem de tijd om bij een kopje koffie te praten met elk van de presenters in het restaurant van het Evoluon, maar volg ook de interessante sessies van sprekers als Jens Fudge, Andrea Magni, Bob Swart en David Millington. Vergeet ook de CurieWise C++ Builder sessie van Ludo Stroetenga niet.

Mijn sessie op dit seminar gaat over het oppeppen van bestaande Delphi VCL applicaties. Verplaats de gehate zandloper naar TTasks, poets je User Interface op met fraaie controls en gebruik enkele nieuwe technieken om je code indrukwekkend sneller te maken. In “The LAB” heb je ook nog eens uitgebreid de tijd om me vragen te stellen over het gebruik van TTask, User Interfaces of over het maken van een goede espresso.

The LAB, where you get to spend time with Delphi presenters

The LAB

PDF met de sessies:
https://www.barnsten.com/media/factsheet/Agenda_The_LAB.pdf

Inschrijven kan hier:
http://embt.co/2udBG5p

Delphi in het onderwijs – 20 april 2017

Als u als leraar kennis wilt maken met de mogelijkheden van Delphi als programmeertaal in het voortgezet onderwijs dan kan dit nu op de Slim bijeenkomst op 20 april 2017, deelname is gratis, de locatie is het SLB diensten kantoor te Amsterdam.

In deze bijeenkomst laat ik samen met Barnsten zien waarom Delphi voor leerlingen de beste taal is om te leren programmeren.

  1. Delphi is Pascal, en Pascal is gemaakt om te leren programmeren
  2. Delphi kent een lineaire leercurve, vanaf uur 1 maak je al je eerste eigen applicatie
  3. Delphi bestrijkt het hele spectrum van low-level CPU tot aan high-level classes en frameworks
  4. Delphi applicaties compileer je naar alle platformen, Windows, Mac (OSX), iPhone (iOS), Smartphones (Android) en web servers (Linux)
  5. Delphi spreekt de jonge developer aan met Apps op de Android SmartPhone en met IoT communicatie met gadgets

Meer informatie over de locatie en inschrijving vindt u hier:
https://www.barnsten.com/nl/events/details?events_id=278
https://www.slbdiensten.nl/slb/nieuws/evenementen/infosessie-programmeertaal-delphi/inschrijven-infosessie-programmeertaal-delphi#meerleren

Delphi 10.1 Berlin Firemonkey en Android Training

Op donderdag 24 en vrijdag 25 november is er een Delphi 10.1 Berlin Firemonkey en Android training.

Ben je al ervaren in Delphi met de VCL, maar wil je verder met multi-platform (OSX, iOS, Android) dan is deze combinatie FireMonkey Power en Android App training misschien iets voor jou. Leer in 2 dagen het FireMonkey framework en Android app development kennen.

Meer info vindt je hier:

Delphi 10.1 Berlin FireMonkey en Android

En inschrijven kan via Barnsten:

https://www.barnsten.com/nl/development-tools/training/delphi-android-training

Best Delphi Android development device

What is the best phone or tablet to use when developing Delphi apps for Android?
This is a recurring question on conferences and workshops. My short answer is “any of the Google Nexus phones or tablets”. These are Google’s developer devices with special features.

Please note that the choice of devices for end-users of the app you write in Delphi just about spans the entire Android market, and is in no way limited to Nexus or Pixel devices. You can basically run Delphi Android apps on almost any modern Android device; more about that later.

The best Delphi Android development device should have the following characteristics:

The Nexus / Pixel line of devices supports all of the above, whilst also pushing ahead with the latest hardware features.

Continue reading here: Best Delphi Android development device

Delphi 10 Seattle training begin 2016

Nieuwsgierig geworden naar Delphi 10 Seattle en je wilt ermee beginnen? Dan is de Delphi 10 Seattle VCL Essentials training op 27, 28 en 29 januari misschien iets voor jou. In 3 dagen leer je als ontwikkelaar Delphi kennen en gebruiken.

Ben je al ervaren in Delphi met de VCL, maar wil je verder met multi-platform (OSX, iOS, Android) dan is de combinatie FireMonkey Power en Android App training op 17 en 18 februari misschien iets voor jou. Leer in 2 dagen het FireMonkey framework en Android app development kennen.

Op 3 maart in Edegem (België) top je dan je kennis af met het Delphi praktikum voor ervaren Delphi ontwikkelaars. Mobile app do’s en don’ts, een stukje parallel coding en de benodigde REST based servers als backend. Een complete set aan kennis voor Delphi developers.

En heb je nog Delphi projecten die je over wilt zetten naar Delphi 10 Seattle, dan is de Unicode en BDE Migratie training wellicht interessant. Hierin code snippets voor effectieve Unicode omzetting en introductie van tools voor de BDE Migratie. Deze training is gepland op 11 maart.

Details en inschrijving via: http://www.barnsten.com/nl/events/details?events_id=188

December Delphi maand

Volgende maand is het alweer december, dus sluit het jaar goed af met één of meer Delphi 10 Seattle workshops.

Op 1 december (Zwolle) en 3 december (Eindhoven) laten we samen met de ontwikkelaars die ze gemaakt hebben twee verschillende in Delphi gemaakte Apps zien. De ene is voor de iPad mini en zal worden gebruikt in het calamiteitenhospitaal voor snelle registratie van patientstatus, de andere is zowel Android als iOS en is voor de binnenvaart. Bij beide apps laten we de technische highlights zien met demos van hoe je dit zelf kunt maken, in Delphi 10 Seattle.

Op 15 december (Hoofddorp) geven Paweł Głowacki en ik een hands-on workshop in de nieuwe features van Delphi 10 Seattle, gecombineerd met oefeningen en code die je direct kunt gaan gebruiken in je bestaande VCL applicaties of voor je nieuwe mobiele apps. Dus pak je laptop en doe mee.

Meer details vindt je hier:
http://www.barnsten.com/nl/delphikennis

Bijna vergeten; we sluiten het jaar nostalgisch af op 29 december (Etten-Leur) met een migratie training voor het omzetten van bestaande Delphi software naar Delphi 10 Seattle, met ASCII -> Unicode, BDE -> FireDAC, en VCL Styling voor de look die de klant graag wil.

Android App disappearing on screen rotation

When you migrate an Android app written in Delphi XE8 to Delphi 10 Seattle it may just suddenly push itself to background when you rotate the screen.

The solution is simple; just let the Delphi 10 IDE re-generate the AndroidManifest.template.xml file, or modify the following line of code in the file:
XE8: android:configChanges=”orientation|keyboard|keyboardHidden”
10 Seattle: android:configChanges=”orientation|keyboard|keyboardHidden|screenSize”

Your Delphi 10 Seattle migrated Android App will now behave itself when rotating the screen. Problem solved!

If you are wondering about the how and why of this modification; the minimum SDK levels have changed between XE8 and 10 Seattle.
XE8: uses-sdk android:minSdkVersion=”9″
10 Seattle: uses-sdk android:minSdkVersion=”14″
and when we take a look here:
http://developer.android.com/guide/topics/manifest/activity-element.html#config you’ll note that if the API level for your App is higher than 12, rotating the screen will issue a restart of the activity, unless you set the screenSize configChanges parameter which will allow your App to handle a screenSize change, such as a rotation between portrait and landscape.

Delphi 10 Seattle Trainingen in November

Nieuwsgierig geworden naar Delphi 10 Seattle en je wilt ermee beginnen? Ga dan naar de Delphi 10 Seattle VCL Essentials training op 4, 5 en 6 november. Details en inschrijving via: http://www.barnsten.com/nl/events/details?events_id=169

Ben je al ervaren in Delphi, maar wil je verder met FireMonkey en Android App ontwikkeling, dan is de FIreMonkey/Android Power training iets voor jou, op 19 en 20 november. Details en inschrijving via: http://www.barnsten.com/nl/events/details?events_id=168