maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Fake call app? (https://talk.maemo.org/showthread.php?t=95519)

szopin 2015-05-19 17:39

Fake call app?
 
Anyone has an idea how to initiate a fake call? With the easily accesible from lockscreen shortcuts, having an app that would after some delay (to move hand outside of pocket) generate a fake call you reallly really need to answer would be perfect, but I have no idea how to/where to even start.

Could be a simple bash script that just waits for half a minute and then makes a fake dbus call, but again, not sure if there is documentation about this or one would need to capture the call themselves (if it is dbus even, just guessing)

peterleinchen 2015-05-19 17:52

Re: Fake call app?
 
From lockscreen I would say it is not possible.
But have a look at the eSpeakTime sources for triggering eSpeak with double-click of power button in locked state.
And instead eSpeak message start the ringing tone (how to: ???).

--edit
Oops, sorry. Totally wrong answer as I missed it is in SFOS section :rolleyes:

szopin 2015-05-19 18:00

Re: Fake call app?
 
It should be possible, for an easy/poor implementation just execute media player with path to your ringtone, but would really like to have the full fakedness: switched on screen blinking, with the pulley menus, hmm maybe easier to just copy jolla's qml code for call ui and invoke that without 'faking' a call to the phone itself

coderus 2015-05-19 18:27

Re: Fake call app?
 
patch callui and add faking functions, or just clone callui interface and make a fun app.

szopin 2015-05-19 18:37

Re: Fake call app?
 
Quote:

Originally Posted by coderus (Post 1470908)
patch callui and add faking functions, or just clone callui interface and make a fun app.

Thanks, app seems the better option as you can then easily add a shortcut to the pulley menu (for pocket operating), this should be relatively easy (only worry is you could get a call while fake call is on, however unlikely it is, would make for an awkward moment)

pichlo 2015-05-19 19:20

Re: Fake call app?
 
Quote:

Originally Posted by szopin (Post 1470910)
(only worry is you could get a call while fake call is on, however unlikely it is, would make for an awkward moment)

Not necessarily. "Sorry mate, got another call ringing, may I put you on hold?"

szopin 2015-05-19 19:25

Re: Fake call app?
 
You... you just put your wife in labour on hold and called her mate? Goddamn strayians

skanky 2015-05-19 20:24

Re: Fake call app?
 
Quote:

Originally Posted by szopin (Post 1470910)
(only worry is you could get a call while fake call is on, however unlikely it is, would make for an awkward moment)

Have the app silence (or airplane mode) the phone on fake answer, then restore on fake hang-up?

szopin 2015-05-19 21:13

Re: Fake call app?
 
Quote:

Originally Posted by skanky (Post 1470931)
Have the app silence (or airplane mode) the phone on fake answer, then restore on fake hang-up?

This is where the original idea of faking a call so the phone thinks it's 'busy' would help, as would eliminate edge cases. If you silence, then you cannot play the tone, if you put on airplane mode you can miss an actual important call. Each approach has good and bad sides hmmm

pichlo 2015-05-20 08:28

Re: Fake call app?
 
Quote:

Originally Posted by szopin (Post 1470935)
Each approach has good and bad sides hmmm

Options in the app's settings:
  • Accept incoming calls
  • Turn to silent but accept incoming calls
  • Turn to offline mode

Vento 2015-05-26 21:54

Re: Fake call app?
 
App UI:

Big button in the centre starts a call with the default settings (easy to unlock when in your pocket)

Other apps settings:

- Default fake call settings:
- - When: Seconds(or Minute) to wait after "Make fake call" button is pressed
- - From: Contacts/CustomNumber/"PrivateNumber"
- - Duration: Infinite(Untill you close the app)/CostumDuration
- - Play recorded file: No/Yes (file selection)
- - - Loop: Yes/No
- Record video during fake call: Yes/No
- Record audioduring fake call: Yes/No

- Schedule fake call
- - All the settings from default, they will be overridden for this scheduled call
- - Show this in calendar app?: Yes/No

- Log calls: No/All/Only random ones(Not scheduled, when you use it from your pocket)/Only scheduled

szopin 2015-05-26 23:24

Re: Fake call app?
 
Quote:

Originally Posted by Vento (Post 1471603)
App UI:

Big button in the centre starts a call with the default settings (easy to unlock when in your pocket)


NO! totally missing the point, you want the fakecall either right after opening app, or 15-30 seconds later to move your hands away from phone, no big button, just the vibrations sailfish gives you when you pull down from lock-screen, so you add the app to the top menu, press power button, and slide one-two-three vibrations to initiate, this has to be from pocket, big button doesn't help

edit: there is no fake call, this is just cover for you to avoid bad meeting/conversation, no video/audio to record, this is just to give you an excuse to escape that, seriously, half of the options you wrote about are already in callrecorder and next few are in the next revision judging by translations/strings, this app is nowhere near as complicated, this is just to give you an option to pretend this is 'important' call you need to take and escape


All times are GMT. The time now is 17:21.

vBulletin® Version 3.8.8