Quantcast
Channel: Android – Ogre's Lab
Browsing all 13 articles
Browse latest View live

Image may be NSFW.
Clik here to view.

Custom color buttons for Android (9-patch images + example project)

On several occasions I had to create simple buttons that use different background color than the default gray. I've tried to google for already cooked solution but quite surprisingly -- I was unable to...

View Article



Image may be NSFW.
Clik here to view.

Пуснах версия 2.0 на "МОЕТО ТОТО 2″ (Android app)

Вчера мисля, че успях да ликвидирам и последния бъг в новата версия на Моето Тото 2 и тя беше публикувана в андроид маркета. Новите неща включват: възможност за записване на генерираните комбинации;...

View Article

Image may be NSFW.
Clik here to view.

Identifying the view selected in a ContextMenu (in onContextItemSelected()...

Have you ever needed to popup a ContextMenu by longclicking on some of the UI element (different than item in ListView) for example an ImageView instance? At first glance it seems that this can be...

View Article

Image may be NSFW.
Clik here to view.

Activity lifecycle explained in details

Usually one of the biggest obstacles for the newcommers to android programming is the correct understanding of the activity's lifecycle, for example what is the difference in the event's chain when...

View Article

Image may be NSFW.
Clik here to view.

Using newer version of HttpClient on Android (like 4.1.x)

[EDIT] This publication and method are old and deprecated. Please use http://code.google.com/p/httpclientandroidlib/ instead. If you ended up here that is probably because you hit a bug  in the...

View Article


Downloading Android source as zip

I needed the source of Anroid Froyo in order to be able to debug it in Eclipse. On the official download page there  is a description how to download it under Linux (or cygwin) but at the time I did...

View Article

Android Volley Examples

In brief: here is the git project with the Volley examples/samples   In details: Volley was announced just few days ago at the I/O 2013. It is a library/framework that helps the developers to create...

View Article

Using Volley (Android) With External HttpClient (4.2.x)

By default Volley uses the built-in AndroidHttpClient on systems that are < Gingerbread and HttpUrlConnection on newer. For some this may not be enough. Someone may need Cookies support, other may...

View Article


Using Android Volley With Self-Signed SSL Certificate

In brief: Get Volley from git clone https://android.googlesource.com/platform/frameworks/volley Get Android Volley Examples project from git clone git://github.com/ogrebgr/android_volley_examples.git...

View Article


Image may be NSFW.
Clik here to view.

Android Volley With GET and POST Parameters Example

Just added a simple example how to use GET and POST parameters to the Android Volley Examples project. You can find it under "GET and POST parameters" button. Basically the example is quite simple:...

View Article

Image may be NSFW.
Clik here to view.

Dynamic ListView using Volley and NetworkImageView

Just added new example to the Android Volley Examples project which shows how to use Volley to populate dynamically ListView including loading of images using NetworkImageView. It also uses a simple...

View Article

Android tools 2014

Good practice is to learn from the best. Here is a podcast with Jake Wharton where he mentions the libs and tools he uses. In short here is the list: Retrofit: http://square.github.io/retrofit/...

View Article

Image may be NSFW.
Clik here to view.

Setting up Google single sign in

This post is more like a note to myself. Setting up Google sign in is not something I do very often. It happens on average once a year and each time I have to do it I have to struggle with the crappy...

View Article

Browsing all 13 articles
Browse latest View live


Latest Images