Robin Rodricks
Robin Rodricks

Reputation: 114086

Running .NET app and DLLs on an Android phone?

I've got a .NET app and some related third party DLLs, that I would like to run on an Android phone. The .NET app is written in C# and the DLLs are fully mananged, although they contain some unsafe code and work with DirectX using managed C++. Is it possible to retarget the application to Mono, and run it on the Android OS, considering that I only have a part of the application source code?

Upvotes: 0

Views: 2825

Answers (2)

kgiannakakis
kgiannakakis

Reputation: 104198

This is either impossible or very close to an Heracles's task.

Consider porting the existing code to Android and re-writing the missing bits.

Upvotes: 2

Preet Sangha
Preet Sangha

Reputation: 65546

The unsafe may be bit-twidlling in an OS specific way. I would use reflector to dump out the code and investigate what's it's doing and then see what mono makes of it.

Since it's using DirectX I'd suspect you're probably going to end up down a dead end.

I've looked at the Mono Libraries and Axiom 3D might be a useful abstraction to use if you need to re-engineer the Direct X calls.

Upvotes: 1

Related Questions