Wednesday, September 24, 2008

iPhone Application Development – iPhone Accelerometer

Have you ever thought how the iphone displays the websites and the games you are playing on iPhone in portrait as well as landscape mode?

Here are points that would answer your query:-

1. A built in accelerometer responds to the major motions of the iPhone.

2. When you rotate your iPhone from Portrait mode to Landscape mode, the accelerometer detects the movement and changes the display accordingly.

3. So you can view a web page in portrait as well as landscape mode.

4. There are three elements that are used by accelerometer silicon mass, a set of silicon springs, and an electrical current.

5. The rotating iPhone causes the fluctuation which causes the electrical current to flow across the silicon spring.

6. The accelerometer registers these fluctuations and tell iPhone to adjust the display settings accordingly.



Google Phone debutes on 22nd October

Finally, google has come into mobiles. It's first phone was revealed today by T-Mobile USA, and it looks a lot like an iphone. Have a look:


T-Mobile USA showed off the G1, a phone that, like Apple Inc.'s iPhone, has a large touch screen. But it also packs a trackball, a slide-out keyboard and easy access to Google's e-mail and mapping programs.

T-Mobile said it will begin selling the G1 for $179 with a two-year contract. The device hits U.S. stores Oct. 22 and heads to Britain in November and other European countries early next year.

Android, the free software powering the G1, is a crucial building block in Google's efforts to make its search engine and other services as accessible on cell phones as they already are on personal computers. The company believes it eventually might make more money selling ads that get shown on mobile devices than on PCs, a channel that will generate about $20 billion in revenue this year.


Monday, September 22, 2008

New Web Site Development Worksheet

A new Web site is a big investment. To get the most out your site, therefore, it's helpful to establish what you want -- and need -- early in the planning stages. Whether your organization is in the process of creating a new Web site or revamping an existing one, these questions are a good place to start.

  • What is your organization's message? What do you want to communicate through your Web site?
  • If your organization already has a site, how will your new site improve what you already have? What can it bring you that your existing site doesn't?
  • If your organization doesn't already have a site, what will be the benefits of online exposure?
  • Who is your audience? Who would you like to reach?
  • How would your targeted audience use your organization's site? Why would they visit it? Why would they return to it?
  • How can your site best present your organization's point of view? What tone or voice is appropriate for your audience?
  • What will your site's main function be? Will it be a research or a development tool? A promotional space? A fundraising device? What will your site accomplish?
  • What types of content will your site include? How will this content be organized?
  • Are there other sites -- or features on other organization's sites -- that you want to emulate?
  • Should your site's look and feel be consistent with the other collateral your organization produces? How should it correspond, and how might it deviate?
  • What is your budget? (When calculating this budget, remember to factor in costs for both setup and maintenance.) You may need to do some research or get quotes to determine how much various features and services cost.
  • If your budget isn't enough to cover what you want, how might you get additional funding for your site? What additional resources can your organization allocate to Web development?
  • Can you create your new site in-house? How about maintain it? Who will provide for ongoing maintenance and updating?
  • If you aren't creating your new site in-house, who can you hire to do it? An individual consultant? A design firm? How will you go about sourcing these vendors?

Saturday, September 20, 2008

Asp.Net: Problem with the OnClientClick event of a Button Web Control

While working an ASP.NET 2.0 project today I ran across a problem with the OnClientClick event within the Button Web Control. The problem is that .NET renders this button:

<asp:Button ID="btnSave" runat="server" Text="Save & close" OnClientClick="Update ();" />
as

<input type="submit" name="btnSave" value="Save & close" onclick=" Update();" />


So when I click on the button, my JavaScript fires correctly but the page then submits – so to control this I added return false after my client-script ran, like so:

<input type="submit" name="btnSave" value="Save & close" onclick=" Update();return false;" />


This however, does not work; the page still submits. After looking at the rendered HTML I can see the problem right away -the button type is submit. What I need is for it to be a type of button.

An input control of type button, will not automatically submit the form. But how do I get .NET to render one?
The solution I found was in .NET there is an attribute (boolean) to the Button WebControl called UseSubmitBehavior. By setting it to false in the WebControl, like so:

<asp:Button ID="btnSave" runat="server" Text="Save & close" OnClientClick=" Update(); return false;" UseSubmitBehavior="false" />


Renders the input control like I want it to, as a button:

<input type="button" name="btnSave" value="Add" onclick=" Update(); return false;__doPostBack(‘btnSave’,'')" />


Notice that I still need to stop the execution of the JavaScript by returning false because .NET added __doPostBack(‘btnSave’,'') to the onclick event.

But the main difference is that by returning false the page DOES NOT submit. Now, I can go back to writing my client-script to manipulate the page and capture those changes when the real submit button is clicked and the server code takes over.

Domain Names::--

What is Domain Name
The domain name is the thing that comes after the at sign (@) in an email address
like user@leewayhertz.com (here leewayhertz is the domain name)


Some
TLD(top-level domain)
The last word in a domain Like .com, .int, .net, .gov, .org, .biz etc(also called the top-level domain) TLD.

It Stands for..
.com= commercial business, a company
.int= International
.net= Network provider, Internet Service Provider etc.
.gov= governmental agency
.org= Non-profit institution
.biz= Businesses

