Phone software?

Discussion in 'Pyra OS (Debian GNU/Linux)' started by Silent-Hunter, Jun 8, 2014.

  1. _wb_

    _wb_ Microbe Staff Member

    Joined:
    Apr 5, 2012
    Messages:
    5,387
    Location:
    Brussels, Belgium
    Oh really? I didn't realize that. That is confusing too. In Flemish, "poep" only means butt, never shit. Shit is "kak" or "drol", or maybe "merde" if we feel like using a French loan word. But I guess one can never have enough words for shit.
     
  2. rygD

    rygD Nihilistic Mystic

    Joined:
    Feb 28, 2014
    Messages:
    7,350
    Location:
    Everywhere
    This is the kind of stuff I do when making nicknames for stuff.  I now have a new name for chocolate sprinkles.  :D

    Hmmm.  Maybe not so confusing as inspirational for some.  Not my thing, so I will just stop there.

    Why do you want to talk about shit so much, _wb_?  :p
     
  3. _wb_

    _wb_ Microbe Staff Member

    Joined:
    Apr 5, 2012
    Messages:
    5,387
    Location:
    Brussels, Belgium
    I don't, I'm Flemish! It's the Dutch who have the extra word for shit :)
     
  4. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    LOL, this thread has gotten hilarious.
     
  5. Glyph Reader

    Glyph Reader Member

    Joined:
    Apr 27, 2014
    Messages:
    332
    You could also say that this thread has gone down the toilet.  ;)

    -Glyph Reader
     
    sebt3 likes this.
  6. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
  7. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    I created a shell script proof of concept for incoming calls.


    #!/bin/sh

    xmessage -buttons Accept:1,Reject:0 Incoming call!
    OUT=$?
    if [ $OUT -eq 1 ]; then
    echo "ATA"
    else
    echo "AT+CHUP"
    fi

    And this is what the dialog looks like: ring_script.png

    And yes, I am using CDE. :p
     
    Last edited by a moderator: Aug 12, 2014
  8. WizardStan

    WizardStan Mega GP Mania

    Joined:
    May 24, 2008
    Messages:
    16,696
    But how do you know if there's an incoming call?

    You need some kind of wait loop listening to the serial device for the string "RING", then you can pop up your Accept/Reject message :p
     
    Silent-Hunter likes this.
  9. sebt3

    sebt3 homebrew player (P. & C.)

    Joined:
    Sep 9, 2008
    Messages:
    4,747
    Location:
    France
    at the very least, this is not using zenity, so it's safe :D
     
    Silent-Hunter likes this.
  10. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    Yes, I know! :p But I don't know what "/dev/<whatever>" the PHS8 will be, so I can't really do that yet. I can add that when I get my Pyra. Also a ringtone routine.

    I like this better, it uses Xlib.
     
    Last edited by a moderator: Aug 12, 2014
  11. Ligachamp

    Ligachamp Member

    Joined:
    Jan 17, 2014
    Messages:
    69
    What about the basic packages provided by gta-04? The links he posted seem to be interesting.
     
  12. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    Yeah, I'm hoping for something like that, but I think xmessage provides a good alternative. At least for answering incoming calls.
     
  13. Ligachamp

    Ligachamp Member

    Joined:
    Jan 17, 2014
    Messages:
    69
    If you'll be able to play also a ring-sound and let the pyra rumble (with the rythm of the music :p ), it would be fine ^^
     
    Silent-Hunter likes this.
  14. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    Of course! The script cannot be finished until I have a Pyra, or know the interface for the vibration motor.
     
  15. Ligachamp

    Ligachamp Member

    Joined:
    Jan 17, 2014
    Messages:
    69
    I know well ;) but would there be really an easy way to vibrate in the rythm of the music? o_O
     
  16. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    Oh I didnat see that part! Well, that would be complex, would only work with MIDI or tracker music, and possibly not at all. Easier to just make it vibrate.
     
  17. Ligachamp

    Ligachamp Member

    Joined:
    Jan 17, 2014
    Messages:
    69
    I understand... It's not that I wouldn't be satisfied if the Pyra "just vibrates" ;) It might just be funny ^^

    Just a thing, how does that work on Smartphones? Is it a special data format or some kind of that?
     
  18. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,048
    How does what work on smartphones?
     
  19. slaeshjag

    slaeshjag ¯\_(ツ)_/¯

    Joined:
    Apr 8, 2010
    Messages:
    2,687
    Location:
    ~Stockholm, Sweden
    I know the old monophonic ringtone format allowed for specific control of the rumble and screen backlight. I do have one of those that hit the resonant frequency of my phone and makes it go completely insane.
     
  20. matzesu

    matzesu Hardcore Member

    Joined:
    Jul 22, 2009
    Messages:
    2,994
    Location:
    Germany,, Saarland, at home
    By the Way: If whe can use our Püra as Smartphone, can it also play Mp3 Ringtones ??

    Or much better : 8 Bit SIDs ??

    I would like to have the Giana Sisters Soundrack when i gets a Phonecall on my Püra :)

    If the Pyra whil be allso a Phone, its great, because then i would use my Nicon P7100 instead of my Smartphone Kamera..
     

Share This Page

Loading...