Click here to Skip to main content
15,887,421 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have developed one windows application and one Android application.
I want to link both the applications with each other so that I can transfer the order taken from android device to my windows applications billing screen.
is there any way to do this.i am using sharp develop as a front end and MariaDB as a backend for my windows application and for Android application android studio and database is in SQLite.



how can I do this? help me, please.

What I have tried:

I have tried using TCP/IP Connection but it is for console application and I don't know how to do this for windows application using c#.
Posted
Updated 9-Mar-18 6:32am
Comments
Richard Deeming 9-Mar-18 8:47am    
TCP/IP connection code that works in a console application will work just as well in a Windows application.
Member 13640533 9-Mar-18 10:38am    
Thanks for your reply Richard,
when i am adding same code in windows application the code is not working.
it runs either console or windows code.and connection is also not continuous .for each request i have to restart the whole application every time.
i dont know how to do that.please help if you have any sample code for windows application.

Create web service , using this web service transfer data to windows application and also to android application
 
Share this answer
 
v2
Comments
Member 13640533 9-Mar-18 10:30am    
thanks for your reply ,
do you have any sample code for that.i am new in this and i am very confused.
This is one of the most common questions we are asked: Android communication with a .NET application. Oh c'mon, a simple HTTP communication is more than enough, to even give you a better hint, you need to relax and let your mind REST.

Didn't get it? I mean, you can use REST API in your .NET server-side code, and then send requests from Android's HTTP client, and operate. There are more than 50 answers and at least 5 articles covering this topic please use top-right search box and search for the content. :-)
 
Share this answer
 
Comments
Member 13640533 10-Mar-18 1:00am    
Thanks for your reply sir,
i will try Rest API

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900