Commit Graph

59 Commits

Author SHA1 Message Date
Aaron Culliney
2cc23cf35d Upgrade to GPLv3 "or later" and update copyrights 2015-10-22 21:09:13 -07:00
Aaron Culliney
4abe8a8c08 Always copy potentially new symbols when booting in debug mode 2015-10-20 20:42:02 -07:00
Aaron Culliney
446d4817bd Add intent-filter and code to handle inserting disk images
- Appears to work from Cyanogenmod's file browser =P
2015-10-04 13:32:26 -07:00
Aaron Culliney
242c083180 Simplify splash screen showing logic 2015-10-04 13:30:28 -07:00
Aaron Culliney
9e86f493d0 Bugfix CPU step range values 2015-10-04 13:30:22 -07:00
Aaron Culliney
f7f43aa1b2 Clarify and send more device information in crash report 2015-09-27 14:28:10 -07:00
Aaron Culliney
0da8282b49 Attempt to handle link/load errors gracefully 2015-09-27 13:34:58 -07:00
Aaron Culliney
339d037d4e superstitiously remove synchronization of overridden lifecycle method 2015-09-27 13:31:55 -07:00
Aaron Culliney
d90b523440 process crashes in-situ on Android device 2015-09-26 15:20:54 -07:00
Aaron Culliney
88be6086a2 Refactor crash testing/reports into separate class/files 2015-09-26 15:16:30 -07:00
Aaron Culliney
0749c83c96 Avoid triggering a native resume when going to background after dismissing all Android UI
- This appeared to occasionally get audio/cpu timing wedged
2015-09-26 14:52:15 -07:00
Aaron Culliney
a6397b22d2 Code to test/exercise Android Breakpad crash handler 2015-09-19 14:52:05 -07:00
Aaron Culliney
8d3de3ddd0 Avoid NPE on showing splash screen 2015-09-15 22:41:33 -07:00
Aaron Culliney
104c0bbe6e Keep track of all AlertDialog objects to properly dispose of them upon backgrounding 2015-09-13 10:43:53 -07:00
Aaron Culliney
9c475b58eb Better lifecycle management of main menu and splash screen 2015-09-13 10:42:06 -07:00
Aaron Culliney
902cdff495 strict warnings about file I/O were getting annoying 2015-09-13 10:32:17 -07:00
Aaron Culliney
b2cb35c182 Lifecycle tweaks that get Android building again 2015-09-12 15:33:22 -07:00
Aaron Culliney
8666ca3603 Common baseline for CLI and Android Studio builds
- CLI is still super useful for GDB debugging and running emulator testcases
    - Possibly this maintenance of two build systems can all go away when Android Studio has better NDK support
2015-09-05 14:40:44 -07:00
Aaron Culliney
5b59e1c0c0 Android key click preference for GL touch keyboard 2015-09-03 22:25:38 -07:00
Aaron Culliney
2cd60c3c88 Expose all three touch interfaces in the sprouting menu for easier switching 2015-08-29 10:42:24 -07:00
Aaron Culliney
ebe7f82f22 Persist settings for currently inserted disks, and provide a way to eject disks 2015-08-22 14:44:31 -07:00
Aaron Culliney
36cb44e1e8 Clean up first-time initialization and insure touch keypad has reasonable defaults 2015-08-22 11:36:12 -07:00
Aaron Culliney
23bfd24054 Fix synchronization for showing splash screen 2015-08-21 23:35:30 -07:00
Aaron Culliney
3f934ecd3f Fix cycling between different touch devices in the GL touch menu 2015-08-21 23:33:08 -07:00
Aaron Culliney
85407cfabb Refactor GL Touch Joystick (PART II Java-is-not-native changes)
- Adds general key-tap-calibration callback to menus
    - Adds Touch Joystick Keypad settings menu including chooser and calibration
2015-08-18 22:17:12 -07:00
Aaron Culliney
2673777be7 Various improvements to disk management
- Moves disk management form Apple2Activity to Apple2DisksMenu
    - Handle reading/writing disk images in /sdcard/...
    - Manage hirerarchical navigation
