Commit graph

58 commits

Author SHA1 Message Date
Olga Miller ec849bef77 Added "Reset" option (to reset image position, etc.) under "Transform Image" menu item, moved "Rotate" option there 2023-08-27 11:41:50 +02:00
Olga Miller c6be28df56 Removed image size limit by replacing BitmapFactory.decodeStream with BitmapFactory.decodeByteArray, simplified the code a bit 2023-03-04 17:26:19 +01:00
Olga Miller fa71909df5 Moved resolving and starting another activity to tryToStartActivityForResult-method and added Toast messages 2023-02-25 13:02:15 +01:00
Olga Miller d05adb6d3f Added super.onRequestPermissionsResult, improved java array syntax 2022-12-03 15:39:47 +01:00
Olga Miller bf33517be4 Added "About SSTV Encoder" menu item (with version, copyright, open source code link and DISCLAIMER) 2022-12-03 14:57:56 +01:00
Olga Miller df5589f925 Added "Privacy Policy" (because of the new Google Play policies) 2022-12-03 14:57:56 +01:00
Olga Miller f13dc04082 Removed queries for sdk versions 16 and 21 2022-10-31 16:45:37 +01:00
Olga Miller 556a392816 Avoided switch usage for Resource IDs
(because of a warning that Resource IDs will be/are non-final)
2022-10-31 16:45:22 +01:00
Ahmet Inan 8119c5bd91 minimal changes to get camera intent working for Android 10 users
This is only a temporary workaround for Android 10 users:
- Enable permission request to write to external storage for Android 10
- Enable old behaviour prior Android 10 for external storage
2020-06-29 14:44:51 +02:00
Olga Miller b55e518a0a WaveFileOutputContext: Moved getContentValues-method under constructor, renamed createWaveOutputStream-method and clear-method 2020-06-25 23:45:13 +02:00
Olga Miller e0ca7e9eff WaveFileOutputContext: Moved content of init-method into constuctor,
create mFile for Version>=Q only if deleteFile-method is called
2020-06-25 23:41:50 +02:00
Olga Miller 7de496bb69 WaveFileOutputContext: Moved creation of ContentValues into a separate method,
moved MediaStore.Audio.Media.ALBUM to Version<Q
2020-06-25 23:38:22 +02:00
Olga Miller 384fb0e7a2 WaveFileOutputContext: Moved ContentResolver.insert for Version<Q after wav-file is written,
(ContentResolver.update only for Version>=Q)
2020-06-25 22:30:35 +02:00
Olga Miller d452255b62 Support writing of wav-file also in Android 10 2020-06-22 23:33:26 +02:00
Olga Miller 4fc704604b Gradle updates 29, with necessary replacement of android.support by androidx 2020-06-18 22:35:44 +02:00
Olga Miller 2b0bc21082 Added if-query to check whether Label container is not null 2018-10-23 19:02:13 +02:00
Olga Miller 8df1b38df5 Get MainActivity from ContextWrapper in CropView
to fix ClassCastException for Android 4.4
2018-10-23 17:36:39 +02:00
Olga Miller e333e2124e Fixed image orientation error
(replaced uri.getPath with InputStream as argument of ExifInterface)
2018-07-16 21:10:15 +02:00
Olga Miller df9a7b999c Built message string using StringBuilder 2018-03-10 13:02:24 +01:00
Olga Miller 3300b75ff1 Gradle updates 2018-03-10 12:49:32 +01:00
Olga Miller c3917bb40d Moved the outline inset to getBounds (where float rectangle is used) and enlarged the inset
(Because e.g. "k" in "Droid Sans Mono" has very sharp corners, which were outside the active text shadow)
2017-03-11 21:07:24 +01:00
Olga Miller 68701fc5a1 Considered the outline in the text bounds calculation,
Renamed (forgotten) "border" to "outline",
Removed one "inset" call in drawShadow
2017-03-11 20:09:06 +01:00
Olga Miller c3368ecd81 Added clear text button to EditText in EditTextActivity 2017-03-11 18:03:54 +01:00
Olga Miller d889bb574c Re-organized activity_edit_text
(Old Android versions throw an exception if you try to set a field marked as final using reflection.)
2017-03-11 16:11:21 +01:00
Olga Miller ea1eb2775e Re-organized activity_edit_text 2017-03-11 15:47:47 +01:00
Olga Miller f53c75cf26 Fixed color selection on the right side of the color grid 2017-03-09 19:15:00 +01:00
Olga Miller a2911345c5 Create result Label in EditTextActivity in onStart and update it on any change 2017-03-05 14:21:09 +01:00
Olga Miller 24c5c1804b Edit text color in color dialog (as outline color) 2017-03-05 13:07:52 +01:00
Olga Miller 605a34b5d3 Added outline color selection (ColorFragment)
Added ACTION_UP to onTouchEvent and onColorSelected and onCancel to Listener in ColorPaletteView
2017-03-05 11:47:21 +01:00
Olga Miller b5915841fb Renamed "border" to "outline"
Renamed local variables in init*Spinner in EditTextActivity
2017-03-04 16:02:17 +01:00
Olga Miller 7371ada115 Added border size to EditTextActivity 2017-03-04 15:47:30 +01:00
Olga Miller 6533062eb7 Added border (bool, size, color) to Label, added border switch to EditTextActivity, draw white border of fixed size 2017-03-04 14:48:28 +01:00
Olga Miller 9e5738f807 Added smpte_color_bars.png as default image, removed loading image from Uri stored in Settings,
because of SecurityException in loadImage for Build.VERSION.SDK_INT >= Build.VERSION_CODES.M
2017-03-01 21:14:57 +01:00
Olga Miller 39c229434e Moved version from Label to LabelCollection 2017-02-28 16:51:58 +01:00
Olga Miller 949eddfeed Added version to Settings 2017-02-28 16:38:20 +01:00
Olga Miller f26ee7bc1d Added ModeClassName to Settings,
Use beginObject and endObject once while writing to and reading from settings file,
Set image uri to null instead of empty in Settings class, if no uri is set
2017-02-11 14:56:22 +01:00
Olga Miller dbbfa21d75 Improved code readability in CropView and Utility
Changed Utility access modifier to 'internal'
2017-02-11 11:44:37 +01:00
Olga Miller 0e5df3571d Moved text size factor calculation out from LabelCollection, write to file also text size factor
MainActivity: Load TextOverlayTemplate before ModeSize is changed in CropView
2017-02-11 10:39:48 +01:00
Olga Miller d67719abd8 Invalidate CropView in setModeSize also if no image is loaded 2017-02-11 10:28:06 +01:00
Olga Miller 780f641242 Made the corner radius of color boxes similar displayed on devices with different resolution 2017-02-09 20:14:24 +01:00
Olga Miller 80f872e14a Draw rectangle border thin 2017-02-09 19:55:17 +01:00
Olga Miller 62fecce1d3 Read system fonts from XML for text overlay font selection 2017-02-07 22:03:52 +01:00
Olga Miller 27060910f6 Added Version to Label 2017-01-30 22:11:52 +01:00
Olga Miller cf796fe695 New Thread and additional ProgressBar for saving of wave file,
ProgressBarWrapper now with text
2017-01-09 22:37:17 +01:00
Olga Miller acaceef5b7 Added ProgressBar for sending 2017-01-08 22:20:12 +01:00
Olga Miller bd949f044b Request permissions only on Android 6.0 or later 2017-01-07 17:02:42 +01:00
Olga Miller c08b6e7c4b Prevent ErrnoException class not found error for API level 15 2017-01-07 16:41:58 +01:00
Olga Miller 2e68bb431a Show error instead of send it, if image size is invalid (e.g. -1 x -1) 2017-01-07 14:59:12 +01:00
Olga Miller 82710aa7e2 Fixed take picture option for old Android versions,
Changed "external-path" entry in paths.xml
2017-01-07 14:54:32 +01:00
Olga Miller 38423f76b9 Set empty bitmap if image could not be loaded 2017-01-06 19:11:54 +01:00