Skip to main content

Posts

Showing posts from 2012

HTC working on Windows RT Tablets.

HTC is working on two tablets that will run Windows RT a. 12 -inch tablet b. 7- inch tablet  Its speculated that both the tablets will have the capability of making phone calls.  This means that we have another contender on board after Nokia which is investing in Windows 8 Based tablet solutions. Lets see how Microsoft performs in the market with products like Surface RT/Pro, Nokia and HTC tablet.

Invoking Web Service written in ASP.NET through jQuery which returns data in JSON Format

This post explains how we can make an Ajax Call in jQuery and invoke a Web Service that has been written in ASP.NET. Also the Web Service is going to return data in JSON Format i.e. Javascript Object Notation which is nothing but an implementation of DataDictionary concept. By default the web service written in ASP.NET will return data in XML Format. But JSON provides a faster way to get and parse data through jQuery. In this example, we will invoke a method written in Web Service by jQuery. The following steps are to be performed: Step 1: Host the Web Service written in ASP.NET We have to host the web service that has been written in ASP.NET. The following code shows a typical web service written in ASP.NET using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Services; using System.Data.SqlClient; using System.Web.Script.Services; using System.Web.Services.Protocols; /// /// Summary description for

iPhone Sales in China

Despite of news on the various websites about the lack luster response to iPhone 5 in China, Apple has announced that it has sold over 2 million iPhones in  just three days after its launch on December 14.   In a statement by Tim Cook, Apple's CEO, “Customer response to iPhone 5 in China has been incredible, setting a new record with the best first weekend sales ever in China,” Let's ses how iPhone 5 performs in the Q1 of 2013 when the Christmas season is over.

iPhone App Demos

This is for the students of iPhone. Please find the link of the file that contains demo for a. Table App b. Grouped Table App c. Filedemo https://skydrive.live.com/redir?resid=760AB0F61623B72!390  

MAX pool size reached in ASP.NET

If you are handling large databases and big application(s) that are running on servers in a cluster, then probably this error might have occurred. In an ASP.NET app, we can use connection pooling that helps to share the connection between multiple request(s) rather than creating more connections. The settings relating to connection pool are defined in web.config file. Max pool size reached error in ASP.NET occurs, when the number of connections go beyond the maximum defined limit in Web.config file. Following are the various settings of the Connection Pooling: Name Default Description Connection Lifetime 0 When a connection is returned to the pool, its creation time is compared with the current time, and the connection is destroyed if that time span (in seconds) exceeds the value specified by  Connection Lifetime . This is useful in clustered configurations to force load balancing between a running se

Microsoft Office 2013 Customer Preview Released

Microsoft has official released Office 2013 Customer Preview. This is one of the biggest customer preview releases after Windows 8. Microsoft is making big bets with this release. They are taking some bold initiatives with this release. This release is basically targeted for the touch based devices like Mobiles, Tabs etc. I have tried the Customer Preview. The very first impression is awesome...It has a beautiful interface and stability in its use. The Customer Preview comes in two models: a. Office 365 Model where we use the Customer Preview as a Cloud Service. b. Offline method (traditional .msi installater) I am running the customer preview for the last one day without any crashes and glitches. And to add on, the Customer Preview automatically picked up my Outlook data and One Note Data. Can't wait for the final release now.....

Vibration vanishes on Samsung galaxy s2 after ICS update

Some users have reported that, after they update their Samsung Galaxy S2 to ICS 4.0.3, vibration completely vanishes on the phone. I also faced the same problem. Till now, no specific reason why it happens and any update has been given by Samsung that recifies the problem. I rectified the problem using the following steps: a. Firstly put the phone in silent mode. (Even if doesnot vibrates). b. Switch off the phone. c. Switch on the phone. While the operating system loads, you will notice a small vibration at the start. If this happens, the phone's vibration facility will function properly. Normally the problem doesnot occur again. But if it occurs, repeat the same steps again. Why it happens, there is no logical reason to explain, but in my case it worked. Please try this method if you face this same problem and share your experience.

Login failed. The login is from an untrusted domain and cannot be used with Windows authentication.

