Many developers have been using Android’s share intent to help their users share content with others, directly from their apps. With the recently-launched ShareCompat library, you can now help your users share rich content with their friends (like images and videos) more easily, and the items they share include attribution to your app. All you need to do is add a few lines of code!
I’ll walk through a few examples that use Google+ as the application handler, but of course, these share intent improvements can work for any service. Popular apps like Foodspotting, Pulse News, and Shazam are already using ShareCompat to help users share rich content with their Google+ circles. You can check out this photo album to see how they are all taking advantage of the new library.
Creating the Share Intent
If you’d like users to be able to share text from your app, start by building the following intent:
Intent shareIntent = ShareCompat.IntentBuilder.from(ShareActivity.this)
.setText("This site has lots of great information about Android!
Here, I passed text and a URL to the setText method, and I used the setType method to identify the content as “text/plain.” The intent builder can then pass this information to the application that’s doing the sharing. Additionally, I used the setPackage method to specify the application that I want to handle it. In this case, the Google+ application is specified.
|The Google+ share box with pre-populated text and link snippet.
It’s our sincere pleasure to unveil The SketchUp Showcase, a home for the most impressive, interesting, and inspiring project stories that have been shared with us.
Why a new showcase? Often, when you find an amazing model in the 3D Warehouse, it doesn’t tell the full story behind a project. You can download it and see how it was built. But you probably wouldn’t get a sense of why it was built. Where did the inspiration come from? What were the design challenges the modeler faced? What happened after the model was finished? The story just isn’t complete.
The Showcase is a space where the stories, images, renders, animations, and 3D models of passionate SketchUppers can shine a bit brighter.
What was the inspiration behind this 3D model? | Image courtesy of Roberto Bergamo
But that’s not all – the Showcase is also a first look at a new element of SketchUp technology: an online 3D model viewer. This 3D viewer lets you orbit, zoom, and pan 3D models right in your browser! To see it in action, find a project marked with a red flag or simply click here. Please note: you’ll need to use the latest version of Google Chrome to take advantage of the WebGL goodness that makes this viewer possible.
Go ahead and start exploring now; content is organized by category filters, so you can easily find projects based on your interests.
A project page featuring the new online 3D viewer | The Catalyst Playground in VietnamFinally, our team would like to dedicate the SketchUp Showcase to all the passionate SketchUppers who’ve supported us for over a decade. As we enter a new chapter with Trimble, we hope the Showcase and the online viewer are proof that SketchUp is only getting better. It’s clichéd to say we wouldn’t be much of anywhere without you, but that doesn’t make it any less true. Thank you for all of the love (sometimes tough) you’ve sent our way. Your passion for SketchUp is still what gets us out of bed in the morning.
With the December movie season in full swing, we’ve just made it even faster and easier to discover movies, showtimes and theaters, all from your smartphone. Now when you search for [movies] or your favorite theater like [century san francisco] on Google.com from your phone, you’ll see interactive results for movies in a new swipeable ribbon, with the most relevant information displayed at the top of the page.
For each movie, you’ll see the movie poster, a short summary, ratings and the nearest theaters and showtimes. Designed to help you quickly browse what’s playing in theaters now, this information instantly updates as you slide through the movie posters — no need to wait for a page to load or to use the back button.
To learn more about a movie, tap the movie title to find details like the cast and a full summary. And if you see a play button on the movie poster, you can tap to view the official trailer. You can even buy tickets directly from your smartphone by tapping on underlined showtimes — and skip past those long holiday box office lines!
So the next time you head out to see sagas of vampires, the world’s biggest Muppets fan, dancing penguins or nearly impossible heists, try the new interactive results for movies by visiting Google.com on your iOS or Android phone’s browser and searching for [movies], [theaters] or a movie title. This feature is available in English, in the US.
(Cross-posted on the Inside Search blog)