Archive

Wednesday, 5. October 2011

3
votes
Vote UpVote

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, ...
Details Favorite? Off-Topic? Anders Ohlsson @ 07:53
0
votes
Vote UpVote

CRC32 Calculators in Delphi and .NET

The Wiert Corner – For a couple of projects, I needed to calculate CRC32 hashes (they same CRC that for instance is used in ZIP files). A few of the projects used C#, others used Delphi, so here are a few references: The Delphi Encryption Compendium at Google Code works from Delphi 5 through the current Delphi ...
Details Favorite? Off-Topic? jpluimers @ 07:00
2
votes
Vote UpVote

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 := ...
Details Favorite? Off-Topic? Anders Ohlsson @ 05:15
0
votes
Vote UpVote

C++ Builder XE2

The Itinerant Developer – Welcome!  This is the first article on my new blog, and it examines XE2.  I’ll dig right in: First impressions XE2 uses the same installer as previous versions, and has a fairly simple setup process.  For some reason the help uses a separate installer and so installation isn’t ‘set it and forget ...
0
votes
Vote UpVote

Delphi-tage 2011, Cologne

The Itinerant Developer – Hullo from Cologne!  Yesterday I attended the Cologne stop in the Delphi World Tour.  There were over 250 attendees, and they sold out all their tickets: Delphi-Tage about to begin Introduction to XE2 The first talk was an introduction by David Intersimone.  XE2 is, he said, “in my twenty-six ...
1
vote
Vote UpVote

Delphi XE2 community articles, blog posts, and other information

Sip from the Firehose – The Delphi developer community is sharing their expertise about Delphi XE2, FireMonkey, and multi-platform development.  The following are a few recent posts with tips, setup information, and programming advice. Setting up Delphi XE2 and your Mac to develop/debug & deploy mac applications by ...
Details Favorite? Off-Topic? David Intersimone @ 01:45

Tuesday, 4. October 2011

2
votes
Vote UpVote

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 ...
Details Favorite? Off-Topic? Anders Ohlsson @ 23:14
2
votes
Vote UpVote

Manipulating the icon badge numbers from an iOS FireMonkey application

The Hacker's Corner – Q: How do I update those little numeric indicators on my app’s icon to show how many notifications the user should have? A: By using setApplicationIconBadgeNumber Very simple unit that increments the icon badge number below. Enjoy! unit Unit1; {$IFDEF FPC} {$mode objfpc}{$H+} {$modeswitch ...
Details Favorite? Off-Topic? Anders Ohlsson @ 23:10
1
vote
Vote UpVote

Sending an email from an iOS FireMonkey application

The Hacker's Corner – Q: How do you send an email from the iPhone using FireMonkey? A: By opening a mailto URL Below is a very simple unit that will do the trick. Just create a brand new iOS FireMonkey application, and add two edit boxes and one memo. The first edit box will hold the email address we’re sending the ...
Details Favorite? Off-Topic? Anders Ohlsson @ 21:42
1
vote
Vote UpVote

Getting directions from an iOS FireMonkey application

The Hacker's Corner – Q: How do you get directions on the iPhone from a FireMonkey application? A: By opening a URL formatted like so - http://maps.google.com/maps?saddr=FROM&daddr=TO unit Unit1; {$IFDEF FPC} {$mode objfpc}{$H+} {$modeswitch objectivec1} {$ENDIF} interface uses SysUtils, Types, UITypes, Classes, ...
Details Favorite? Off-Topic? Anders Ohlsson @ 21:37
1
vote
Vote UpVote

Display a map from an iOS FireMonkey application

The Hacker's Corner – Q: How do you display a map on the iPhone using FireMonkey? A: By opening a URL formatted like so - http://maps.google.com/maps?q=LOCATION Below is a short snippet that will do show a map of the Embarcadero Scotts Valley offices. Enjoy! unit Unit1; {$IFDEF FPC} {$mode objfpc}{$H+} {$modeswitch ...
Details Favorite? Off-Topic? Anders Ohlsson @ 21:31
2
votes
Vote UpVote

Opening a URL from an iOS FireMonkey application

The Hacker's Corner – Q: How do you open a URL in Safari on the iPhone using FireMonkey? A: You use UIApplication.sharedApplication.openUrl Below is a very simple unit that will do the code. Just create an iOS app with one button and add the following code to the unit. unit Unit1; {$IFDEF FPC} {$mode objfpc}{$H+} ...
Details Favorite? Off-Topic? Anders Ohlsson @ 21:21
5
votes
Vote UpVote

Dialing a phone number from an iOS FireMonkey application

The Hacker's Corner – Q: How do you dial a phone number from an iOS application? A: You open a URL with the following format - tel://123456789 Below is a very simple Delphi iOS unit that will do the trick. Notice the {$IFDEF FPC} blocks that ensure that the application also compiles and is "testable" on Windows. Enjoy! ...
Details Favorite? Off-Topic? Anders Ohlsson @ 21:15
4
votes
Vote UpVote

Microsoft Disables Chrome

Marco's Tech Blog – Microsoft Security Essentials just asked me to remove a dangerous application: Google's Chrome browser. Dangerous it is, but for Microsoft, not for me. There isn' much to comment. Truly Chrome is a "password stealer" but Microsoft should really refrain from removing it from my system (had read ...
Details Favorite? Off-Topic? marcocantu @ 17:27
0
votes
Vote UpVote

Data Abstract and ASP.NET MVC

RemObjects Blogs – Introduction Recently I’ve been asked if it is possible to use two exciting technologies – Data Abstract for .NET and ASP.NET MVC – together. So I decided to write this little blogpost to show you how an ASP.NET MVC website is working with a Data Abstract-powered data provider. The created ...
Details Favorite? Off-Topic? Anton Kasyanov @ 16:21
Subscribe:
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News

Sponsor

 
Please login or register to use this functionality.
(click on this box to dismiss)