When I plug my iPhone into the computer can I access an apps folder structure that's on the phone? Either programatically or manually with a tool that doesn't involve jailbreaking.
Have you tried iExplorer? See if that satisfies your requirements.(It doesn't need the device to be jailbroken).
It cant be done without jailbreaking, you basically must create your app folder structure with xcode.
Related
I have an ipad jailbroken.
I need to write a program that can opens other file from other application.
ApplicationA is my app and I need to open a specific file in a folder called ApplicationB that is in var/mobile/applications
Is it possible on jailbroken device?
I'ms sure that is not possible in non-jailbrekon device for the sandbox.
Yeah, it's possible. You'll have to iterate through every folder in /var/mobile/applications/ to find the correct folder for the app that you're looking for. Then you can do whatever you want with that knowledge.
Applications like iPhone Explorer can show the contents for each installed iPhone application on Mac OS X (even on non-jailbroken devices) when iPhone is connected using USB-cable. I'm trying to do something similar, programmatically copy some files from my iPhone app's folder.
I have done some experiments with open-source frameworks/products built to use iTunes-framework, like iPhoneBrowser and MobileDevice Library. I can connect to iPhone, now the problem is how to enumerate Apps folder items? iPhoneBrowser or MobileDevice Library don't support or provide any easy way for that. Even when hardcoding my application path to iPhoneBrowser it still refuses to display the folder. iPhone Explorer can read the folder without any trouble on the very same device, so it is definitely possible.
Second problem is getting path to apps, on each device they have different path with some hash number folder names. How to 'decrypt' the paths so that I can access my app folder on every device?
the app enumerate use another protocol, you may find some in this https://github.com/phildrip/fruitstrap
I wrote a open source program that works on Windows, here is the github project url:
https://github.com/Moligaloo/iPhoneFS
It can access files on jailbroken iPhone/iPod/iPad (non-jailbroken devices files are limited accessible).
It can also enumerate apps on iDevice.
I like to access the device Library folder (not app's document directory). Actually i am trying to create one file in Device Library folder and want to access this file from another app. Any idea ?
You can't, apps in the iOS are sandboxed and can only write in there own environment. Also there is no library directory.
Finally now it is possible with app extension, but after 3 years :)
You can use the keychain if you really want data transfer between applications.
I developed an app for my own use.I want to use it on my ipodtouch.I jailbroke my device.But don't know how can i install my app in my device.Can any one give me proper instruction what should be the approach to do this?
Thanks in advance
You can connect to you iphone with WinSCP with username:root password:alpine or dottie. After that go to your Applications Folder on the device, make a new folder name (Whatever you want to call it).app then put all your files in that folder. Highlight them all, and set the permissions to 0755. Restart your phone. And thats it.
The standard way of putting applications on to devices is to sign up to the Apple Developer program.
I found this link specifically for jailbroken devices, but it seems a bit dated.
I want to transfer file from system (mac/Pc), which is present on my iPhone wifi network, to the document folder of my iPhone App.The scenario of my App is this, it will browse the system which are present in it's network. select any file(such as .pdf or ,docx) from that system(mac/Pc), copy it into the document folder of the APP and than use it with in the APP.During my search i come across the link iPhone : Transfer of files from Mac/Pc to app i have not found the detail instruction document, how to use it. Is Apple support any API or farm work to do this ? Please guide me
This is called iTunes file sharing. In the most simple way, you simply set the UIFileSharingEnabled key in your Info.plist file to YES. See for example this tutorial.
Rewriting itunes is not a simple task but I recommend you a clever and easier solution:
Implement a simple webserver on your iOS app. Write a windows application which will connect to your iOS app through wifi network. Then transfer the necessary files this way: you will send a file to you app, then your app should save it in documents directory.