diff --git a/src/MyPrayerJournal.Mobile.Android/Assets/AboutAssets.txt b/src/MyPrayerJournal.Mobile.Android/Assets/AboutAssets.txt deleted file mode 100644 index ee39886..0000000 --- a/src/MyPrayerJournal.Mobile.Android/Assets/AboutAssets.txt +++ /dev/null @@ -1,19 +0,0 @@ -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"); \ No newline at end of file diff --git a/src/MyPrayerJournal.Mobile.Android/MainActivity.fs b/src/MyPrayerJournal.Mobile.Android/MainActivity.fs deleted file mode 100644 index 44e9dbc..0000000 --- a/src/MyPrayerJournal.Mobile.Android/MainActivity.fs +++ /dev/null @@ -1,33 +0,0 @@ -namespace MyPrayerJournal.Mobile.Android - -open System - -open Android.App -open Android.Content -open Android.OS -open Android.Runtime -open Android.Views -open Android.Widget - -type Resources = MyPrayerJournal.Mobile.Android.Resource - -[] -type MainActivity () = - inherit Activity () - - let mutable count:int = 1 - - override this.OnCreate (bundle) = - - base.OnCreate (bundle) - - // Set our view from the "main" layout resource - this.SetContentView (Resources.Layout.Main) - - // Get our button from the layout resource, and attach an event to it - let button = this.FindViewById