Codeint Professionals

Knowledge is to share

Setting Cookies in PHP from Android (Using Volley Networking Library)

I am building an Android application for an existing Webapp, and I ran into a situation where the webapp was saving values in cookie and then loading next page data based on the cookie value. So how do you set cookies from your android app. There is a way I did it (may not be […]

Saving user session (after login using webservices) in Android App

A login access based android application needs to save the user information in session so that they can access the features in app. Saving user session cookie in android is easy and simple. The below example uses Android’s Volley Library (but the login remains same for all other libraries or your custom HTTP library). The […]

Sending Custom Headers with Volley (Android Networking Library)

This should be pretty simple to do. Recently I started using Volley for my applications on android. For you whom are not aware of this awesome library have a look here:¬† The second thing (after I got it to setup with my code) I wanted to do with it was send a custom header with […]

Creating styled EditText in Android

Here we will see how we can create combined EditText’s with nice rounder borders and click effect. Starting with most of ours EditText would look like. ¬† <EditText android:layout_width=”fill_parent” android:layout_height=”wrap_content” /> <EditText android:layout_width=”fill_parent” android:layout_height=”wrap_content” /> <EditText android:layout_width=”fill_parent” android:layout_height=”wrap_content” />   Nothing too great up there. Well we are just getting started. Now we will create […]

Creating drawables in Android – Button backgrounds

Android has a very good programming feature which allows you to create basic shapes, gradients and coloured backgrounds using XML’s. Same way CSS3 works for html. Why would you want to code to create these backgrounds. I have my reasons. Same resource file will apply to all screen sizes. This will protect you from managing […]

Integrating WordPress inside Codeigniter Seamlessly.

Codeigniter is one of the best MVC frameworks to build a dynamic custom website. Sometimes requirement arises to create a CMS to manage content. Why write a CMS from scratch, when we have a wonder like WordPress? The thought looks great, but the idea of integrating a framework in other framework might kill it. Interestingly […]