Commit Graph

15 Commits

Author SHA1 Message Date
Susko3 99481d2b77 Update `OsuGameActivity` and manifest in line with framework changes 2021-12-24 12:51:11 +01:00
Christine Chen 0a6baf670e Send a warning notification if device is unplugged and low battery
- Uses Xamarin.Essentials in osu.Game.PlayerLoader to check battery level
- Encapsulated battery checking in the public BatteryManager class so battery level and plugged in status can be accessed and edited in TestPlayerLoader
- When checking battery level, catch NotImplementedException thrown by Xamarin.Essentials.Battery on non-mobile platforms
- Added visual unit tests for battery notification
  To mock battery status and level, we had to define a batteryManager object in TestPlayerLoader and add a new function ResetPlayerWithBattery()

Co-Authored-By: Marlina José <marlina@umich.edu>
2021-04-07 15:56:50 -04:00
Huo Yaoyuan 140278bf4c Bump Xamarin.Android version to 10.0 2019-11-18 18:35:58 +08:00
Dean Herbert 70e2b83f29 Target newer api version 2019-07-04 11:40:05 +09:00
Dean Herbert 7795a16c36 Update android metadata in line with standards 2019-07-04 11:38:25 +09:00
Dean Herbert f45b42021f Change app label to just "osu!" 2019-07-02 19:55:32 +09:00
Dean Herbert 1a3cc25d6c Update in accordance with visual studio changes
Adds x86 emulator deployment target
2019-07-02 19:40:42 +09:00
Albert Tang 0ebd29c851 Add @miterosan's suggestions 2019-06-09 21:15:05 -05:00
tangalbert919 c6c98257f2 Add internet permission, update Android framework 2019-03-17 09:45:01 -05:00
tangalbert919 999b947153 Update Android csproj files 2019-03-05 17:55:18 -06:00
tangalbert919 b18eebfd70 Get icon working for osu.Android 2019-01-09 19:31:42 -06:00
tangalbert919 48686bdb30 Fix osu.Android Android manifest 2019-01-06 18:18:11 -06:00
tangalbert919 660be6a2a4 Remove ability to import from opsu!
This has been struck down by @ppy
2018-12-20 09:11:20 -06:00
tangalbert919 5d7043156b Attempt to get the icon right. 2018-12-14 09:07:17 -06:00
tangalbert919 d16f6576ca Add Android project 2018-12-13 00:10:15 -06:00