[X] Choose Font Here

How to change android app display name?

Tuesday, 01 May 2012 18:10

Let's me share how to chnage android app display name. If you want to display nicely app name on device how may need to change something at AndroidMinifest.xml. Otherwise, it would be displayed default from "values\string.xml". it is very easy you can add one more attribute at application tag like this

<application android:icon="@drawable/icon" android:label="MyAppName">

 

 

How to change Android Emulator's landscape mode

Saturday, 14 April 2012 13:34

Actually, that is very simple but first time I totally don't know how to do it. Some application support for only landscape mode so you need to change your emulator for testing. Normally Android emulator is running as portrait mode. Here is command [In Mac]:

Ctrl + Fn + F11

Cheer!

 

Auth from CURL

Saturday, 14 April 2012 13:07

I think that sometime we need to do some user authentication from CURL code. Here is sample code and work perfect for me.

$url = "http://www.domain.com";
$postFields = "username=$txt_username&password=$txt_password";
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, "username:password");
curl_setopt($ch, CURLOPT_POSTFIELDS, $postFields);
$xmlResponse = curl_exec($ch);

Cheer!

 

Page 1 of 91

«StartPrev12345678910NextEnd»

Categories Table View

RSS Feed

JoomlaWatch Stats 1.2.9 by Matej Koval

Facebook Share

Share on facebook

Accordion FAQ

Login Form

mod_joomtouch

Version Iphone

Version Iphone by JoomTouch