Click here to Skip to main content
11,570,945 members (60,952 online)
Click here to Skip to main content
Articles » Multimedia » OpenGL » General » Downloads
Add your own
alternative version

Create OpenGL Mono For Android Application

, 21 Feb 2012 CPOL 17.8K 781 15
Create OpenGL Application in Visual Studio
OpenGLApplication1.zip
OpenGLApplication1
OpenGLApplication1.suo
OpenGLApplication1
Assets
bin
Debug
OpenGLApplication1.dll
OpenGLApplication1.dll.mdb
OpenGLApplication1.OpenGLApplication1.apk
OpenGLApplication1.OpenGLApplication1-Signed.apk
Properties
Resources
Drawable
Icon.png
Layout
Main.axml
Values
Any raw assets you want to be deployed with your application can be placed in
this directory (and child directories) and given a Build Action of "AndroidAsset".

These files will be deployed with you package and will be accessible using Android's
AssetManager, like this:

public class ReadAsset : Activity
{
	protected override void OnCreate (Bundle bundle)
	{
		base.OnCreate (bundle);

		InputStream input = Assets.Open ("my_asset.txt");
	}
}

Additionally, some Android functions will automatically load asset files:

Typeface tf = Typeface.CreateFromAsset (Context.Assets, "fonts/samplefont.ttf");

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

Share

About the Author

amitprabhu
Web Developer
India India
Name : Amit Prabhu.
IT Exp: 8 yrs.
Lang : C#, Asp.Net, Mono - Android
Loc : Pune.

You may also be interested in...

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150624.2 | Last Updated 21 Feb 2012
Article Copyright 2012 by amitprabhu
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid