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
Dean Herbert
eee3d83ed2
Disable sdk linker for android debug releases
...
Aimed to improve build time (especially for CI builds).
The additional lines come from visual studio. I'm intentionally
committing its output so it doesn't cause a diff on further csproj
changes.
2021-04-05 19:36:38 +09:00
Dean Herbert
6f01070408
Add weird android package requirements
2021-03-29 23:11:24 +09:00
Dean Herbert
02194a93cb
Apply missing additions to android project
2021-03-08 15:22:03 +09:00
Susko3
32556b1898
add Exported = true
to Activity manifest
2021-02-20 02:32:44 +01:00
Susko3
fed2dea735
remove unnecesary view intent filter
2021-02-10 18:13:59 +01:00
Susko3
97e799a26b
add more MIME types to Android share intent filter
2021-02-10 18:10:31 +01:00
Susko3
153149554b
add more mime types
2021-01-21 16:25:16 +01:00
Lucas A
4266c67bb6
Remove duplicated code path in switch.
2021-01-02 19:19:55 +01:00
Lucas A
324f80d994
Fix merge conflicts.
2021-01-02 19:14:10 +01:00
Susko3
eb64e6bf4d
Remove duplicate application/octet-stream
2020-12-30 23:35:07 +01:00
Susko3
770a5a85df
Merge Intent.ActionSend into one IntentFilter
...
Co-authored-by: Lucas A. <game4allyt@gmail.com>
2020-12-28 20:57:08 +01:00
Susko3
d971aa5295
Remove file intents and add Send intent
...
Removed IntentFilters with DataScheme = "file"
Added Intent.ActionSend with application/octet-stream and application/zip
2020-12-28 15:54:21 +01:00
Susko3
b352c1503f
Fix IntentFilter capturing all file types
...
Removed string arrays and split the IntentFilter into multiple. Also added DataHost and DataMimeType
2020-12-28 15:13:33 +01:00
Lucas A
e9e0e18dc5
Fix missed change in merge conflict...
2020-12-27 14:11:30 +01:00
Lucas A
7ae4979882
Fix merge conflicts.
2020-12-27 13:52:45 +01:00
Lucas A
06bc3cd54d
Apply review suggestions.
2020-12-24 00:17:26 +01:00
Lucas A
78b8c60f19
Opt for SingleInstance launch mode
2020-12-23 13:38:33 +01:00
Lucas A
ea5da53597
Handle URL links with the osu scheme.
2020-12-23 13:31:27 +01:00
Lucas A
9d89069245
Add ability to import multiple files at once on android.
2020-12-16 20:33:29 +01:00
Lucas A
5d7294451f
Refactor Import() overload to take a list of import tasks instead.
2020-12-16 14:28:16 +01:00
Bartłomiej Dach
d0668192aa
Ensure stream disposal & move entire operation inside task
2020-12-15 21:25:53 +01:00
Bartłomiej Dach
f9d7945a6f
Remove non-functional replay import for now
2020-12-14 21:03:49 +01:00
Bartłomiej Dach
3e3be56e46
Touch up and clarify intent handling
2020-12-14 20:25:42 +01:00
Bartłomiej Dach
1f6e5f4d32
Copy archive contents to memory stream
2020-12-14 20:11:53 +01:00
Bartłomiej Dach
a323c5ce58
Use most backwards-compatible overload for query
2020-12-14 20:01:30 +01:00
Dean Herbert
38e0b4e64d
Remove unused using statements
2020-12-14 18:13:32 +09:00
Dean Herbert
7bf0480848
Tidy up android-side code quality
2020-12-14 18:12:23 +09:00
Lucas A
6da854e37c
Move scheduled import logic to OsuGame.
2020-12-09 13:32:59 +01:00
Lucas A
aa7d22460d
Override Import() instead.
2020-12-08 19:46:55 +01:00
Lucas A
c778646f10
Add support for importing replay files.
2020-12-07 18:01:57 +01:00
Lucas A
2ea8b105d5
Apply review suggestions
2020-12-06 18:46:30 +01:00
Lucas A
0266410368
Allow importing files through the android share sheet.
2020-12-05 18:30:40 +01:00
Lucas A
280abdc473
Use ContentResolver for getting filename.
2020-12-05 11:50:08 +01:00
Lucas A
dd21de0cd5
Fix code inspections.
2020-12-04 22:07:45 +01:00
Lucas A
827e957568
Allow importing osz files / osk files from Downloads directory.
2020-12-02 18:03:49 +01:00
Lucas A
2e5a40eddf
Add an IntentFilter to handle osu! files.
2020-12-01 20:12:09 +01:00
Lucas A
cd7c3021ca
Trigger lock update on loading.
2020-10-19 10:01:24 +02:00
Lucas A
371aecfca0
Fetch OsuGameActivity through DI instead.
2020-10-18 20:07:42 +02:00
Lucas A
9cd595800a
Subscribe to event handler instead.
2020-10-18 19:42:05 +02:00
Lucas A
b60dfc55b6
Apply review suggestions.
2020-10-16 19:21:51 +02:00
Lucas A
e823575751
Lock screen rotation while in gameplay.
2020-10-15 19:36:49 +02:00
tytydraco
feb39920c5
Allow rotation lock on Android to function properly
...
According to Google's documentation, fullSensor will ignore rotation
locking preferences, while fullUser will obey them.
Signed-off-by: tytydraco <tylernij@gmail.com>
2020-10-03 00:48:49 -07:00
Rsplwe
ebbc829891
disable HardwareAccelerated
2020-07-07 00:15:27 +08:00
Dan Balasescu
c5358cbb6b
Remove blank line
2020-06-16 21:01:10 +09:00
Dean Herbert
115ea244be
Add note about substring usage
2020-06-16 20:20:46 +09:00
Dean Herbert
3f1b9edabe
Fix regression in android build parsing behaviour
2020-06-16 20:19:56 +09:00
Dean Herbert
8b5de7403f
Fix android usage of obsoleted VersionCode
2020-05-08 15:12:29 +09:00
Dean Herbert
6477a7b73e
Centralise creation of UpdateManagers
2020-03-05 13:34:04 +09:00
smoogipoo
a4edd3b8a1
Fix iOS/Android lockups by disabling LLVM
2020-02-27 09:24:54 +09:00
Huo Yaoyuan
140278bf4c
Bump Xamarin.Android version to 10.0
2019-11-18 18:35:58 +08:00
miterosan
6e32557be3
Fix spelling error
2019-10-20 22:29:29 +02:00
miterosan
6da1b4d012
Fix incorrect current directory that accours on some devices on android.
2019-10-14 21:46:01 +02:00
Dean Herbert
07ec163daa
Fix version fallback logic
2019-09-24 18:12:04 +09:00
Dean Herbert
c6fe8587e3
Read build from VersionCode
2019-09-24 17:45:45 +09:00
Shane Woolcock
7dd62ae6f3
Remove Android BASS libraries
2019-08-09 20:48:08 +09:30
Dean Herbert
1b29cfea3a
Update android icon
2019-07-12 18:24:49 +09:00
Dean Herbert
d2ebf296d9
Release with better compilation options
2019-07-04 13:07:59 +09: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
miterosan
0acaf53c9b
Revert everything except removall of the bass.dll
2019-07-03 17:25:42 +02:00
miterosan
66eb979fff
Massivly deduplicate properties. Removed bass.dll. is it unused (and not included in the apk)
2019-07-03 15:51:20 +02:00
Dean Herbert
f45b42021f
Change app label to just "osu!"
2019-07-02 19:55:32 +09:00
Dean Herbert
486e7e4e1e
Remove unnecessary file
2019-07-02 19:44:04 +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
miterosan
bc821fcc5d
Add native bass libs for x86 Android
2019-07-02 19:39:25 +09:00
Albert Tang
4cb2c4b494
Support both landscape and portrait mode
...
Co-Authored-By: miterosan <33435289+miterosan@users.noreply.github.com>
2019-06-25 17:54:14 -05: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
c0471019ff
Very minor changes
2019-03-17 09:39:07 -05:00
tangalbert919
999b947153
Update Android csproj files
2019-03-05 17:55:18 -06:00
tangalbert919
c62848df5a
Update license header
2019-01-30 18:07:32 -06:00
tangalbert919
b18eebfd70
Get icon working for osu.Android
2019-01-09 19:31:42 -06:00
tangalbert919
6624a91697
Remove Resource.designer.cs
2019-01-08 21:42:52 -06:00
tangalbert919
48686bdb30
Fix osu.Android Android manifest
2019-01-06 18:18:11 -06:00
tangalbert919
8159905ca0
Code File Sanity
2019-01-05 23:48:57 -06:00
tangalbert919
e5dd95198a
Cleanup project files with common props
2019-01-05 23:17:55 -06:00
tangalbert919
ddce608f97
Setup osu.Android solution and its ruleset tests
2019-01-05 22:15:09 -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
214908aaa0
Add opsu migration, fix font not rendering
2018-12-14 09:27:02 -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