Thursday, March 29, 2012

Who would pay $0.99 for my iOS app?

I've been hacking away at my EDN iOS app. Here are a few screen shots of what it looks like in development. I have a few things I need to polish and then I will submit it to the AppStore.

Technical details:

* Communicates with the EDN MemberShip Services DataSnap REST Server

* You can log in, view your details, edit your details and post changed details back

* You can get all your registered products and serial numbers

* You can choose to persist username/password or not

* Works on all iOS devices and all device rotations!

Maybe it's worth more than $0.99? Especially if you get the full source code... ;)

This is what my app looks like when you launch it:

[caption id="attachment_39242" align="alignnone" width="200" caption="Just need a password..."]Just need a password[/caption]

This is what it looks like when you fail to login:

[caption id="attachment_39241" align="alignnone" width="200" caption="Access denied!"]Access denied![/caption]

This is what my user details look like:

[caption id="attachment_39243" align="alignnone" width="200" caption="My user details"]My user details[/caption]

Friday, March 16, 2012

FireMonkey and iOS 5.1

I finally upgraded to Lion and Xcode 4.3. Also iOS 5.1 on my iPhone 4.

I can happily confirm that FireMonkey apps work great on iOS 5.1 devices.

I already had Snow Leopard and Xcode 4.2 before. All it took was upgrading to Lion and then getting Xcode 4.3. That's it. I did not have to reinstall FPC or FMI at all.

Thursday, March 15, 2012

This, ladies and gentlemen, is a working iOS DataSnap client for EDN services!



In the coming weeks, I will be blogging about how to create your own iOS client to access any DataSnap server.

Did someone say we don't have TDataSet on iOS? Yeah, that might have been me. So wrong! We do!

In fact, here's a (condensed) code snippet from this app:
Proxy := CreateProxy;
DS := Proxy.GetRegistrations(Session);
FreeProxy(Proxy);

while not DS.EOF do begin
Memo1.Lines.Add(DS.FieldByName('TITLE').AsString+' '+DS.FieldByName('REGISTRATIONS').AsString);
DS.Next;
end;

Once the app is finished, my goal is to upload it to the AppStore and record the whole process so that I can publish the video as a tutorial on AppStore submission for FireMonkey apps as well. All it takes is time... ;)

Friday, March 9, 2012

iOS Camera/Photo demo - PREVIEW - AS-IS

I'm only posting this because a lot of folks have been asking for it.

This demo is provided as-is with no guarantees of working on any device whatsoever.

http://cc.embarcadero.com/item/28774

You have been warned. It's by no means complete. Not even tested since 10/11/2011 - not tested on iOS 5.0 or 5.1. Last I tested it was on 4.3 I think.

I'll replace it when I get time to finish it. Feel free to send me back a 10x better version.

BTW - you *have* to hack FMX_Platform_iOS.pas and know what you're doing to use this demo. You have to surface mainwindow and whatever else Xcode tells you is missing. You can do so by moving the declarations from the implementation section to the interface section. All warranties may very well be void by doing so, so back the file up before breaking it.

Disclaimer done... ;)

Enjoy!