Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 3 of 3 total
Thread DBISAM + DataSnap + FMX for mobile applications
Tue, Oct 28 2014 6:46 AMPermanent Link

Luis Conception Gonzalez

Hi!

Just upgraded to XE7 Enterprise from XE. Now I'm creating my very first mobile app, and I would like to create a simple client mobile App that connects to a DBISAM Server.

I have followed this Mobile Tutorial from Embarcadero:

Mobile Tutorial: Connecting to an Enterprise Database from a Mobile Client (iOS and Android)

http://docwiki.embarcadero.com/RADStudio/XE7/en/Mobile_Tutorial:_Connecting_to_an_Enterprise_Database_from_a_Mobile_Client_(iOS_and_Android)

I changed it a Little bit to connect to a MySQL database server, and worked! So...
What if it can connect to a DBISAM Server?

Ok, I changed the necessary components and run the server Project, but the client side always shows a "session name 'xxxx' already exists".

It seems like the client App tries to create a dbisam session for the datasnap connection using the same server's session name, and that's not posible because it is already created in the same computer.

So... Have anyone tried this? Is it posible to create a mobile App that shows dbisam data from a dbisam session?

Thanks!
Tue, Oct 28 2014 7:36 AMPermanent Link

Matthew Jones

Luis Conception Gonzalez wrote:

> Ok, I changed the necessary components and run the server Project,
> but the client side always shows a "session name 'xxxx' already
> exists".

I've not looked at the details, but there is an AutoSessionName
property that you can set when using DBISAM for "multi-threaded"
purposes (which this will be).

--

Matthew Jones
Tue, Oct 28 2014 8:32 AMPermanent Link

Luis Conception Gonzalez

OMG, you're right!

Tested and working in win32 client App!! I can see server data!

Now I will test on both iOS and Android.

Thanks!

"Matthew Jones" wrote:

Luis Conception Gonzalez wrote:

> Ok, I changed the necessary components and run the server Project,
> but the client side always shows a "session name 'xxxx' already
> exists".

I've not looked at the details, but there is an AutoSessionName
property that you can set when using DBISAM for "multi-threaded"
purposes (which this will be).

--

Matthew Jones
Image