Sometimes an error comes "Login failed. The login is from an untrusted domain and cannot be used with Windows authentication" in an ASP.NET application.  This normally happens when the password of Window user account on SQL Server Database machine and is impersonated, get expired. Just reset the password and the problem will immediately resolve.

How to setup Eclipse for Android Development

In order to work with Android Development Environment, Eclipse is one of the preferred tools. Following are the steps used to setup Eclipse for the development: Step 1: Download the JDK Standard Edition from Oracle's website. Step 2: Install the JDK Standard Edition Step 3: Set the path of the Bin directory of JDK installation in the Environmental variable called PATH in Windows Environment. Step 4: Download the Android SDK from Google. Step 5: Install Android SDK and Select platforms which you want to download i.e. 2.2, 2.3, Android 4.0 ICS. Step 6: Download Eclipse Software from Eclipse.org Step 7. Install Eclipse software. While installation, it should automatically pick path of JDK installation. If not picked up automatically, then specify the same in the Eclipse settings. Step 8. Download the ADT (Android Development Tools) plugin.  Step 9. Add ADT Plugin in the Eclipse. For adding: i.                In case of Indigo(E

Softwares required for Android Platform app development

Following is the list of the essential software's that are required to start developing for Android Platform: a. Java Development Kit (JDK SE) Standard Edition. b. Eclipse IDE c. ADT Plugin (Android Developer Tool Plugin) for Eclipse d. Android SDK  The above software's are required if you are going to develop for Android. Installing and setting up the environment is little bit tedious/complex task. I will explain the same in the next post.

App Development for Android Platform.

Anybody who wants to learn app development on Android needs to have the following pre-requisites: 1. Knowledge of JAVA Language. 2. Knowledge of OOPs concept. 3. Basic knowledge of XML language. If any body is already well versed with the above mentioned concepts, he /she can directly start learning App development for Android platform. If that's not the case, then then my sincere advice to all, firstly go through these concepts and then start learning Android. It will be very beneficial for you.

Registering SQL Server / SQL express with IIS and ASP.NET

In case we are working with Web Parts and Login Controls, then the installation of SQL Express becomes mandatory. We can install it by customizing the Visual Studio Installation. Afterwards we need to give the following command. C:\Windows\Microsoft.NET\Framework\v4.0.30319>aspnet_regsql.exe This will help in setting up the membership, personalization tables in the SQL Server.

IIS Installation after ASP.NET or Visual Studio has already been installed

There will be situations when we need to re-install complete IIS after the Visual Studio 2010 is already installed. This will bring in the problem of .NET Framework registration with IIS. So in order to re-configure the .NET framework after the re-installation of IIS, following command can be given: %windir%\Microsoft.NET\Framework\v4.0.21006\aspnet_regiis.exe -i

Home Button Not functioning or functioning 50% correctly in iPhone

Users of iPhone may face a problem where the home button does not respond to required actions. There are by and large two problems: a. The home button does not work at all. b. The home button works in 50% cases only. Before replacing the iPhone or getting on to the conclusion of Hardware problem, try out the following fix: Open a default iOS application, such as Calculator, Weather or Stocks. Press and hold down the Power button until the “Slide to Power Off” dialog appears, then release the Power button. Now press and hold the Home button until the “Slide to Power Off” screen disappears, force quitting the application. Why this works to fix the buttons responsiveness isn’t very clear. This procedure supposedly re calibrates the Home button.

Development on XCode

Working on iPhone Development. Its a whole new experience working on MAC Platform and using XCode. Objective C is a magical language and when combined with UIKit from Apple forms "COCOA Touch" framework. Will be posting some tutorials and examples on how to build applications for iPhone / iOS development. Stay tuned....

Coding for Windows Based Factorial Calculation (Network Socket+Multithreading)

This post is specifically for my students of C#.NET Batch (Oct 2011 - Jan 2012). Please find the coding in a DOC file. The file can be downloaded from the link given below. The single files contains: a. Server Side Code b. Factorial Client Handler c. Windows Based Client Code https://skydrive.live.com/redir.aspx?cid=0760ab0f61623b72&resid=760AB0F61623B72!334&parid=760AB0F61623B72!115&authkey=!AGKfRN2PF3G7FFQ