How to change network mode programmatically in Qt - 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

Related

Can QT and FreeRTOS work together on MCU?

I may ask a stupid question. I want to use FreeRTOS as the OS on my NXP MCU MIMXRT1062XXXXB. The MCU connects to a display. I want to use QT to development user interface application. I want to know if it is possible to run QT application base on FreeRTOS on MCU?
Yes it is possible - lots of people do it. My first Google search for this hit this page on the QT website: https://doc.qt.io/QtForMCUs-2.1/qtul-using-with-freertos.html

Will ASP.NET Form Get value from Barcode

ASP.NET Form. If running a form in a browser on a small (Android) device with a barcode scanner, will the scanned barcode go into the ASP.NET textbox? Or I need to add something to the application?
Well, it going to depend on which of the 150+ barcode scanners you decide to grab from google play.
However, the answer is yes, or no. It will depend on the kind of scanner.
If you download just a scanning application (software based - not built in scanner).
The reason is Android (and even iOS) don't allow one application to set focus, get/grab/take data from other applications. Nor is the reverse allowed. If that was possible, then the app could also get/grab/take values from when you are say running your on-line banking application.
I don't think Android thus supports focus to another application during scan that has focus. Now if this is factory supplied software on the phone? Then yes, this works like a desktop keyboard "wedge". That means the program does not know if you are typing from keyboard, or input is from the scanner (hence the name keyboard wedge). These will work with a web form.
However, we now seeing the rise of software based keyboard wedges. That means the software scanner is installed on android as a custom keyboard. And this in case, then once again, it will work in a web form.
So, for devices with a built in scanner? yes, that will work in all applications. For a software only (uses built in camera), then again, this is possible if the software in question works as a keyboard/wedge scanner.
If you going to adopt android scanning? then use a purpose built Android scanner.
And another possible if you want to use a software scanner? Write a small android application and have it talk to your web site. This I think is the best solution, but of course means you have to adopt some Android dev tools.
So how this works will depend on if the android device has a built in scanner, or it is a software + camera based scanner. However, it would seem that even now installable software based scanners in theory can be made to work for any application since the application is running and behaving as a user installed keyboard.
So, you have to check the particular device. The answer is not in all cases, and the answer depends on if you using a Android device with a built in scanner, or you looking to use any Android phone as that scanner.

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 synchronize Nokia smartphone with a PC?

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

Desktop sharing application in Flex?

I want to make an application in Flex for desktop sharing. How should I proceed?
You won't be able to access desktop via Flex, you'll have to use some server app on the user machine to simulate mouse/keyboard events.
For example, you can use any VNC server (http://www.realvnc.com/products/free/4.1/index.html) with the Flex VNC client (http://www.wizhelp.com/flashlight-vnc/).
Want to compete with Fog Creek CoPilot? ;-)
Well, I doubt that Flex running as SWF in a browser is able to do this due to sandbox limitations. Maybe, if you run Flex as AIR application, but I still doubt that AIR provides that level of access to the OS.
For Java there may be libraries that can do something like this using native interfaces.
Don't know how Copilot is doing this. I guess either using an Active X control or an native application that has to be installed.
After all I really doubt that you will be able to do this with Flex.

Resources