2015-08-08 10:59:14 -07:00
Aaron Culliney
2008c341d5 Move menu management into Apple2Activity 2015-08-05 22:36:07 -07:00
Aaron Culliney
7344cadfbd More joystick settings including calibration mode 2015-08-02 14:29:34 -07:00
Aaron Culliney
324d900c35 First cut at Android touch joystick configuration 2015-08-01 17:33:29 -07:00
Aaron Culliney
0d658932b6 Expose particular settings back to Android so we can persist the values 2015-07-30 23:12:00 -07:00
Aaron Culliney
0bc8869627 nativeOnTouch() now returns various state flags
- Allows playing of a key click sound if a keyboard item tapped
    - Improves stovepiping the native request to show the Android main menu
2015-07-30 22:05:21 -07:00
Aaron Culliney
25b9f3d3f3 Android lifecycle cleanups
- Differentiate between cpu_pause() when going to menu (and app is still foregrounded, and cpu_pauseBackground()
      when a system backgrounding event has occurred.
    - Destroy/free audio resources owned by CPU thread when background is requested, put CPU thread into waiting upon
      pthread condition to resume.
    - Mobile device now always signals pthread condition to force CPU thread resume from background
2015-07-27 22:36:39 -07:00
Aaron Culliney
16a743fd50 First cut at splash screen on Android 2015-07-26 15:55:07 -07:00
Aaron Culliney
fe34a86c35 Maintain a menu page stack for simplicity 2015-07-25 00:06:20 -07:00
Aaron Culliney
933ef5533a Hook in new audio menu and minor menu cleanup 2015-07-24 22:40:38 -07:00
Aaron Culliney
a60ffb8eb9 Beginning of Android persistent settings 2015-07-21 21:38:28 -07:00
Aaron Culliney
951b4518c1 Expose device-preferred audio parameters to native 2015-06-28 12:49:26 -07:00
Aaron Culliney
38ef54bf57 Include class to detect audio capabilities of Android device 2015-06-28 11:50:32 -07:00
Aaron Culliney
9631e1e039 Remove > API 19 method call 2015-06-27 13:12:09 -07:00
Aaron Culliney
a72d6db296 Allow system to handle volume change keys 2015-06-27 12:59:59 -07:00
Aaron Culliney
22037355c8 Enable StrictMode to detect potential issues when iterating on the Java side of things 2015-06-09 21:06:32 -07:00
Aaron Culliney
2562c17d73 Record Java exceptions to app home directory 2015-06-06 12:55:14 -07:00
Aaron Culliney
f2abf4ce35 Fix emulator quit path on Android 2015-06-01 22:50:44 -07:00
Aaron Culliney
5ec12f2e08 Remove unused configuration settings 2015-05-10 14:04:58 -07:00
Aaron Culliney
68011fa8f2 First cut at touch menu HUD
- Enables choosing touch keyboard or touch joystick
    - Enables increasing/decreasing speed
    - Enables opening main popup menu
    - Also migrates all gesture responsibility away from Java side of things
2015-05-09 19:23:52 -07:00
Aaron Culliney
c48e72c27f Keep native side paused on "system" onResume() 2015-04-17 21:43:02 -07:00
Aaron Culliney
883403e6e8 Avoid android.view.WindowLeaked issue with lingering popups
- Was seeing android.view.WindowLeaked issue on certain devices if the main popup menu was left lingering (which was
      previously by design ... bad design apparently)
    - Simplifies lifecycle pause/resume (should be no Android UI showing now)
    - Emulation resumes automatically, will handle pausing-CPU-on-resume on native side in subsequent commit
2015-04-17 21:42:45 -07:00
Aaron Culliney
101d78d160 Assure we use only landscape dimensions 2015-04-11 11:42:40 -07:00
Aaron Culliney
e808dd9861 First cut at Android disk selection interface 2015-04-07 22:42:47 -07:00
Aaron Culliney
ae27a891dd Various updates to menu system 2015-04-07 22:18:25 -07:00