RSS

Create a basic gadget and installer for Windows 7.

In this blog post, I will discuss the steps needed to create a basic gadget in Windows 7.

A gadget consists of XML, HTML,Script and CSS files.


Gadget Directory:-

A directory to hold all gadget files( with the .Gadget extension) in c:\Program Files\Windows Sidebar\Gadgets.  
Follow these steps  to create  a new gadget :-

Step1.Create a new folder on your desktop and name it test.gadget .
Step2.Open that folder and create two files in that folder  .
 * gadget.xml 
The manifest is an XML file that contains the basic information about the gadget, such as the name, version, and permissions. 
<?xml version=”1.0″ encoding=”utf-8″ ?>
<gadget>
  <name>HelloGadget</name>
  <version>1.0.0.0</version>
  <description>Hello World Gadget.</description>
  <hosts>
    <host name=”sidebar”>
      <base type=”HTML” apiVersion=”1.0.0″ src=”HelloGadget.html” />
      <permissions>Full</permissions>
      <platform minPlatformVersion=”1.0″ />
    </host>
  </hosts>
</gadget>
*HelloGadget.html 

This HTML file is the main one used to display the gadget and also contains the CSS, used for styling and Script. It’s location is specified in the <base> tag of the manifest XML file (gadget.xml).

<html>
<script>
//—————– resizes the gadget display surface
function DoInit() {
    document.body.style.width = 90;
    document.body.style.height= 55;
    document.body.style.margin=0;
}
</script>
<body onload=”DoInit();”>
<table border=”5″><tr><td><center><i>Hello World!</i></center></td></tr></table>
</body>
</html>

Step3.
                 Open a Windows Explorer and drill-down to locate the
   following folder:
                c:\Program Files\Windows Sidebar\Gadgets.
                           Or

                        Start/Run input boxes ( the Run dialog (Win+R) )
                       %userprofile%\appdata\local\microsoft\windows sidebar\gadgets

                 Looking in that folder, you will see the other gadgets that are already installed.  Each is in a folder that has a file extension of .gadget

                 Drag the test.gadget folder from the desktop  and drop it into that Gadgets directory.
               

Step 4:-

                     Right-click the desktop and select Gadgets.
                     Your gadget is now visible in the gallery.

Create  gadget   Installer.


1. open the test.gadget 


2.select all file
3. add to archive
4 .avoid .zip extension,
for eg:- The file test.gadget have any extension like ‘test.gadget.zip’, then remove .zip from test.gadget.
5.press ok button,after create gadgets installer.

 
2 Comments

Posted by on 31/07/2012 in Uncategorized

 

17-year-old Brittany Wenger builds cancer detecting artificial brain




The second annual Google Science Fair, a science talent competition for kids ages 13 to 18, was held this month in Palo Alto, California. This year’s winner, 17-year-old Brittany Wenger, wrote a cloud-based computer program that makes breast cancer detection less invasive. She called it the “Global Neural Network Cloud Service for Breast Cancer.” Wenger created computer programs coded to think like the human brain and then used them to locate mass malignancy in breast tissue samples.

Traditional methods of finding mass malignancy use a minimally invasive, but painful, biopsy called a fine needle aspirate (FNA). Analyzing tissues collected with this method isn’t always effective and sometimes results in further invasive procedures. Wegner tested her method with 7.6 million trials to see how accurately it would detect cancerous tumors. It succeeded with a 97.4 percent success rate in prediction and 99.1 percent sensitivity to malignancy when analyzing samples collected from FNA. Employing this data to a cloud service could make it possible for doctors to assess tumors without employing more invasive testing.

For winning the competition, Wegner received $50,000, a trip to the Galapagos Islands and one year of mentoring and internship opportunities. As for her future, Wegner said in a recent interview that she plans to major in computer science in college and attend medical school.

 
3 Comments

Posted by on 27/07/2012 in Uncategorized

 

unbelievable ,Is Facebook social network double agent ?

WikiLeaks founder Julian Assange says Facebook are actually tools for the U.S. intelligence community. 
The world’s largest social network, Google and Yahoo “have built-in interfaces for U.S. intelligence.”
Julian said: “Everyone should understand that when they add their friends to Facebook, they are doing free work for United States intelligence agencies, and building this database for them,”
“Facebook in particular is the most appalling spying machine that has ever been invented,” Assange said in the interview, which was videotaped and published on the site. “Here we have the world’s most comprehensive database about people, their relationships, their names, their addresses, their locations and the communications with each other, their relatives, all sitting within the United States, all accessible to U.S. intelligence.”
More About Click

 
Leave a comment

