Visit site The Hacker's Corner
October 2011
2
votes
Article: DataSnap connectivity for iOS
The Hacker's Corner
– I have published my article on how to achieve DataSnap connectivity from an iOS application written using Delphi XE2 and FireMonkey! DataSnap connectivity for iOS using Delphi XE2 and FireMonkey The article contains a link for the full source in CodeCentral. Enjoy! Share This | Email this page to a ...
2
votes
More iOS DataSnap. This time connected to InterBase!
The Hacker's Corner
– As you can tell, this is EMPLOYEE.GDB popping up on my iPhone! This app will be part of the InterBase talk at CodeRage 6. Don’t miss it! I may even have a white paper by then… Share This | Email this page to a friend
1
vote
Article: GPS and Compass in iOS from Delphi FireMonkey
The Hacker's Corner
– Full article with source code Enjoy! Share This | Email this page to a friend
3
votes
Video: GPS and Compass in Delphi/FireMonkey for iOS
The Hacker's Corner
– Share This | Email this page to a friend
0
votes
iOS demos as videos
The Hacker's Corner
– Of course CodeRage 6 is around the corner, and I finally recorded my iOS session for it. I also recorded a 6-minute teaser on "GPS and Compass". It should be posted on YouTube by tomorrow, I hope. I’ll blog again when it is. Share This | Email this page to a friend
0
votes
RAD Studio XE2 World Tour webinar replay available
The Hacker's Corner
– My World Tour webinar on RAD Studio XE2 is available for replay. Enjoy! Share This | Email this page to a friend
2
votes
Getting GPS coordinates and compass heading in an iOS FireMonkey app
The Hacker's Corner
– Below is a code snippet that shows how to write the delegates that get GPS and Compass heading information from the device. Don’t worry - cleaned up complete examples are forthcoming shortly. {$IFDEF FPC} type MyCLController = objcclass(NSObject) locationManager : CLLocationManager; procedure ...
0
votes
Delphi iOS FireMonkey DataSnap client!
The Hacker's Corner
– Find out how at CodeRage 6! October 17-21! Enjoy! Share This | Email this page to a friend
0
votes
Smile! You’re on iOS FireMonkey camera!
The Hacker's Corner
– See you at CodeRage 6! Share This | Email this page to a friend
2
votes
Using the Accelerometer in an iOS FireMonkey app
The Hacker's Corner
– Special thanks to Eugene Kryukov and Phil Hess for this stuff! Check out CodeRage 6 for a cool implementation! Enjoy! implementation {$R *.lfm} type UIAcceleration = objcclass external (NSObject) public function timestamp: NSTimeInterval; message ‘timestamp’; function x: ...
1
vote
Locking screen rotation in FireMonkey iOS…
The Hacker's Corner
– Warning: This is a total hack, and should NOT be attempted unless you know exactly what you’re doing. I don’t know any better, so I just went for it. Editing shipping source files is NEVER supported, encouraged, and shouldn’t even be blogged about. OK, warning aside. Here we ...
1
vote
FishFacts for iOS FireMonkey!
The Hacker's Corner
– For the rest of the story, you’ll have to tune in to my talk at CodeRage 6 - October 17-21! Enjoy! Share This | Email this page to a friend
3
votes
Super simple SQLite application for iOS FireMonkey
The Hacker's Corner
– The following unit creates a table, inserts two records, and queries them back. Next I’ll try to tackle DataSnap… Enjoy! unit Unit1; {$IFDEF FPC} {$mode objfpc}{$H+} {$modeswitch objectivec1} {$ENDIF} interface uses SysUtils, Types, UITypes, Classes, Variants, FMX_Types, ...
2
votes
Reading and writing files from an iOS FireMonkey application
The Hacker's Corner
– Here’s an example of how you can read and write files in your iOS FireMonkey application. Enjoy! {$IFDEF FPC} var content : NSString; {$ENDIF} {$IFDEF FPC} function MyFileName : NSString; var paths : NSArray; fileName : NSString; begin paths := ...
2
votes
Toggling the Status Bar using an iOS FireMonkey application
The Hacker's Corner
– Q: How do I turn on/off the Status Bar on the iPhone? A: By calling setStatusBarHidden Below, a simple unit that shows how to toggle the status bar using different animations - none, fade, and slide. The example also shows how to toggle the network activity indicator. unit Unit1; {$IFDEF FPC} {$mode ...




