Page 1 of 5 12345 LastLast
Results 1 to 20 of 85
  1.    #1  
    This is a very simple app which toggles the voice network between RoamOnly and Automatic. I recommend also installing the RoamOnly tweak, though it is not required.

    This app is compatible with webOS 1.3.1.


    Here's what you need to know about the app:

    • If you don't install the RoamOnly tweak, the Phone Preferences panel will not be accurate. For example, if you're in "Roam Only" mode, it will say that you're in "Sprint Only" mode. However, the top status bar will still correctly show whether you are currently roaming by displaying "R" next to the signal bars.
    • This is a "headless" app, meaning no card will be launched.
    • The app's icon will toggle between "OFF" and "ON". "ON" means the voice network is in RoamOnly mode. "OFF" means it's in Automatic mode.
    • If you change the voice network mode directly from the phone preferences screen, the app's icon will not automatically be updated. But when you run the app again, it will detect the current mode before toggling.
    • After initial installation or after resetting the device, the app icon will be blank. Also, if the phone rejects the change for whatever reason, causing an error, the icon will be blank.
    • This app does not switch to "Sprint Only" (or "Bell Only" or "home only") mode.
    • If you move the app icon to the launcher bar on the bottom, the highlighting of the icon which appears when you click the icon does not automatically go away. This seems to be a bug with the way webOS handles headless apps.
    • This app is free. Free to use, distribute, modify, etc.


    Where to Find It
    http://www.precentral.net/homebrew-apps/roamonly-toggle



    FOR DEVELOPERS ONLY:
    • Some people might prefer to have a toggle item in the radio menu (the one with WiFi and airplane mode). I've posted the relevant code here in case someone wants to work on that. Note that to make the telephony system calls, an app's id must begin with "com.palm". Any patches to Palm's system files should be fine.
    • Included in the code is a javascript serialize function, written by someone else, and which I used in debugging to figure out what object was being returned after a system call. That function is covered under MIT license. You're free to use and modify it as well.
    • If you want to edit the code and debug your work, you can switch on the display of the card by changing "noWindow" in appinfo.json to "false".

    Sample Code

    Get Current Voice Network Mode

    //gets current voice network mode; calls updateMode() function;
    //MUST be called from an app with id beginning "com.palm"

    new Mojo.Service.Request('palm://com.palm.telephony', {
    method: 'roamModeQuery',
    onSuccess: function(response){
    if(response.returnValue) {
    newMode=response.extended.mode;
    } else {
    newMode = 'fail';
    }
    updateMode(newMode);
    },
    onFailure: function(response){
    newMode = 'fail';
    updateMode(newMode);
    }
    });

    function updateMode(newMode) {
    }

    Set Voice Network Mode

    //sets voice network mode to newMode
    // newMode must be 'homeonly', 'roamonly', or 'any'
    //MUST be called from an app with id beginning "com.palm"

    new Mojo.Service.Request('palm://com.palm.telephony', {
    method: 'roamModeSet',
    parameters: {
    mode: newMode,
    client: Mojo.appName
    },
    onSuccess: function(response){
    updateIcon(newMode);
    },
    onFailure: function(response){
    updateIcon('fail');
    }
    });

    function updateIcon(newMode) {
    }
    Update App's Launcher Icon

    //changes the app's launcher icon; icon must be in images folder;
    //the parameter to pass as launchPointId should be the app id, followed by '_default'

    iconUrl = Mojo.appPath + 'images/' + 'icon.png';
    new Mojo.Service.Request('palm://com.palm.applicationManager', {
    method: 'updateLaunchPointIcon',
    parameters: { launchPointId: 'com.palm.app.samkim.roamonlytoggle_default', icon: iconUrl}
    });

    The attached file is a zip of the icon in Illustrator format. There are multiple layers. Feel free to modify for your own needs. You DO NOT need this attachment to run this app.
    Attached Files Attached Files
    Last edited by samkim; 11/17/2009 at 08:01 PM.
  2. pezdukie's Avatar
    Posts
    50 Posts
    Global Posts
    77 Global Posts
    #2  
    I, for one, am extremely excited for this. With how sluggish the Phone app is, this will really cut down on wasted time.

    Besides I only need it for one class in college where I don't get Sprint reception in the classroom. It's annoying to have to go through all the menus and such to get to the Roam Only hack for just the one hour. On the other hand, it's an accounting class and I need all the distractions I can get to get me through the hour and the Pre is one helluva good distraction.

    In short, Thanks!
  3. #3  
    nice, sounds perfect. thanks.
  4. fizymike's Avatar
    Posts
    78 Posts
    Global Posts
    93 Global Posts
    #4  
    I love this idea


    I cant wait to download this app...
  5. #5  
    Can someone explain to me what the Roam Only tweak is?

    Thanks,

    Ray
  6. #6  
    tried it works great thx
  7.    #7  
    Quote Originally Posted by rtaylor1976 View Post
    Can someone explain to me what the Roam Only tweak is?

    Thanks,

    Ray
    Ah, sorry. The RoamOnly tweak (or "patch") adds an option to the Voice Network selection on the Phone Preferences page. The original options are "Sprint Only" (or "Bell Only" I assume) and "Automatic". This tells the phone which cell network to connect to. If Automatic is selected, it'll look for Sprint first, and then if Sprint is unavailable, it'll look for other networks.

    If you live in an area with a weak Sprint signal, but a strong signal from another carrier, the Pre would normally connect to Sprint. The new option is "Roam Only", which forces the phone to ignore Sprint's network, and connect to the other carrier's network.

    There are a number of ways to add this tweak to your phone. The easiest is to use webOS Quick Install.

    While this tweak is valuable, it's still cumbersome to use. You need to launch the phone app, select Preferences from the menu, wait while the prefs app launches, scroll down, and then switch the setting.

    This app, RoamOnly Toggle, allows you to make the switch by tapping on the app icon. But still, you need to install the tweak before using this app.
  8. cujoe's Avatar
    Posts
    83 Posts
    Global Posts
    84 Global Posts
    #8  
    It makes it so simple.. thanks for this samkim.
  9. fareal's Avatar
    Posts
    260 Posts
    Global Posts
    351 Global Posts
    #9  
    Do we know exactly what "bad things will happen" means? If somone installs this and uses it without the tweak? I'm actually installing the tweak because of this app, but I'm just curious. Thinking worst case scenario.
  10.    #10  
    Quote Originally Posted by fareal View Post
    Do we know exactly what "bad things will happen" means? If somone installs this and uses it without the tweak? I'm actually installing the tweak because of this app, but I'm just curious. Thinking worst case scenario.
    If you try to run the app without the tweak installed, it'll cause an error which will 'break' the phone. The phone won't be able to connect to a network, and the phone prefs screen might not even launch. You may have to restart the phone to fix it.
  11. fareal's Avatar
    Posts
    260 Posts
    Global Posts
    351 Global Posts
    #11  
    Restart the phone (Orange-Sym-R)? Or wipe it and reset with webosdoctor or similar?

    So it doesn't really break it if only a restart is required. I hope thats the case.
  12. fareal's Avatar
    Posts
    260 Posts
    Global Posts
    351 Global Posts
    #12  
    I'm curious to try this at work tomorrow where in the building Sprint coverage sucks, but Verizon is a bit better.
  13.    #13  
    Quote Originally Posted by fareal View Post
    Restart the phone (Orange-Sym-R)? Or wipe it and reset with webosdoctor or similar?

    So it doesn't really break it if only a restart is required. I hope thats the case.
    Restart. I meant 'break' in that an error would make the phone inoperable.

    So far I haven't seen anything that will 'brick' the Pre.

    Just install the tweak first and you should be fine.
  14. #14  
    Thank you for the information. Can someone tell me where I can find/install the RoamOnly tweak/"patch" so I can use the RoamOnly app?

    Ray
  15. fareal's Avatar
    Posts
    260 Posts
    Global Posts
    351 Global Posts
    #15  
    Quote Originally Posted by rtaylor1976 View Post
    Thank you for the information. Can someone tell me where I can find/install the RoamOnly tweak/"patch" so I can use the RoamOnly app?

    Ray
    It is available in WebOS Quick Install...

    http://forums.precentral.net/homebre...all-contd.html
  16. danstah's Avatar
    Posts
    136 Posts
    Global Posts
    141 Global Posts
    #16  
    I have the roam only patch installed from webos quick install and this program does not work. The phone just goes offline
  17.    #17  
    Quote Originally Posted by danstah View Post
    I have the roam only patch installed from webos quick install and this program does not work. The phone just goes offline
    Have you tested if the patch itself is working properly? What happens if you go into Phone preferences and switch between Roam Only and Automatic? (You may need to restart the phone first to test this...)
  18. danstah's Avatar
    Posts
    136 Posts
    Global Posts
    141 Global Posts
    #18  
    yup restarting the phone did the trick, thanks man.. Man i really hope someone works on putting this in the radio menu because that would be so nice
  19. though's Avatar
    Posts
    159 Posts
    Global Posts
    162 Global Posts
    #19  
    2 VERY important things about this awesome app!

    1. can you make it so it toggles between, Sprint Only, Roam Only, and Automatic? I would really like 'Sprint Only" in there...

    2. when you have it toggled to 'Roam Only' make it so data roaming is ENABLED at the same time. this is pretty worthless without it, since people won't be able to send/receive emails, browse web, use pandora, etc, etc without that.

    GREAT APP by the way, thanks for your work
  20. #20  
    Quote Originally Posted by samkim View Post
    Restart. I meant 'break' in that an error would make the phone inoperable.

    So far I haven't seen anything that will 'brick' the Pre.

    Just install the tweak first and you should be fine.
    I actually downloaded this at work on preware and did not pay attention to the warning soon enough. I ran it and then I went into the phone preference and it basicly set the Voice Network to Sprint Only and the Data Roaming: option was gone. I turned Voice Network back to Automatic and Data Roaming back to enabled and all seemed fine. I also reboot phone to be sure. I think everything is ok.. I hope. Going to install Tweak now and then try it. Thanks for the app.. Cheers
Page 1 of 5 12345 LastLast

Posting Permissions