views:

115

answers:

1

I have 3 days into this and my mind is melting oozing out my ears.... please help!

The end result is that I want to upload selected photos from and Android phone to a php website.

I can display the images from the camera and get the filename that I want to upload. However I cannot use FileInputStream on the file name because it is not private to my application. Use FileInputStream generates an error that the file contains a path separater.

Does anyone know how to get the filestream running? Do I have to copy the file into a private file store?

After 3 days of googling this I am amazed I haven't that answer.

+1  A: 

Have you checked this blog post? How about this discussion thread? Is this one useful?

Are you perhaps pigeonholing yourself into a particular solution, where another might exist?

Cal Jacobson