Charts for Mobiles
Its a great feature that Adobe has given support for Flex charts on mobiles
All the MX charting components can be used in mobile development. Just need to make sure that you don’t use too much of animations in your project.
Best practice to have good performance is not to use animations.
All the best for your Mobile Projects…
Have a nice Dev Time
Detect Ipad, Iphone and Desktop using PHP
if(strstr($_SERVER['HTTP_USER_AGENT'],'iPad')){
echo "Opened in IPad";
}else if(strstr($_SERVER['HTTP_USER_AGENT'],'iPod')){
echo "Opened in IPhone";
}else{
echo "Opened in Desktop";
}
Here comes the clear account of the code:
['HTTP_USER_AGENT']
This is the key in the server variable used in the code,serves the purpose of tracing out the gadget user has been utilizing.
It can be accessed from the server variable $_SERVER.
The code further follows up checking the gadget by simple If-Else loops and display the appropriate content.