How to view android output in logcat:
Log.i("ref_name", String.valueOf(jArray.length()) );
<?phpfunction get_tweet($username, $numberTweets)
{
$output = "";
$displayed = 0;
$url = "http://search.twitter.com/search.atom?q=from:$username&rpp=$numberTweets";
$xml = simplexml_load_file($url);
return $xml;
}
$tweet = get_tweet('your_name', 5);
foreach($tweet as $tweets){
echo $tweets->content.'<br />';
}
?>
1. <?php bloginfo('template_url'); ?>
2. <?php echo get_bloginfo('template_url'); ?>
1. get_bloginfo('template_url')2. get_bloginfo('template_url')/path/file