How to identify internet connection type and it's current speed [closed] - iphone

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
Hi I am testing my application for various types of internet connections with my device. I want my application send an internet request only if WI-FI is available and not in other cases like GPS ,WAP, 3G, etc....
Please also provide some information about how to check the current speed of that particular connection.
Thanks in advance

Use Apple's Reachability class to check for Wifi or WAN. Use this example and code: http://developer.apple.com/library/ios/#samplecode/Reachability/index.html
Checking the speed is more difficult, you would need to measure it by your own I think, maybe the best way is to ping and measure the response latency.

Related

Swift app that allows two users to see a live updates drawing canvas [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to build a swift app that would allow a user on one side to draw an image that will be updated in nearly real time on the other user's device, somewhat as if they were drawing on a whiteboard in person.
Anyone have any tips or places where I should start? I'm relatively new to swift. Thanks for your help.
This requires a persistent line of communication between your mobile device(s) and your server. Websockets allow this type of communication. I haven't implemented them myself so I can't provide implementation details, but there are plenty of resources available online.
Sockets with Swift
Websockets Tutorial
I think Realm is exactly what you are looking for.
Real time collaboration in as little as 10 lines of code

How to change IP address using perl [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I am beginner to Perl and I have to write a script which could change the IP address after every 1 hour.
I want to change it because I receive some data from a dongle from a website and that website has some time limit to receive that data, so currently we need to unplug that dongle and use another to
change IP address. (I mean I have to request DHCP for another IP.)
But currently I am asked to write a script using Perl. Could someone please help me how to do that?
It's too broad. Have a look at Net::IP module, read the documentation and you're good to go.

Last call duration in objective c? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm doing enterprise application. I need to detect last call duration from my application. I gone through core telephony framework but it will work only upto iOS 4.0. Can you please give me proper guidance to solve my problem.
Thanking you
Unfortunately you can't access the call history. The only User Data you have API access to is the address book. You can also access photos/pictures but only by starting an iPhone-controlled dialog that allows the user to choose a single image.
Note :-A CTCarrier object gives you information about the user’s cellular service provider, such as whether it allows use of VoIP (Voice over Internet Protocol) on its network. A CTCall object gives you information about a current call, including a unique identifier and state information—dialing, incoming, connected, or disconnected.
Read Link :-

is it possible to code my own application with medical material? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I'm currently doing an internship in a medical laboratory
They want to buy Ipad and medical device connected to it
example: diabet tester http://www.ibgstar.us/
blood pressure monitoring system http://www.ihealth99.com/
I'm wondering if I can code my own application that gets the data from the medical device and then handle it?
thks for your answers
I think they're some step to success it .
At first you need a Hardware solution like said "Mundi".
You need to grab data from device and store them somewhere accessible (like in a BDD with online acces).
And then the iPad application just have to connecte to the data-Source and play with it
The short answer is YES.
There are many ways to get the data into the app via a network. If you would like to read from the device directly, you would have to additionally find a hardware solution.
I'm not sure this applies, but I've seen some really cool medical apps written using Harvard's SMART project. They provide a simple but effective framework, which is independent of the Hospital Information System (like Cerner, Epic, VistA).

Tracking anothe iphone on Mapview [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I want to developed iphone application in which i want to track another iphone on google map with in 10km region what kind of API can i use please tell me
Thanks
You'll need the device you're tracking to tell you its position. That means that it'll have to be running some app (possibly the same app) to get its position using Core Location. Then, it'll have to provide that information. As Richard Ross points out in his comment, you could do that using GameKit. Another approach would be to have the device send its location to a server that you create, perhaps using a web service. Your device would then query the server to find out the location(s) of device(s) it cares about.