Month: November 2010

20 Things I Learned About Browsers and the Web

Posted on Updated on

Google has published an amazing and must read ebook called 20 Things I Learned About Browsers and Web, this e book is created using HTML 5 :), and i must say it is a very good ebook to read. They have explained everything about the internet and the web, browsers and online computing concepts in 20 chapters in a very impressive manner using pics and so called videos.

20 Things I Learned About Browsers and Web

A book worth reading at least once and even more exciting is that the book is made in html5 and you can turn the pages by pressing right or left key. The explanations are put into terms that non-techie people can understand. This book contains the things you’ve always wanted to know about the web but were afraid to ask, read on.

What is Internet

20 Things I Learned About Browsers and Web – Chapters

  1. What is the Internet?
  2. Cloud Computing
  3. Web Apps
  4. HTML, JavaScript, CSS and more
  5. HTML5
  6. 3D in the Browser
  7. A Browser Madrigal
  8. Plug-ins
  9. Browser Extensions
  10. Synchronizing the Browser
  11. Browser Cookies
  12. Browser and Privacy
  13. Malware, Phishing, and Security Risks
  14. How Modern Browsers Help Protect You From Malware and Phishing
  15. Using Web Addresses to Stay Safe
  16. IP Address and DNS
  17. Validating Identities Online
  18. Evolving to a Faster Web
  19. Open Source and Browsers
  20. 19 Things Later

share with your kids especially, they will learn allot by reading the contents present here.
You can find this book at http://www.20thingsilearned.com/.
Get knowledge and share with others.

have a good day.

(source: google help desk)

free counters

Advertisements

Table.Connect :: iTable

Posted on Updated on

3 developers from Austria got this idea, even they can’t recall how they come up with this, but they got this 2 years back and actual work start in year 2010. This is the Table Connect, a rather wonderful-looking hardware hack which connects an iPhone to a 58-inch capacitive multi-touch display, allowing full control of the iPhone’s navigation functions, only using hands instead of fingers.

When the iPhone is connected to the specially modified table it beams the image of its screen on to the device.

With its special touch screen technology – called Table.Connect – they can then swipe the surface of the table – and make it work just like an iPhone.

 

According to developers, they are  plan to bring the Table.Connect system to as many devices as possible. Currently it only works with the iPhone 3GS and iPhone

“The most expensive part is the display, weeks of research not counting. For now we’re quite happy that we’ve found a development partner who can build such a display.”

The table use for the large display is a State of the art technology made simple to use

Please click on the images to see an enlarged view of the illustrations.

Via the Table Connect App you can gain complete control over your iPhone using the multitouch table … big time!All your apps and data can now be accessed via the 58″ capacitive multitouch surface.

 

The iPhone needs to be jailbroken to work with Table Connect. Don’t worry, a jailbreak is perfectly legal, but you always modify your iPhone’s content at your own risk.

  • opens a wide range of possibilities of multi-person controlled apps
  • compatible with iOS4 / iPhone 4 & iPhone 3Gs*
  • reduced design that goes perfectly with your iPhone

 

 

note that the original iPhone (“2G”) & the iPhone 3G are not working with Table Connect due to slow processing power.

see them playing game on iTable ..

 

free counters

Eid Mubarak to Muslim Umma..

Posted on Updated on


free counters

Amazon Kindle Application Development Tutorial – Part 3

Posted on Updated on


Kindle Application Lifecycle

Hello everyone.
Hope you are fine and doing good in your daily routine.

Here is the 3rd part of my series of tutorial on Amazon Kindle Application Development.

Note : So far we have discussed following topics in this category.

In this part I will describe some core concept that one must know before starting development on kindle plateform. It includes life cycle of kindle application and some other key points we have to care during code.

Earlier i was going to start hello world tutorial but i felt these things should discuss first so that when one start writing his first program he/she should clear about whats going on at backend. So let start.

