<?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>Makrand Mane</title>
	<atom:link href="http://www.makrandmane.com/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.makrandmane.com</link>
	<description></description>
	<lastBuildDate>Wed, 30 Jun 2010 06:32:31 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Some More Android Code Snippet</title>
		<link>http://www.makrandmane.com/?p=281</link>
		<comments>http://www.makrandmane.com/?p=281#comments</comments>
		<pubDate>Wed, 30 Jun 2010 06:31:34 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Code Snippets]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=281</guid>
		<description><![CDATA[Wifi
The WifiManager can be used to enable and disable wifi.
WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
wifi.setWifiEnabled(enabled);
GPS Location
we can use LocationManager to start up the GPS and get location updates.
LocationManager locator = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
LocationListener mLocationListener = new LocationListener() {
  public void onLocationChanged(Location location) {
    if (location != null) {
      [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Wifi</strong></p>
<p>The WifiManager can be used to enable and disable wifi.</p>
<pre class="brush:java">WifiManager wifi = (WifiManager) getSystemService(Context.WIFI_SERVICE);
wifi.setWifiEnabled(enabled);</pre>
<p><strong>GPS Location</strong><br />
we can use LocationManager to start up the GPS and get location updates.</p>
<pre class="brush:java">LocationManager locator = (LocationManager) getSystemService(Context.LOCATION_SERVICE);
LocationListener mLocationListener = new LocationListener() {
  public void onLocationChanged(Location location) {
    if (location != null) {
      location.getAltitude();
      location.getLatitude();
      location.getLongitude();
      location.getTime();
      location.getAccuracy();
      location.getSpeed();
      location.getProvider();
    }
  }

  public void onProviderDisabled(String provider) {
    // ...
  }

  public void onProviderEnabled(String provider) {
    // ...
  }

  public void onStatusChanged(String provider, int status, Bundle extras) {
    // ...
  }
};

// You need to specify a Criteria for picking the location data source.
// The criteria can include power requirements.
Criteria criteria = new Criteria();
criteria.setAccuracy(Criteria.ACCURACY_COARSE);  // Faster, no GPS fix.
criteria.setAccuracy(Criteria.ACCURACY_FINE);  // More accurate, GPS fix.
// You can specify the time and distance between location updates.
// Both are useful for reducing power requirements.
mLocationManager.requestLocationUpdates(mLocationManager.getBestProvider(criteria, true),
    MIN_LOCATION_UPDATE_TIME, MIN_LOCATION_UPDATE_DISTANCE, mLocationListener,
    getMainLooper());</pre>
<p>we can also get the phone&#8217;s last known location using the LocationManager. This is faster than setting up a LocationListener and waiting for a fix.</p>
<pre class="brush:java">// Start with fine location.
Location l = locator.getLastKnownLocation(LocationManager.GPS_PROVIDER);
if (l == null) {
  // Fall back to coarse location.
  l = locator.getLastKnownLocation(LocationManager.NETWORK_PROVIDER);
}</pre>
<p><strong>SMS</strong><br />
we can send SMS by using SmsManager.</p>
<pre class="brush:java">SmsManager sm = SmsManager.getDefault();
String destination = "+919822390027";
String text = "Hello, jony!";
sm.sendTextMessage(destination, null, text, null, null);</pre>
<p><strong> Vibrate </strong><br />
we can vibrate the phone for a specified duration</p>
<pre class="brush:java">(Vibrator) getSystemService(Context.VIBRATOR_SERVICE).vibrate(milliseconds);</pre>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=281</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My First Laptop</title>
		<link>http://www.makrandmane.com/?p=237</link>
		<comments>http://www.makrandmane.com/?p=237#comments</comments>
		<pubDate>Wed, 21 Apr 2010 04:01:36 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=237</guid>
		<description><![CDATA[
Like first love, you don’t get anything like your first laptop.
I got my first laptop – a MacBook. I am so excited. Honestly, I didn’t initially intend on getting a MacBook because its too costly. but later I realize that spending that much of money is really worth.
It’s quite a beautiful piece of equipment, but [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://makrandmane.com/data/images/MacBookWhite.jpg" alt="My MacBook" width="448" height="273" /></p>
<p>Like first love, you don’t get anything like your first laptop.</p>
<p>I got my first laptop – a MacBook. I am so excited. Honestly, I didn’t initially intend on getting a MacBook because its too costly. but later I realize that spending that much of money is really worth.</p>
<p>It’s quite a beautiful piece of equipment, but I’m not just looking for a beautiful notebook, one factor that I value most from a notebook is durability. Because I plan to use the machine as my main computer where I do my programming with Java, Android and other activity.</p>
<p>Usually beauty and durability does not came along together but apple made it. apple combine such characters into the macbook and with the OS X easy to use and stability (good performance too).</p>
<p>I love my MacBook! The multi-touch trackpad and battery life are AMAZING!<br />
here are some Pros and Cons</p>
<p>Pros:<br />
-Multi-Touch Trackpad<br />
-Magnetic Power Connector<br />
-13.3 inch Gorgeous Screen<br />
-Easy to Fast-type Keyboard<br />
-7 Hour Battery Life<br />
-2.26GHz Processor! (Super fast!)<br />
-It is just amazing</p>
<p>Cons:<br />
-No SD card slot (not a big deal AT ALL)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=237</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Power Cut Problem in Bangalore</title>
		<link>http://www.makrandmane.com/?p=283</link>
		<comments>http://www.makrandmane.com/?p=283#comments</comments>
		<pubDate>Wed, 14 Apr 2010 04:53:20 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Miscellanies]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=283</guid>
		<description><![CDATA[
Bangalore is supposed to be the IT capital of India. They even call it the Silicon Valley of India. So much for that! but Karnataka Electricity Board or the BESCOM are not able to handle eccentricity problems.
Frequent power cuts are very common here. There is no scheduled power cut and power comes and goes all [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://makrandmane.com/data/images/no_electricity.jpg" alt="No Electricity" width="236" height="326" /></p>
<p>Bangalore is supposed to be the IT capital of India. They even call it the Silicon Valley of India. So much for that! but Karnataka Electricity Board or the BESCOM are not able to handle eccentricity problems.</p>
<p>Frequent power cuts are very common here. There is no scheduled power cut and power comes and goes all the time. Presently We are having a minimum four-hour cut which sometimes goes on to six hours. In summer the power condition is almost like an village, there is no power at all, sometimes the whole day&#8230; sometimes the whole night&#8230;  The most weird part is when I call up the electric board office in my area, they don&#8217;t even pick up the call and when they do, ( I am very lucky that time because they pick up phone) they gave very funny answers. or speak very rudely or telling me that they can&#8217;t help.</p>
<p>One more thing that surprise me, The Earth Hour campaign. Karnataka government spent lot of money to advertise this event. There are lot of hoardings like &#8220;Please switch off your lights for one hour&#8221; but they don&#8217;t know, everyday we celebrate earth hour. I think in India everybody celebrates earth hour, there is no need to celebrate this event in specific day.</p>
<p>I think government should not waste money in event like this they should invest money in power generation and good distribution structure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=283</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android Market Is on High</title>
		<link>http://www.makrandmane.com/?p=271</link>
		<comments>http://www.makrandmane.com/?p=271#comments</comments>
		<pubDate>Fri, 09 Apr 2010 11:29:58 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Apps]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=271</guid>
		<description><![CDATA[Google has confirmed in an update that the number of Android applications has almost doubled in only last three months. By mid-December, there have been 16,000 applications, now the number has jumped to over 30,000. The statistics refer to both free and paid apps. I think its may be due to the accelerated Android phone sales. [...]]]></description>
			<content:encoded><![CDATA[<p>Google has confirmed in an update that the number of Android applications has almost doubled in only last three months. By mid-December, there have been 16,000 applications, now the number has jumped to over 30,000. The statistics refer to both free and paid apps. I think its may be due to the accelerated Android phone sales. which also increased the interest in apps development.</p>
<p>The number of android apps are increasing day by day. In march Android Market shot up by 68 percent, new data from AndroLib claimed. In February 5,532 new applications added to the store, the app count grew by a much larger 9,320 new applications in last month.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://makrandmane.com/data/images/androlibmar2010-lg.jpg" alt="Android Statistics" width="500" height="398" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=271</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Checking GPS Status</title>
		<link>http://www.makrandmane.com/?p=260</link>
		<comments>http://www.makrandmane.com/?p=260#comments</comments>
		<pubDate>Wed, 31 Mar 2010 07:11:37 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Code Snippets]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=260</guid>
		<description><![CDATA[The application I’m currently working requires that the user has the GPS active on phone. otherwise application is useless. The application needs the Geodata to function. This brought up the issue of, how do we know if the user actually has the GPS enabled on the phone? If they don’t, the application will still work, [...]]]></description>
			<content:encoded><![CDATA[<p>The application I’m currently working requires that the user has the GPS active on phone. otherwise application is useless. The application needs the Geodata to function. This brought up the issue of, how do we know if the user actually has the GPS enabled on the phone? If they don’t, the application will still work, but all values are zero. to avoid this we need to check GPS status. </p>
<p>This can be done by using locationManager. it has isProviderEnabled() method by using that we can check GPS status. </p>
<p>Here is code snippet. </p>
<pre class="brush:java">
protected void onCreate(Bundle savedInstanceState) {
     super.onCreate(savedInstanceState);
     setContentView(R.layout.main);
     LocationManager locManager = (LocationManager) getSystemService(LOCATION_SERVICE);

     if (!locManager.isProviderEnabled(LocationManager.GPS_PROVIDER)){
          createGpsDisabledAlert();
     }
}

private void createGpsDisabledAlert(){
AlertDialog.Builder builder = new AlertDialog.Builder(this);
builder.setMessage("Your GPS is disabled! Would you like to enable it?")
     .setCancelable(false)
     .setPositiveButton("Enable GPS",
          new DialogInterface.OnClickListener(){
          public void onClick(DialogInterface dialog, int id){
               showGpsOptions();
          }
     });
     .setNegativeButton("Do nothing",
          new DialogInterface.OnClickListener(){
          public void onClick(DialogInterface dialog, int id){
               dialog.cancel();
          }
     });
AlertDialog alert = builder.create();
alert.show();
}

private void showGpsOptions(){
		Intent gpsOptionsIntent = new Intent(
				android.provider.Settings.ACTION_LOCATION_SOURCE_SETTINGS);
		startActivity(gpsOptionsIntent);
}
</pre>
<p> And thats it! When the user starts the activity, if the GPS is off, the dialog will pop up asking them what they want to do. If the GPS is already on, nothing will happen.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=260</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Finding distance between two points &#8211; Android GPS</title>
		<link>http://www.makrandmane.com/?p=239</link>
		<comments>http://www.makrandmane.com/?p=239#comments</comments>
		<pubDate>Wed, 31 Mar 2010 06:33:28 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Code Snippets]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=239</guid>
		<description><![CDATA[Currently I am working on GPS related project. and every day I am exploring new things. Now I realize that GPS is very interesting technology and we can make lot of useful things by using GPS.
The new thing today I learned is, finding distance between two points. Previously I was thinking that, it may be difficult but, thankfully there is a much [...]]]></description>
			<content:encoded><![CDATA[<p>Currently I am working on GPS related project. and every day I am exploring new things. Now I realize that GPS is very interesting technology and we can make lot of useful things by using GPS.</p>
<p>The new thing today I learned is, finding distance between two points. Previously I was thinking that, it may be difficult but, thankfully there is a much simpler way to figure out distances between two points on a map: the distanceTo() method in the Location class. Using this handy little method, we can quickly find out the distance between two locations: </p>
<pre class="brush:java">double distance;

Location locationA = new Location("point A");

locationA.setLatitude(latA);
locationA.setLongitude(lngA);

Location locationB = new Location("point B");

locationB.setLatitude(latB);
LocationB.setLongitude(lngB);

distance = locationA.distanceTo(locationB);</pre>
<p>One thing to note is that the distanceTo() method returns the distance in meters, so you will need to do the appropriate calculations if you want your distances in other units.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=239</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Chart Of The Day</title>
		<link>http://www.makrandmane.com/?p=234</link>
		<comments>http://www.makrandmane.com/?p=234#comments</comments>
		<pubDate>Thu, 05 Nov 2009 11:33:06 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Miscellanies]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=234</guid>
		<description><![CDATA[
This is the simplest but also possibly the best explanation of many
]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://www.makrandmane.com/data/images/informationvsconfusion.jpg" alt="" /><br />
This is the simplest but also possibly the best explanation of many</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=234</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Idioms on Android</title>
		<link>http://www.makrandmane.com/?p=220</link>
		<comments>http://www.makrandmane.com/?p=220#comments</comments>
		<pubDate>Fri, 09 Oct 2009 10:55:33 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Apps]]></category>
		<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=220</guid>
		<description><![CDATA[hay one more good news. Today we have launched Idioms on android, and within some hours we get very good response from android users.

Idioms are the real guts of English. Idioms app provides learners with an opportunity to improve strategies for successfully utilizing native level expressions.
Idioms is a multiple choice quiz system for English which [...]]]></description>
			<content:encoded><![CDATA[<p>hay one more good news. Today we have launched Idioms on android, and within some hours we get very good response from android users.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makrandmane.com/data/images/android_idioms.png" alt="Idioms" width="333" height="456" /></p>
<p>Idioms are the real guts of English. Idioms app provides learners with an opportunity to improve strategies for successfully utilizing native level expressions.<br />
Idioms is a multiple choice quiz system for English which provides 700 common idiomatic expressions.<br />
Idioms was designed to provide a method of acquiring idiomatic expressions and a context for using them in everyday English conversation.</p>
<p>FEATURE LIST:</p>
<p>•   Over 700 multiple-choice questions.<br />
•   Choose number of questions you would like in each test.<br />
•   Shows test results in HTML format with explanation for each question.<br />
•   E-mail yourself the test results and track your progress.<br />
•   Cool sound effects. (You can turn them off if desired.)<br />
•   Special algorithm that randomizes questions every time you take a test.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=220</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>OpenOffice Language Translator</title>
		<link>http://www.makrandmane.com/?p=190</link>
		<comments>http://www.makrandmane.com/?p=190#comments</comments>
		<pubDate>Wed, 07 Oct 2009 12:12:02 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Java]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[OpenOffice]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=190</guid>
		<description><![CDATA[
OOTranslator is hottest plugin on OpenOffice.org Extension portal. From last three month it&#8217;s listed in Most Popular Plugins. currently OOTraslator have crossed 136198 downloads and download count is still increasing. 
OOTranslator is an OpenOffice.org wrapper for Google Translate. In simpler terms, it&#8217;s a utility which allows users of OpenOffice.org office suite to translate text from [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><img class="aligncenter" src="http://www.makrandmane.com/data/images/opneoffice_logo.png" alt="OpenOffice Extensions" /></p>
<p>OOTranslator is hottest plugin on OpenOffice.org Extension portal. From last three month it&#8217;s listed in Most Popular Plugins. currently OOTraslator have crossed <strong>136198 </strong>downloads and download count is still increasing. </p>
<p>OOTranslator is an OpenOffice.org wrapper for Google Translate. In simpler terms, it&#8217;s a utility which allows users of OpenOffice.org office suite to translate text from a document opened to any language. It does this using Google Translate library at the back end. </p>
<p>This is particularly useful when you want to quickly translate your document or part of it from one language to another without having to copy paste it in online interface. OOTranslator provides a nice and simple interface which allows you to customize its behaviour using various options.  </p>
<p>You can download plugin from here <a href="http://extensions.services.openoffice.org/project/ootranslator"> OpenOffice Extension :- OOTraslator </a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=190</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Grammar Up</title>
		<link>http://www.makrandmane.com/?p=180</link>
		<comments>http://www.makrandmane.com/?p=180#comments</comments>
		<pubDate>Wed, 07 Oct 2009 11:21:04 +0000</pubDate>
		<dc:creator>Makrand</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Android Apps]]></category>

		<guid isPermaLink="false">http://www.makrandmane.com/?p=180</guid>
		<description><![CDATA[Most famous iPhone application now on Android. Yes Grammar Up now on Android.

Read more about what Grammar Up is and how it helps to master your English grammar.
Grammar Up is a multiple choice quiz system for English which provides over 1800 questions across 20 grammar categories.
Grammar Up was designed to replicate questions with a business [...]]]></description>
			<content:encoded><![CDATA[<p>Most famous iPhone application now on Android. Yes Grammar Up now on Android.</p>
<p style="text-align: center;"><img class="aligncenter" src="http://www.makrandmane.com/data/images/android_grammarup.png" alt="Grammar Up" width="327" height="477" /></p>
<p>Read more about what Grammar Up is and how it helps to master your English grammar.</p>
<p>Grammar Up is a multiple choice quiz system for English which provides over 1800 questions across 20 grammar categories.<br />
Grammar Up was designed to replicate questions with a business focus commonly found in the popular TOEIC (TM) English proficiency test.<br />
Grammar Up can help learners to improve their grammar, word selection and vocabulary.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.makrandmane.com/?feed=rss2&amp;p=180</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
