Archive

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
10
votes
Vote UpVote

Delphi XE2 compiler performance

Entropy Overload – Delphi XE2 introduced namespaces across the runtime library. This stressed unit name lookup inside the compiler, and led to some severe performance regressions in certain cases. So during the runup to the XE2 release, I fired up a profiler and started investigating. It turns out there were numerous ...
Details Favorite? Off-Topic? Barry Kelly @ 15:56
1
vote
Vote UpVote

Article: Azure Applications with Delphi XE

Marco's Tech Blog – SDN has published online an article I've written on using Azure cloud services in Delphi XE. The article is available at http://www.sdn.nl/SDN/Artikelen/tabid/58/view/View/ArticleID/3179/Azure-Applications-with-Delphi-XE.aspx. Notice that Delphi XE2 extends the Azure support architecture, by ...
Details Favorite? Off-Topic? marcocantu @ 12:17
5
votes
Vote UpVote

Set Of String in Delphi? Yes! Union, Intersection and Difference For String Lists.

About Delphi Programming – in Delphi TIPS :: In Delphi, sets or set types allow you to do set type operations like union, intersection and difference on a set of ordinal values. A set is a collection of ordinal values. The values in a set have no order and it makes no sense to have a value twice (or more times) in a set. ...
6
votes
Vote UpVote

Delphi LiveBindings Spelunking

Felix Colibri – Delphi LiveBindings Spelunking : analysis of the architecture of the Delphi LiveBindings : how the tBindingExpression compiles a String expression to build an environment referencing objects which can be evaluated to fill component properties. Dump of the pseudo code and UML Class Diagram of the ...
4
votes
Vote UpVote

First Delphi XAML App for WinRT (by Thom Gerdes)

Marco's Tech Blog – Thom Gerdes of Embarcadero has posted on Google+ about a simple Delphi application he built for WinRT, the new Windows 8 runtime. You can see his post at https://plus.google.com/101466385048851863100/posts/26z7Pk9Hipo. Includes some description and the Hello World image below (in high ...
Details Favorite? Off-Topic? marcocantu @ 00:37

Monday, 3. October 2011

0
votes
Vote UpVote

LiveBindings: Code to create TBindLink and fill a Listbox

Jim Tierney – The previous post described how to configure TBindList in the designer.  This post describes how to use TBindList in code. Here is a method to fill a listbox using a TBindList component: procedure FillList(AControl: TComponent; const AControlExpression: string; ASource: TBaseBindScopeComponent; ...
Details Favorite? Off-Topic? Jim Tierney @ 23:33
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)