Wednesday, July 4, 2012

Use "Siri" to syndicate content to Facebook/Twitter

Providing users effortless way of syndicating contents to social networking.

Command "Siri" to post updates and syndicate to all social networks.

Using iOS6 Siri API's integrate with FB & Twitter.

Monday, January 16, 2012

SPRadar- Smart Personal Radar

Did you happen to loose your car keys, tv remote, wallet, pen, cd, important document etc?

there is a solution to the questions like:
where are my car keys?
i can't find my wallet?
where the hell is my TV remote?

Smart n cheap RFID can be attached to items which can be configured and tracked through a mobile device or a computer through a secured app.

SPRadar will be capable of displaying the items on a Radar with the distance. Distance will be real time and will also provide direction to guide a path to a particular configured item on the SPRadar.

Thursday, June 9, 2011

"iPower" Wireless power supply

iPower--> Intelligent Power!


This will be a new revolution in Technology! A new Invention!


So far everybody is trying to provide wireless solutions for data transfer, internet, mobile sync etc.


What do we need wires for? you are right, it's Power Supply!


It's a new field of research to provide wireless power solution to charge mobile devices which can provide 100% freedom from wires.


The Idea is simple...there needs to be a device which will be hooked up with the the power outlet in your home. The device will convert the electrical energy into microwaves to transmit it to the wireless device which needs power. The wireless device needs to be capable for converting the microwaves to DC to charge the battery.


The microwaves to be used should be in 7.2Ghz range so that it does not interfere with other wireless devices in your home such as bluetooth devices, wireless router, remotes etc. Also, using microwaves will be harmless for humans.


The wireless power supply device (iPower) can have extended feature of communicating with the peers using wi-fi signal. So, once your mobile wireless device is in range of wi-fi it will detect and start sending signal to charge the device wirelessly.


Cheers!
Pawan Singh

Wednesday, April 28, 2010

Sunday, November 8, 2009

Handling double form submission problem with Struts

An optimal solution for resolving double form submission problem using Struts:

DispatchStrutsAction
--------------------
package com.myapp.struts;

public class DispatchStrutsAction extends DispatchAction {
private final static String LOGINSUCCESS = "loginsuccess";
private final static String LOGINPAGE = "loginpage";


public ActionForward beforeLogin(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
this.saveToken(request);//save token before showing Login.jsp
return mapping.findForward(LOGINPAGE);
}
public ActionForward login(ActionMapping mapping, ActionForm form,
HttpServletRequest request, HttpServletResponse response)
throws Exception {
if(this.isTokenValid(request)){
resetToken(request);
}else if(!this.isTokenValid(request)){
System.out.println("Page Resubmit");
}
return mapping.findForward(LOGINSUCCESS);
}
}

Thursday, October 8, 2009

Solution for Double form submission problem

Here is an optimal solution for double form submission problem using open source jQuery javascript library:

$(’form’).submit(function(){

$(this).find(”input[type='image'],input[type='submit']“).click(function(){

return false;

});

});