I have bring my bowl of “fruit chaat” but my music player is silent today. I’m not in mood of listen any track, but while reading these lines; don’t forget to follow the traditions. You must have something to eat and listen, having relax seat in your chair …

Orite here we go ..

Active Content

First of All we need to know what is “Active Content” are. Within the community of kindle developers you will hear this term time and again. Active contents are noting but the apps runs over kindle device. Simply the apps for kindle, here we called them “active content”. Simple it is.

Kindlet

Technically, kindlet is an interface in kdk (kindle development kit). We extends its subclass and write our code. At little abstract level, the main entrance of our kindle application is called kindlet.

For example like any java program must have a class that contains main() method; to start application from that point (.i.e.  via main() method) same in case of kindle app, there must be a class that must extend subclass of kindlet interface (AbstractKindlet class) and hence become entry point of our kindle app. Such class is normally refer as kindlet of our kindle app.

In more concise words, if someone asks you where is your kindlet, then it means he/she is asking about the entry point of your kindle application, the class which extends the subclass of kindlet interface of kdk .i.e  AbstractKindlet class.

Lifecycle of Kindle application

Like every application, active contents have also a defined life cycle. Our application move in between these life cycle phases during its execution and terminates from its exit point.  There are four phases application move among. They are

  • loaded
  • ready to run
  • running
  • shutdown

when application jumps into a phase, a specific method is called, defined in kindlet interface. These method calls and phase changes are very well defined until any unchecked exception is thrown, that causes the active content to die/shut down and user will see crash. Now as application crashed, there isn’t no surety whether the life cycle will complete normally or will terminate immediately.

The kindlet method associates with above mentioned phases are

  • create()
  • start()
  • stop()
  • destroy()

Refer the following image describing the phases and method calls during the life cycle of kindle application

{src : kdk documentation}

Lets discuss different phases of life cycle

Loaded

When we chose a kindle application to run, its kindlet initialized, along with other static initialization of application. Once this happened, its means kindlet object has been constructed and properly initialized, hence application has LOADED.

At this stage, we don’t see any screen/user interface at user end. Its all occurred at backend. At developer lever, we don’t have access to persistent storage; we haven’t access to application environment/context.

  • After loaded phase, there are two possible ways. Either application will enter in “ready to run” phase or will “shutdown”. In case of shutdown kindlet will not notified.

Ready to run

In case application are eligible for “ready to run” then a transition is occur via method called create() declaired in Kindlet interface. At this stage application gain access to kindle environment and we have a reference of KindletContext object. This object represents the Kindle application’s environment for a Kindlet and provides access to the Kindlet’s user interface, filesystem space, network connectivity and more.

Once a Kindlet create method has finished, the Kindlet is considered “ready to run”. The application’s user interface is not visible while in the “ready to run” state and no user input will be received. be patient

The next phase from “ready to run” is to “running”. During this start() method of kindlet interface will be called. Even at this point, the user interface is still not visible.

“ready to run” to “shutdown” is also possible. If this occurs, destroy will be called. During destroy, the application should release any resources it has allocated.

Running Phase

The end of start() method moves the application in running state. At this point user interface become visible and application is said to be running state. User  can start using application.

  • Note: one thing  need to know. When user plug usb cable to device,  then  the device goes to screen saver and its stop() method calls for current running application. You can’t use device when its plug with usb cable. The stop() method should pause any executing work, release any file or network resources, and prepare for the user interface to be made invisible. At this stage application move to “ready to run” state again.

Shutdown State

When use wants to quit the application, the application moves to shutdown state and stop () method is called. This pause any executing work, release any file or network resources, and prepare for the user interface to be made invisible.

That’s was a theoretical concepts for life cycle of a kindle application. Let have a quick glance over life cycle methods of kindlet.

create

is the first step in the life cycle. A reference to the application’s environment is provided to this method. This method will only be called once during the life of the Kindlet instance.

start

