user378902
user378902

Reputation:

google photo set uploaded album to public

How to set the google photo album to public when creating using java api

I am using AlbumEntry to create album using PicasawebService class

Upvotes: 0

Views: 148

Answers (1)

zdesam
zdesam

Reputation: 2986

You can use the

AlbumEntry.setAccess(String access) 

method

By default the ablum created will be private. To explicity make the album public you can use public as the method parameter.

So you need to call

 albumEntryObject.setAccess("public");

before calling the

picasawebService.insert(..) 

method.

Upvotes: 2

Related Questions