Posted by on 23/07/2012 in Uncategorized

 

Windows Phone 8 and iPhone5 realesing ‘"War"..!

The November release of Windows Phone 8 happens to be near the launch date for Apple’s iPhone 5.
Some may think that this may be a market strategy for both companies.Microsoft expecting a big revolution on their smartphones over i phones by this release.

According to current market, Samsung, Huawei , HTC and Nokia are the only maufacturs that co-operating with WP8, but market concerns says in future other famous established componies will launch Windows Phone 8.

WP8 features are WP8 apps,WP8 interface,WP8 browser and security,WP8 media and gaming,WP8 Video calling n,WP8 CPU,Microsoft Wallet,NFC support,Speech recognition,WP8 upgrades.

Apple’s latest design of their iPhone 5 features a smaller SIM slot than previous models,Nano SIM.This version user their latest OS , iOS6 and so its features.

 
Leave a comment

Posted by on 21/07/2012 in Uncategorized

 

The history of the language HTML5

                                       
 I have read  the history of the language , New key  features and improvements of the HTML5.  I think ,this share of mine will be very useful to developers..









 More info is available on Click

 
Leave a comment

Posted by on 18/07/2012 in Uncategorized

 

Upgrade To .NET Framework 4.5 RC


Microsoft has done an excellent job with .NET Framework technologies. I have read   New key  features and improvements of the .NET Framework 4.5 RC. I think ,this share of mine will be very useful to developers..

.NET 4.5 is an in-place upgrade to .NET 4.0

The CLR is the same but new libraries are added as well as bug fixes and performance improvements:
 About how .NET 4.5 is an “in-place upgrade” of .NET 4. That means .NET 4.5 is still the v4CLR and adds new libraries as well as improvements to the core CLR itself.
(Note that this in-place replacement is very different from the side by side installs of .NET 2.0 and 3.0/3.5 which all ran on the 2.0 version of the CLR. The two 3.x versions were basically library enhancements on top of the core .NET 2.0 runtime. Both versions ran under the .NET 2.0 runtime which wasn’t changed (other than for security patches and bug fixes) for the whole 3.x cycle. The 4.5 update instead completely replaces the .NET 4.0 runtime and leaves the actual version number set at v4.0.30319.)

I saw  Rick and Hanselman has a great post with a lot of detail and information about NET 4.5 is an in-place replacement for .NET 4.0 .


 I have Post Core New Features and Improvements of the .NET Framework 4.5 RC. The following features   added to the common language runtime and to .NET  Framework classes:

1.Ability to reduce system restarts by detecting and closing .NET Framework 4 applications during deployment.
2.Support for arrays that are larger than 2 gigabytes (GB) on 64-bit platforms. This feature can be enabled in the application configuration file. See the <gcAllowVeryLargeObjects> element, which also lists other restrictions on object size and array size.
3.Better performance through background garbage collection for servers. When you use server garbage collection in the .NET Framework 4.5 RC, background garbage collection is automatically enabled.
4.Background just-in-time (JIT) compilation, which is optionally available on multi-core processors to improve application performance.
5.Ability to limit how long the regular expression engine will attempt to resolve a regular expression before it times out.
6.Ability to define the default culture for an application domain.
7.Console support for Unicode (UTF-16) encoding.
8.Support for versioning of cultural string ordering and comparison data.
9.Better performance when retrieving resources.
10.Zip compression improvements to reduce the size of a compressed file.
11.Ability to customize a reflection context to override default reflection behavior through the CustomReflectionContext class.
12.Support for the 2008 version of the Internationalized Domain Names in Applications (IDNA) standard when the System.Globalization.IdnMapping class is used on Windows 8 Release Preview.
13.Delegation of string comparison to the operating system, which implements Unicode 6.0, when the .NET Framework is used on Windows 8 Release Preview. When running on other platforms, the .NET Framework includes its own string comparison data, which implements Unicode 5.x. See the String class.
14. MEF(Managed Extensibility Framework)
The Managed Extensibility Framework (MEF) provides the following new features:
            1.Support for generic types.
             2.Convention-based programming model that enables you to create parts based on naming conventions rather than attributes.
            3..Multiple scopes.
15. Asynchronous File Operations
In the .NET Framework 4.5 RC, new asynchronous features were added to the C# and Visual Basic languages. These features add a task-based model for performing asynchronous operations. To use this new model, use the asynchronous methods in the I/O classes.

