I am looking for a way to set up a virtual currency in my Xamarin.iOS app.
Has anyone set up a virtual currency in their Xamarin.iOS app?
If so which provider works well with Xamarin?
Two Providers I know of are Trialpay and Tapjoy.
I am not sure if its possible to get their library's to work in c# however. Has anyone accomplished this and can point me in the right direction?
The monotouch bindings project includes bindings for TapJoy.
Related
My team and I just developed a web base system. Next, we are planning to build an android mobile app version of the system. But none of us have experience of creating a mobile app. I did some reading from google, I saw many posting about kotlin, volley, retrofit etc.
One thing I still don't understand, can someone tell me how kotlin, groovy are different with retrofit and volley?
Is it just like web base development where one is for front end development and another one is for backend?
My app would need to constantly fetch and submit data to phpmyadmin (which I put in my VPS hosting).
Can someone give me a suggestion which library is the best for me to use to create my mobile app?
Thank you in advance!
I would like to create a SDK for mobile developers to embed my solution, but instead of writing it in Swift and Java, I would like to use Xamarin to write it once and then export to the selected target.
I'm not sure if it possible, I saw this answer : Is it possible to embed xamarin part into an existing native app?
but it was sometime ago so I wonder if things have changed or if there is a workaround, like writing a small native part just to create the bindings and export this as the sdk then...
AFAIK nothing has changed, still not possible.
We have an app written in Objective C. It uses CoreData, RestKit, about 10 viewcontrollers.
We would like to migrate it to Xamarin (so we can target Android and Windows).
I was hoping there was a way to bind the current code to a Xamarin solution and kind of rewrite features step by step within Xamarin (eg: replacing a viewcontroller at a time, and at the end replacing RestKit+CoreData, by SQLite + ServiceStack).
I am aware of the binding to Objective C option that they provide, however, it doesn't look to be the appropriate fit for this (way too complex, probably easier to rewrite the app from scratch).
Is there a way to migrate our current project to Xamarin so we can convert? or do we start from scratch?
Thanks.
Options:
Migrate full project - no;
Automatically create binding for libraries, rewrite business-code, UI-code - yes;
Rewrite from scratch using .Net/Mono classes - yes.
If code size is relatively small, you should rewrite the whole app. Moreover, thus you could have a chance to separate business-logic from UI code and tools libraries (RestKit, CoreData). In perspective, that code will be more reliable and cross-platformish.
This tool can help. It does Obj-c to C# translation (some manual cleanup required):
Automagical
Quite probably, a re-write, from scratch. One thing to keep in mind, if your back-end is .net.. and you are using DTO's.. like with AutoMapper from Entity Framework objects.. you'll be able to re-use those DTO objects on your mobile side with Xamarin. If you are using OData, I'm not sure if this is still a problem, but Xamarin studio wasn't generating OData service clients. So you had to generate them in Visual Studio, then take the generated client code and throw them into your Mobile projects.
sqllite-net is awesome. I've never had any problems with it.
https://github.com/praeclarum/sqlite-net
I currently have a project, with DTO Objects from an Azure WCF service, that I push directly down into SQLLite objects on IOS and Android with Xamarin. I use RestSharp, rather than Service Stack. I should probably go learn the difference.
If you are looking to use SQLCipher from the Component store, to encrypt your sqllite db locally on your device (Good advice to do so), you should be aware that there is an issue in android.. going to 2.2 or 2.3 with SQLCipher. Works for ICS and above though, if I remember right.
Just be careful on your security implementation for allowing clients to connect. I want to say.. don't take too much advice.. and don't take too little either. : )
We are using Xamarin Studio to create mobile applications in .NET to some platforms. Our experience show some compatibility problems to use original Log4Net but we're no tried yet the Log4Net Compact Framework (http://logging.apache.org/log4net/release/framework-support.html).
There's someone with this problem/solution ?
Thanks in advance!
There are a lot of limitations with the MonoTouch profile. But I managed to get some of the very basic appenders to work. Should give you enough to get started. It's a work in progress, so your milage may vary. Expect bugs!
https://github.com/drunkirishcoder/monotouch-log4net
Yes, it works properly! We done the follow steps:
include the log4net.dll into References (Figure 1).
added the using log4net; in using area code.
Figure 1 - Edit References
Does anyone already used db4o OO database manager in a mobile project using Xamarin Monodroid and/or MonoTouch?
Is it even possible? (It seems that db4o uses Reflection.Emit(), which could be a problem)
Thanks for your comments on this.
If you plan on your app taking to a database directly, you might be better off to setup a web service (for security reasons you don't want your database accessible over a public ip address).
If you are going to work with a local database within the app to store data, use SQLite and sqlite-net.