___  ____ ____ _  _ ____ ____    _  _ ____ _  _ ____ ____    ____ ____ ____ ___ ____ ____ _   _ 
|__] |  | |  | |\/| |___ |__/ __ |\/| |__| |_/  |___ |__/    |___ |__| |     |  |  | |__/  \_/  
|__] |__| |__| |  | |___ |  \    |  | |  | | \_ |___ |  \    |    |  | |___  |  |__| |  \   |  
                                                                                                
 

Execute php programs on android | TechCraft


So as you all know that PHP is a server based programming language. Which means it can be only execute with the help of a web server.

Not only a server based one. Also,PHP is a platform independent language.  Which means, it can be executed on every  platform. It doesn't matter whether you are using' Android, linux or windows'. 

And Today on this this tutorial,  I will tell you 'how to execute php programs on android'.

Prerequisites*

*Minimum 50MB of free space on Internal storage.


That's all about the prerequisite.

Now let's move. 

In This demonstration,i'm using  'Palapa PHP' app for Android.

https://play.google.com/store/apps/details?id=com.alfanla.android.pws

Install and open the app. Now install the dependencies by tapping the install button.


After everything done. Tap on 'start all services'.

After starting all services, it will bring some informations on the screen. 

The primary step is to note your PORT ADDRESS provided on the screen. 
The default port address will be 8080. And the default IP address is 127.0.0.1


The Palapa web server will create a folder called 'PWS' on your /sdcard 

Now locate the PWS folder and save your program in /www folder  in .PHP extension.


Finally,  just open your web browser.

After opening the browser,  type

http://localhost:8080 and file name in the end.

For eg: 

http://localhost:8080/program.php
The port is customisable. So you could choose any available port. 


And this is how to compile PHP program on android. So I hope your programming will be more simple now. A portable PHP environment is always good.
So, 'Happy Coding' !!

How to change android boot animation [easy way]»TechCraft

 



Watching the same boot animation all the time is sometimes boring. It would be great if we could set our own customised theme for our device. In this tutorial I'm going to walk you through how to change Android boot animation easily. Let begin!

Before getting started there's a small notice.


Modifying some device elements could potentially harm your device. So we must be careful while navigating through the system files. Be brave ;)

So, we can move forward with the procedure.

Prerequisites.

*)Rooted device
*)Root browse / Es file
*)Boot animation.zip 
*)Desired image to replace the boot image.

After completing the prerequisite, Follow further steps.

First of all open the file browser and allow root permission. If you are using.'ES file', choose 'Root Explorer ' option from the left side panel to allow su permission.

Now open the root directory. Once you are in the root directory,you would notice the 

/System folder. Get into it .

The boot animation and media based stuffs are located in /system/media/

/SYSTEM /MEDIA

Here you will see a file called 'bootanimation.zip'. This is your boot animation file.


Now its your chance to replace the file. Download the appropriate bootanimation for your screen resolution and replace the
existing file.

Or if you wish to develop a custom boot animation, it is also possible. I'm here going through a quick tutorial on how to do it as well.

The first step is about to draw the animation. This can be created by a collection of images which form one complete  animation.

So basically ,there are frames associated with this. This frames must be arranged in the increasing order of  numbers.

Wait...I'll make it  bit more simple !

Example:
These files should be arranged in the increasing order like ,  0.png,1.png,2.png and so on.

If you extract a 'bootanimation.zip' file;you will able to see some folders named as 
'Part1' , ''Part2' like this.

So here we have to put Each part of the animation  into a separate folder, like  'part1' and 'part2'.

Finally open Notepad and write out a few lines of instructions. The first line should be the resolution and frame rate of the animation. The resolution must match that of your device. The frame rate should match the one in the original desc.txt.

Each part folder requires one line of instruction. Write out the numbers for each part of the animation. Once finished, save the file as desc.txt.

The final thing  is about to create the zip file. Select all the part folders along with desc.txt.

Now you can go ahead and create the zip. Whatever it maybe,but the zip name should be 'bootanimation.zip' itself.And then the final step is to replace the existing bootanimation with the new created one.And congratulations!  You have successfully developed your own custom bootanimation.


Making custom bootanimations are really easy now without any effort. 
DOWNLOAD BELOW!!
 https://play.google.com/store/apps/details?id=com.jrummy.apps.boot.animations
 
 

About Me | Sub to RSS | E-Mail | Podcasts

Copyright © techcraft.tk a.k.a blog.bensh4.tk
Twitter
GitHub
CyberHunk