HttpResponse to String android

HttpClient httpclient; HttpPost httppost; HttpResponse response; httppost = new HttpPost(“website-url-goes-here”); try { response = httpclient.execute(httppost); HttpEntity entity1 = response.getEntity(); InputStream is = entity1.getContent(); String w1url = convertStreamToString(is); } catch (ClientProtocolException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } catch (IOException e1) { // TODO Auto-generated catch block e1.printStackTrace(); } Add function into a class …

Last Page is Blank in Crystal Report

When you check the checkbox New Page After, you will see an icon just right to it. This icon represents Formula Workshop. Click this icon and type NOT OnLastRecord. Save and close the window, you are good to test this and praise me for the rest of your lives 🙂

SMS India Android App

SMS India Android App SMS India is an Android Application by which you can send SMS to anybody all over India free by way2sms, 160by2 and ultoo service. SMS India is not an official app of any above service. You need to GPRS (Internet) connection to send SMS. If you have an account of any …

Telerik RadList Box Checkbox Items check all or uncheck all

Aspx page: I bound the lstLocations dynamically. So it look like as below. <telerik:RadListBox ID=”lstLocations” runat=”server” CheckBoxes=”true” Width=”520px” Height=”130px”> </telerik:RadListBox> // Select All checkbox buttons <asp:CheckBox CssClass=”CBFull” ID=”chkSelectAll” runat=”server” Text=”Select All” onclick=”javascript:return ToggleAllLocations(this);” /> // Add below function in javascript function function ToggleAllLocations(checkBox) { //ctl00_ContentPlaceHolder1_RadDockLocFilter_C_lstLocations is a client id of radlistbox var listbox = $find(“ctl00_ContentPlaceHolder1_RadDockLocFilter_C_lstLocations”); …

How to schedule and automate backups of SQL Server databases in SQL Server Express

Create store procedure. // Copyright © Microsoft Corporation. All Rights Reserved. // This code released under the terms of the // Microsoft Public License (MS-PL, http://opensource.org/licenses/ms-pl.html.) USE [master] GO /****** Object: StoredProcedure [dbo].[sp_BackupDatabases] ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO — ============================================= — Author: Microsoft — Create date: 2010-02-06 — Description: Backup Databases …

How to read RSS feed using Jquery

Click here download latest plugin Getting Started First include the jQuery and zRSSFeed libraries. <script src=”http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js” type=”text/javascript”></script> <script src=”jquery.zrssfeed.min.js” type=”text/javascript”></script> Add a DIV tag where you wish the feed to display and give it an ID. There is no need to specify a class, this will be added. <div id=”test”></div> Now add the script to …

LinkedIn authentication integration

For LinkedIn Authentication I have utilized LinkedIn Rest API which use oAuth 1.0 to authorize users and begin making REST API calls using any programming language. Complete understanding tutorials are placed at https://developer.linkedin.com/documents/oauth-overview Following are the steps to implement LinkedIn Authentication in ASP.Net Step 1 Installations Install Hammock Library from CodePlex.com, Hammock is a REST …