iphone - making Wifi-list app - iphone

I want to programmatically show a list of available wifi on my iphone.
I tried to run this program but it doesn't work.
http://code.google.com/p/iphone-wireless/wiki/Stumbler
Does anyone have any tutorial or sample code about creating a list of wifi-network.
Thanks.

I think that's not possible. I didn't try it myself. But I just read the first few lines of the description of Stumbler. There's the following line:
Stumbler can not be distributed through the app store, as it uses private APIs!
So I don't think it's possible to create an application that lists all WiFis. On iPhone this is a part of the Operating System.
Sandro Meier

Related

connect non iPhone Device using bluetooth in iPhone to display data

Is it possible to connect non iPhone device (like Blood sugar monitoring) with the iPhone to display its data.
So my First Question is:
1.Is it possible
2.If yes can you provide some links for development or Example codes.
Thanks for any kind of help in advance...
You can get the answer of your question here
P.S. The link is same as it is on the comment of the answer.. But since I didnt noticed the comment and was searching for the long time. So for the ones who havent seen Brads comment in the question. I have passed the link in answer.
Thanks
Do you want code or an application? Search for Bump on the AppStore. If you want code, I'd suggest looking at the GameKit framework however I don't know if you can use that to talk to other devices or not...
I would imagine it's definitely possible. A protocol like Bluetooth or WIFI would be device-agnostic. I guess it would depend on the device that you want to interface with your iPhone. Do you have a device in mind?

iPhone objective-c wifi spots list

I've got a question about iPhone developing. Is there a example code or tutorial for getting a list or maybe an array with wifi spots that where find in the current environment?
Check http://code.google.com/p/iphone-wireless/
It used to be done with private APIs, but I have seen a couple apps make it to the store that do this.

Browsing through all iPhone application

Hope You all are fine..
I have a query to ask regarding new features of iPhone 4.0
My Question is .. Is there any possibility to brows any document throughout the iPhone through the application ?
I mean, Suppose in one of my application have feature to share file using Bluettoth, Now When i run this application lastly, I received one file from my Friend. and its still there.
Now i Run my Second Application and i want to access those received file in relier application here in new application.. Is there any way to implement this?
If any one have any idea, kindly guide me.
Looking Forwards,
Arun Thakkar
From the Guidelines:
2.6 Apps that read or write data outside its designated container area will be rejected
There might be a global area where you can download and access.. I'll check

How to show related city name according to the incoming call on iPhone?

I want to add something (eg. the related city name) into the UI view when I make a phone call or received a phone call on iPhone. However, I can't figure out a good solution for this idea. Could anyone who has experience on this subject gives me some suggestions?
My currently solution is, try to write an extension based on mobile substrate and hook functions in SpringBoard. So many difficulties existed and following are my current big questions,
How to develop such a extension? I downloaded some examples from google, unfortunately they cann't even be compiled on my toolchain.
I can't figure out which ui view for the related screen I should use to insert my own component. I get header files of SpringBoard via class-dump, but no docs and no comments about its usage. Could someone share his discoveries with me?
How to build a trusted cross-compiling enviroment on leopard? All kinds of confusing errors pop up when I try to build others's codes. I've tried Zdziarski's instrunctions in his book, it works with iPhone OS 1 and can compile common projects with open sdk, but how should I do to make it works when comipiling ms plugins?
Also, is there any other solution to translate my ideas to codes? I start iPhone development one month ago, no experience with cocoa/Obj-C before. So your suggestions are very appriciated.
~ Link Bian (卞林扣)
Email/MSN: linkou.bian#gmail.com
I think you are asking for too much. It wont be possible to manipulate incoming/outgoing call screens. Ethically, that is.
Zdziarski is a hacker and from his book, you will get many undocumented API calls which will make Apple reject your app. Same goes for Erica Sadun's iPhone Developer's Cookbook.
Something that really helped me get dylibs compiled was using SkylarEC's Xcode template and just appended an extension of '.dylib' onto the binary and sshing it into /Library/MobileSubstrate/DynamicLibraries. I suggest hooking SBCallAlert or SBCallAlertDisplay to get the id of the caller which is usually just an NSString. Play around with it a little bit, those are all the visualizing methods of a call. If you put in an nslog in your custom override method, you can view the output in iPhoneConfgurationUtilitie (windows) or the console in Xcode. From there you would most likley need an index of area codes to comare the callers to. I don't believe you can add subviews to the call, on I intercept and reissue the strings for the views already there.
But you know, apple doesn't like this :P
lemme know if this helps

reading a file saved by another app in iphone

Is there a way to have an app write a into a file and then have another app read from that file?
I mean writting into the file system of the iPhone.
I want to do this without using an internet connection. So uploading the file and then downloading from the other app is not what i mean.
Thanks!
It appears that there are ways you can, but it won't get approved by Apple if you do.
See http://blogs.oreilly.com/iphone/2008/09/sandbox-think-like-apple.html for more information.
The current sand boxing of applications does not allow this, however it appears that this may be available in future iPhone OS versions. Reference
I'm not sure exactly what circumstances you're in here, but you could register app B as a handler for a particular protocol, and have app A try to open such a link (e.g. appB://yourinfohere). It depends on how much data you want to transfer and many other things, but it might work.