O'Reilly logo

Instant PhoneGap Social App Development by Kerri Shotts

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Implementing the tweet view

Our tweet view will be where the user interacts with a given tweet. They can open any links within the tweet using the ChildBrowser plugin, or they can search any hashtags contained within the tweet (or any mentions, too). The view also gives the user the opportunity to share the tweet via Twitter Web Intents.

Getting ready

Go ahead and create your www/tweetView.html file based on ours. We'll go over the code that is new, while leaving the rest for you to review.

How to do it…

For this next task, we should end up with a view that looks like the following screenshot on an iOS:

How to do it…

The view for Android will look like the following ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required