Exception or error: I just finished adding C# Web API components (Web API Models & Controllers) to a localhost copy of an existing project. This Web API’s GET-methods should be called from an Android app. In this link it’s explained I should use 10.0.2.2 on the Android Emulator to get the computer’s 127.0.0.1. When I …
Tag: c++c++
c# – MQTT vs. XMPP Which Should I Choose?-ThrowExceptions
Exception or error: Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 12 months ago. Overview I am sending messages back and forth between a client (Android phone) and a Server …
c# – Xamarin forms android Application not getting DeviceToken Parse SDK-ThrowExceptions
Exception or error: I’m developing xamarin forms application for both android and iOS. I’m implementing the PushNotifications for the same using Parse SDK. I’ve added Parse.Android dll in references of .Droid project and Parse.iOS dll in references of .iOS project. My problem is sometimes on Android I’m not able to retrieve the DeviceToken. There’re no …
c# – "aapt.exe" exited with code 1 when building Mono for Android project-ThrowExceptions
Exception or error: I put together a fairly simple Mono for Android application that does nothing more than play an “AndroidResource” MP3 in a background service (copied from Greg Shackles latest Visual Studio Magazine article on Background Services in MfA). I put the code together, with my own custom MP3 file, and tried to build …
Send push to Android by C# using FCM (Firebase Cloud Messaging)-ThrowExceptions
Exception or error: I am using this code to send notification message by C# with GCM, using Winforms, Webforms, whatever. Now I want to send to FCM (Firebase Cloud Messaging). Should I update my code? : public class AndroidGCMPushNotification { public AndroidGCMPushNotification() { // // TODO: Add constructor logic here // } public string SendNotification(string …
c# – Developing android applications using Xamarin Vs Native android-ThrowExceptions
Exception or error: Closed. This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 6 years ago. Does anybody know to give me a comparison of advantages and disadvantages in programming through C# …
Convert C# hashing function into PHP-ThrowExceptions
Exception or error: I have the following function in C#, a hashing function which I need converted into PHP. I’ve tried a few things in PHP but I don’t get the same results (I’m not at all good with .NET) private static string GetSignature(string args, string privatekey) { var encoding = new System.Text.ASCIIEncoding(); byte[] key …
c# – Class vs. Interface-ThrowExceptions
Exception or error: I have a quite basic question: When should we decide to use Interface or Class for a specific class? For example: says we have 2 classes, Customer and Doctor. In Inheritance (class): we could set these 2 classes to inherit from parent class Person. Couldn’t we do the same with Interface? Says …