RTC Forums
November 24, 2024, 01:38:11 PM *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
   Home   Help Login Register  
Pages: [1] 2
  Print  
Author Topic: Delphi XE5 Android Support  (Read 17306 times)
manoi
RTC License
***
Posts: 8


« on: September 17, 2013, 09:02:32 AM »

Do you have any news on Delphi XE5 Android device support ?
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #1 on: September 17, 2013, 10:26:27 AM »

It should be ready for release in October or November.

Best Regards,
Danijel Tkalcec
Logged
manoi
RTC License
***
Posts: 8


« Reply #2 on: September 18, 2013, 03:44:30 AM »

Thank you.

I use your product almost in every project (Windows , iOS (lazarus, XE5)) and the performance is very good.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #3 on: September 18, 2013, 08:21:36 AM »

Glad to hear that Smiley

Best Regards,
Danijel Tkalcec
Logged
Ronald van Tour
RTC License++
*****
Posts: 37


« Reply #4 on: September 19, 2013, 11:22:18 AM »

Good news !
Installed XE 5 yesterday (2013-09-18) This morning build my first demo APP for Android ad now working on my HTC phone.
Can not wait to use the RTC components with android support !


Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #5 on: September 19, 2013, 12:11:55 PM »

Everyone interested in development for the Android platform, please download the RTC SDK v6.21 (just uploaded) and give it a try.

Sould you bump into any problems, let me know.

Best Regards,
Danijel Tkalcec
Logged
Ronald van Tour
RTC License++
*****
Posts: 37


« Reply #6 on: September 19, 2013, 12:43:16 PM »

OK Thanks. Downloaded and installed.

I have a form with a RTCHttpClient and a RTCClientModule.
When I compile I get a message file not found my documents\myproject\rtcdatacli.dcu
I copy this file to myproject just for testing when I compile I get a fatal error bad unit format expected version 26.0 ARM found version 26.0 Windows Unicode
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #7 on: September 19, 2013, 12:52:31 PM »

You need to add the path to the RTC SDK "Lib" folder to Delphi for every platform ("Tools/Options" menu, "Environment Options / Delphi Options / Library" -> "Selected Platform:" Win32, Win64, OSX, iOS, Android) and you will need to BUILD your Project to make sure all files are compiled for the correct platform (COMPILE does not do that).

If you don't add the path, Delphi will be unable to find the files.
And if you don't use BUILD (but only COMPILE), Delphi will try using files compiled for other platforms.

Best Regards,
Danijel Tkalcec
Logged
Ronald van Tour
RTC License++
*****
Posts: 37


« Reply #8 on: September 19, 2013, 01:03:49 PM »

Thanks for the Result.

I added the folder to the RTC SDK "Lib" Folder.
But I noticed you must do this for each platform.
I have Build the project.
Now it works.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #9 on: September 19, 2013, 01:14:43 PM »

Good to hear that.

I have tested the components with a few simple Projects, but since everything is affected by the new ARC (Auto Refference Counting) when building Projects for Mobile platforms with Delphi XE4 or XE5, there could be memory issues which did not surface in my tests, so I would appreciate it if anyone using the components for iOS or Android would let me know if they encouter any problems, or if everything works just fine.

Best Regards,
Danijel Tkalcec
Logged
manoi
RTC License
***
Posts: 8


« Reply #10 on: September 19, 2013, 01:59:01 PM »

Thank you for quick update. It's work very well.
Logged
Ronald van Tour
RTC License++
*****
Posts: 37


« Reply #11 on: September 19, 2013, 04:39:03 PM »

I agree. I have a working APP now on my HTC where I can see the temperatures that is posted by an arduino on my RTC server.
And only in 1 day.
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #12 on: September 19, 2013, 04:44:41 PM »

That is great feedback. Thank you, guys.
Should you bump into any issues, please do let me know.

Best Regards,
Danijel Tkalcec
Logged
jimwang
Newbie
*
Posts: 8


« Reply #13 on: October 23, 2013, 10:06:57 AM »

I am writing a simple program based on online Time demo. And then the Android Client. Client write in Windows works, but not Android client on HTC. Am I doing something wrong, or latest RTC 6.23 does not work yet for Android?

Thanks

Jim
Logged
D.Tkalcec (RTC)
Administrator
*****
Posts: 1881


« Reply #14 on: October 23, 2013, 11:08:23 AM »

What exactly does not work? Are you getting an exception, or are you unable to connect, or is the connection working but you can not send data? I need a bit more information to answer your question.

Does your HTC phone use WLAN to connect to your Server, or are you using a mobile connection from your HTC phone to connect to the Server and your internet router is configured to forward incoming connections to the Server?

If you are accessing your Server over a mobile connection on your HTC phone, and you have correctly configured your internet router to allow incoming connections to the Server, did you also configure the Server to work with mobile providers as explained in this Quick Start Topic?

Best Regards,
Danijel Tkalcec
Logged
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!
Page created in 0.029 seconds with 17 queries.