January 26, 2013

Picture of an iOS Picture (taken with a Delphi App)

This is the picture of a picture taken with a Delphi iOS application. I know, almost recursive.

This is the picture of a picture taken with a Delphi iOS application. I know, almost recursive, but let me explain.

Sarina wrote this nice Delphi iOS application, with a few components (an image control, a couple of buttons) and two actions. One of the actions let's you take a picture connecting to the system Camera app. Being an action, there is no code to write. One line of code, and you can copy the picture to the image control. So I used it, took a picture of my table, and than from my (Android) phone I took a picture of the iPod running the Delphi app. So, 0 lines + 1 line = 1 line of code total for this operation.

In other words, this is the picture of a Delphi application used to take a picture through the Camera application. Enough said (stay tuned for more info), here it comes:

 





 

12 Comments

Picture of an iOS Picture taken with a Delphi App  

 Is this using the mobile studio 
beta?
Comment by Brent [] on January 26, 19:03

Picture of an iOS Picture taken with a Delphi App  

After evaluating "Delphi XE2 for IOS", we started
developing using Xcode because of the need to use
Xcode native APIs not availables in Free Pascal.
Objective C was developed in the early 80's,
productivity is far from satisfactory. The arrival of
a new version of Delphi for IOS can be a great
opportunity to restore productivity to ours developer
team.After evaluating "Delphi XE2 for IOS", started
developing using Xcode because of the need to use
Xcode certain native APIs not available in Free
Pascal. Objective C was developed in the early 80's,
productivity is far from satisfactory. The arrival of
a new version of Delphi for IOS can be a great
opportunity to restore productivity to which we are
accustomed delphi developers and not found in other
languages​​.

If the new "Delphi for IOS" addresses this
successfully it will revitalize our environment
avoiding abandonment in favor of other tools.Another
key feature to our development team is creating in
delphi rest server with high scalability and performance.
Comment by Alfons Gómez [http://www.financialsoft.es] on January 26, 21:19

Picture of an iOS Picture taken with a Delphi App  

"there is no code to write. One line of code"

Syntax error: does not compute. 
Comment by Pratt on January 28, 08:33

Picture of an iOS Picture taken with a Delphi App  

Pratt, what about reading the entire text, rather than taking the half of 
two sentences? Come on... 

There is no line of code for the action, used to open the camera. There is 
one line of code to copy the picture to the image control, in fact I say the 
total is 0+1=1. 

-Marco
Comment by Marco Cantu [http://www.marcocantu.com] on January 28, 10:21

Is this NON-Firemonkey? 

Is this NON-Firemonkey? We're really looking forward
to getting XE3 if this is just Delphi on iOS, and not
the FireMonkey framework.
Comment by Mike Dixon [http://www.mikedixononline.com] on January 28, 13:53

Picture of an iOS Picture taken with a Delphi App  

Mike,
  I'm not sure what you mean... in any case, this is a FireMonkey 
application, with an image control (and a rectangle around it) and two 
buttons at the bottom. FireMonkey renders controls with a native look, 
and enables native editing and similar operations. More details will 
follow.

-Marco
Comment by Marco Cantu [http://www.marcocantu.com] on January 28, 15:19

Picture of an iOS Picture taken with a Delphi App  

Marco,

I guess I am not the only one in the Delphi community 
who is looking forward to "Drag, Drop, double-click, 
Write Code, Run" coming to iOS.

I am very happy to see Delphi coming back with a bang! 
Always felt the mobile dev tools were not yet there. I 
guess I was missing Delphi.

See you online on the 14th of Feb.

Wilfred. 
Comment by Wilfred Oluoch [http://www.ideaz.co.ke] on January 28, 18:23

Picture of an iOS Picture taken with a Delphi App  

 Was a mirror used for the phone to take its own photo?
Comment by David on January 29, 01:02

Picture of an iOS Picture taken with a Delphi App  

Hi marco, if I want to use the Mobile Studio to develop 
mobile games, is it possible or suitable? Yes Unity3D is 
great and powerful, but if I want to do some interesting 
2D things, then design and finish them all(including the 
render engine) by myself maybe a good idea——'Cause I 
love doing my work with Delphi.
Thank you.

PS:'Cause firemonkey's code is very bad in some places 
and not optimised mostly, I 've developped my own UI 
framework(DirectUI likely), so I would not using FM to 
develop mobile games.
Comment by adelphicoder on January 29, 04:01

Picture of an iOS Picture taken with a Delphi App  

A couple of replays (sorry I cannot address all):

- A C++ Builder version will follow, for now it will be only Delphi
- The picture was taken with a second device, not a mirror
- There is no specific support for games, would be interesting to see 
some engines moved over
- There is FireMonkey behind the scenes, with a new optimized canvas 
for painting (hopefully this should help)

-Marco
Comment by Marco Cantu [http://www.marcocantu.com] on January 29, 07:42

Picture of an iOS Picture taken with a Delphi App  

Do you think the performance will be better than XE 2
Firemonkey iOS? For example, listbox scrolling on an
actual iPhone 4 looked jerky and emulated. It worked
ok on an iPad 2 but the processor was faster in that
device.
Comment by Dwayne [http://tndelphifan.blogspot.com/] on February 7, 21:42

Picture of an iOS Picture taken with a Delphi App  

Please, see this blog in portuguese 
(http://blogs.embarcadero.com/fernandorizzato/index.php/
2013/02/14/401/) and see this video 
(http://youtu.be/PtDabxx-w9o). It's a conversion from a 
demo project from Delphi 1.x migrated to FireMonkey and 
compiled/runned with minimum effort in Mac OS X.

Can we achieve this goal, using the text editor demo 
application from Delphi 1 and moving to iPhone iOS? 
Comment by Andre Sandri [http://www.andresandri.com.br/] on February 15, 04:18


Post Your Comment

Click here for posting your feedback to this blog.

There are currently 0 pending (unapproved) messages.