indicates that the application is about to become active. Upon completion of the start method, the user interface will become visible and the application will start to receive events from the user. Unlike create, start may be called many times during the overall life of the Kindlet instance. For instance, entering and exiting the screensaver results in a stop event followed by a start event. Similar cases exist for USB and other system notifications.

stop

indicates that the application should stop. The user interface will become invisible shortly after this method completes. When the user interface becomes invisible any open option panes will be closed. Stop will be called on a running application when the Kindle enters USB mode, screensaver or exits the application.

When an application is stopped, the file system may disappear. It is important for applications to close resources like files and re-open them on stop / start cycles, respectively. Additionally, any threads that are performing work should either shutdown or sleep. This includes network access, and all requests for connectivity may be cancelled on stop.

destroy

indicates that the Kindlet instance will not be used again. This permits the Kindlet to clean up resources and do any housekeeping that may be necessary on application exit.

The device may choose to shutdown an application during screen saver or USB mode to preserve battery life.

Its enough for today .. in next part, we will move to actual development, a hello world program. though i start working that part today but i felt we should discuss these things first so that while writing the code, we should know what actually going inside code and at backend of our application.

feel free to ask any thing confusing here. i will try my best to make it more simple, easy to understand as per your kind suggestions.

Be blessed. Have a nice day.

free counters

20K Visitors

Posted on


I opened my blog last nigh it was at 19,910 ..  right now its showing me 20,117 visitors so for. Its all blessings of Allah almighty and your love that my blog crossed 20K visitors count. I really thank you all, your time that you spend here to read my tutorial and other things, your comments really mean to me.

I will continue writing whatever i learn new. There are many things pending in my list, new tech updates, next parts of tutorial series, some light stuff for break time, i will make them available very soon .. and i hope you will continue supporting me by your prayers and kind comments ..

I really thank you all …
May Allah bestow you with HIS unlimited blessings Aameen

free counters

Dell Inspiron Duo

Posted on Updated on

The Dell Inspiron duo, a netbook-hybrid tablet the company showed off during September’s Intel Developer Forum, is “coming soon,” according to a promotional video posted online.

The video, however, did not disclose when Dell’s dual-core Atom netbook will be available. The 10-inch, Windows 7-based device includes a hidden keyboard, functioning as a netbook and a tablet.

“What makes the Inspiron duo unique is its dual personality – it transforms seamlessly between a tablet that delivers an immersive entertainment experience to an ulta-mobile laptop with a keyboard enabling instant productivity on the go,” a Dell spokeswoman said in a September e-mail after its appearance at IDF.

Beyond that, details about the device are vague. WiMAX will be included, but other information about storage space and connectivity options haven’t been revealed. No price for the Inspiron duo has been made public either.

Dell chief executive Michael Dell presented a seven-inch tablet prototype at Oracle’s OpenWorld. In the same vein, few details were given. Dell didn’t say what operating system it would run on, and failed to share pricing options or a shipping date.

(source:pcmage)

free counters

A Sad Song..

Posted on Updated on

when the last teardrops falls

It’s so hard to lose the one you love
To finally have to say goodbye
You try to be strong but the pain keeps holdin’ on
And all that you can do is cry
Deep within your heart you know it’s time to move on
When the fairy tale that you once knew is gone
Chorus:
When the last tear drop falls
I’ll still be holdin’ on to all of our memories
And all of what used to be
When the last tear drop falls
I will stand tall
And know that you’re here with me in my heart
When the last tear drop falls
So now I’m alone and life keeps movin’ on
But my destination still unknown, oh yeah
Will there be a time when I’ll fall in love again?
When I was meant to walk these streets alone
If there was just one wish I could be granted here tonight
It would be to have you right back by my side
Chorus
Now it’s time for me to find my happiness again
And the emptiness from missin’ you
Will never ever end, baby
Chorus

(lyrics from http://www.azlyrics.com)

 

free counters