Marcel Hibbe
71ae7eddc2
move code from onStart to onCreate
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0bfeb1b320
add action button to mute/unmute in pip mode
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
4a1c637efc
add checks if pip is supported by device
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
a0c95113bf
display overlay instead of grid in pip view for group calls
...
this is a quick and dirty solution until "speaker view" is introduced in the future which should be used for the pip view.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
57804c8d62
dismiss keyguard for CallNotificationActivity (WIP, see TODO)
...
Whenever i click the button to accept the call, CallActivity is started by intent.
CallActivity itself has the same logic to dismiss the keyguard.
The problem is: When switching from CallNotificationActivity to CallActivity the lockscreen is shown indeed!
So i guess Android recognizes "oh, CallNotificationActivity is gone. Let's show the lockscreen" before it recognizes that
the new activity also dismiss the lockscreen ?!
I fear for this scenario it was not the best idea to have 2 different activies.. (before it was only 1 activity and 2 condcutor controllers..)
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
e05334cb9a
enable pip support for CallNotificationActivity
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
7e68ecbde9
rename "runAllThings"
...
:D :D
setUpAfterConversationIsKnown might not be the best name, but i'm not sure when in onCreate the currentConversation can be null. depending on that it might even not be necessary to have the "things" in a method..
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
3326b6a7f3
rename design for CallActivity
...
move methods
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
c7e38e4859
replace CallNotificationController with Activity (WIP)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
251d41f7fb
replace CallController with CallActivity etc. (WIP)
...
- delete MagicCallActivity
- replace butterknife with viewbinding for CallActivity
TODO:
- also switch CallNotificationController to Activity
- check if CallActivity and CallNotificationActivity are called correctly
- testing!
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
03913b40a2
fix to enable pip for CallNotification Controller
...
methods to update UI are not yet implemented. maybe it's better to make two Activities: one for Call and one for CallNotification...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0d1e0af9d1
fix NPE when call is joined by notification
...
add ability to have PIP mode for calls joined by notification
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
2c1b45491d
start pip mode when back button is pressed
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
1ae5f51a81
hide pip button for android < 8
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
3ba599be98
rename old "pip*"-stuff to "selfVideo*"
...
improve design-logic for pip-mode and normal mode when switched back from pip
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
d482d8603e
modify call screen design for pip mode
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
ea8e45e934
enable keyguard when users presses home button
...
= security check if call was entered via notification in locked mode
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
0aee8eb7ef
remove comment
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
d4322bf2d9
finish call activity if closed via "X" in pip mode
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
78384e7b55
add initial approach for pip mode (wip)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-11-11 13:23:40 +01:00
Marcel Hibbe
69bcd6ee88
enable keyguard for toggle chat
...
show the lockscreen when switching to chat in a call that was opened by notification before the phone was unlocked.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-09-17 14:58:44 +02:00
Andy Scherzinger
febaaf8ea7
Revert "improve code check score"
...
This reverts commit 6415f163bd
.
Revert "use context compat to load resources"
This reverts commit 3742c4ed99
.
Revert "Adding upload from camera action"
This reverts commit 01a6675795
.
2021-08-23 08:54:33 +02:00
Andy Scherzinger
6415f163bd
improve code check score
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-08-21 18:28:55 +02:00
Andy Scherzinger
01a6675795
Adding upload from camera action
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Co-Authored-by: Stefan Niedermann <info@niedermann.it>
2021-08-21 13:40:18 +02:00
Tim Krüger
d67226e39d
Forwarding message to selected conversation
...
Signed-off-by: Tim Krüger <t@timkrueger.me>
2021-07-22 22:14:26 +02:00
Marcel Hibbe
e03f048126
fix displaying of large images
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-06-09 13:19:49 +02:00
Andy Scherzinger
ca8d6cb782
Move controller to new view binding utilizing logic
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-06-08 17:36:10 +02:00
Andy Scherzinger
cd5f083a49
make text preview dark/light aware, overall improvement of preview screens
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-31 15:29:00 +02:00
Marcel Hibbe
36fdd6d82b
add ability to "share to" files to nextcloud talk app
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-25 11:03:21 +02:00
Andy Scherzinger
d923a41696
move magic numbers to value objects
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 18:23:33 +02:00
Andy Scherzinger
833ebbc9e3
use native view bindings in activities
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-18 17:58:09 +02:00
Joas Schilling
8f7873ab9b
Add circles support
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-14 14:20:30 +02:00
Marcel Hibbe
8fc963290b
fix navigation bar color for call screen.
...
remove blue launcher screen for calls.
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-05-14 11:14:32 +02:00
Andy Scherzinger
2b44a295a4
add account switcher in search bar
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-05-12 09:15:31 +02:00
Joas Schilling
172d8da1cf
"chat-v2" capability is available since Nextcloud 13
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-11 09:57:05 +02:00
Joas Schilling
e9fa343fce
Add APIv4 to easy conversation API calls
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 21:56:23 +02:00
Joas Schilling
5d366d0dbf
Fix coding styles
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:39 +02:00
Joas Schilling
ee3dc43530
Throw the exception up
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:57:38 +02:00
Joas Schilling
bc641e2d07
Fix Code style
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:13 +02:00
Joas Schilling
529541d896
Change version to be specific to conversations api
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:56:11 +02:00
Joas Schilling
33de3ed330
Final batch of API version injection
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:51:02 +02:00
Joas Schilling
ccd752b4ca
Fix some kotlin files to allow api switching
...
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-05-07 11:49:51 +02:00
Andy Scherzinger
e82808080d
reformat kotlin code to comply with ktlint
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-27 18:16:51 +02:00
Dariusz Olszewski
0385c951b4
Enable enlarging the image more than default 3x maximumScale.
...
Signed-off-by: Dariusz Olszewski <starypatyk@users.noreply.github.com>
2021-04-26 17:25:37 +02:00
Marcel Hibbe
3f6f492143
open files inside app
...
Open files directly inside the app.
Download file into cache beforehand if not already done.
supported file types:
jpg, .png, .gif, .mp3, .mp4, .mov, .wav, .txt, .md
thanks to @tobiasKaminsky and @starypatyk
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-04-23 15:33:43 +02:00
Andy Scherzinger
62f50fa35d
Add splash screen to Talk App
...
Resolves #836
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-15 00:29:29 +02:00
Andy Scherzinger
a125185915
Introduce SearchBar/Toolbar dark/light design
...
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
2021-04-07 14:52:43 +02:00
Marcel Hibbe
adc0a91dac
fix "chat via"-links in phonebook (no multiple entries, fix deletion)
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-03-26 15:47:11 +01:00
Marcel Hibbe
5e1b69bbe6
split userId on last @
...
(e.g. necessary if email adresses are taken as userId)
2021-03-17 10:24:13 +01:00
Marcel Hibbe
642146de02
improve call screens, add outgoing ringtone
...
Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
2021-02-18 14:51:18 +01:00