Logging framework for monotouch and monodroid - xamarin.ios

Is there any logging framework for monotouch and monodroid?

Not sure if this is what you're asking, but the Android.Util.Log class is available. See http://docs.mono-android.net/?link=T:Android.Util.Log
The System.Diagnostics.Debugger.Log class is available in both Monodroid and Monotouch. See
http://iosapi.xamarin.com/?link=M:System.Diagnostics.Debugger.Log

Maybe you can try Testflight for monotouch.
There you can upload your app for testing or install the TestFlight SDK into your app for logging or getting Feedback.
www.Testflightapp.com

Related

Can I create app run with Jellybean API on android studio that have only Marshmallow 6.0 API

In my android studio there is only the Marshmallow 6.0 API. Can i create the app also run on jellybean API without downloading the API of Jellybean? Thank you
Yes, you can develop an app that runs also on an older version of Android. You should define "Min SDK version" for the module appropriately. If your code uses APIs that are not available on JellyBean, it's your responsibility to see that these APIs are not called. You can check Build.VERSION.SDK_INT at runtime. It is nice to use TargetAPI annotations to avoid warnings about such code.
See also Writing backwards compatible Android code

Build a dll for Monotouch from an iOS SDK

I'm building an iOS app with Monotouch. I need to use the iOS SDK of an app called AppsFlayer or AD-X
Adeven
Adways Interactive
Apsalar
Appsflyer
CyberAgent
CyberZ
HasOffers
Kochava
Kontagent
Localytics
Septeni
Swrve
Trademob
any of the following. I can't find dll for them. My question is how can I generate a dll from an iOS SDK. Thanks.
You can use an Obj-C library by creating a binding for it. Xamarin has a tool, Objective Sharpie, that helps automate this process.
HasOffers has a Xamarin plugin now: https://github.com/MobileAppTracking/xamarin-plugin .

Sharing projects with MonoTouch

I have a class library project (developed in VS) which I want to share with a MonoTouch project I'm working on. The problem is that when I try to add a reference to the library project in MonoDevelop an error is displayed saying 'Incompatible target framework: v.NETFramework,Version=v3.5)'.
From what I've read on the web I have to create another class library project in MonoDevelop and then link all the project files from the original into it...I'll do this if I have to but i'd rather have a cleaner solution to this, if not a simple project file fix then maybe a script I can run...
Regards
Lee
A Portable Class Library would be the way to go, but unfortunately not yet properly supported in the current version of MonoDevelop with MonoTouch. Work seems to be in progress though.
You do have to create a class library project in MonoDevelop. The library has to be compiled with the MonoTouch version of the framework.
The reason for this is MonoTouch framework is based on the Silverlight lightweight version of the .NET framework.
See here http://docs.xamarin.com/ios/about/assemblies for more info.

monotouch rest starter kit support?

I am trying to write my first app using mono and monotouch, that will be a rest client app.
does monotouch supports the rest starter kit dlls(Microsoft.Http.dll) ?
which options do i have to write a rest client on monotouch ?
Thanks
Hammock on github also supports MonoTouch. Just clone, open Hammock.MonoTouch.sln, build, and pick it out of the /bin/mono folder in the project root.
RestSharp on github!

Can I use the .NET Google GData client in a MonoTouch or MonoDroid app?

Is it possible to reference a library such as the Google GData .NET client in a MonoTouch or MonoDroid app? It would make integration with Google's services much easier.
Thank you.
To get that library (or any library, really) to work against MonoTouch or Mono for Android you'd need to compile it against that profile. Out of the box the GData client won't compile against those profiles because it has some dependencies that aren't compatible. There's a post up here by Mike Bluestein that talks about getting it working with MonoTouch. The same approach should also apply to Mono for Android.

Resources