How to synchronize ios device contact with qt app? - c++

I want to sync up iOS device contacts with an application based on QT platform, I am in search of an API which can do this with qt
I find workaround (QT-JNI-Java bridge) for android.
http://doc.qt.io/qt-5/qandroidjniobject.html#details
It is working fine, but i didn't find any bridge for ios.
Note: QT has suggested following link
https://wiki.qt.io/Category:Developing_with_Qt::QtMobility
But it is related to Nokia Ovi store (which doesn't exist anymore) and the last date mentioned is 2011. The link to a release is dead.
If you come across any workaround for ios-qt, request you to suggest me.
Thanks in advance.

You can use the V-Play API for a cross-platform solution to handle phone contacts on iOS & Android.
These are the APIs:
https://v-play.net/doc/nativeutils/#getContacts-method
https://v-play.net/doc/nativeutils/#storeContacts-method

Related

How to add Bluetooth to capabilities in Flutter Windows App

I am creating flutter windows plugin with c++ which uses bluetooth device. The problem is my app is crashing just before I start scanning because of similar reason as this.
In the answers, they suggested adding bluetooth in Capabilities in appxmanifest in windows. But how can I do this for flutter project? I tried msix package for this, but to no avail. I would really appreciate your help if you could help me on this!

Choosing capture devices in Win32 app

I have an Win32 application based on Chromium Embedded Framework (CEF3) API. In embedded browser window displays the web-page, that uses WebRTC-connection to communicate with another side that has the same application. So we have real-time videochat between two sides.
Now I should provide users an ability to choose capture devices (microphone and webcam) for WebRTC session if the system has several ones, because browser window captures only default devices. The problem is that CEF3 API doesn't provide that functionality (documentation nothing says about it, also there are no answers on official CEF forum in topic about this question).
Is there any way to implement that task via Win32 API? I found some information about how to enumerate devices (using SetupDi* functions, using DirectShow API), but not about how to enable/disable a specific device for my app. What exactly I should use for solve this problem?
Advice please, I'll be thankful for any help. It will be nice to see the code examples, if possible.
Take a look at microsoft samples of directshow. It's all over there. https://msdn.microsoft.com/en-us/library/windows/desktop/dd375468(v=vs.85).aspx

Using the Facebook API from Mono

I am developing a mobile application with MonoTouch and Mono for Android, and possibly Win8. I need to access the Facebook API, and I would prefer to do that in C# given the above mentioned platforms.
I know that I can make HTTP requests towards the Facebook API myself, but I am wondering if there are any libraries that wraps these for me and give me an object model to program against. I have done some searching around but have mostly come across libraries that are no longer supported or shut down.
Does anyone have recent experience with my problem and can give recommendations?
This should help you get started with the facebook integration using Mono for Android.
I am not sure what limitations (if any) there are with regard to using these libraries on a mobile device, but there are some Facebook SDK's for C#.
Here is one -
facebook-csharp-sdk
I have decided to follow a native approach to get as close to a seamless integration as I can get.
For iOS that means https://github.com/mono/monotouch-bindings/tree/master/facebook which are bindings to the official Objective-C Facebook SDK. I have done login so far and that was very easy. With the access token in place I can make future Facebook API calls from a library like the above or I can create a Mono class library with a service that wraps HTTP calls. This service can then be reused in any C# project (such as Mono for Android).
My plan is to do something similar for Android. I have seen people compile the java library in MonoDevelop as an AndroidResource and then create a wrapper which calls into the Java.

Is it possible to build offline app with Appcelerator and Rhomobile?

I have recently found those two look-alike solutions/IDE for cross-mobile development: Appcelerator and Rhomobile (I know there are more) and I have questions regarding those two platform:
1) I believe the only way to build the view is using HTML, which I like alot the ideas. But, does that mean the application itself isn't available if the mobile is offline?
2) Do you guys know if it's possible to publish the application to the App Store and Google Store?
3) Are there any simulator for different mobile and do they support all those slide/tab events?
4) And finally, are there a way to transfert the App on your mobile phone without having to publish it anywhere.
Please note that I have no knowledge at all about mobile app dev and those two solutions (Appcelerator, Rhomobile) would be perfect for me as I am familiar with Javascript and HTML.
Thank you!
Ok I have only used appcelerator but:
1) a webview is like a browser without the address bar, it simply parses HTML, where it gets it from is up to you. If you write the HTML and pass in a file well then yes it can be offline, if it is used to parse a response from a webpage well then no as it needs to send a http request to the webpage.
As many people seem to mistake (for a reason unknown to me as all the documentation states other wise), appcelerator is not the same as phonegap, appcelerator uses its own javascript based API to allow developers to make native apps, it is NOT a webview wrapper. It is offline by default and allows you to send http requests if you need something online.
2) yes you can publish to the app store and the google store from appcelerator, the documentation walks you through the process.
3) Appcelerator requires you to download either the IOS sdk or Android SDK which come with simulators, appcelerator / the emulators support the standard events found on these devices.
4) With Android to can build a .apk file and distribute however you wish, with IOS the only way is to publish to the app store. the only other way is to make a mobile website instead of an application

Does a Qt application work in Google Native Client?

I'm not familiar with Qt or with Google Native Client. Is it possible for a TRIVIAL Qt console application to be ported to Google Native Client? I understand that some work would be involved. But the question is, how much if it's even possible?
A Qt developer has managed to get some Qt examples running under Native Client:
http://blog.qt.io/blog/2009/12/17/take-it-with-a-grain-of-salt/
Qt now has an official Native Client SDK:
http://qt-project.org/wiki/Qt_for_Google_Native_Client
Qt for Google Native Client Preview also updated here: http://qt-project.org/wiki/Qt_for_Google_Native_Client
Since you can't use system calls, you'd need to essentially port Qt to a new OS (ie, Native Client). This'll be a lot of work - good luck!
For those who are interested in using Qt with NaCl, I have made a Docker image containing Qt compiled with NaCl :
Link to Docker Image
You will just need to follow the instructions to get your application compiled.
There is also a video showing the process of compiling Qt with NaCl. At the end of this video, there is an example:
Link to video of Qt compiled with NaCl
Hope this help