LAMP server interaction with Android Device

During app development you may be interacting with local servers such as LAMP(Linux,Apache,MySQL,PHP). Every one knows how to interact with local server with computer. But weird thing is how to interact it using Android Device.

It is simple, go through steps below,

1) Get the ip address of your laptop / desktop by

$ sudo ifconfig

HINT : inet addr: 192.xxx.x.x is your ip address

2) Make sure your device has internet, and open any preferred browser in your android device, to start interacting with LAMP type address as below

http://192.xxx.x.x/test.php

NOTE : Make sure your device has Internet.

For more on LAMP server click here and here

Thats it.

Android Resources for Android Developers

Here I will share some links which may be useful for Android App developers.

Pros : It is always safer and good habit to keep references to valuable resources at cloud instead of often bookmarking and finally making browser as bin

Cons : I had bad experience, once I gave link as an answer for a question at SO, it resulted me to loss my valuable 5 reputations. Links may not be available in future or may be down.

Let us start,

Use of Dialog Fragment with ListActivity : – 13 / 03 / 2014

1) http://www.cs.dartmouth.edu/~campbell/cs65/lecture13/lecture13.html

2) http://codebaum.wordpress.com/2013/04/10/dialog-fragments/

3) http://wptrafficanalyzer.in/blog/opening-a-dailogfragment-on-an-item-click-in-android/

For Free Sound effects – 19 / 04 / 2014

1) http://www.freesound.org/

ImageViews dynamic color change

1) http://blog.syedgakbar.com/2012/07/changing-color-of-the-drawable-or-imageview-at-runtime-in-android/

I hope I will update this list…

Enjoy…!