Wednesday, November 11, 2009
Google prOgramming language - GO
Their one goal behind this is to increase the developer productivity and efficiency by giving them a faster compiler.
As Google says this is even capable to be used in developing system software and it is powerful than C but not than C++.
Read more on this at http://mashable.com/2009/11/10/go-google-language/.
Get Going at http://golang.org/.
Wednesday, November 04, 2009
STSADM
You will be able to find this executable at,
%COMMONPROGRAMFILES%\microsoft shared\web server extensions\12\
For example - C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
To learn more visit the following TechNet link.
http://technet.microsoft.com/en-us/library/cc261956.aspx
Following link will have the list of operations and properties.
http://technet.microsoft.com/en-us/library/cc263384.aspx
STSADM Error
If anyone of you are not knowing wht STSADM is please refer my earlier post with links to get more information.
However powerful STSADM is, while using it suddenly Windows might tell you that STSADM is not a valid Win32 application.
If you check the file you will also notice that the Windows icon of that exe is disappeared and also the file size is 0.
The good thing is that you will be able to get the file from another SharePoint installation and replace, then everything will start working normally.
Tuesday, November 03, 2009
Flight Simulation
Saturday, October 31, 2009
WSUS
Monday, October 05, 2009
Editing NTFS Drive Contents on Mac OS
To enable editing in the disk you will be needing to install the NTFS driver.
If you are searching for a driver, download NTFS-3G Stable Read/Write Driver from NTFS-3G.
Wednesday, September 30, 2009
How to Hard Reset i-mate JASJAM
Wednesday, September 23, 2009
Distributing BlackBerry Applications Over Internet
Step 1 - Prepare the Files
When you compile the source code of the application you will be getting a .cod file.
Check the file size of it, if the cod file is less than 55KBs then you can use it without doing anything more.
If that is larger than you need to do the following trick to make the application distributable over the internet.
- Change the extension of the cod file to zip.
- Unzip the zip file.
You will now see a set of cod files with names like App-1.cod, App-2.cod, App-3.cod, etc.
Step 2 - Prepare the ServerTo make BlackBerry devices correctly identify and download the files you need to add or update the Multipurpose Internet Mail Extension (MIME) types in your web server. The required MIME types are as follows.
File Name Extension - MIME Type
cod - application/vnd.rim.cod
jad - text/vnd.sun.j2me.app-descriptor
jar - application/java-archive
If you need more details on how to set MIME types in different web servers please contact me, I will try to provide you with more details.
Now place the cod files we prepared in Step1 in the server.
Thursday, September 17, 2009
BlackBerry Network Diagnostic Tool
BlackBerry have provided a good tool named "Network Diagnostic Tool" which is essentially a role model that answers all these questions and is a functional diagnostic tool for testing a URL over various transports supported by the BlackBerry solutions, as well as for displaying the values of many network attributes during the test period.
You will be able to download it freely from BlackBerry knowledge base.
If you need to know more about the available transports and more in depth details on the network diagnostic tool, better visit the Article Number: DB-00684 at the BlackBerry knowledge base.
Setting APN Automatically
After some searching on the net I found one way to achieve this is by identifying the mobile network and then setting the connection properties appropriately.
The steps involved is as follows.
Step 1
Identify the network the phone is currently in.
If you need help on this go to this URL.
Step 2
Get the APN settings for your network.
The way here is to have a file with all the settings of different wireless service providers you intend to run your application on, and then compare the value returned from Step 1 and get to the particular APN.
I suggest you to keep a XML or text file with the following details of the service provider,
- Country Name
- MCC
- Carrier Name
- MNC
- TCPAPN
- TCPAPNUserName
- TCPAPNPassword
- WAPAPN
- WAPIP
- WAPPort
- WAPUserName
- WAPPassword
- WAPSourceIP
- WAPSourcePort
- IsEnableWTLS
Add the APN to the connection.
If you need help on this go to this URL.
Determining the Network
Basically in BlackBerry mobile network is uniquely identified by the Mobile Country Code (MCC) and the Mobile Network Code (MNC).
To get these details from your code what you have to do is to call
RadioInfo.getMCC()
and
RadioInfo.getMNC()
These will return the codes in decimal.
You can find a full list of MNC codes of the mobile phone operators and a list of country codes by following the following URLSs to Wikipedia.
http://en.wikipedia.org/wiki/Mobile_Network_Code
http://en.wikipedia.org/wiki/Mobile_Country_Code
If you need to access the BlackBerry knowledge base article describing the above process you can follow the following link.
http://www.blackberry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/1467358/How_To_-_Determine_the_MCC_and_MNC_of_the_current_network.html?nodeid=1467359&vernum=0
Sunday, September 13, 2009
Setting APN
APN or Access Point Name is a setting which needs to be set on the mobile when we need to get connected to internet using the phone.
APN changes from one mobile service provider to the other. For example Dialog will have http://www.dialogsl.com/ Rogers will have internet.com set as their APN.
But letting users set the APN manually is always not the preferred way. Recently we developed an application for BlackBerry which the user needed to get to the internet without he manually setting the APN. The application was supposed to be delivered through BlackBerry App World so manually setting APN was not an option. In a case like this what you have to do is set the APN programmatically into the connection.
String URL = “www.SomeServer.com”;
StringBuffer bfURL;
bfURL = new StringBuffer ();
bfURL.append (URL);
bfURL.append (";deviceside=true ;apn=internet.com");
bfURL.append (";tunnelauthusername=UserName;tunnelauthpassword=Password");
String FinalURL = bfURL.toString ();
In the above code I have set the Rogers APN in to this connection.
If you need more details on the parameters used or need to know about the other parameters you are eligible to use such as WapGatewayIP
, WapGatewayPort
, WapGatewayAPN
, etc visit the following link to view full details of the connector class.
http://www.blackberry.com/developers/docs/4.2api/javax/microedition/io/Connector.html
-
If you are wondering a way to change the column header appearing in the .Net GridView control in run time then this post will help you to ge...
-
Last week I spent few hours to figure out why Samsung Galaxy S2 was not connecting to Samsung Kies through USB cable. I could browse phone c...