Some Short Domains
There are so many short domains are Available in this world. Like xy.com, ab.com, in.com etc..
In in.com give your name and they will provide you a cool, short @in.com email address You can sign Up through this link for your short @in.com email address http://www.in.com/

Friday, September 19, 2008

iPhone 2.1 Software Update

The iPhone 2.1 software update contains many bug fixes and improvements.

Install the new version to your iPhone to get better features!!!

* Decrease in call set-up failures and dropped calls
* Significantly better battery life for most users
* Dramatically reduced time to backup to iTunes
* Improved email reliability, notably fetching email from POP and Exchange accounts
* Faster installation of 3rd party applications
* Fixed bugs causing hangs and crashes for users with lots of third party applications
* Improved performance in text messaging
* Faster loading and searching of contacts
* Improved accuracy of the 3G signal strength display
* Repeat alert up to two additional times for incoming text messages
* Option to wipe data after ten failed passcode attempts
* Genius playlist creation

Thursday, September 18, 2008

Social Marketing Manager

Social media marketing is the process of promoting your site or business through social media channels and it is a powerful strategy that will get you links, attention and massive amounts of traffic.

Benifits:

  • It’s natural.
  • It’s defensible.
  • It’s low-cost/high returns.
  • It complements other efforts.
The Five Pillars of Social Media Marketing

Any and all forms of Social Media Marketing tactics fall under at least one of these five forms of action. Often the same channel will incorporate two or more of these:

1. Declaration of Identity
2. Identity through Association
3. User-initiated Conversation
4. Provider-initiated Conversation
5. In-Person Interaction

Identity-based Interaction is your declaration of your value, who you are, and where you can be found. Your customer happens upon your online identity that you, as a provider, define and declare. This is anything from your About Us pages on your blog or website, to your MySpace profile, to your Naymz profile. Here, there is very little interaction outside of your own declaration, but this becomes critical in defining how you can benefit your marketplace.

There has been a recent outcrop of websites created purely for this function. An expanded business card, if you will. Most also include the opportunity to link to your other forms of presence online, bringing together your presence in one place…well, kind-of. They include:

* Naymz
* Ziki
* ClaimID
* SuprGlu
* LinkedIn

Association-based Interaction is your customers’ opportunity to associate themselves with you and you with your customers. Most obviously, this is accomplished through things like becoming “Friends” on MySpace, you and your customers’ BlogRoll, or through their social bookmarking. This is your customer wearing your company’s logo proudly - Like Andy wears his Beatles shirts.

The most explicit form of allowing for this ability is through social bookmarking sites. I say this, and not social networking sites, because this is the sole function of these sites. Make it easy for your customers to bookmark your site, blog posts, etc with their favorite tool.

* del.icio.us
* Furl
* blummy
* Ma.gnolia
* StumbleUpon
* BlinkList

User-initiated Conversation is your users’ opportunity to create their own declarations or questions, and your opportunity to respond. This is your opportunity to be there and cater to them. Here, you serve your customers.

Perhaps the most cut-and-dry examples of this lie in messageboards, forums and “groups” sites such as Google Groups, Yahoo! Groups, community sites, etc. So, how do you find these conversations? Andy Beal’s Online Reputation Monitoring Beginner’s Guide. Here, he walks you through, step-by-step, how to find out what conversations are being initiated by others online.

In order to get directly involved with your customers, the most well-known example of this is “GoogleGuy” on the WebmasterWorld forums, is through your users’ forums, and sites such as:

* Yahoo Groups
* Google Groups
* AOL Groups
* MSN Groups
* Topica EMail Lists
* Kaboodle Groups
* Eurekster
* tribe.net
* Ning

Provider-initiated Conversation is your chance to find out what your customers think, feel, love and hate about your product. Ask them. Challenge them. Present yourself to them, but do so respectfully. As much as it’s an opportunity for them to tell you what they love and hate about your product, it’s also their choice whether to do so or not. Be kind. Be respectful. Appreciate their time.

Although it’s not a primarily online company, there is one company that has made this their culture. Seeking feedback and input from its customers 24/7/265. And it is: Current.tv. There’s little-to-no format, except for about half of the content is contributed by its users. If you haven’t seen it or don’t have digital cable, find someone who does and watch it. Do that this week, you won’t regret it.

Social networking strategies for connecting with your customers can certainly be complex, tricky and cumbersome, so I’ll be writing up strategies in the very near future to hopefully assist on those fronts. In the meantime, find your customers and interact with them here:

* Myspace
* Bebo
* Friendster
* Consumating

In-Person Interaction
is the pinnacle form of interaction with your customers. You’re interacting with them online, why not in person? Does it get better than that? This is where relationships are built and authentic conversation is had with so much more input, feedback, collaboration and communication. I had a seven hour conversation with a good friend last night. It was one of the best conversations I’ve ever had about so many things, and I could have never had that quality of a conversation online. Nothing beats face-to-face.

Get out there. Meet your customers. Let them interact with other customers. Build your community. Go to conferences…better yet, organize your own gatherings.

To help this along, coordinating, managing attendee status, etc, there have been several sites that can help in either finding local events or coordinating your own:

* Meetup
* BarCamp
* Evite
* Upcoming
* Eventful