Home » Android » Android Core (page 30)

Android Core

Android Tutorial: Gestures in your app

Gestures in mobile apps are pretty common place these days. Almost anyone with smart phone experience knows that pinching will usually zoom in on an image. Now, using Gestures in Android is a snap. OnTouch All gestures are really handled with one event on an Activity. OnTouch is called anytime a View is touched on the screen. It provides all ...

Read More »

Android: Gallery View without Pictures

Android’s Gallery View is one of the first widgets Android created. It’s so old now that some people even find it hard to find. The Gallery view provides a list of scrollable objects much like the standard ListView. The one main benefit of using the Gallery View is its snap-to-position feature. When the user stops scrolling, the images that end ...

Read More »

Android Interview Questions and Answers

Last updated Jan. 4, 2019 Our Android interview questions and answers collection is all about different types of questions that can be used in an interview, in order for the employer to test your skills and knowledge. In the following sections we will discuss about Android OS regarding its functionality, Command line tools, Performance and other topics. Here are some ...

Read More »

Android App Engine Integration

Google App Engine is great for those of you in search of a complete, scalable and affordable hosting solution. Especially if you start a project and you don’t yet know exactly how successful it’ll be (which mostly you never know), how much potential users you’ll have and so on, then App Engine is great. It allows you to start with a ...

Read More »

Android Dependency Injection and Testing Libraries

Anything and everything that makes life easier to develop for Android should be looked into. There are a couple of libraries that make testing easier, increase the modularity of your code, and provide already created mock objects: RoboGuice – This is an adaption of Google’s dependency injection library but for Android Robolectric -This is a testing framework/platform which works to remove the ...

Read More »

Android: Menu Class Investigation

Android provides decent functionality for instantiating your own run of the mill Menu within the standard framework. They even have a half decent guide on using them within your applications. Most users will be well acquainted with the stock menu seeing how Google Maps, GMail, the Contacts list and even the default background window use them. As comforting as they ...

Read More »

Android JSON Parsing with Gson Revisited

A while ago we hosted an article about using Gson for JSON parsing with Android. The tutorial was a simple showcase of how to leverage Gson with Android. Recently, Bill Mote from the AYDABTU Development site contacted me and informed me that he had used our sample code in one of his Android applications, namely Broadcast SMS. More specifically, he ...

Read More »

Android HTTP Camera Live Preview Tutorial

The Android SDK includes a Camera class that is used to set image capture settings, start/stop preview, snap pictures, and retrieve frames for encoding for video. It is a handy abstraction of the real hardware device. However, the SDK doesn’t provide any camera emulation, something that makes testing camera enabled applications quite difficult. In this tutorial, I am going to ...

Read More »