Integrate Dropbox app in my app - objective-c

So, this is the task I want to achieve. In my app, I have a text field which displays a list of all the apps and files that are present in my iOS device. One of them will be dropbox. When I tap on drop box, it should open the dropbox app and ask for user credentials. Once the user enters his credentials, it should save them and it shouldn't ask the next time he logs in again. Now, in that textbox that I mentioned earlier, I should get the list of the files that are there in my dropbox folder.
I'm new to iOS app development stuff so any help in the form of links, documentation will help alot. Please give me a brief idea on how to achieve this task.

Since you said links:
Tutorial Links
http://www.mathiastauber.com/integration-o-dropbox-in-your-ios-application/
http://www.mathiastauber.com/integration-of-dropbox-in-your-ios-application-authentication/
http://programmaticallytakingscreenshot.blogspot.com/2011/04/dropbox-integration-in-iphone.html
Dropbox Links
http://www.dropbox.com/developers/apps
https://www.dropbox.com/developers/start/setup#ios
You should consider using Table Views to show your data instead of Text Fields.
http://www.appcoda.com/ios-programming-tutorial-create-a-simple-table-view-app/
Apple Documentation on Table Views:
http://developer.apple.com/library/ios/#documentation/userexperience/conceptual/tableview_iphone/AboutTableViewsiPhone/AboutTableViewsiPhone.html
Good luck with this!

What you are proposing violates the sandboxing principle of iOS. Apps don't know about anything outside their own documents folder, and do not have permission to read or write outside the area.
Files stored in Dropbox are accessible via the Dropbox API, so you will be able to achieve that part of your design, but most of the other apps on the device will not be visible or accessible to you.

Related

iOS app files that the user can download from the app

The idea is that i will create a file in the app and store some data in it.
I want for the end user to be able to download that file from the iOS device to his mac/pc.
Is this somehow possible? Where should i put the file for the user to be able to download it via itunes?
Here is good tutorial you can use:
Tutorial
It is important to know, that in iOS, when your user needs to create file, you do not need to care where to save it.
Another possibility for you might be to avoid saving data as file. For example, if your data is picture:
UIImage send to email

How to view/Open dropbox file

I am developing and android app, where i want to get all files from drop box. Now i can retrieve all files from drop box and display it in List View. Now i want to open/display the file when i click on the List View. I don't know how to open Dropbox file, with which manager or which method??? please help
I was using this method to open/display Google Drive file, but i don't know how to use the same method here for Dropbox.
String ur = "https://docs.google.com/file/d/"+fileID;
Intent i = new Intent(Intent.ACTION_VIEW);
i.setData(Uri.parse(ur));
startActivity(i);
Unfortunately this is not possible.
I posted in their forums and got a negative response. Hopefully it'll be functionality they look to support soon.

Image not showing up with other hashtagged images and Gramblr

I am not a developer but I am a university researcher studying informal education through social media.
Recently I just had my account disabled when I tested the application gramblr for uploading photos to Instagram. As I have a few members of my learning community who wanted to participate but could not afford a smartphone I wanted to find them alternate options.
Presently anything I upload and tag does not show up amidst other images with the same tag.
This is a big problem as I am the lead researcher and the community organizer, and I lead through example, as well as create various educational avenues through the use of tags.
Please help me to resolve this issue as soon as is possible.
Thank you
-Lily
I was having the same problem. Gramblr actually broke my Instagram account. I had to delete it and start with a new account. Here is how I figured out how to upload photos from my PC with no smart phone:
1 - Download and install BlueStacks: http://www.bluestacks.com/ When running, this program will produce an environment in which you can run popular apps on your computer.
2 - Search for the Instagram app within the BlueStacks App Player & install it. Also search for the Roots Browser app and install it as well (you'll use this app to upload photos from your computer.)
3 - Open Instagram inside BlueStacks & either register a new account or sign in with an existing one.
4 - Open the Roots Browser app and navigate to the desired folder where you will be storing images copied from your computer. I chose SD Card > Pictures. Pull the image(s) into the folder & drop it. It will ask you where you want to send it - choose Instagram.
5 - Open the Instagram app. To upload photos from your computer you must go into the Instagram settings (maybe under Advanced Settings) and disable/uncheck the Instagram camera. In the lastest updates the placement of this checkbox option has changed, so it may take some looking around to find it.
6 - In the Instagram app, click on the camera icon to upload a photo. Choose gallery & then navigate through your Root Browser to the folder where you dragged in your chosen image(s). Choose an image.
7 - Post as you would normally by following the prompts/icons to progress.
I ran into 1 more issue. It turns out that my BlueStacks Instagram app would get stuck after choosing the photo & trying to continue with posting. The screen would turn black & nothing happened for a very long time. I ended up having to update my graphics card drivers & that fixed the problem. If you need help updating your graphics card driver(s) see the http://www.ma-config.com/en website. It will help you to figure out what drivers can be updated. You'll have to download the proper version for your computer operating system & install it on your computer. Double click the icon on your desktop after installation to run it & then hit the refresh button in the browser on the ma-config website. Follow prompts to download drivers needed.
This is the method that worked for me. There are several other methods if you search YouTube with combinations of words including BlueStack & Instagram.
Blue stacks has tons of adware/malware etc. according to my security software, the better work around is dropbox. Put the image in drop box on your computer, then on your phone select your photo from dropbox. A bit long winded but it works.

Add 'Open With' to own app

I am currently developing an app that has to be able to share documents between two apps. A PDF file will be openend in my app and has to be sent to another app, Pages for example, to make changes to it. From there I can send the file back to my own app if the second app supports it. Now I have been able to register the file types for my own app, and it is showing up and opening files from the second app.
The problem I'm having is adding an 'Open with' option to my own app. Apple's documentation only seems to cover assigning file types to your own app, but not how to share files with other apps. Can any of you point me in the right direction?
You need to use UIDocumentInteractionController explained here and maybe this link will help link too.

Facebook API with iphone

am new to iphone technology and i have been allocated on a project where i will be using an API of facebook so i have downloaded the facebook api from this link http://github.com/facebook/facebook-ios-sdk
and i read its documentation where i got confused this is what i want to do:
1) The image from the UIImageView must be posted by the user to his facebook album, and that album will be selected by the user from his/her account.
2) The user can add comment on that photo which he/she added.
3)Logout logic
But when i draged and droped the FBConnect folder, in the documentation its said that i have to set the header but how and what to set in the header i am not aware of that, also when i tried to do login with the appID and appKey which i generated from Facebook developers its not helping me at all
Please help me out, am confused on this topic completely, if you provide me some snaps of the source code or some links then it would be very nice of you
You might consider using ShareKit. It has made connecting to Facebook easier for some developers. You can find it at this link: http://www.getsharekit.com/