Unity3D - Transfer Data between a Mobile and a Desktop Application - c#

I have a desktop application to store various data in a database (up to 10k datasets).
Then i have multiple mobile devices (Android and Apple) to collect data by user-input (up to 2k datasets).
Assuming a not existing wlan or internet connection: what is the best way to transfer or synchronize data between Desktop - Mobile and vice versa ?
I would try to copy the db-file to the mobile device and update the mobile-db via script comparation (slow..).
A) How to access usb-connected mobile storage via desktop-app?
B) How to find, read and write those files on mobile?
Assuming i have wlan if i come home with mobile and dont wanna mess with usb.
C) Transfer data via multiplayer-communication-stuff? Like the two running apps communicate via chat-like system. One dataset per message; then parsed to desktop-db. ... seems also slow.
Best solution would be.. both ^^ the user should be able to choose.
What do u folks think ? :)

If you can tether a hotspot point from your mobile, connect your pc to this network and use sockets or http requests between your applications.

Related

access Data on PC by Phone via USB

Is It possible, to get some data via usb from your pc with an app, or must there be another software on the PC that pushes the needed files to the Phone?
to clarify what i mean:
i have a pc with a MySQL Database which is used and maintained by a programm on the pc. what i need are some informations of this DB, so i want to have a button in my app, which says sth. like "Get it!" and then the app connects to the DB via USB, retrieves all the data needed and then displays it on the screen (for example).
Check this question: android phone mount desktop partitions via USB port (Reverse USB Tethering in disk level?) and read the first answer's link, which seems to get into something similar to what you want, albeit not using xamarin.android

Sync between two windows phone devices

I have a project wherein i have to create a windows mobile app which synchronize files between two windows phone, provided that the connectivity between two phone should be through WiFi.
Being new to this app development field , i have no idea on where to start and where to look. Is there any sample application present to sync data between two phones without involving any database. And what API should i use. i referred to some tutorials on this website.
This won't be possible without a server between both phones. Microsoft is very restrictive and won't let you access the WiFi connection. Actually you would have to use one of the phones as a WiFi hotspot and the other one as client and this is definitely not possible with an WP app.
I would recommend to write a Windows Service (have a look at WCF) which both phones connect to. This service would have to do all the work which would be:
Wait for phone requests to work with them
Handle the request when a phone wants to synchronize data
Let the second phone know that there are new data to receive
Transfer data to the second phone
Actually there will be more requirements for such a service (e.g. security) you will have to deal with.
Yet, there is a solution because Rudy Huyn connected several Windows phone using the connection Wifi without server http://www.youtube.com/watch?feature=player_embedded&v=rl0VHkoOHTA
But I don't know how..

way of communicating between Windows phone app and desktop app

I want my windows phone app to communicate with a desktop app (in Windows), basically i want to send a picture which is captured in the phone to be send to the desktop app and get back the feedback from the desktop app.
Whats the most elegant and modular and simple way of doing this?
If you can force your user to connect via wifi such that he is on the same local network as the desktop, you listen for the phone's connection on a higher port and transfer the data to/from it over TCP directly.
Otherwise, the best way to do this at present would be via the internet, using your server to synchronize files and messages between the two devices.

Framework for phone to desktop communication

I'm developing a C# app on the desktop (Microsoft Surface like), and I would need to send data to phones (Iphone, Andriod, iPad, WP7 etc). The data transferring would pictures,text to and fro.
I'm aware of 32feet and Blueway, those are using bluetooth. I like to ask
is there a framework which would allow the app to connect to the phones to transfer data
is bluetooth the best connection method? Or are there alternatives
If you just want the app to send to any phones nearby then Bluetooth will probably be the simplest option.
If you need to have some loginc and back and forth communication this will depend on the phones you wish to communicate with. For instance, access to the Bluetooth stack isn't currently available to 3rd party apps on WP7.

How to cut down ActiveSync functionality on Windows CE device

Is there any way to cut down a specific functions of ActiveSync service on Windows CE device?
I want to see only one specific folder on my device when it's connected to PC.
Basically I want to leave only functionality of exchanging data via a specific folder, without any other communication (deploying applications, synchronization etc.).
I'm using a device with Windows CE 5.0.
ActiveSync really only has 2 "modes" - either with the ability to sync PIM info, or just the ability to connect as Guest. In both modes a user can browse the device from the PC.
What it sounds like you want to do is not include ActiveSync at all, but instead make your device a USB function device that acts as Mass Storage. If you do that you can then set a specific folder to be the mounted store and they would have access to only that folder.
Of course in that scenario you can't use any of the PIM data sync features.

Categories

Resources