google

Newest Post

Showing posts with label iOS. Show all posts
Showing posts with label iOS. Show all posts

Download Photo Editor by Aviary free of cost with tools and supplies worth $200 till Nov 30,2014

| Saturday, November 15, 2014
Read more »
Download Photo Editor by Aviary free of cost with all tools and supplies till Nov 30,2014

Aviary photo editor has collaborated with Adobe and with latest release on iOS and Android stores, this app is worth $200 including all in app purchases comprising of tools and supplies. All this can be downloaded by configuring the AdobeID, which will provide the access to CreativeCloud service by Adobe.


This offer is available for limited time (till Nov 30,14). Links to download the app 

Google Play Store

iOS



Hack To Access Google Inbox Without An Invite!! Right Here Right Now

| Friday, November 14, 2014
Read more »

Google Inbox


Google Inbox is a new service offered by Google to redefine our gmail (well may be). But this service is available on invitation basis only. Right now one Inbox user can invite max 3 people by sending emails to them.

Following is the video portraying the features in Google inbox ( In case you never heard of) 




Configuring the Google Inbox using an Invite (very simple)
1. Open your email containing the invite, Click on preferred app i.e Android or iOS (tada!!!)
2. If you have already downloaded the "Inbox" app, then it will directly takes you to the Inbox app else it will take you to Play store/App store to download the app.
3. Enjoy Inbox

Configuring the Google Inbox without an Invite (simple enough)
Here is the perfect hack for same.
1. Download the inbox app on your device
2. Find a friend who is trustworthy and has Google Inbox activated on his/her device
3. In their Google Inbox app -> Go to Manage Accounts
4. Ask your friend to add your email account and password to sign in-> Press Done
5. You will receive the Google Inbox welcome email and your account @GoogleInbox is activated
6. Sign-In on your own device in Google Inbox App
7. Delete your account from your friend's device.
8. Enjoy Inbox


In case if you don’t have access to a friend with device and inbox app, you can email at inbox@google.com and request for an invite and get on the waiting list.



Hack To Access Google Inbox Without An Invite!! Right Here Right Now

Posted by : Stranger
Date :Friday, November 14, 2014
With 0comments

Integrating PushSharp In the WCF Restful Web Service to display Push Notifications in Apple, Android and Windows devices

| Monday, September 29, 2014
Read more »
Hello Folks, Today I will demonstrate the method of integrating the PushSharp library in WCF Restful Web Service to send the Push Notifications to Apple, Android and Windows devices.


This library and its documentation is available on the GitHub at following link

Redth/PushSharp


Create a new WCF web service in the Visual Studio(Here I am using Visual Studio 2012). After creating the Web Service, Go to Tools-> NuGet Package Manager -> Manage NuGet Packages for Solution as shown in following image.




In the Package Manager, Search "PushSharp" 


After installing PushSharp NuGet Package, following dlls will be added in the bin folder of the solution. 




Next are the lines of the code which are used to send the notifications from the web service. Please consider following is the minimalist code required to send notifications to devices. For additional functionality, please go through the samples given in the GitHub library of PushSharp.

For Sending Push Notifications to the Android device.

 public void SendAdnoirdPush(string APIKey, string DeviceID, string Message)  
   {  
     var push = new PushBroker();  
     push.RegisterGcmService(new GcmPushChannelSettings(APIKey));  
     push.QueueNotification(new GcmNotification().ForDeviceRegistrationId(DeviceID)  
             .WithJson("{\"alert\":\"" + Message + "\",\"badge\":7,\"sound\":\"sound.caf\"}"));  
   }  

APIKey of the App can be obtained from the Google Developer Console.
DeviceId of the device using the App.
Message to be displayed in the Notification.


For Sending Push Notifications to the iOS device.

 public void SendiOSPush(string DeviceID, string Message, string sound)  
   {  
     var push = new PushBroker();  
     var appleCert = File.ReadAllBytes(new DirectoryInfo(HostingEnvironment.ApplicationPhysicalPath) + "/pushNotificatio.p12");  
     push.RegisterAppleService(new ApplePushChannelSettings(true, appleCert, "CertificatePassword"));  
     push.QueueNotification(new AppleNotification()  
                   .ForDeviceToken(DeviceID)  
                   .WithAlert(Message)  
                   .WithBadge(7)  
       .WithSound(sound));  
     //.WithSound("sound.caf")); //default  
   }  

DeviceId of the device using the App.
Message to be displayed in the Notification
sound to be played with Notification

For implementing the iOS Notifications, a signed certificate is required to be generated from the Developer Console. That certificate is copied in the system and Path is given as in the method above. 
Please be careful while mapping the path of the certificate. The certificate is different for sandbox and production
RegisterAppleService requires the certificate password. 

For Sending Push Notifications to the Windows phone.

 public void SendWindowsPhonePush(string ChannelUri, string pageName, string Header, string Message)  
   {  
     var push = new PushBroker();  
     push.RegisterWindowsPhoneService();  
     push.QueueNotification(new WindowsPhoneToastNotification()  
     .ForEndpointUri(new Uri(ChannelUri))  
     .ForOSVersion(WindowsPhoneDeviceOSVersion.Eight)  
     .WithBatchingInterval(BatchingInterval.Immediate)  
     .WithNavigatePath("/" + pageName)  
     .WithText1(Header)  
     .WithText2(Message));  
   }  

ChannelUri is the unique identifier for each device using the App
pageName to navigate to when notification is clicked
Header to be displayed in the Notification Header
Message to be displayed in the Notification Message


and voila!!!! DONE

Above methods can also be combined into one method to send notification to all types of devices., also If notifications are to be sent to multiple devices of same OS, then a "for" loop can be traversed as per the requirement for each method.
Prev
▲Top▲