Archive for the ‘Fun with Javascript’ Category

EBay, PayPal sue Google over trade secrets

May 30th, 2011

NEW YORK (Reuters) – EBay and its online payment unit, PayPal Inc, on Thursday sued Google Inc and two executives for stealing trade secrets related to mobile payment systems.

The two executives, Osama Bedier and Stephanie Tilenius, were formerly with PayPal and led the launch on Thursday of Google’s own mobile payment system in partnership with MasterCard, Citigroup and phone company Sprint.

The suit highlights the growing battle by a wide range of companies from traditional finance to Silicon Valley trying to take a major stake in what has been described as a $1 trillion opportunity in mobile payments. The mobile phone is seen as the digital personal wallet of the future.

The eBay suit said Bedier worked for nine years at PayPal, most recently serving as vice president of platform, mobile and new ventures. He joined Google on Jan. 24 this year.

Tilenius was at eBay from 2001 to October 2009 and served as a consultant to the company until March 2010. The suit says Tilenius joined Google in February 2010 as vice president of e-commerce.

Bedier is accused in the suit of having “misappropriated PayPal trade secrets by disclosing them within Google and to major retailers.”

The suit accused Tilenius of recruiting Bedier, thereby breaking a contractual agreement with eBay. It also claims Bedier attempted to recruit former colleagues still at PayPal.

Ebay said PayPal and Google worked closely together for three years until this year on developing a commercial deal where PayPal would serve as a payment option for mobile application purchases on Google’s Android phones.

It said Bedier was the senior PayPal executive leading and finalizing negotiations with Google on Android during this period.

It also claimed Bedier transferred up-to-date versions of documents outlining PayPal’s mobile payment strategies to his non-PayPal computer just days before leaving PayPal for Google.

“By hiring Bedier, with his trade secret knowledge of PayPal’s plans and understanding of Google’s weaknesses as viewed by the industry leader (PayPal), Google bought the most comprehensive and sophisticated critique of its own problems available,” the suit said.

Google spokesman Aaron Zamost said the company had not yet received a copy of the complaint would not be able to comment until it has had a chance to review it.

Google and PayPal have done battle in the recent past in online payments via computers with the launch of Google Checkout in 2006, but Checkout has had a minimal impact on PayPal’s market dominance.

The suit was filed at Superior Court of the State of California, county of Santa Clara, Case No: CV20l863.

(Reporting by Yinka Adegoke, additional reporting by Jennifer Saba; Editing by Gary Hill, Bernard Orr and Matt Driskill)

Share

None yet

Acer Iconia Tab A500 is High Performance, Android Honeycomb Tablet

May 30th, 2011

Iconia Tab A500 is one of the few tablets that run on Android 3.0 Honeycomb. The tablet comes in both 3G and WiFi only version with some good features.

Hardware and Looks

The Acer Iconia Tab A500 has a 10.1 inch touchscreen that offers 1280×800-pixel resolution.

On the front you will also see a 2 megapixel camera for video calling. However, on the front you won’t find any physical buttons.

The normal home and back buttons of any Android device are replaced by virtual buttons on screen. You can see the buttons in the lower left-hand corner of the screen.

The advantage of this placement is that if you shuffle between portrait and landscape orientations, the buttons are always on the lower left-hand side of the display.

There’s another button at the lower left corner which gives access to all recently used apps.

On the back of the tablet you will see a 5 megapixel camera. The built quality of A500 gives a cheap feeling because they have mainly used plastic.

There is an orientation lock key and volume adjustment key on the top edge of the tablet. The device also features a Micro SD card slot, a SIM card slot, micro-USB port and micro-HDMI port.

On top of A500 is a headphone socket. The tablet is 13.3mm thick and weighs 765g. That means its 164g heavier than the iPad 2. The A500 runs on the Tegra 2 processor and has 1GB of RAM.

Display and Camera
The 10.1-inch, 1280 x 800 TFT LCD of A500 is a visual delight. Another plus point of the display is its viewing angle.

You can position the tablet at any angle and still the readability remains very good. Though the readability reduces significantly under sun, it performs pretty well indoor conditions.

The 5 mega-pixel rear camera takes nice photos under a bright sky and front camera is just ok. But the main problem is that cameras lose the focus if you try to capture anything away from it and produces blurry images. Despite the 720p HD video capturing capability, the captured video quality is not good at all.

Software and Performance
Acer’s Iconia Tab A500 runs on Android 3.0, a specially customized OS for the tablets and it certainly works like a breeze.

A500 features a great browser with Flash support. You can open multiple tabs and multi-task. The Honeycomb on screen keyboard is a delight. It supports multi-touch, so you can touch type.

You can also hold down the shift key or number key to get quick access to certain characters. The Gmail client, music player, calendar, photo browser, chat and maps application works brilliantly.

The apps in the Android Market for the Honeycomb devices are not so many and Google should look into this matter as the common Android apps can not utilize the screen space of the tablets. The tablet runs on pair of 3260mAh batteries and offers almost 7 hours of battery life.

