Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

DELETED FILES

  • Loading branch information...
commit 1be987bf9e5be1befcac8d36326b5d406a8ba080 1 parent 0844028
@netonjm netonjm authored
View
44 XBSlink.Android/Resources/AboutResources.txt
@@ -1,44 +0,0 @@
-Images, layout descriptions, binary blobs and string dictionaries can be included
-in your application as resource files. Various Android APIs are designed to
-operate on the resource IDs instead of dealing with images, strings or binary blobs
-directly.
-
-For example, a sample Android app that contains a user interface layout (Main.xml),
-an internationalization string table (Strings.xml) and some icons (drawable/Icon.png)
-would keep its resources in the "Resources" directory of the application:
-
-Resources/
- Drawable/
- Icon.png
-
- Layout/
- Main.axml
-
- Values/
- Strings.xml
-
-In order to get the build system to recognize Android resources, the build action should be set
-to "AndroidResource". The native Android APIs do not operate directly with filenames, but
-instead operate on resource IDs. When you compile an Android application that uses resources,
-the build system will package the resources for distribution and generate a class called
-"Resource" that contains the tokens for each one of the resources included. For example,
-for the above Resources layout, this is what the Resource class would expose:
-
-public class Resource {
- public class Drawable {
- public const int Icon = 0x123;
- }
-
- public class Layout {
- public const int Main = 0x456;
- }
-
- public class String {
- public const int FirstString = 0xabc;
- public const int SecondString = 0xbcd;
- }
-}
-
-You would then use Resource.Drawable.Icon to reference the Drawable/Icon.png file, or
-Resource.Layout.Main to reference the Layout/Main.axml file, or Resource.String.FirstString
-to reference the first string in the dictionary file Values/Strings.xml.
View
0  XBSlink.Android/obj/Debug/R.cs.flag
No changes.
View
0  XBSlink.Android/obj/Debug/TemporaryGeneratedFile_036C0B5B-1481-4323-8D20-8F5ADCB23D92.cs
No changes.
View
0  XBSlink.Android/obj/Debug/TemporaryGeneratedFile_E7A71F73-0F8D-4B9B-B56E-8E70B10BC5D3.cs
No changes.
View
BIN  XBSlink.Android/obj/Debug/android/bin/classes/mono/MonoPackageManager.class
Binary file not shown
View
BIN  XBSlink.Android/obj/Debug/android/bin/classes/mono/MonoPackageManager_Resources.class
Binary file not shown
View
BIN  XBSlink.Android/obj/Debug/android/bin/classes/mono/MonoRuntimeProvider.class
Binary file not shown
View
BIN  XBSlink.Android/obj/Debug/android/bin/classes/mono/android/Seppuku.class
Binary file not shown
View
BIN  XBSlink.Android/obj/Debug/android/bin/classes/xbslink/android/R$attr.class
Binary file not shown
View
BIN  XBSlink.Android/obj/Debug/android/bin/mono.android.jar
Binary file not shown
View
74 XBSlink.Android/obj/Debug/android/src/mono/MonoPackageManager.java
@@ -1,74 +0,0 @@
-package mono;
-
-import java.io.*;
-import java.lang.String;
-import java.util.Locale;
-import java.util.HashSet;
-import java.util.zip.*;
-import android.content.Context;
-import android.content.Intent;
-import android.content.pm.ApplicationInfo;
-import android.content.res.AssetManager;
-import android.util.Log;
-import mono.android.Runtime;
-
-public class MonoPackageManager {
-
- static Object lock = new Object ();
- static boolean initialized;
-
- public static void LoadApplication (Context context, String runtimeDataDir, String[] apks)
- {
- synchronized (lock) {
- if (!initialized) {
- System.loadLibrary("monodroid");
- Locale locale = Locale.getDefault ();
- String language = locale.getLanguage () + "-" + locale.getCountry ();
- String filesDir = context.getFilesDir ().getAbsolutePath ();
- String cacheDir = context.getCacheDir ().getAbsolutePath ();
- String dataDir = context.getApplicationInfo ().dataDir + "/lib";
- ClassLoader loader = context.getClassLoader ();
-
- Runtime.init (
- language,
- apks,
- runtimeDataDir,
- new String[]{
- filesDir,
- cacheDir,
- dataDir,
- },
- loader,
- new java.io.File (
- android.os.Environment.getExternalStorageDirectory (),
- "Android/data/" + context.getPackageName () + "/files/.__override__").getAbsolutePath (),
- MonoPackageManager_Resources.Assemblies);
- initialized = true;
- }
- }
- }
-
- public static String[] getAssemblies ()
- {
- return MonoPackageManager_Resources.Assemblies;
- }
-
- public static String[] getDependencies ()
- {
- return MonoPackageManager_Resources.Dependencies;
- }
-
- public static String getApiPackageName ()
- {
- return MonoPackageManager_Resources.ApiPackageName;
- }
-}
-
-class MonoPackageManager_Resources {
- public static final String[] Assemblies = new String[]{
- "XBSlink.Android.dll",
- };
- public static final String[] Dependencies = new String[]{
- };
- public static final String ApiPackageName = "Mono.Android.Platform.ApiLevel_8";
-}
Please sign in to comment.
Something went wrong with that request. Please try again.