<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jiramot.info &#187; Tutorial</title>
	<atom:link href="http://www.jiramot.info/category/tutorial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.jiramot.info</link>
	<description>Developer&#039;s Life</description>
	<lastBuildDate>Mon, 06 Feb 2012 08:49:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
		<item>
		<title>Crop UIImage in UIScrollview</title>
		<link>http://www.jiramot.info/crop-uiimage-in-uiscrollview</link>
		<comments>http://www.jiramot.info/crop-uiimage-in-uiscrollview#comments</comments>
		<pubDate>Thu, 20 Oct 2011 12:39:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=1109</guid>
		<description><![CDATA[ CGSize pageSize = myScrollView.frame.size; UIGraphicsBeginImageContext(pageSize); CGContextRef resizedContext = UIGraphicsGetCurrentContext(); int offsetX = -1*myScrollView.contentOffset.x; int offsetY = -1*myScrollView.contentOffset.y; CGContextTranslateCTM(resizedContext, offsetX, offsetY); [myScrollView.layer renderInContext:resizedContext]; UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext(); UIGraphicsEndImageContext(); UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil); ]]></description>
			<content:encoded><![CDATA[<pre>
    CGSize pageSize = myScrollView.frame.size;
    UIGraphicsBeginImageContext(pageSize);
    CGContextRef resizedContext = UIGraphicsGetCurrentContext();
    int offsetX = -1*myScrollView.contentOffset.x;
    int offsetY = -1*myScrollView.contentOffset.y;
    CGContextTranslateCTM(resizedContext, offsetX, offsetY);
    [myScrollView.layer renderInContext:resizedContext];
    UIImage *viewImage = UIGraphicsGetImageFromCurrentImageContext();
    UIGraphicsEndImageContext();
    UIImageWriteToSavedPhotosAlbum(viewImage, nil, nil, nil);
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/crop-uiimage-in-uiscrollview/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to check internet connection in iOS</title>
		<link>http://www.jiramot.info/how-to-check-internet-connection-in-ios</link>
		<comments>http://www.jiramot.info/how-to-check-internet-connection-in-ios#comments</comments>
		<pubDate>Wed, 21 Sep 2011 15:43:20 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=1092</guid>
		<description><![CDATA[<p>Here is its usage:</p> if ([Connection isConnected]) { ... } else { ... } // // Connection.h // iBlog // // Created by Ondrej Rafaj on 12.11.09. // Copyright 2009 Home. All rights reserved. // #import #import #import #import #import @interface Connection : NSObject { } + (BOOL) isConnected; @end <p></p> // // Connection.m [...]]]></description>
			<content:encoded><![CDATA[<p>Here is its usage:</p>
<pre>
if ([Connection isConnected]) {  ...  }
else {  ...  }
</pre>
<pre>
//
//  Connection.h
//  iBlog
//
//  Created by Ondrej Rafaj on 12.11.09.
//  Copyright 2009 Home. All rights reserved.
//
#import <Foundation/Foundation.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <netinet/in.h>
#import <arpa/inet.h>
#import <netdb.h>  

@interface Connection : NSObject {  

}  

+ (BOOL) isConnected;  

@end
</pre>
<p><span id="more-1092"></span></p>
<pre>
//
//  Connection.m
//  iBlog
//
//  Created by Ondrej Rafaj on 12.11.09.
//  Copyright 2009 Home. All rights reserved.
//  

#import "Connection.h"  

@implementation Connection  

+ (BOOL) isConnected {
    // Create zero addy
    struct sockaddr_in zeroAddress;
    bzero(&#038;zeroAddress, sizeof(zeroAddress));
    zeroAddress.sin_len = sizeof(zeroAddress);
    zeroAddress.sin_family = AF_INET;
    // Recover reachability flags
    SCNetworkReachabilityRef defaultRouteReachability = SCNetworkReachabilityCreateWithAddress(NULL, (struct sockaddr *)&#038;zeroAddress);
    SCNetworkReachabilityFlags flags;
    BOOL didRetrieveFlags = SCNetworkReachabilityGetFlags(defaultRouteReachability, &#038;flags);
    CFRelease(defaultRouteReachability);
    if (!didRetrieveFlags) {
        NSLog(@"Error. Could not recover network reachability flags");
        return NO;
    }
    BOOL isReachable = flags &#038; kSCNetworkFlagsReachable;
    BOOL needsConnection = flags &#038; kSCNetworkFlagsConnectionRequired;
    BOOL nonWiFi = flags &#038; kSCNetworkReachabilityFlagsTransientConnection;
    NSURL *testURL = [NSURL URLWithString:@"http://www.google.com/"];
    NSURLRequest *testRequest = [NSURLRequest requestWithURL:testURL  cachePolicy:NSURLRequestReloadIgnoringLocalCacheData timeoutInterval:20.0];
    NSURLConnection *testConnection = [[[NSURLConnection alloc] initWithRequest:testRequest delegate:self] autorelease];
    return ((isReachable &#038;&#038; !needsConnection) || nonWiFi) ? (testConnection ? YES : NO) : NO;
}  

@end
</pre>
<p><strong>Don&#8217;t forgot to include SystemConfiguration and libz.1.1.3.dylib</strong><br />
<a href="http://www.jiramot.info/wp-content/uploads/2011/09/Connection.zip" >Download Here</a></p>
<p>Thanks <a target="_blank" rel="nofollow" href="http://www.jiramot.info/goto/http://www.xprogress.com/post-40-iphone-internet-connection-check-wifi-3g-edge-something-like-reachability-h/" >Ondrej Rafaj</a> for make this <img src='http://www.jiramot.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/how-to-check-internet-connection-in-ios/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Force change UI orientation</title>
		<link>http://www.jiramot.info/force-change-ui-orientation</link>
		<comments>http://www.jiramot.info/force-change-ui-orientation#comments</comments>
		<pubDate>Wed, 21 Sep 2011 15:33:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=1089</guid>
		<description><![CDATA[<p>This method link a toggle function to change between lanscape to protrait</p> if(UIInterfaceOrientationIsPortrait(self.interfaceOrientation)){ [[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight]; }else{ [[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait]; } ]]></description>
			<content:encoded><![CDATA[<p>This method link a toggle function to change between lanscape to protrait</p>
<pre>
 if(UIInterfaceOrientationIsPortrait(self.interfaceOrientation)){
        [[UIDevice currentDevice] setOrientation:UIInterfaceOrientationLandscapeRight];
    }else{
        [[UIDevice currentDevice] setOrientation:UIInterfaceOrientationPortrait];
    }
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/force-change-ui-orientation/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to add extra font to iOS</title>
		<link>http://www.jiramot.info/how-to-add-extra-font-to-ios</link>
		<comments>http://www.jiramot.info/how-to-add-extra-font-to-ios#comments</comments>
		<pubDate>Wed, 21 Sep 2011 15:26:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=1085</guid>
		<description><![CDATA[<p>1. import font into xcode project 2. add UIAppFonts properties into info.plist with your file name of your font eg &#8216;filename.tlf&#8217; 3. Use the font name like iOS font system</p> <p>UIFont *font = [UIFont fontWithName: @"Font Name" size: 60]; _textLabel.font = font;</p> ]]></description>
			<content:encoded><![CDATA[<p>1. import font into xcode project<br />
2. add UIAppFonts properties into info.plist with your <strong>file name of your font</strong> eg &#8216;filename.tlf&#8217;<br />
3. Use the <strong>font name</strong> like iOS font system</p>
<p>UIFont *font = [UIFont fontWithName: @"Font Name" size: 60];<br />
    _textLabel.font = font;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/how-to-add-extra-font-to-ios/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adding background image to UINavigationBar</title>
		<link>http://www.jiramot.info/adding-background-image-to-uinavigationbar</link>
		<comments>http://www.jiramot.info/adding-background-image-to-uinavigationbar#comments</comments>
		<pubDate>Wed, 21 Sep 2011 15:23:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[objective-c]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=1083</guid>
		<description><![CDATA[<p>Create the class that override UINavigationBar and override drawRect function like this.</p> @implementation UINavigationBar (UINavigationBarCategory) - (void)drawRect:(CGRect)rect { UIColor *color = [UIColor orangeColor]; UIImage *img = [UIImage imageNamed: @"nav_bar.png"]; [img drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)]; self.tintColor = color; [super drawRect: rect]; } @end <p>Also, for the next we want to change text in the title [...]]]></description>
			<content:encoded><![CDATA[<p>Create the class that override UINavigationBar and override drawRect function like this.</p>
<pre>
@implementation UINavigationBar (UINavigationBarCategory)
- (void)drawRect:(CGRect)rect {
    UIColor *color = [UIColor orangeColor];
    UIImage *img  = [UIImage imageNamed: @"nav_bar.png"];
    [img drawInRect:CGRectMake(0, 0, self.frame.size.width, self.frame.size.height)];
    self.tintColor = color;
    [super drawRect: rect];
}

@end
</pre>
<p>Also, for the next we want to change text in the title<br />
<span id="more-1083"></span></p>
<pre>
    CGRect frame = CGRectMake(0, 0, 200, 44);
    UILabel *label = [[[UILabel alloc] initWithFrame:frame] autorelease];

    label.backgroundColor = [UIColor clearColor];
    label.font = [UIFont systemFontOfSize:18];

    label.textAlignment = UITextAlignmentCenter;
    label.textColor = [UIColor blackColor];
    self.navigationItem.titleView = label;
    label.text = @"First View";
</pre>
<p>Enjoy. <img src='http://www.jiramot.info/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/adding-background-image-to-uinavigationbar/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP APNS: Apple Push Notification Service</title>
		<link>http://www.jiramot.info/php-apns-apple-push-notification-service</link>
		<comments>http://www.jiramot.info/php-apns-apple-push-notification-service#comments</comments>
		<pubDate>Sat, 03 Sep 2011 18:53:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=1048</guid>
		<description><![CDATA[&#60;?php $deviceToken = 'token'; // masked for security reason print "token $deviceToken "; // Passphrase for the private key (ck.pem file) // $pass = 'password'; // Get the parameters from http get or from command line $message = $_GET['message'] or $message = $argv[1] or $message = 'Message received from javacom'; $badge = (int)$_GET['badge'] or [...]]]></description>
			<content:encoded><![CDATA[<pre>&lt;?php
$deviceToken = 'token'; // masked for security reason

print "token $deviceToken ";
// Passphrase for the private key (ck.pem file)
// $pass = 'password';
// Get the parameters from http get or from command line
$message = $_GET['message'] or $message = $argv[1] or $message = 'Message received from javacom';
$badge = (int)$_GET['badge'] or $badge = (int)$argv[2];
$sound = $_GET['sound'] or $sound = $argv[3];
// Construct the notification payload
$body = array();
$body['aps'] = array('alert' =&gt; $message);
if ($badge)
$body['aps']['badge'] = $badge;
if ($sound)
$body['aps']['sound'] = $sound;
/* End of Configurable Items */
$ctx = stream_context_create();
stream_context_set_option($ctx, 'ssl', 'local_cert', 'ck.pem');
// assume the private key passphase was removed.
// stream_context_set_option($ctx, 'ssl', 'passphrase', $pass);
$fp = stream_socket_client('ssl://gateway.sandbox.push.apple.com:2195', $err, $errstr, 60, STREAM_CLIENT_CONNECT, $ctx);
if (!$fp) {
	print "Failed to connect $err $errstrn";
	return;
} else {
	print "Connection OKn";
}
$payload = json_encode($body);
$msg = chr(0) . pack("n",32) . pack('H*', str_replace(' ', '', $deviceToken)) . pack("n",strlen($payload)) . $payload;

print "sending message :" . $payload . "n";
fwrite($fp, $msg);
fclose($fp);
?&gt;</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/php-apns-apple-push-notification-service/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPhone: a little work</title>
		<link>http://www.jiramot.info/iphone-a-little-work</link>
		<comments>http://www.jiramot.info/iphone-a-little-work#comments</comments>
		<pubDate>Tue, 30 Aug 2011 20:36:12 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[iphone]]></category>
		<category><![CDATA[xcode]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=1040</guid>
		<description><![CDATA[<p>เอาไว้ scroll uitableview ไปข้างบน</p> [tableview scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:YES]; <p>เวลา scroll แล้วช้า ก็อาจจะลองทำแบบนี้ โดยการใช้ UIScrollViewDelegate เมื่อเรา Scroll ลงไป แล้วหยุด ก็ให้ไปโหลดรูปมาใหม่</p> #pragma mark - #pragma mark Deferred image loading (UIScrollViewDelegate) // Load images for all onscreen rows when scrolling is finished - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate { if(!decelerate) { NSLog(@"scrollViewDidEndDragging "); [self loadImagesForOnscreenRows]; } } [...]]]></description>
			<content:encoded><![CDATA[<p>เอาไว้ scroll uitableview ไปข้างบน</p>
<pre>
[tableview scrollRectToVisible:CGRectMake(0, 0, 1, 1) animated:YES];
</pre>
<p>เวลา scroll แล้วช้า ก็อาจจะลองทำแบบนี้<br />
โดยการใช้ UIScrollViewDelegate เมื่อเรา Scroll ลงไป แล้วหยุด ก็ให้ไปโหลดรูปมาใหม่</p>
<pre>
#pragma mark -
#pragma mark Deferred image loading (UIScrollViewDelegate)

// Load images for all onscreen rows when scrolling is finished
- (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate
{

    if(!decelerate)
    {
        NSLog(@"scrollViewDidEndDragging ");
        [self loadImagesForOnscreenRows];
    }
}

- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
{
    NSLog(@"scrollViewDidEndDecelerating");
    [self loadImagesForOnscreenRows];
}

- (void)loadImagesForOnscreenRows
{
    if ([recipes count] > 0)
    {
        NSArray *visiblePaths = [self.recipeTableView indexPathsForVisibleRows];
        for (NSIndexPath *indexPath in visiblePaths)
        {
            Recipe *recipe = [recipes objectAtIndex:indexPath.row];
            RecipeTableViewCell *recipeCell = [self.recipeTableView cellForRowAtIndexPath:indexPath];
//            recipeCell.imageView.image = [UIImage imageWithData:recipe.smallImageData] ;
            int pix = indexPath.row % 2;
            pix++;
            NSString* tmp = [NSString stringWithFormat:@"id_%d_L.png", pix];
            recipeCell.imageView.image = [UIImage imageNamed:tmp];
        }
    }
}
</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/iphone-a-little-work/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android ListView in ScrollView Problem</title>
		<link>http://www.jiramot.info/android-listview-in-scrollview-problem</link>
		<comments>http://www.jiramot.info/android-listview-in-scrollview-problem#comments</comments>
		<pubDate>Wed, 06 Jul 2011 14:27:26 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=993</guid>
		<description><![CDATA[<p>This is the method to re-calculate listview height to fix the problem.</p> public static void setListViewHeightBasedOnChildren&#40;ListView listView&#41; &#123; ListAdapter listAdapter = listView.getAdapter&#40;&#41;; if &#40;listAdapter == null&#41; &#123; // pre-condition return; &#125; &#160; int totalHeight = 0; int desiredWidth = MeasureSpec.makeMeasureSpec&#40;listView.getWidth&#40;&#41;, MeasureSpec.AT_MOST&#41;; for &#40;int i = 0; i &#60; listAdapter.getCount&#40;&#41;; i++&#41; &#123; View listItem = [...]]]></description>
			<content:encoded><![CDATA[<p>This is the method to re-calculate listview height to fix the problem.</p>

<div class="wp_syntax"><div class="code"><pre class="java" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">public</span> <span style="color: #000000; font-weight: bold;">static</span> <span style="color: #000066; font-weight: bold;">void</span> setListViewHeightBasedOnChildren<span style="color: #009900;">&#40;</span><span style="color: #003399;">ListView</span> listView<span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
		ListAdapter listAdapter <span style="color: #339933;">=</span> listView.<span style="color: #006633;">getAdapter</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">if</span> <span style="color: #009900;">&#40;</span>listAdapter <span style="color: #339933;">==</span> <span style="color: #000066; font-weight: bold;">null</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #666666; font-style: italic;">// pre-condition</span>
			<span style="color: #000000; font-weight: bold;">return</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		<span style="color: #000066; font-weight: bold;">int</span> totalHeight <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span>
		<span style="color: #000066; font-weight: bold;">int</span> desiredWidth <span style="color: #339933;">=</span> MeasureSpec.<span style="color: #006633;">makeMeasureSpec</span><span style="color: #009900;">&#40;</span>listView.<span style="color: #006633;">getWidth</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span>, MeasureSpec.<span style="color: #006633;">AT_MOST</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #000000; font-weight: bold;">for</span> <span style="color: #009900;">&#40;</span><span style="color: #000066; font-weight: bold;">int</span> i <span style="color: #339933;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #339933;">;</span> i <span style="color: #339933;">&lt;</span> listAdapter.<span style="color: #006633;">getCount</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> i<span style="color: #339933;">++</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
			<span style="color: #003399;">View</span> listItem <span style="color: #339933;">=</span> listAdapter.<span style="color: #006633;">getView</span><span style="color: #009900;">&#40;</span>i, <span style="color: #000066; font-weight: bold;">null</span>, listView<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			listItem.<span style="color: #006633;">measure</span><span style="color: #009900;">&#40;</span>desiredWidth, MeasureSpec.<span style="color: #006633;">UNSPECIFIED</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
			totalHeight <span style="color: #339933;">+=</span> listItem.<span style="color: #006633;">getMeasuredHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		<span style="color: #009900;">&#125;</span>
&nbsp;
		ViewGroup.<span style="color: #006633;">LayoutParams</span> params <span style="color: #339933;">=</span> listView.<span style="color: #006633;">getLayoutParams</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		params.<span style="color: #006633;">height</span> <span style="color: #339933;">=</span> totalHeight <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>listView.<span style="color: #006633;">getDividerHeight</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">*</span> <span style="color: #009900;">&#40;</span>listAdapter.<span style="color: #006633;">getCount</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #339933;">-</span> <span style="color: #cc66cc;">1</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		listView.<span style="color: #006633;">setLayoutParams</span><span style="color: #009900;">&#40;</span>params<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
		listView.<span style="color: #006633;">requestLayout</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
	<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/android-listview-in-scrollview-problem/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Recursively delete .svn directories</title>
		<link>http://www.jiramot.info/recursively-delete-svn-directories</link>
		<comments>http://www.jiramot.info/recursively-delete-svn-directories#comments</comments>
		<pubDate>Thu, 07 Apr 2011 12:24:59 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=950</guid>
		<description><![CDATA[ rm -rf `find . -type d -name .svn`</p> ]]></description>
			<content:encoded><![CDATA[<pre>
rm -rf `find . -type d -name .svn`</p>
<pre>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/recursively-delete-svn-directories/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Android requires compiler compliance level 5.0. Please fix project properties.</title>
		<link>http://www.jiramot.info/android-requires-compiler-compliance-level-5-0-please-fix-project-properties</link>
		<comments>http://www.jiramot.info/android-requires-compiler-compliance-level-5-0-please-fix-project-properties#comments</comments>
		<pubDate>Thu, 31 Mar 2011 09:34:29 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Tutorial]]></category>
		<category><![CDATA[android]]></category>

		<guid isPermaLink="false">http://www.jiramot.info/?p=947</guid>
		<description><![CDATA[<p> I believe that Android is talking about the Java bytecode format, which you can set in "Window/Preferences", "Java/Compiler/Compiler Compliance Level". </p> ]]></description>
			<content:encoded><![CDATA[<p><code><br />
I believe that Android is talking about the Java bytecode format, which you can set in "Window/Preferences", "Java/Compiler/Compiler Compliance Level".<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.jiramot.info/android-requires-compiler-compliance-level-5-0-please-fix-project-properties/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