Final Verdict
The overall performance of Iconia Tab A500 is good. But there are some negative points too. It’s a very heavy tablet, battery life is little poor, and compared to some tablets its price is bit high.

While ASUS Eee Pad Transformer is priced at $400 with almost the same facilities, A500 is priced at $450.

Share

None yet

Wanna play Golf online? – Try, Boomerang!!

October 21st, 2010

Developed by Varshyl Technologies Pvt. Ltd., Boomerang is the hardest putting challenge on planet. But what you are about to see takes pressure putting to a previously unimaginable level. Beat the monthly high score, or be a lucky loser in our monthly random draw, and you could WIN a Boomerang Putting Pack for you and your playing partners. Better still, set the yearly high score and win a customized Boomerang Putter.So, come & play. Good luck & enjoy playing!

Share

None yet

Print multiple pages with single click..

May 13th, 2006

Only by loading a framset with all four pages loaded – with the onLoad event handler in the frameset using the window print method to print each frame:
[form]
[input type="button" onClick="if (window.print) location.href='printframeset.htm'"]
[/form]
And then in printframeset.htm:
[html]
[head]
[script language="JavaScript"][!--
function printAll() {
for (var i=0;i[frames.length;i++)
if (window.print)
frames[i].print();
}
//–][/script]
[/head]
[frameset onLoad="printAll()" rows="*,*,*"]
[frame xsrc="apage.htm" mce_src="apage.htm" ]
[frame xsrc="anotherpage.htm" mce_src="anotherpage.htm" ]
[frame xsrc="yetanotherpage.htm" mce_src="yetanotherpage.htm" ]
[/frameset]
[/html]
The previous script has been reported not to work on some platforms (it works perfectly on Netscape Navigator 4.7 on Linux). I assume on some platforms only one print dialogue box at a time can be opened. It might be possible to overcome this with a setTimout, but its going to be difficult to know when to start another one. A set delay of, say, 5 seconds might be too short if the user doesn’t hit the print button. Anyway try:
[html]
[head]
[script language="JavaScript"][!--
function printAll() {
for (var i=0;i[frames.length;i++)
if (window.print)
setTimeout('frames[' + i + '].print()’,5000 * i);
}
//–][/script]
[/head]
[frameset onLoad="printAll()" rows="*,*,*"]
[frame xsrc="apage.htm" mce_src="apage.htm" ]
[frame xsrc="anotherpage.htm" mce_src="anotherpage.htm" ]
[frame xsrc="yetanotherpage.htm" mce_src="yetanotherpage.htm" ]
[/frameset]
[/html]

Note; Repleace[ .] with <,> in code

Share

None yet

How to call javascript function from PHP Code

May 10th, 2006

Hi All,

I am back with more tips and tricks of Javascript, to make it “fun with Javascript” . Contrary to common layman notion that javascript is not user friendly or not very reliable, it is very reliable and user friendly. Sample this even google and Yahoo use them in there application, this shows the reliabilty and flexibilty Javascript offer.

Today I shall discuss “how can we call Javascript function from PHP code without any click event happening on our page”

Here is sample code:

Write you Javascript function in HEAD

/HEAD/
/SCRIPT LANGUAGE=”javascript”/
function ProcA () {
alert (“message”);
}
//SCRIPT/
//Head/

Calling this function from PHP code -for instance based on a decision.

if ($decision==’true’) {
echo “/SCRIPT LANGUAGE=”javascript”/”;
echo “FunctionA;n”;
echo “//SCRIPT/
}
?>

P.S- repleace / with < or > whereever applicable.

Code End here///////////////////

That simple noooooooo:)

If you have any question/queries. Contact us at www.varshyltech.com

Share

None yet

Calling two function on one click…

May 10th, 2006

Hi All,

Today I will talk about how can we call two javascript function on one button click.

I have seen many case while doing website designing that many times we get situation where we want to check/validate couple of things on one button click, contrary to general notion people have it is very much possible and very easy. It is same way we call single function , except a ‘;’ between two function we want to call on button click.

Following sample code will give you an example: here two function are called on ‘Submit’ button clik.
input type=”button” value=”Submit” onClick=”function1(parameter1);function1(parameter1)”

////end here

this is it! simple and short:)

-Harish Sharma

Varshyl Tech

Share

None yet

JavaScript to validate input value is an Integer

May 3rd, 2006

JavaScript Validation: Script to validate input value is an Integer.

We will use Regular Expression and exec() function to do the validation.

Sample Code:

//Code for Form which captures click event and calls ‘validate()’ function.

//function validate()

// {

//frm = document.form

//var freg = /(^\d\d*$)/;

// var Intval = frm.text.value;

//if(!fr.exec(Intval))

// {

// alert(“Only Integer Value allowed”);

// return false;

// }

// }

——————————————-

Code Explanation:
Create a Regular Expression variable
var freg = /(^\d\d*$)/;

Use exec function to see if it matches regular expression – if it return ‘False’ show the message and return false.
if(!fr.exec(Intval))

That’s it. Hope this help you guys :-)

Advertisement: Varshyl Tech offers website designing, logo designing, Search engine promotion, custom software development solutions.

Share

only 1