Posts

Hi!

Hi! I am developing an app to run on Android (later iOS) and I have noticed that int'l chars are wrong here. Is there any pagecode config I need to do or is it a bug? Example: Ç show as C, Ã as A, and so on... look likes FMX is trying to convert the characters, also, they I get an unaligned word... By the way, it will not happen with TLabel, but I have see that when using the TTabItem.Text property, TListBoxGroupHeader. It will get wrong on the device, but the IDE shows fine.

Delphi XE2, 640x480 in 16 colours. My machine rocks!

Image
Delphi XE2, 640x480 in 16 colours. My machine rocks!

Is now open.....

Is now open..... http://www.embarcadero.com/kr/coderage
AHHHHHHHH I had constant crashes with the style manager in XE2 - now I see that little has been done to remedy matters in XE3,4 and 5!  Random AV's, stuff not drawing - you can't easily build a style up from scratch still because half the objects (like the new font or colour objects used in the styling system) cannot be added to a new style without editing the actual text - I can see this is going to drive me mad again!

Does someone knows how to use TWebbrowser FMX for mobile? I have contacted Xavier who bring to us GMLib (http://www.cadetill.com/gmlib/) and would like to help him to port into mobile dev. He needs to know how to use javascript and get vars from the browser...

Does someone knows how to use TWebbrowser FMX for mobile? I have contacted Xavier who bring to us GMLib ( http://www.cadetill.com/gmlib/ ) and would like to help him to port into mobile dev. He needs to know how to use javascript and get vars from the browser... http://www.cadetill.com/gmlib/

Hi!

Hi!  just for a joke i made a "text to speech"  in delphi VCL with google translate services. it's very simple, but it works fine ( for now ... maybe in the future if google changes something ...) and in all languages.  i tested it in italian. you can use it in async mode , and in this case you must call close method manually, or in sync mod. to change language, change link const. uses MMSystem,HTTPApp ;  const   link_parla : string = 'http://translate.google.com/translate_tts?tl=it&q=%s&.mp3' ; procedure talk_close_if_async ; begin   mciSendString('close MP3', 0,0,0); end; procedure talk( sentence:string ; async : boolean = true  ) ;  var link : string ; begin   link := Format(link_parla,[HTTPEncode( sentence )]);   mciSendString('close MP3', 0,0,0);   mciSendString(PChar('open "' + link +  '" alias MP3'), NIL, 0, 0);   if async then  mciSendString('play MP3 ', NIL, 0, 0)   else begin       mciSendString(...

FYI for component developers. Quite a while back, I wrote an article about an issue I had encountered installing Delphi on my blog. Most component installers don't cause this issue, but I'd like to stress that it's very important to detect what versions of Delphi are installed in installers for components, because installing search paths for versions that aren't there can cause issues later on! http://ibeblog.com/2010/09/20/delphi-required-package-rtl-not-found/

FYI for component developers. Quite a while back, I wrote an article about an issue I had encountered installing Delphi on my blog. Most component installers don't cause this issue, but I'd like to stress that it's very important to detect what versions of Delphi are installed in installers for components, because installing search paths for versions that aren't there can cause issues later on! http://ibeblog.com/2010/09/20/delphi-required-package-rtl-not-found/ http://ibeblog.com/2010/09/20/delphi-required-package-rtl-not-found/
I'm having an issue with png images in Delphi XE2. I'm leading them using the default TPngImage class and then I'm moving them into a TBitmap32 from Graphics32. This is working fine, but it fails for palette based images which use the tRNS chunk to site transparency. When I use the code provided by GR32 to copy the image, the alpha channel is lost, because those images don't site the alpha channel in the alpha scanline. When I try assigning the palette image is completely lost. Does anyone have any idea how to handle this type of png image in Delphi?
Are there any OpenSSL .so or other binaries for Android builds? I'm trying to work with HTTPS SOAP service and cannot find any information regarding android support in new Delphi XE5

Part 2 - a functioning battery level widget, with source.

Part 2 - a functioning battery level widget, with source. http://www.deltics.co.nz/blog/posts/1791

TECNativeMap now available for #MacOSX

Image
TECNativeMap now available for #MacOSX 100% #Delphi #vcl and #FireMonkey, no WebBrowser, no Javascript for more responsiveness and less memory consumption http://www.helpandweb.com/ecmap/en/tecnativemap.htm

Kicking off another short series on Android development with Oxygene. This time: Widgets

Kicking off another short series on Android development with Oxygene.  This time: Widgets http://www.deltics.co.nz/blog/posts/1774

Blog post "New Tools in XE5 (Missing from Menu)" at http://blog.marcocantu.com/blog/new_tools_xe5_missing_menu.html

Blog post "New Tools in XE5 (Missing from Menu)" at http://blog.marcocantu.com/blog/new_tools_xe5_missing_menu.html http://blog.marcocantu.com/blog/new_tools_xe5_missing_menu.html

Because Sender = ComponentVar is just too conservative

Because  Sender = ComponentVar is just too conservative     if TBitBtn(Sender).Name='bWoodPallet'      then tPack.CarrierType:=ctWood     else if TBitBtn(Sender).Name='bPlasticPallet'      then tPack.CarrierType:=ctPlastic     else if TBitBtn(Sender).Name='pVendorPlasticPallet'      then tPack.CarrierType:=ctVendorPlastic;

TMS Component Pack v7.1 released with RAD Studio XE5 support, with 1 new component TAdvSmoothWin8Marquee, and Office 2013 style & Windows 8 ribbon style support in TAdvToolbar.

Image
TMS Component Pack v7.1 released with RAD Studio XE5 support, with 1 new component TAdvSmoothWin8Marquee, and Office 2013 style & Windows 8 ribbon style support in TAdvToolbar. Active registered users can now download v7.1 : http://www.tmssoftware.com/site/tmspack.asp

For Java & Delphi skilled people (not my case) here a how to "access a JAVA Class that you have created with ECLIPSE/ANDROID STUDIO or access a third party package."

For Java & Delphi skilled people (not my case) here a how to  "access a JAVA Class that you have created with ECLIPSE/ANDROID STUDIO or access a third party package." http://www.pclviewer.com/android/androidJNI.html http://www.pclviewer.com/android/androidJNI.html

Hello

Hello, I have a big problem after installing TMS FMX pack. RAD XE5. I can not use Firedac as "RAD XE5" crashes when clicking on the "Connection Editor .." of Firecdac FDConnection1. Step 1. I put  FDConnection1 on the Form. Step 2. right-click on compnenta FDConnection1 Step 3. they click the option "Connection Editor .." At this point RadXE5 Ent or DelphiXE5  Ent  locks. PC Features: sonyvaio VFPCF1 (i7, 8GB, Win 8 ENT 64bit) Coexist: RAD RAD XE4 Xe3 Ent and Ent. I need these versions because not all components used by me in Xe3, XE4 available for XE5.
Does anyone know if Delphi will be able to produce Android services and widgets in the (near) future? The roadmap doesn't really mention those explicitly.

I have two interns here today. They are 16 year olds, and have not done any programming before. I introduced them to the basics of Pascal this morning, and now they're having a good time in the office next door. They are playing with canvas-demos in Smart and I hear "Hey, If X is greater than this value, lets try to spin it around the other way.", and "Aha, look at that!", and "Let's try to tweak the colors!!" etc etc.

I have two interns here today. They are 16 year olds, and have not done any programming before. I introduced them to the basics of Pascal this morning, and now they're having a good time in the office next door. They are playing with canvas-demos in Smart and I hear "Hey, If X is greater than this value, lets try to spin it around the other way.", and "Aha, look at that!", and "Let's try to tweak the colors!!" etc etc. I bet you all remember the good exploration moments when learning Pascal? I look forward to introduce them to "everything" I know about sound software engineering over the next year!

Delphi Android Warriors

Image
Delphi Android Warriors Jim McKeeth posted this warrior tribe over at  http://delphi.org/2013/09/delphi-xe5-android-wallpaper/ - there even is a huge .png version found in his post. Kinda cute :)  I just hope they are not grouped to fight off flaming apes ;) #delphi   #android

Embarcadero has just released a new FireMonkey Premium Style Pack for XE5. Check it out: http://blogs.embarcadero.com/sarinadupont/2013/09/25/firemonkey-xe5-premium-style-pack-is-now-available/

Embarcadero has just released a new FireMonkey Premium Style Pack for XE5. Check it out:  http://blogs.embarcadero.com/sarinadupont/2013/09/25/firemonkey-xe5-premium-style-pack-is-now-available/ http://blogs.embarcadero.com/sarinadupont/2013/09/25/firemonkey-xe5-premium-style-pack-is-now-available/

RAD Studio XE5 Easter Egg

Image
RAD Studio XE5 Easter Egg - Go Help|About - Hold down the Alt-key and type TEAM - Double-click in the scrolling list Voila: This picture appears, and I can spot a few familiar faces :) #easteregg
Who likes last century's products?

A "mini" twist on the object pool classic.

A "mini" twist on the object pool classic. http://delphitools.info/2013/09/26/boosting-work-classes-with-a-mini-object-pool/
Hello guys, I'm testing XE5, and a test application that I'm doing runs perfectly on my Galaxy Tab 2, on a Galaxy Note II, but does not work on Atrix with Cyanogenmod, the screen goes black and shows nothing but incredible as it appears when I click the button where would the ShowMessage is presented. Any idea?
I know Googles now say to us forget about "menu" stuff, apps needs to call that another name, "action" if I can remember... anyway I do need a menu and have simulated with a TListBox, problem is: my code is fixing that position when open and I cannot set that dark grey color style. TMenu is not available to Android... Any tip?

#XE5 I fell loading my app is slower than other apps. Black screen for a while so it shows up. Is that because I am running a debug version?

#XE5  I fell loading my app is slower than other apps. Black screen for a while so it shows up. Is that because I am running a debug version?   Any chance for optimize the apk? Size is huge!!

HELP - Session lost in DataSnap

HELP - Session lost in DataSnap Hello, I try to explain my problem and sorry my english. I have a DataSnap server (XE3) using TDSServerModule and sending a command to the server where a transaction is initiated in the database and I make a update command. To finalize this transaction have to send another command. If the range of these two commands there is a drop in the network (remove the network cable from the client computer is the easiest way to simulate the problem) the session remains open in datasnap waiting for the timeout. It turns out that as I can not set the timeout and it is high I get the database locked by this transaction that was open in the session datasnap. I tried to solve this by placing an TTimer to check the time of the last call to perform the rollback, but do not know why the event is not triggered ontimer. Already read several articles and did not help me, nor with a timer or with the lost session. can someone help me?
In XE4 I could right click a FireMonkey control and select "Edit Custom Style". In XE5 this option has disappeared! Anybody know why? Without it, how do I change something simple like the background colour of a TMemo?

Hello all

Hello all, I want to detect IOS device type, I want to know device is Iphone or Ipad how i can get this info?