16.ASP.NET 4.5 RC includes the following new features:
* Support for new HTML5 form types.
* Support for model binders in Web Forms. These let you bind data controls directly to data-access methods, and automatically convert user input to and from .NET Framework data types.
* Support for unobtrusive JavaScript in client-side validation scripts.
* Improved handling of client script through bundling and minification for improved page performance.
* Integrated encoding routines from the AntiXSS library (previously an external library) to protect from cross-site scripting attacks.
* Support for WebSockets protocol.
* Support for reading and writing HTTP requests and responses asynchronously.
* Support for asynchronous modules and handlers.
* Support for content distribution network (CDN) fallback in the ScriptManager control.
17. WCF
In the .NET Framework 4.5 RC, the following features have been added
* Simplification of generated configuration files.
* Support for contract-first development.
* Ability to configure ASP.NET compatibility mode more easily.
* Changes in default transport property values to reduce the likelihood that you will have to set them.
* Updates to the XmlDictionaryReaderQuotas class to reduce the likelihood that you will have to manually configure quotas for XML dictionary readers.
* Validation of WCF configuration files by Visual Studio as part of the build process, so you can detect configuration errors before you run your application.
* New asynchronous streaming support.
* New HTTPS protocol mapping to make it easier to expose an endpoint over HTTPS with Internet Information Services (IIS).
* Ability to generate metadata in a single WSDL document by appending ?singleWSDL to the service URL.
* Websockets support to enable true bidirectional communication over ports 80 and 443 with performance characteristics similar to the TCP transport.
* Support for configuring services in code.
* XML Editor tooltips.
* ChannelFactory caching support.
* Binary encoder compression support.
* Support for a UDP transport that enables developers to write services that use “fire and forget” messaging. A client sends a message to a service and expects no response from the service.
* Ability to support multiple authentication modes on a single WCF endpoint when using the HTTP transport and transport security.
* Support for WCF services that use internationalized domain names (IDNs).
More info is available  click here




 
Leave a comment

Posted by on 26/06/2012 in Uncategorized

 

About Google’s Project Glass





Google’s Project Glass smart glasses ability to use its frame as a trackpad. You’ll be tapping your way to victory just like Marvel Comics’ Cyclops when you get a pair of these babies on, and with no less than a fully patented bit of touch technology. Project Glass is a technology that we’ve seen several times in the wild now and will likely see next up-close at Google I/Oat the end of this month.



The name of this patent is “Wearable heads-up display with integrated finger-tracking input sensor” and it refers to technology patents dating back to 1998 with Sony’s Image Display System. This brand new patent filed by Google was assigned to Liang-Yu Chi, Luis Ricardo Prada Gomez, Robert Allen Ryskamp, and none other than Sanjay G Mavinkurve.
The description for this bit of the equation reads as follows, in brief:
“…wherein the first finger-operable input device is substantially transparent, and a second finger-operable input device secured to the wearable frame structure via a second of the two projections and configured to provide gross-motor input information to the processor and sense at least one of a position and movement of a finger along a planar direction relative to a surface of the second input device, and to provide corresponding input information to the processor.” – Google Patent


 
Leave a comment

Posted by on 22/06/2012 in Uncategorized

 

My name is jQuery++


(The goal of this blog entry is to provide you with enough information to start working with .net and jQuery++.)  
Hi, I’m jQuery++.
I am an MIT licensed collection of extremely useful DOM helpers and special events for jQuery 1.7 and later. I’m not a UI project like jQuery UI or jQuery Tools. Instead, I’m all about providing low-level utilities for things that jQuery doesn’t support. If Underscore is jQuery’s functional-programming tie, I am jQuery’s bald-spot covering toupee.
Select the plugins you want and click “Download” for a customized, unminified JavaScript file:
★DOM HELPERS – faster and easier DOM manipulation with:
 jQuery.animate – animate using CSS animations
 jQuery.compare – compare element document position
 jQuery.cookie – read and write cookies
 jQuery.dimensions – set and animate innerWidth and outerWidth
 jQuery.formParams – serializes a form into an object
 jQuery.range – create and manipulate text ranges
 jQuery.selection – get and set the current text selection
 jQuery.styles – quickly read computed styles
 jQuery.within – get elements within an area or at a point
★EVENTS – listen to special events with:
 jQuery.event.destroyed – an element is removed from the DOM
 jQuery.event.drag – delegatable drag events
 jQuery.event.drop – delegatable drop events
 jQuery.event.fastfix – faster jQuery.event.fix using ES5 getters
 jQuery.event.hover – delegatable hover events
 jQuery.event.key – returns a string representation of the key pressed
 jQuery.event.pause – pause and resume event propagation
 jQuery.event.resize – listen to a resize event on any element
 jQuery.event.swipe – delegatable swipe events
