Free Android app covering all aspects of addiction, including prevention and treatment

Items filtered by date: February 2015

App remodelling: From Activities to fragments

Converting Android activities to fragments activityToFragment icon

Got an app using activities that you want to convert to using fragments?

We’ll show you how easy it is to convert activity apps to fragment apps. It’s no big deal.

Api, OkHttp, Picasso, RecyclerView ebook tutorial, httpYou can grab the power of Flickr, Youtube, Twitter and thousands of other powerful online applications, presenting their data from within your apps. We’ll show you how with this simple, easy to follow tutorial app.

Our tutorial shows you how to use an image repository’s API’s to access their image gallery.

We also show you how to use the OkHttp library to do network uploads, downloads and queries.

Finally, we also show you how to use the Picasso library to download, cache and display images in a RecyclerView widget.

What you’ll learn?

  • Using API’s to increase the power of your apps
  • Using OkHttp to:
    • Upload an image
    • Download an image
    • Search the Imgur gallery for images
  • Using Picasso to download and display the images found
  • Using RecyclerView to display the images for Picasso
  • Working with Json

PLUS

An introduction to:

  • API’s
  • HTTP

PLUS

Lots of links to useful tutorials and documentation covering Imgur, Json, Api’s, Http, OkHttp, Picasso and RecyclerView.

Get the eBook PLUS the code for only US$ 1.49

 

Android: Launching activities

Launch Mode

Android launchMode launchMode icon

The launch mode specifies how a new activity should be associated with the current task.

Before trying to make sense of this, let’s first have a look at:

  • the Back Stack
  • and Tasks