Tuesday 27 December 2011

Email Settings API Developer's Guide

Email Settings API Developer's Guide


Contents

Setup

Manage Labels

Manage Filters

Manage Send-as Alias

Manage Web Clips

Manage Forwarding

Manage POP Settings

Manage IMAP Settings

Manage Vacation-Responder

Manage Signatures

Manage Language Settings

Manage Delegation Settings
New!
Manage General Settings

Errors

Common Errors for Email Settings API

Reference :

http://code.google.com/intl/en/googleapps/domain/email_settings/developers_guide_protocol.html

Sunday 7 August 2011

google-weather-api_1

<?php
function getWeather() {
$requestAddress = "http://www.google.com/ig/api?weather=rajkot&hl=id";
// Downloads weather data based on location - I used my zip code.
$xml_str = file_get_contents($requestAddress,0);
// Parses XML
$xml = new SimplexmlElement($xml_str);
?>
<div>
<?php $xml->weather->current_conditions->temp_c['data'];?>&deg;
</div>

<div style="font-size: 12px; font-weight: none;"><?php $xml->weather->current_conditions->condition['data']?></div>
<br clear="both"/>
<div style="font-size: 20px;">&deg; C</div>
<?php
// Loops XML
$count = 0;
echo '<div id="weather">';
foreach($xml->weather as $item) {
foreach($item->forecast_conditions as $new) {
echo '<div>';
echo $new->day_of_week['data'];
echo '<img src="http://www.google.com/' .$new->icon['data'] . '"/><br/>';
echo $new->low['data'].' | '.$new->high['data'];
echo '</div>';
}
}
echo '</div>';
}
getWeather();
?>

google-weather-api

<div dir="ltr" style="text-align: left;" trbidi="on">
<h1>
<?php print $information[0]->city['data']; ?></h1>
<h2>
Today's weather</h2>
<div class="weather">
       
<img src="<?php 'http://www.google.com' . $current[0]->icon['data']?>" alt="weather"?>
<span class="condition">
<?php echo $current[0]->temp_f['data'] ?>&deg; F,
<?php echo $current[0]->condition['data'] ?>
</span>
</div>
<h2>
Forecast</h2>
<?php foreach ($forecast_list as $forecast) : ?>
<div class="weather">
<img src="<?php 'http://www.google.com' . $forecast->icon['data']?>" alt="weather"?>
<div>
<?php echo $forecast->day_of_week['data']; ?></div>
<span class="condition">
<?php echo $forecast->low['data'] ?>&deg; F - <?php $forecast->high['data'] ?>&deg; F,
<?php echo $forecast->condition['data'] ?>
</span>
</div>

<?php endforeach ?>
</div>

Saturday 23 July 2011

Abstract

“Now world is become more compact, that one would far away with another person because of Internet and wireless communication”

“We have become a spectator society, one that experience excellence and creativity only by watching it on television or by reading about it in newspaper or magazines. Perhaps the best way of becoming something more than a spectator is to pursue activities that do not receive mass media coverage. We can invent our own art, forms, or at least re-label existing forms as art. Thought this is very old and very common, is an excellent art form, Patterns of points and blots undergo poignant mutations. The player strains to work with them, to control them. One’s identity is not entirely intrinsic, nor is it purely acquired. We can shape ourselves just as we can shape our surroundings. By playing this dice game, that is – by creating patterns of blots and points – I help to shape my identity, I set myself apart from the spectators. I become alive.”

“Online Mobile Dice Game” is also step towards this. This is a dice game that user can play game with another user online. Two people at different location can play the game online using this system. You just need to have GPRS enabled mobile.
This document represent you how mobile game is made and how it works.