Friday, October 4, 2013

Create a simple Android Application using Eclipse


Open Eclipse -> File -> New Project -> Android Application Project









Run As -> Android Application -> Select Android Virtual Device -> Emulator will open as below.


That's it.

What is OAuth

OAuth is an authentication process through which we can access an external application data.

For example, if your application wants to talk to facebook or twitter and get some information and use it in your application. The information will be accessed by using an API of that particular site.

You need to visit the site and get the information. You need not send userid and password to share the resources.

To access any API using OAuth, Visit the site url of service provider where we need to register.Fill up the details.

Get API key, Consumer Key and Consumer secret key from relevant site.Use it in your application through url.

Build SharePoint 2013 farm on Cloud environment

Windows Azure allows you to install and manage your SharePoint environment on cloud like you do on premises. Services will be charged based on the space consumed by your SharePoint farm and Visual studio. Its bit costly to maintain.Azure does not include SharePoint , Visual Studio,Microsoft SQL Server and Microsoft BizTalk Sever licenses which must be purchased. MSDN subscribers also get special rates for running servers within Azure.

Azure provides the following services for SharePoint development:

  • Create and run Virtual Machines
  • Develop a modern app using Cloud Services
  • Build and deploy Web Sites
  • Store, backup and recover data

Simple steps to setup SharePoint environment.

Login to https://manage.windowsazure.com, Sign up for a FREE Trial of Windows Azure

Select the plus sign (+) at the bottom of the Portal


Select Compute>Virtual Machine>From Gallery

Register a DNS Server in Windows Azure. Enter all details

Define a Virtual Network in Windows Azure.  Enter all details

Configure Windows Server Active Directory in a Windows Azure VM.  Enter all details

Configure SQL Server 2012 in a Windows Azure VM.  Enter all details

Configure SharePoint Server 2013 in a Windows Azure VM.  Enter all details. Once the VM is provisioned, connect to that VM using RDP and click on the SharePoint 2013 Products Configuration wizard.

Open Word Document, Excel and PowerPoint files without MS Office on your computer

Using Google dos you can view files without MS office gets installed on your PC.

http://docs.google.com/

Recommended Stocks in the month of October 2013

  • JustDail 
  • AEGISCHEM
  • Sobha Developers

Register the host header of sharepoint web application in DNS Server

Create a web application using central administration or using Powershell if not created.

Connect to DNS Server

Go to your domain name in the explorer: somedomain.com and right-click on it.

Click New Host (A or AAA)

Enter the Name and IP Address

Go to IIS Manager -> Select Web application -> Right click + Edit Binding -> Edit -> Enter IP Address and Host Name

Browse the site

Thursday, October 3, 2013

Language Translator Script

Do you want to translate your text into another language. You can use Google translator API. But it is paid service:

https://developers.google.com/translate/v2/getting_started

Alternatively, you can use Jquery plug-in which is free

http://code.google.com/p/jquery-translate/wiki/General