Latest stories

To add Print button on your web page.

T

Adding Print Button on your web page is very simple . I am giving you following simple example. <html> <head> <title>Print Test</title> </head> <body> <h1>Print Test</h1> <input type=”button” onClick=”window.print()” value=”Print This Page”/> </body> </html> The most important is ‘on click...

How to add share buttons on web Page .or To add plugin of social networking site to your web page .

H

It is very very simple work to add share button on your webpage . there are ready made code available for that . you have to just go to this url:- . in this url , you will find the  code of all  share button like facebook,twittrer, google+,gmail ,yahoomail and lots more near about there are 50 to 60 share button on this page . you have to just copy and paste these buttons code. You have privilege...

Could not load file or assembly ‘MySql.Data, Version=5.1.5.0, …” [Solved]

C

Error: If you are accessing MySql from your ASP.NET code and getting this error after uploading code to Server: Parser Error Message: Could not load file or assembly ‘MySql.Data, Version=5.1.5.0, Culture=neutral, PublicKeyToken=c5687fc88969c44d’ or one of its dependencies. The system cannot find the file specified. Solution: Make sure /bin/MySql.Data.dll exists on root folder. I was...

APEX Sharing Violation – Security Review Error Solved

A

In the process of making a salesforce app live on appexchange, we need to get our package tested and passed from security review team. During such one process, my app got rejected due to APEX Sharing Violation error as reported by Checkmarx Report. It was termed as Apex Force com Serious Security Risk. Description of Issue: The Force.com platform makes extensive use of data sharing rules. Each...

How To do Push notification in android by using C2DM

H

Step 1: Sign-up for a C2DM account with Google Follow the steps here. Normally takes a day or so before you are ready to roll.==> Step 2: Setup your Manifest Overview of the manifest changes: 1. Permission to receive C2DM messages 2. Access to the internet 3. Restrict access to your C2DM messages so no other app can see them 4. Declare a Receiver, that we’ll create later, that will let us...

How to Create Write and Read a file in iphone without using playerprefs in unity3d

H

it is not that easy to read or write file in iphone we have to give the specific path in order to read or write. here is the sample code using UnityEngine; using System.Collections; using System.IO; using System.Text; public static class GameManager { private static string path; public static void starting () { path = Application.dataPath.Substring (0, Application.dataPath.Length - 20...

How to create iPhone/iPad’s “Slide to Unlock” animation ?

H

This is how Apple implemented “Slider to Unlock” or “Slide to Power off” animation. In .h file UISlider *slider; BOOL touchIsDown; CALayer *textLayer;     – (void)viewDidLoad { self.view.layer.backgroundColor = [[UIColor grayColor] CGColor]; UIImageView *sliderBackView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@”SliderBack1.png”]]; sliderBackView.frame =...

How to create file and read/write Data in iphone/ipad

H

//Documents Directory Path NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); NSString *documentsDirectory = [paths objectAtIndex:0]; //Give file Name With Extention to create NSString *savedImagePath = [documentsDirectory stringByAppendingPathComponent:@”FileName.docx”]; [[NSFileManager defaultManager] createFileAtPath:savedImagePath...

Category