web service for iPhone app to allow image uploads - iphone

I am using Symfony 1.4 to build a web app that allows photo sharing. I have also written a REST API for the iPhone app to communicate with the web app. At present, the API returns JSON response for request by iPhone app. I am now required to allow the iPhone app to upload photos. What I am unable to figure out is how will the API get and save uploaded image data from the iPhone ?

Images from iphone uploaded are encoded and decoded using Base64.

you can base64 encode the image as a text field in the json transaction

Related

Agora Web SDK not displaying video and audio feed from flutter app

My project requires video call using flutter (mobile) and native web. When using the temp token generated from the console both web and mobile receive video and audio. When using the token generated from my server the mobile app receives the video feed from the web but the web does get any feed from the mobile app.
However on the app work fine when connecting mobile app to another mobile app.
flutter 2.2
agora_rtc_engine: ^4.0.6
Fixed
The problem happens when the UID on the mobile and the web are not the same data type. I was using local storage to save the UID local. The issue with that was it was retrieving the UID as a string not int. Resolved the issue by converting the UID to int when retrieving it from local storage.
Flutter Web is not currently supported by agora. There is an alpha release for web support, but since it's not official, it could be buggy.
https://pub.dev/packages/agora_rtc_engine/versions/4.1.0-alpha.2

Pinterest API to to pin pictures of image on iphone code sample

Hi Any of you had been able to access to pinterest api to post pictures or images on either iphone or ipad? if you can can you post some sample
There currently is no API available, but you apparently can sign up to get notified here when it becomes available.

iPhone: Access Album from Web app

I want to develop a web app using html5, js. One of the feature is to access photo album and upload a pic to the server. Is it possible to access via web app if i develop? I would like to know, is it really possible to access directly album etc
For this, one should have some cross platform app like Phone Gap. e.g. if your application is in Phone Gap then you can access

iphone URL Scheme image upload app

I have developed an application to upload image captured from camera to server. I registered this app to URL Scheme so that i can access camera from web app.
I can able to launch the app from web app but do not know how to go back to the web page from where i launched the app.
Please help me
What you need to do is send the URL of the webapp to your app via your app URL sheme:
myapp://callback=www.someurl.com
Then when your app is done just open the URL again.

reading the inbox of iphone email

I want to transfer data from my desktop pc/mac to my iphone app. To do so I think, that email is a good way. Workflow:
MAC sends email with data, iphone received email, application read the email (and the attached data) and works with it.
So now I search for a way to access (read only) the email inbox of the iphone via cocoa. Is there any framework to to so?
Nope, in general it's not possible for one application to access the data of another in iOS.
A few options:
Put a web server on either the desktop or iPhone and download/upload the data
Use a public web-service to (temporarily) host the data
Encode the data as a URL and send that by email. Then the user would press the link which would start your app and import the data
Allow the user to copy data over to the Documents directory of your application (iTunes file sharing). This is how Apple does it in Pages, Keynote, etc.
DropBox (which has an API available)
As I know there's no such a framework in iOS SDK 4.2. You can only send emails within the app (In-App-Mail).