Browse Source

Booking Sounds and other assets

master
Kaustav Chaudhuri 1 year ago
parent
commit
4bdb50639f
4 changed files with 19 additions and 0 deletions
  1. +19
    -0
      GMCabsDriverAssistantSolution/Platforms/Android/Assets/AboutAssets.txt
  2. BIN
      GMCabsDriverAssistantSolution/Platforms/Android/Assets/newbooking.wav
  3. BIN
      GMCabsDriverAssistantSolution/Platforms/Android/Assets/scan_fail.wav
  4. BIN
      GMCabsDriverAssistantSolution/Platforms/Android/Assets/scan_success.wav

+ 19
- 0
GMCabsDriverAssistantSolution/Platforms/Android/Assets/AboutAssets.txt View File

@ -0,0 +1,19 @@
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 your 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");

BIN
GMCabsDriverAssistantSolution/Platforms/Android/Assets/newbooking.wav View File


BIN
GMCabsDriverAssistantSolution/Platforms/Android/Assets/scan_fail.wav View File


BIN
GMCabsDriverAssistantSolution/Platforms/Android/Assets/scan_success.wav View File


Loading…
Cancel
Save