Skip to content

A sample Musubi app for making and viewing flipbooks.

Notifications You must be signed in to change notification settings

Mobisocial/FlipIt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flip-It for Musubi

Flip-It is a flipbook creator and viewer for Musubi. Flip-It uses SocialKit to create and share flipbooks with friends.

Creating Flipbooks

Flip-It is a Musubi application. Flip-It installs itself in the Musubi feed menu by filtering for an intent with action android.intent.action.MAIN and category musubi.intent.category.MENU.

When creating a flipbook, Flip-It hooks into Android's camera application to let the user quickly capture a series of photos. Each photo is shared in Musubi as an obj of type "picture". The flipbook is simply an obj with a series of such pictures as children. The flipbook itself has its own given type "flipbook".

   o [flipbook]
    \___o [picture 1]
    \___o [picture 2]
    \___o [picture 3]

Viewing Flipbooks

Flip-It registers to view flipbooks by supporting the VIEW intent for content of type "vnd.musubi.obj/flipbook". When someone clicks to view a flipbook, the FlipbookViewerActivity is invoked with reference to that flipbook. We then use SocialKit to query Musubi's content provider, giving us access to the flipbook's pictures.

We use Android's support library to use the loader api, which helps keep the database query from running on the main thread.

About

A sample Musubi app for making and viewing flipbooks.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published