More info is available on  jQuery++
 
Leave a comment

Posted by on 06/06/2012 in Uncategorized

 

JQT is a new client templating API for jQuery.





(The goal of this blog entry is to provide you with enough information to start working with .net.) 

The jQuery Templates plugin was developed by the Microsoft ASP.NET team in collaboration with the open-source jQuery team.
when you create new ASP.NET Web Forms and ASP.NET MVC projects with VS 2010, the core jQuery library is now automatically added to your project.

jQuery Template Support:-





Client-side templates enable jQuery developers to easily generate and render HTML UI on the client.  Templates support a simple syntax that enables either developers or designers to declaratively specify the HTML they want to generate.  Developers can then programmatically invoke the templates on the client, and pass JavaScript objects to them to make the content rendered completely data driven.  These JavaScript objects can optionally be based on data retrieved from a server.



How do jQuery Templates work?


 The jQuery Template is applied to data objects or arrays and is rendered into the HTML using jQuery functions for DOM manipulation. The data objects/arrays are JSON data format. For those that don’t know, JSON stands for JavaScript Object Notation and is very lightweight data-interchange format. JQuery Template is for JSON data same as XSLT is for XML data.

jQuery Client Templates:-
You create client-side jQuery templates by embedding content within a <script type=”text/html”> tag.  For example, the HTML below contains a <div> template container, as well as a client-side jQuery “contactTemplate” template (within the <script type=”text/html”> element) that can be used to dynamically display a list of contacts:
The {{= name }} and {{= phone }} expressions are used within the contact template above to display the names and phone numbers of “contact” objects passed to the template.
We can use the template to display either an array of JavaScript objects or a single object. The JavaScript code below demonstrates how you can render a JavaScript array of “contact” object using the above template. The render() method renders the data into a string and appends the string to the “contactContainer” DIV element.
When the page is loaded, the list of contacts is rendered by the template.  All of this template rendering is happening on the client-side within the browser:




More info is available on  WebSpace

 
Leave a comment

Posted by on 05/06/2012 in Uncategorized

 

Think About .NETHTML5

(The goal of this blog entry is to provide you with enough information to start working with .net.)

The new .NETHTML5 version introduces a new HTML rendering engine to Visual WebGui. 
The new engine called “JQT” (jQuery templates) is based on jQuery rather than XSLT. This new direction is required in order to realize the true potential of Visual WebGui according to the shaping technological map of the new web.
Basing Visual WebGui’s client rendering engine on jQuery allows building graphic-rich, cross-platform applications based on the new open web standard – HTML5 and provides several more important benefits:
• Better compatibility with the increasing demand for mobile deployment and support for broader range of browsers including iOS and Android browsers.
• Direct exposure to all the latest HTML5 features – using jQuery
• Enhanced performance for JavaScript centered browsers such as the WebKit browsers
• Full usage of any jQuery knowledge and library to natively extend VWG client side of the application.
The table below provides a technical overview of differences between the two versions.
Category Feature WINWEB .NETHTML5 Comment
Frontend Technology HTML generation Client side XSLT jQuery templates
Development Application Development Visual, OOP, .NET Visual, OOP, .NET Classic .NET development
Extension Technology Layout Client XSLT, HTML4 jQuery, HTML5 jQuery version is fully backwards compatible with HTML4
Styling CSS 2.0 CSS 3.0 jQuery version is fully backwards compatible with CSS 2.0
Frontend behavior JavaScript with jQuery support jQuery
Supported Platforms Browsers WebKit (Chrome, Safari) Mozilla (FireFox, NS) IE (v6.0 and above) Opera (partial support) Supported today: WebKit (Chrome, Safari) Mozilla (FireFox, NS) IE (v6.0 and above) Mobile Safari (iPad, iPhone) Android 2.0+ browsers
By the release: Opera Mobile IE 5 and above Windows Phone 7 browser Blackberry
Server Side IIS v6.0 and above Windows Azure Fabric .NET supportive Clouds Mono over non-MS IIS v6.0 and above Windows Azure Fabric .NET supportive Clouds Mono over non-MS
Other Properties Mobile None By the release: Touch screen gestures Antinational transition Mobile dialog handling
Client side Performance Excellent Excellent + Specially enhanced for JavaScript optimized engines browsers (WebKit, Opera)


More info is available on visualwebgui.com.

 
Leave a comment

Posted by on 05/06/2012 in Uncategorized