specialising in clinical database solutions for Australian hospitals
Posts tagged mobile phones
Database application development pathways with RAD Studio XE2
Aug 30th
Embarcadero’s RAD Studio XE2 allows the following database development pathways:
Delphi Object Pascal or C++ generated DataSnap middle tier data servers which run on a Windows server and allows the following thin clients to connect to it:
- Delphi Object Pascal or C++ VCL WinForms clients compiled for either Win32 or Win64
- Delphi Object Pascal FireMonkey compiled for native client application for any of the following platforms:
- Win64
- Win32
- Mac OS X
- iOS
- and in 2012, Linux and Java for Android
- via Mobile Connectors:
- Eclipse compiled java client for Android
- XCode compiled iOS client for iPad, iPhone
- Blackberry client
- Windows Phone 7 client
- isapi.dll web client hosted on a Windows web server
- RADPhP web application hosted on a web server (requires the DataSnap server to be a REST application)
- RADPhP mobile application packaged for mobile devices via PhoneCap
- .NET client created using Delphi Prism (REMObject’s Oxygene) Object Pascal for .NET running in MS Visual Studio
- ASP.NET web database application created using Delphi Prism (REMObject’s Oxygene) Object Pascal for .NET running in MS Visual Studio.
- Java client created using REMObject’s Cooper project – Object Pascal for java running in MS Visual Studio (in development)
Third party REMObjects is extending its Hydra technology to allow FireMonkey plugins to work on VCL Winforms, and vice versa, as well as WPF plugins to work in FireMonkey apps and vice versa – see here.
RADPhP web database application using MySQL database.
SMS Texting from Delphi via RedCoal SMS SOAP Server
Dec 21st
Many Australian companies use RedCoal SMS texting services to send SMS texts to mobile phones from computers.
RedCoal supplies an API for its MIDA technology with VB and C++ examples but no Delphi code.
I have created a Delphi demo with code using Delphi 2007, which you can download and use free of charge.
Of course, to actually use the SMS text service, you will need to download the SDK from RedCoal which includes a serial number generator which provides the serial number for your application, and you will need to email them for a trial SMS Key (developer’s trial lasts 1 month then there is a one off royalty free developer’s license of $A695).
Finally, your client will need to open an SMS text service account with RedCoal to pay for the actual SMS texts sent (17-22c per SMS for pre-paid).
Post script:
If you deploy this in an organisation which uses a proxy server for internet, then you will need to detect this and set the HTTPWebNode.proxy property which must be in the format server:port (fortunately, this is the format used in Windows registry as outlined below):
for example:
RedCoalRIO.HTTPWebNode.Proxy := GetInternetProxy;
function GetInternetProxy:String;
var reg:TRegistry;
begin
result := ”;
Reg := TRegistry.Create;
try
Reg.RootKey := HKEY_CURRENT_USER;
if Reg.OpenKey(‘\Software\Microsoft\Windows\CurrentVersion\Internet Settings’,False) then
if Reg.readBool(‘ProxyEnable’) then
begin
Reg.CloseKey;
if Reg.OpenKey(‘\Software\Microsoft\Windows\CurrentVersion\Internet Settings’,False) then
Result := Reg.readString(‘ProxyServer’);
end;
finally
Reg.CloseKey;
Reg.Free;
end;
end;
Recent Comments