01-30-2014 11:05 AM
For hybrid applications, i have to create an extension.
functionality I need to implement is:
1. Application requests to connect to Cellular data connection for SIM authentiaction of operator. If Wi-Fi and Mobile Data both are available, do server resuest through Mobile data only.
2. On successful connection, a server request is sent and recieve the xml response.
3. Parse this xml response and create JSON object.
4. Make available this JSON object to hybrid application.
I tried it with Webworks custom extension but didn't get success beacause there is no complete working sample available for Signal Slot mechanism.
Now i am trying to implement it with Socket. I am new to C++.
I tried File transfer Client side code given at below link:
But didn't get succcess. I am passing arguments in Run Configuration-> Arguments-> "abc"
But it's not working and showing argument count 2 only.
How to implement Socket programming in C++. Please provide any working Sample.
Please help me.
It's very urgent.
Thanks in advance.