Fix – The hosted network couldn’t be started.

If you are using your PC/ Laptop as wifi hotspot and get error like:
The hosted network couldn’t be started.
The group or resource is not in the correct state to perform the requested opera tion

You can fix the error by take few steps.. Right Click on your computer, click on Manage.. manage


From Device Manager, Expand Network Adapters..
network device


Uninstall any unwanted Network Adapters. Then try to re create wifi Hotstpot again.. Command is:

netsh wlan set hostednetwork mode=allow ssid=mywifi key=12345678

and then start the created hotspot:

netsh wlan start hostednetwork

You will able to now use your Hotspot..


Add AdMob ad on your Android App [ XML Implementation ]

Download AdMob SDK and put jar file on your project libs folder.

Include this code in your mainfest file before  </application> tag:


<activity android:name=""


Include this code in your mainfest file before  <application  tag:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>


Add this on your xml layout:


< android:id="@+id/adView"

“a14e176c0a170e2″ is sample AdUnit ID. Replace this with your AdUnitID in real app.

or you can check full xml file:


<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android=""
 < android:id="@+id/adView"


Import import*;

Add this on your Java code:


AdView adView = (AdView)this.findViewById(;
 adView.loadAd(new AdRequest());

My Full Java Code:


package com.example.admob;

import android.os.Bundle;
import android.view.Menu;
import android.widget.LinearLayout;


public class MainActivity extends Activity {

 public void onCreate(Bundle savedInstanceState) {

// Look up the AdView as a resource and load a request.
 AdView adView = (AdView)this.findViewById(;
 adView.loadAd(new AdRequest());


You can run now and able to see the result.

Write Mathematical Formula and Equation on WordPress post or page


I just developed a simple Plugin for wordpress. That will help you to write Mathematical Equation on your WordPress Blog.
It’s easy and you can add any Mathematical formula on your wordpress post or page by equation shortcode.

Add or edit a post or page, put your Formula or Equation. Like

[ equation]\frac{1+sin(x)}{y}[/equation]

NB: If you copy code from here, Remove Space before equation shortcode.

You will see like below:


Now try to anything you need.

(a + b)^3 = a^3 + 3a^2b + 3ab^2 + b^3


Some Path Findings Algorithms you may Like is  nice Visual Representation of Some PathFinding Algorithms. It is really help me to understand some basic difference among those algorithm.

You can also search about these algorithm: 

  • D*
  • Field D*
  • IDA*
  • Fringe Fringe Saving A* (FSA*)
  • Generalized Adaptive A* (GAA*)
  • Lifelong Planning A* (LPA*)
  • Simplified Memory bounded A* (SMA*)
  • Theta*

Remove You may use these HTML tags and attributes from WordPress comment Form

By default, after your  comment form, you will see:

You may use these HTML tags and attributes: <a href=”” title=””> <abbr title=””> <acronym title=””> <b> <blockquote cite=””> <cite> <code> <del datetime=””> <em> <i> <q cite=””> <strike> <strong>

If you want to remove it form Comment Form you can remove it by very easy CSS trics:

Add this in your CSS stylesheet:




Then it will removed from your Comment form. Very easy, is not it?


Operating System for Robot

I was thinking to develop a Robot myself as i like Robot so much. I believe one day Science Fiction about Robot and Robotics will come true.
You know we need to operate our robot by a System name Operating System. Many days ago, i was thinking to develop a Operating System for Robot to invest my time as  there is so many Operating System for Computer and Mobile.

When i am thinking something new, every time i come Google and search about it. Then i discover myself a Backdated inventor. Cause there is so many solution about my idea already in this planet. And the Idea was invented many years ago. Then i am thinking, Why i did not born before??
Oh! i lost my track, i was talking about Operating System for Robot. When i was thinking Developing Operating System for Robot will a good idea and i search about it, i also found some solution :( yeah! i am also backdated here.

If i am going to develop a Operating System for my robot that will not kill too much time of mine? Is “Reinventing the wheel” is a better idea? I don’t think so as others. Today i am going to introduce a Operating System for Robot. Name Robot Operating System (ROS).
ROS (Robot Operating System) provides libraries and tools to help software developers create robot applications. It provides hardware abstraction, device drivers, libraries, visualizers, , package management, low-level device control, implementation of commonly-used functionality, message-passing between processes, and package management and many more.

ROS was originally developed in 2007 under the name switchyard by the Stanford Artificial Intelligence Laboratory in support of the Stanford AI Robot  project.

From 2008, development continues primarily at Willow Garage, a robotics research institute/incubator, with more than twenty institutions collaborating in a federated development model.

ROS is completely open source (BSD) and free for others to use, change and commercialize upon. Our primary goal is to enable software developers to build more capable robot applications quickly and easily on a common platform.

Want to Develop a Robot? These Link my help you:

Good luck for your Robot :) Happy Robotics!

Finding root directory in php

Sometime we need to get root directory for access some content form root directory or other directory that can be access form root directory.

You can print root directory by:





Practically you may do not want to print the directory address, you use to locate some file form your directory, at that case you can use like:



is not it easy??

Break long post into two or more pages

Sometimes you have written a long post and it become very lengthy and uncomfortable for your reader to read. At that case you need to Break long post into two or more pages. What you can do is to split it into several short posts. To do it, simply add a


to the part of the post that you want to split.

To show the pagination at the bottom of the post, insert the line

<?php wp_link_pages();?>

to your theme single.php after the line  <?php the_content(‘read more …’); ? >