Coldfusion iPhone image upload - iphone

We have an existing web page which lets users upload images to the server. We would like to stretch it out so that iphone users can also upload images in this web form. Any ideas or third party tools?
I also found http://www.cliqcliq.com/support/quickpic/ but there no sample in coldfusion.
Thanks!

phonegap's your friend...
http://www.phonegap.com/
Use HTML CSS & JS to make an app
Camera photo (jpeg) can be posted to CF as a base64 encoded string

Jquery also has a mobile library that came out that may be of use to you.

Related

pdf download not working on Android with cordova inappbrowser

In my cordova inappbrowser app, pdfs can be downloaded by calling a RESTful service that streams the content to the user's browser (see html snippet below). This works fine on iOS and using Google Chrome directly on Android but not when doing it through cordova inappbrowser. Clicking on the link doesn't do anything. I've tried many of the suggestions here including using gview but no result.
The tag in html is an href (I tried using window.open as well) that evaluates to something like https://xxx/member/get_pdf/217521359ashr868af6as. Using target='_blank' (tried _system also)
where the value after get_pdf is a guid (value above is not the real guid)
The google viewer workoaround that many people propose works fine with a physical pdfs but my files are streamed back from the service above and gview doesn't recognize it as a pdf and shows error 'preview not available' and its not an option to store them physically. Is there some specific header to set to make gview recognize the streamed response as a pdf? I set content_type, Content-length, tried adding Content-disposition with a filename also. No go.
Any suggestions appreciated.
Thanks,
Patrick

I want to get content of timesofindia website for my native app

I want to develop a native iPhone/iPad app for TimesOfIndia.
I want to get that news content and images.
How do I get that content ?
I don't know if this answers your question.. but it seems like TOI already has an iPhone application..
Check this website: http://timesofindia.indiatimes.com/mobileapplist/7404562.cms
If you want to get the news from any website, here are some steps you can use (and I am no expert):
Try to use a tool like wget to download a url to a file and then parse the html, like so: wget -O hindu.html www.thehindu.com (wget is available on linux machines). Parse the html or xml in that file and display the headlines and news on your app. Note that this downloading and parsing is best done on a server which could then be pushed (as data) onto the phones of your users.
RSS feed. Get an RSS style feed for the website whose content you want. You can then parse the RSS feed and push that onto the users device.
Try to build an aggregator (like news.google.com) or use an existing one. That way, you can have stories from multiple sources.

Displaying/streaming pictures/video when tweet has media hosted somewhere other than TwitPic

I am working on a Twitter application for Iphone, and wanted to display/stream pictures/video when a tweet has media hosted somewhere like yfrog.com, plixi.com, twitvid.com, etc. I did manage this for TwitPic, but didn't for others. If anybody has any idea let me know.
Use Embedly. It will make it very easy to embed content from a large number of sites.

How do I embed openads (Openx) ads in an iPhone application

I have tried using iframe, javascript and image tag Ad tags in iPhone application, but none of them work. When a user clicks on an image, the browser is launched but then nothing happens (you get a blank page). Anyone know how to proceed?
To proceed: debug it. A standard OpenX click URL will do a redirect. What URL is the browser sticking at?
I don't know anything about iPhone applications, but I do know about interfacing to OpenX. You possible should consider using the OpenX API, which will allow you to pull all the information you need into the 'back end' of your application, then use it as you need.
Proplem in iphone must be active enable java in iphone safari settings

Include an HTML img tag inside a mailto: URL on an iPhone

I'm trying to include an image in an email, which is being sent using a mailto: URL in an iPhone app. The image shows up on the sender's mail app, but after being sent, the tag seems to be stripped out entirely. Here's a snippet, which has been escaped by hand:
[mailUrl appendString:#"&body=%3Cimg%20src%3D%22http%3A//stackoverflow.com/content/img/stackoverflow-logo.png%22%20/%3E"];
Short of using my own SMTP server, or sending them as attachments, is there any way to embed images in an email on the iPhone?
No there is no way to do it using the iPhone SDK up till version 2.2.1.
There is a way to do it with the 3.0 SDK but it is under NDA so I cannot discuss it here :(
http://webbuilders.wordpress.com/2009/11/16/url-must-be-url-encoded-inside-a-nsstring-in-objective-c/
This new account won't allow me to post my answer. I include info here
Luke, probably not useful to you anymore, but in researching this topic someone mentioned that wrapping the image with <b></b> prevents the iphone mail app from stripping the img tag. I tried it and it works for me.