The Google Photos Library API requires you to authenticate your users using OAuth 2.0. You should see the " Connect with Google Photos" screen: To run the "Field Trippa" app click the "run" button in your development IDE, or use the following command from the root directory of the source code: flutter run
#Google photos app for pc android
Open the directory flutter-codelabs/photos-sharing/initial in your preferred Flutter IDE, for example VSCode or Android Studio with the Dart and Flutter plugins installed.įollow these steps to get your development environment set up, if you haven't developed with Flutter before.
#Google photos app for pc code
If you want to skip forward, or see what something should look like after a step, look in the final directory that contains the finished code for this codelab. The starter code is in initial, so locating the matching files is as easy as: cd flutter-codelabs/photos-sharing/initial The directory structure under flutter-codelabs/photos-sharing contains the initial and the final steps. The code for this codelab is in flutter-codelabs/photos-sharing. The sample code is cloned into a flutter-codelabs directory that contains the code for a collection of codelabs. To clone the GitHub repository from the command line, use the following command: git clone flutter-codelabs I'm looking for an explanation of something specific.ĭownload the source code for this codelab: I'm looking for example code to use in my project. I know something about this topic, but I want a refresher. What would you like to learn from this codelab? I'm new to the topic, and I want a good overview. The app handles sharing and uploading to this album, but you can also share the album with others who do not have the app directly through a URL to Google Photos. Under the hood, each trip is stored as a shared album inside Google Photos. Each trip can be shared with other members of the application, who can also contribute photos. Then, the user can create a trip for uploading photos with a description. The user logs in using Google Sign-In and authorizes the application to use the Google Photos Library API. In this codelab you will build an app to share photos for an excursion or field trip, built using the Google Photos Library API. Overview over the Field Trip Gallery App - "Field Trippa"
#Google photos app for pc how to
The app for this codelab was built using Flutter, Google's UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase. Learn how to use the Google Photos Library API to back a media sharing experience in your own application.
In this codelab, you'll build a field trip app, Field Trippa, that enables users to share photos.