Hi,

I don't think you'll get the confirmation you are seeking, but here's what 
I think is currently happening.

(1) The (Google) Gallery app is no more, now being replaced by the (Google) 
Photos app.

(2) Currently the (Google) Photos app appears to ignore the 
MediaScannerConnection calls and / or does not query the associated Media 
repository (/database) where media metadata is cataloged nor listen or act 
on any associated Content Providers etc.

(3) The (Google) Photos app currently seems heavily invested in using 
(Google) cloud storage to backup and sync all your photos from all your 
devices mobile & desktop. From some tests undertaken just now I've found 
that photos from third party app won't show up in the (Google) Photos app 
unless you explicitly turn on sync'ing and backup (via its settings) 
and explicitly select your third party app media folder(s). You 
won't necessarily see photos taken very recently (with 3rd party app) in 
the main photo view and you might see these in the Device Folders view (on 
some devices), eg: I can see a recent photo taken on a Nexus 6P, but I 
can't yet on an Xperia Z5.

(4) The (Google) Photos app is overly ambitious(?) with many moving parts, 
seeking to do all sorts of things, grouping stories, show what you were 
doing on this day in previous years etc etc etc, but can't get the basics 
to work *reliably* such as show all photos on the device, sharing & getting 
sync'ing to work consistently, (unless perhaps you only use the default 
camera app). On the Xperia Z5 sharing a photos currently crashes 
the (Google) Photos app... The help suggests things like turning off 
syncing and turning it back on again when it's not working...

(5) Google has a habit of consistently changing the Photos apps every few 
months or so both on mobile and on the web, so what might work now it bound 
to change and be broken again in future.

(6) If you want to be certain that photos, videos captured with you app are 
present on the device then you need to provide you own viewer activity of 
some sort as previously suggest, or else be willing to help your users get 
the (Google) Photos app configured to find photos, video created with your 
app and be ready to do that all over again with next the (Google) Photo app 
updates.

Regards


On Tuesday, December 29, 2015 at 6:37:32 AM UTC+11, David Karr wrote:
>
> I'm still hoping to get some help with this.  I've made no progress on 
> this.
>
> I've yet to get any confirmation that something like this can even do what 
> I think it's supposed to do, which is make videos recorded by a custom app 
> be visible by the "Photos" or "Gallery" app, as if they were recorded by 
> the stock app.  What I've read implies that this will happen, but I've yet 
> to have this confirmed.
>
> The versions of this that I've tried both call the "completed" callback 
> (except for the simple "sendBroadcast" variation), but that's the only 
> indication I get that the process did anything.  Despite the "completed" 
> callback being called, the recorded videos are never visible in the 
> "Photos" or "Gallery" app.
>
> On Saturday, December 19, 2015 at 9:58:02 AM UTC-8, David Karr wrote:
>>
>> Because I can't bring up the stock camera app with just a video 
>> record/stop button (I'm using a remote bluetooth button to start/stop 
>> recording), I've written a custom app that just displays the camera preview 
>> and a video record/stop button.
>>
>> Despite the fact that this is a custom app, as much as possible I'd like 
>> to store the videos as if they were taken with the stock app.  This at 
>> least means storing them in the same place, with a consistent naming and 
>> metadata scheme.  I might consider having custom preferences in the app, 
>> but for now I'd just like to retrieve properties that will tell me where 
>> the stock camera app will store videos, along with any other configuration 
>> that should describe how I store the videos.
>>
>> How can I get this information within my custom app?
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-developers+unsubscr...@googlegroups.com.
To post to this group, send email to android-developers@googlegroups.com.
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/ecec11fb-f2f3-4468-b634-605d540babc4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to