Posts

Showing posts from 2013

Nuget Package for Push Notification on Android and iOS

Continue to my previous post for Push Notification, I have generated a simplified process to implement Push notification for iOS and Android. Anyone can download my Nuget package from https://www.nuget.org/packages/EasyPushNotification/ To install Push Notification for Android and iOS, run the following command in the   Package Manager Console PM> Install-Package EasyPushNotification Web.config settings Add following keys into AppSettings into web.config file. <appSettings> <add key="APIKey" value="SOME_API_KEY"/> <add key="ApnsCertPath" value="CERTIFICATE_PATH"/> <add key="ApnsCertPassword" value="CERT_PASSWORD"/> </appSettings> For Android APIKey    is API key provided by GCM server. Follow the steps from here to generate project and obtain API key. The generated Project ID will be used to generate Device Token from Android devices. For iOS ApnsCertPath ...

Push Notification for Android

Image
Hello, Now a Days in era of smart phones and mobile app developments, a very important feature is "Push Notification". For any Mobile app (Android, iPhone, Blackberry, etc.) Push Notification is part of requirement and complete project. To know more about Push notifications please Google !! here is a quick Wikipedia link . In this post I am going to demonstrate Push notification for Android phones. As of now I don't have any Android device connected with my machine so can't get snapshots of result but one can trust me that whatever I have implemented is fully working. OK.. So Let's Start ..........  Create an Asp.net application .(whatever you like..MVC, or anything)                     I hope you are aware about NuGet Package Manager. if not refer official website of NuGet . visual Studio 2010 + comes up with inbuilt support of NuGet Packages. still can't find NuGet ...

Custom Message box and Confirm window all in one

Image
Hello, I have created a custom message box and confirm window which can be used in all programming languages and all platforms. syntex : AlertCust([Control], {Message Title}, [Message Text], {IconType}, {PromptType}, [OnOk], [OnCancel]); Description : [Control] : Optional, Pass the control which raises the prompt. in Confirm or Alert window when click ‘OK’ button is clicked, the default server event will be executed, if value is passed. if null, clicking on ‘OK’ the prompt window will be closed, no further action. {Message Title} : Required, Message Title. Title will appear in bold font. [Message Text] : Optional, Message text in second line, in normal fonts. {IconType} : Required, Enum values. pass icon type to display icon specific to message. options Error, Warning, Information {PromptType} : Required,   This property helps to decide what kind of prompt we need. e.g. Validation, MessageBox(OkOnly), OKCancel, YesNo. [OnOk] : Optional, To provided custom callback met...