How to synchronize Nokia smartphone with a PC? - qt

I want to develop an application using Qt and deploy it on both Symbian S60 smartphone and PC. I want the instances to synchronize their data when devices connected. I don't care about connection type (USB, Bluetooth, etc.). Does Ovi Suite provide a service for the task? Or could I use some Qt API for that? I know that Ovi can synchronize files between devices, so I could use a file system as a transport, but I'm looking for a more elegant way of doing sync.
Thanks!

You can build your own PC application using Nokia PC Connectivity API. It should be able to access files on the S60 device.

Here is a simple guide for your aim:
http://www.dndc.it/CalSync.pdf
Hope it helps !
Checco (Francesco) Dotti

Related

How can i connect to Bluetooth via libconnman-qt?

I'm developing GUI on qt and i'm using libconnman-qt https://github.com/sailfishos/libconnman-qt
How can i connect Bluetooth?
NOTE: If any documentation exist for libconnman could you share with us?
Best Regards.

How to use WinPcap in Xamarin (Forms)

There are many .Net wrappers in C# for WinPcap like SharpPcap and PcapDotNet
I have tried to add these Nuget packages to my Xamarin Forms projects but it does not work. I want to create a wifi/packet scanner but I am not sure how to do this in Xamarin. Is it even possible?
When I clone the GitHub repo and build my own version of SharpPcap, the application runs, but I get the error:
System.DllNotFoundException: wpcap
The wpcap.dll is the dll that all these packages are wrapped around and use [DllImport("wpcap.dll")] to work. This wont work in Xamarin (I think).
Another way to use dll's is when you embed them as an application resource, is there any library which I can use that does that?
WinPcap consists of a driver, that extends the operating system to
provide low-level network access, and a library that is used to easily
access the low-level network layers. This library also contains the
Windows version of the well known libpcap Unix API.
Source: https://www.winpcap.org/
There is nothing impossible, however in mobile world you don't have that low level access to drivers and etc. unless you have a root on your device. It is unclear what exactly you want to build. But I know that on both iOS & Android there is an app called Fing. It scans your WiFi network for connected devices. It is written natively per platform. On Android there used to be many different applications that used MITM technique. For example DroidSheep. But I am not aware of any cross-platform solution that is able to scan the network or sniff packages.

Tablet + web app with USB-connected devices, or a pipe dream?

I have a .NET WinForms app wherein the laptop is connected to both a scale and an GPS antenna via USB. Is it crazy to think we could have this instead as a web app and on a tablet? We're looking to make things thinner and smaller (this goes in a truck.. driver doesn't need bulk of keyboard either).
Obviously the tablet would have to have a USB port (some do, some don't). But then for "stickiness" to USB devices, I'd have to have, what, a Silverlight control on an ASP.NET page? More trouble than its worth?
Thanks for any thoughts/advice.
You could write an ActiveX control or browser plugin to use the USB port (Silverlight might not be able to do what you need). Unfortunately these controls most probably will have to be installed on the machine manually (unless you want to lower security settings for the browser). You might be better off using ClickOnce with your WinForms application to simplify deployment of new versions and keep using your existing codebase.
If all you need is to read the GPS data, you should use HTML5 Geolocation API: Demo and Specification
I have connected USB barcode scanners to iPads through the USB to 30-Pin adapter with great luck. The only trouble is there is a power limitation, if the device draws more than a couple hundred milliamps the iPad will shut of the power to the device. You might have trouble hooking up peripherals that are not acting like a keyboard or a camera though.

How to change network mode programmatically in Qt

I'm creating an application with Qt for the Symbian platform.
There is a signal in QSystemNetworkInfo that notifies when the network mode has been changed.
Is there any way to programmatically change the network mode?
Best regards
I don't think it is possible to change the mode programmatically, because it is specified by the network you're operating in.
If you're operating in a wireless local area network, exactly that will be the network mode. May I ask why you would change the network mode explicitly?
So there's apparently no support for this in the Qt APIs. I think I'll have to do this the native Symbian way.
I found this:
How to change mobile device's Network Mode programmatically in Symbian^3

Adobe Flex and Air Connecting to a network

What Approach can you use to Connect Adobe Air Application to a Local Network? Examples of function is send a message to other computer that is connected to a network, sending files or viewing their desktop.
Thanks!
maybe you could get help from this guy
You may use Media Server. With Flash Media Server you can do it but it is not free. Free version of FMS is Red5. This guy make project like you want and check it http://nocreativity.com/blog/hello-preso

Resources