I want to get all the Wifi Connections details in my iPhone App and connected my iPhone with any of Wifi Connection same as shown in the given picture
can anyone guide me with any good tutorial Thankx in advance
though you can get the list using the stumbler source code http://code.google.com/p/iphone-wireless/ but this is undocumented API and if you wish to submit your app to the app store then it will get rejected , but will be ok with enterprise applications..
Related
I've just downloaded an app from the App Store called System Status which gives you detailed information about the iPhone it's installed on.
One of the features provides a system log which allows you to see the network info when you roam from one BSSID to another.
My question is how did they do this?
I have searched everywhere and the only way I have found requires the use of private APIs. I am assuming that since this app is live on the App Store there is a legal way to obtain the information.
After some deeper digging I think that they got the information from the Apple Status Log, more details are available via these links:
https://developer.apple.com/library/ios/#documentation/System/Conceptual/ManPages_iPhoneOS/man3/asl.3.html
http://www.cocoanetics.com/2011/03/accessing-the-ios-system-log/
I am doing a interactive iPad app where there will be a scenario when my app will be opening in multiple iPad devices at the same time,and they can join a group photo share, where one user selects a photo of his choice and that selection will be seen live by other users in their devices too who are joined to same group.
I have just got to know that this kind of behaviour can be achived through Bayeux Protocol using Javascript,Dojo for Web application. So, is there any framework that can achieve this feature in iOS platforms or is anyone know how to integrate Bayeux Protocol in xcode.
I have no idea about it, so any help and suggestions will be appreciated so that i can atleast get started with this feature.
Forget about Bayeux Protocol and implementation details.
For stuff like that, such as connecting people that use the same app on similar device, and share their actions and so on, I think that considering GameKit (even if you application is not a game, as you still connect people that will use the application on different devices at the same time, and actions of one user will be refered on other user's devices) might be a good option.
See for example the GKPeerPickerViewController to connect users to each others, the GKTank example and so on.
I am new to iphone development.I want to know that is there a framework or method to get the gps location of another iphone if the application is installed in both the iphone.
If there is any method can u please help me to sort out this
thanks in advance?
I agree with James, thank god it is not open in that anyone can see where anyone is via a single method, but I did create a solution that does this as a test app and it was not to difficult.
The frameworks that I used are Core Location to get the GPS coordinates, Foundation Framework to share the information with a web service using NSURLConnection, MapKit to map the coordinates, and the open source SBJson encoder/decoder.
I then created a PHP web service that enabled users of the app to register and choose who they would share their location with.
Then once per minute each instance of the app that is active would send its coordinates to the web service and then download any coordinates of other devices that it is allowed to see.
If I published this app, I would probably provide an option to chose the update frequency to conserve battery life.
Two free apps that also do this, that were created by Apple, are the Find Friends and Find iPhone apps.
If you are interested in creating something like this, check out the LocateMe sample code at developer.apple.com.
I am making application which uses connection with server through internet.
In my application i want to check if internet is available or not when application starts and during application as well. when there is no internet access then it has to show some alert to tell user.
Thanks for any suggestion in advance.
There is a sample code called Reachability from apple can help you. see the URL below
http://developer.apple.com/library/ios/samplecode/Reachability/Introduction/Intro.html
My recent engagement demands a printer integration using iPhone. The app will
• Generate a PDF with the collected data
• Print the same when user clicks print button
I am fairly new in iPhone development. There are hardly any reference and sample codes to support the printing feature , however there are quite a few apps available in the market to print from iPhone!
Please help me with reference or sample code to realize the feature from within the custom app we are building.
Many Thanks
-Jeet
I haven't developed an app that supports printing, however, I'm pretty sure the ones that do must be connecting to a companion OS X application running on some computer on the same wifi network that the iPhone app connects to and sends its data to.
This means that you'll have to look at the printing docs and sample code for the Desktop and build a helper app that will receive connections from your iPhone app. There is sample code to show you how to discover a computer on your network using Bonjour. You can then just stream the data over the network using a socket to the Desktop app from the iPhone and have it pass along the print job.
You say that you're fairly new to iPhone development, so this comes with a warning that it's not for the faint of heart.
Here is a blog post on how to communicate between desktop and iPhone using Bonjour:
http://cocoa-nut.de/?p=27
Best Regards,
There is official printing API from Apple. This only support for iOS 4.2 and above though:
http://developer.apple.com/library/ios/#documentation/2DDrawing/Conceptual/DrawingPrintingiOS/Printing/Printing.html
I am also looking for the same solution as I need to do this for the application that I am working on. I am also generating the PDF and user can then print it.
As you are saying that already developed apps are printing without using intermediate PC. But while searching over the net I came around an application which is useful for printing for Epson
http://mobile.eurosmartz.com/products/print.html
There it is mentioned by the company it self that "Install “Print” on your iPhone, download the free WePrint software for your desktop/laptop computer and then you can print directly from your iPhone."
Also there is another application on iTunes called "PrinterShare- print from iPhone to anywhere". There also they mentioned that computer connected to printer needs the PrinterShare software.
So I think there is a mediator present in these printings.
Let me know if you find some more information on this topic, as this is very new and clients are asking to avail this facility in there applications.
If you come to know any sample application
Regards,
Vishal.
There is currently no Official printing API.
You could of course implement your own LPR printing code.
Or you can license a ready API from someone like www.e-workshop-dev.com