Phone software?

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

  1. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    Will it come with software in the NAND for making and receiving telephone calls? ED said the voice lines will be connected, so it can be used as a phone.
     
    Tags:
  2. LEOXD

    LEOXD Member

    Joined:
    Feb 4, 2014
    Messages:
    121
    Location:
    Denmark
    Probably depends on whether or not debian has such a package. 
     
  3. _wb_

    _wb_ Microbe Staff Member

    Joined:
    Apr 5, 2012
    Messages:
    5,387
    Location:
    Brussels, Belgium
    I don't know whether or not it will ship with that, but I suspect that this will be a very high-priority community project if no existing software can be used.
     
    DrHAX, edgex004, rygD and 1 other person like this.
  4. Tenka

    Tenka Snakes and Fish

    Joined:
    Jan 28, 2012
    Messages:
    701
    Waiting will be fun, but perhaps not for very long.  I'm just as hopeful someone confident will install another speaker and microphone to the bottom of their case just as quickly, so that by knowing a working position we can print or mill our custom cases with vents and holes in the right locations.
     
  5. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    It doesn't seem like it would be difficult to just hold the open Pyra up to your face.
     
  6. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    I recommend a shell script that uses Zenity and just sends Hayes commands to the telephone chip. As for receiving phone calls, just have a similar one always running in the background, and an XFCE notification could pop up with the number/contact that is calling, along with an accept and decline button.

    That can be done with shell scripting, right?
     
  7. TrashyMG

    TrashyMG Sarcasm Dispenser Staff Member

    Joined:
    Jan 18, 2010
    Messages:
    10,532
    We have scores of software developers in this community that could make a much more polished solution than just zenity scripts and such. 
     
    pablocrossa and DrHAX like this.
  8. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    I'm sure, yeah. I just like Zenity, it fascinates me. I suppose I'm easily amused, I spent an hour just playing with it.
     
  9. slaeshjag

    slaeshjag ¯\_(ツ)_/¯

    Joined:
    Apr 8, 2010
    Messages:
    2,687
    Location:
    ~Stockholm, Sweden
    I really hope there won't be any zenity scripts at all in the Pyra's default OS.
     
  10. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    Why? It's useful for things like the ISO optical drive thing, and passing the SD cards through to another computer.
     
  11. slaeshjag

    slaeshjag ¯\_(ツ)_/¯

    Joined:
    Apr 8, 2010
    Messages:
    2,687
    Location:
    ~Stockholm, Sweden
    Zenity does neither of that. Zenity is a way to quickly hack up a GUI for shellscripts. It's an eyesore, and the current os is pretty much 95% Zenity crap on the UI-part...
     
  12. bzar

    bzar A Commando

    Joined:
    Sep 22, 2008
    Messages:
    4,446
    Location:
    Finland
    If someone makes a good C or C++ library for handling the phoney part along with some solution for handling the full duplex realtime audio on pandora hw making a pretty UI using something like QtQuick2 (maybe employing panorama as a middleman) is a small thing to do.
     
    edgex004 likes this.
  13. Orz

    Orz Still Fresh

    Joined:
    Feb 5, 2014
    Messages:
    17
    Location:
    *Pretty Space*
    I thought the pyra was going to have a real phone part!  :p
     
    bzar likes this.
  14. rygD

    rygD Nihilistic Mystic

    Joined:
    Feb 28, 2014
    Messages:
    7,351
    Location:
    Everywhere
    Damn, you beat me to it.
     
  15. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    It does though. Both of those programs are written as shell scripts. The only way to give them a GUI was Zenity. I like how Zenity works, I think it's fine.
     
  16. levi

    levi Still fresh, damnit!

    Joined:
    Oct 6, 2008
    Messages:
    11,100
    Location:
    Somewhere off the coast of the EU
    I was surprised when I first poked about the Pandora's scripts to find out how much of it was driven by Zenity calls. It's not that ugly in the main part, although there are a few spots where it does things you wouldn't do if you could have proper dynamic windows. I wouldn't be too sorry to see it all go to be replaced by proper gui-driven tools though.
     
  17. hns

    hns Very Active Member

    Joined:
    Jul 16, 2012
    Messages:
    349
    Location:
    Oberhaching
  18. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    They could use code from QtMoko or somesuch. That looks pretty complete, and they'd likely not have to change much.
     
  19. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    I think when it comes out, I will try to write a shell script that interfaces with the modem to monitor for incoming calls, and use the notification thread to pop up two buttons, one for accept and one for decline, and another script for making calls, that would just ask you to input a number.

    I could write it fairly quickly, and then we'd have one until something prettier comes along.

    I'd have to use shell scripting. I don't think I can write a phone interface in COBOL, and that's the only other language I know any of. And not enough to do much of anything useful either.
     
    Last edited by a moderator: Jun 21, 2014
  20. Silent-Hunter

    Silent-Hunter Hardcore Member

    Joined:
    May 29, 2010
    Messages:
    3,049
    What about a Pidgin plugin for SMS and calling? I think that would work quite well!
     

Share This Page

Loading...