android - send raw image or binary data directly to the other application -


i ask if there possibility send raw data other application? example: taking pictures custom camera , send other application. observe using intent sending data saved storage, want let 2nd application decided either save image or discard. in tutorial of on how make custom camera in instance, 1 application running , startactivityforresult , listener onresultactivity. in case, want custom camera, pass raw data other application , let other application manage raw image receive. call raw image because image in buffer , not on storage. possible pass raw image/data other application?

you need save file , pass uri file via intent.

        uri image = uri.parse(filename);     intent myintent = new intent(intent.action_view, image);             myintent.settype("image/*");     intent chooserintent = intent.createchooser(myintent, "open image");     startactivity(chooserintent); 

Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -