Accessing files in iPhone - iphone

I am developing an application in iOS 4.0, after having made several apps in Symbian S60v3.
Where I am stuck in iOS is that I want to access a file from the device which is saved from a third-party application to some location on the device.
In the case of symbian I knew its location: System\Data\xyz\alpha.inf, but with iOS I don't know how to access the location.

You can't. It is one of the security features in iOS that applications are sandboxed and cannot share data at all.

Related

Some iPad users cannot see my iPhone application

I have a weird issue where I can see the Simplecue application on my iPad but others in my team cannot see it, we've also had some customers email us saying they cannot find it as well.
All of the users can find the application via their iPhones, iPods, and iTunes. So for a temporary solution, we've asked users to download and sync via iTunes to their iPad.
The only difference between my iPad and others, is my iPad is a 1st generation iPad. Should this matter?
If your app requires features that the iPad 1 does not support (front-facing or indeed any camera, iOS6) then it will not be visible in the App Store on that device.
There may reportedly be bugs with the current (Nov 2012, iOS 6.0.1) App Store app on the iPad, where it won't show, via search, some apps that have been released for sale by the developer.
A 1st gen iPad runs the older iOS 5.1, and thus may have a more reliable version of the App Store app.
But a direct itms URL from your web page (as viewed with an iPad's Safari) to the App Store app may work on both iPads.

iOS Two different apps talk to each other

I have an app that I want to release for iPhone and iPad. There is a feature in the app that allows data transfers via gamekit between other people who have the app. I don't want to make the app universal. I want an iPhone version and an iPad HD version. The iPhone version will be free and the iPad version will be paid. My question is, will my iPhone app be able to "speak" to my iPad app if they are two separate apps? The code base is the same for both iPhone and iPad as far as data transmission goes.
Thoughts?
Yes, the two app's can speak using either GameKit over bluetooth or via Bonjour wifi. When you setup a GameKit session, you define the the session with a string identifier. This identifier is the key, as any app that includes the same identifier in it's code will be able to speak to other apps that use the same identifier regardless of what device or app bundle the user is running with.

Remote acsess to mac pc via iphone using iOS 4.0

Using Ios 4.0
I want to build a project throw which we can remote access other i phone through one.Is it possible in any cases, its totally idea in dreams i don't know whether it is visible or not.
I haven't s
Thanks.
There are applications that allow mac/windows desktop sharing from an iphone/ipad (example RemotePC, Splashtop). And there are applications which allow you to access the iPhone screen from a desktop (Veency VNC). Hence accessing iPhone from another also should be possible.
You can also check out Game Kit for connecting iOS devices

Should I obtain a Mac to develop or test my iPhone web app?

I've been developing an iPhone web app on a Windows XP box using
MobiOne Test Center and Safari for testing and debugging and
occasionally using a real iPhone for testing. The problem is that
MobiOne, Safari (desktop), and the iPhone all produce different
errors. Obviously I am most concerned with the errors that occur on
the iPhone, since that is the target device. (An example of the type
of error encountered is that an image that ordinarily appears as
expected occasionally cannot be displayed, so the little question-mark
icon appears instead.)
I have the opportunity to obtain a Mac for development, but I need to
know whether using a Mac will make a difference.
Have any of you moved to the Mac for developing or just testing a web-only iPhone app?
Is doing so worthwhile? Why?
Does the iPhone simulator in the SDK simulate an iPhone better than Safari on the Windows desktop?
Is there a reason I would need a paid subscription to the Apple iOS Developer Program?
Thanks!
In short: no, I don't think a Mac is necessary for developing iPhone web apps, especially seeing as you have access to a device to test on, and you seem to be fine in your progress of development.
If you're not aware, there's a debug console available on Mobile Safari on your iPhone. Go to Settings > Safari > Developer (at the bottom) > Debug Console and turn that on.
When developing an iPhone web app, you do not need to pay for the iOS Developer Program. That program is for developing native apps to deploy either to your company or the App Store only.
Web apps, on the other hand, are nothing more than web sites that are designed (i.e. include certain meta tags, have mobile-friendly interface designs) to be run similarly to native apps on a device, and harness certain Web technologies such as geolocation that are available to devices. Users view them in Mobile Safari like any other web site, but for the best experience are asked to tap on the + sign and add your web app to their home screens to be accessed as such.
The iPhone Simulator certainly does a better job than desktop Safari on either Windows or Mac OS X since its user interface shares that of the iPhone device, but I don't think you'll need it for testing and debugging if you have a device to test on.
The iOS SDK has a tool called Dashcode but I don't think it's much of a difference from the web dev IDEs that the rest of us use every day. As far as I can tell, Dashcode doesn't give your web app any additional features that can't already be implemented using the standards we're familiar with.
I would not buy a Mac or a paid subscription to the Apple iOS developer program unless I was writing native iPhone applications.
You should be fine with your current configuration. Just make sure you do the bulk of your testing on the actual iPhone, that is what your customers will be using.
Does the iPhone simulator in the SDK simulate an iPhone better than Safari on the Windows desktop?
Yes - there are some significant differences between MobileSafari and Safari for Mac/Windows - but you've got an iPhone to test on. The iPhone Simulator offers no additional debugging tools for iPhone web apps, so you're not going to be better off having it available than just testing on the device.
Testing on an actual device is better than testing on any of the Simulators, since that is what you mobile customers will actually be using.
If you are strictly building web apps, your money might be better spent on more test devices (devices with and without a Retina display, iPad, maybe an old used iPod Touch running some prior version of iOS for regression testing, etc.) If you are choosy about your colors, the color can vary quite a bit across devices, so it may help to find one warm display and one cold one (from old/different manufacturing lots, etc.).
So you don't NEED a Mac (unless you have other reasons for acquiring one).
Buy an iMac. You will enjoy the experience better.
It is my understanding that your application needs to be compiled on a mac before it can be sold in the app store.

Is it possible to load a separate application into the iphone?

I am having a iphone and i have created an application using Xcode. Now i want to move this application into my iphone for my use. How can it be done?
I tried to copy my application to the iphone Applications folder using the phone view software, but i'm not able to open my application in the iphone. It shows the error
"Your Myapp.app cannot be open"
Is there any other way to install my application into the iphone? Please guide me regarding this.
Thanks
You'll need to register as an iPhone developer to get the correct keys for signing and loading an application onto an iPhone. If you are writing an application that you plan to sell via the AppStore then this is $99 to register, if it's for internal use only then $199.
First did you use the real SDK or the simulator?
The simulator SDK only hides some OS X calls that don't exist on iPhone, but is otherwise the normal OS X SDK. So first make sure you link against the (ARM) iPhone SDK.
Then comes the licensing bit. Afaik in a non jailbroken iPhone you can only load signed apps (via the AppStore, or using a license obtained from Apple to sign your own)
Xcode will automatically install and run an application on your iphone if you use the correct project setting.
Project -> Set Active SDK -> iPhone Device 3.0
Note that you will need a provisioning key before this becomes possible.
visit http://developer.apple.com/iphone to view some easy-to-understand tutorials on how to get one of these.
I assume you have signed up as an iPhone developer on that website (costs $99).