How to detect if the data service is disabled?

Hello

Since the device cannot connect to the fi data service is set to OFF, not even with WiFI, I need to ask an Internet unavailable message when data services are disabled.

is someone can you please tell me how can I do this?

I tried several options, but none worked.

The best advice I've gotten so far is to use a HttpConnection NGO google.com. I think it works, but I would like something more elegant

Kind regards

Alex

H,

You can check that too,


If (! checkCoverage ())

{

Dialog.Alert ("no connection.");

}

Kind regards

Paul

Tags: BlackBerry Developers

Similar Questions

  • Move the "Data Service" volume ZFS on OSX Server

    Hi all
    I would like to move all the data service to a ZFS volume on a Mavericks OSX Server. This option can be found here:
    Server.app-> your server-> settings
    and is called "Data Service". As someone has already done this? It works or what I have to do a manual config, whenever the server restarts?

    Hi all

    So I'll answer my own question.  The answer is no, in fact, the app Server does not detect even the zfs volume.  I also try to cheat and to synchronize the/Library/Server volume ZFS and softlink then the original file to the copy of the zfs volume, but App Server would no longer work.

    Then Mac OS x still don't like ZFS much.

    I reformatted the drive with appleRAID, and then I could move everything using the button in the application.  I noticed that this original file is still there.  If it's really just an arrangement written somewhere.  Anyone know where this parameter is written?  Maybe I could get data on the ZFS drive sync and write this setting by hand.

  • How to detect if the page is a reload or not?

    I have a form in the cfm page if the user submits the form, I don't want to go to another page. I want to reload the page and I'll capture all values and send the data in this way. However, I need to hide the form once the user submits the form. So, how I detect if the page is a reload (after is submitted) or it's the first time it is been charged?

    You can manage only two ways.  One, add a hidden field to the form that passes a value, then check if the value exists in the URL/FORM variables (if it exists, the page is reloaded by sending the form - if it does exist, it's the first load of the page).

    Perhaps a better approach would be to manage the form via an AJAX request is sent, and then hide the form if the AJAX request is successful.  This all is possible using JavaScript.  The advantage is that the user leaves the page never actually or it recharges.

  • How can I erase the data on my laptop before I give it away?

    How can I erase the data on my laptop before I give it away?

    See this document.

    https://support.Apple.com/en-us/HT201065

  • Saved my iPad in full before selling. How and then retrieve the data (bookmarks, photos, etc.) from my computer?

    Hello

    I sold my iPad of the week. Before the restore to factory default, I made a backup (already backup place regularly to icloud anyway). I did manually a couple of times to make sure that the data has been saved.

    I have just connected on iCloud on my PC but it is empty. I can try to go in Mail, Notes etc but there is nothing there. Can someone tell me what I am doing wrong and how I can find the data backup?

    Thank you

    Your backup data are not visible on iCloud.com

    Where you want to restore data to? You did an archive of data which cannot be used on another device. It is not accessible in any other way.

  • How do I know the date purchased in the macbook pro?

    How do I know the date purchased in the macbook pro?

    The date of the purchase of a MBP will on reception, not in the MBP.

    Ciao.

  • How can I restart the date and time?

    The date and time on my task bar have become desensitized. How can I restart the date and time?

    I can't access the same system for the date and time preferences.

    Have you tried restarting your Mac?

    See you soon,.

    GB

  • How can I get the data view to display the same amount of time I save?

    I use the Sound and Vibration Measurement Suite.  In the data view, I display a graph of time, the power spectrum, the Color Map and the waterfall.  I am also showing strength in numbers group for several bands and doing cutting-edge research.  I record 100 ms of the transient wave.  In the data view, why the temporal plots show several seconds of data?  What determines how much time will appear in the data view?  More important, the power spectrum reflects the power for the entire of several seconds of data displayed?  Same question for power in the values of band and cutting-edge research.  I want to just this data displayed for 100 ms of the wave that I record.  So, how can I get the data displayed (waveforms) and power numbers come only 100 ms of the recorded wave?

    Finally, what is the best way to make account concisely the recorded data?  By slide numbers on the Documentation tab is not concise, because it comes with graphics, etc..  I tried save as ASCII/LVM, but I get a bunch of stuff intermiated I don't care.  Help?

    Hi TimRsandiego,

    SignalExpress is programmed to display graphs with default scales based on the type of action, it's reading. These scales and settings can be changed by right-clicking on the graph, and then select Properties.

    If you are interested to learn more about how to use SignalExpress, I would recommend checking out some demonstrations/tutorials on NI.com. You can find some of these demos at the following location:

    Let me know if you have any other questions.

    Kind regards

  • How can I change the date on photos with the Photosmart A646?

    How can I change the date on my photos when using the Photosmart A646 with Windows 7?

    It says 01/01/70. I explored all the options on the touch screen of the printer as well as the print on the computer properties screen and can't seem to find a way to change the date.

    If you took a picture with the turn date stamp feature then you can not change the stamp.

  • How can I change the date and time on my HP officejet pro

    How can I change the date and time on my HP Officejet pro?

    I'll be gald to help you in this situation.

    What officejet do you have?

    You can go to the settings on the printer screen.

    1. click on Setup

    2. click on Preferences

    3. choose the Date and time

  • I have not set the date on the camera, how do I change the date on the picture

    I have not set the date on the camera, how do I change the date on the picture

    Thank you

    Maybe some help here: http://windows.microsoft.com/en-US/windows-vista/Change-the-date-and-time-a-picture-was-taken

  • My watch clock: 2012,03,2012 at 20:10. How to get back the Date please.

    My watch clock: 2012,03,2012 at 20:10.  How to get back the Date please.

    http://www.ehow.com/how_2052285_change-time-date-Windows-XP.html

    http://support.Microsoft.com/kb/307938

    UTC/GMT is 20:12 on Friday, February 24, 2012

  • How can I identify the date when the last system restore was used to roll back the pc?

    Original title: how System Restore last used

    As the title suggests, how can I identify the date when the last system restore was used to roll back the pc?

    I can remove all restore points. I've used twice now the beta off Defender & he assures me
    the pc is clean Virgin.

    I have just got rid of a Trojan dropper & a Win 32/AmmyyAdmin. -(whatever it was!)

    I now seem to have acquired Windows Powershell along the way, gawd knows where!

    He was not here a few days ago and I don't have any idea where it is!

    What is it and should I be worried?

    Thank you

    Hello

    You can check this link:

    How to restore Windows XP to a previous state

    http://support.Microsoft.com/kb/306084

  • How can I close the Client Services for Netware that is me project to use the fast user switching without losing my internet connection

    For NetWeare customer service

    How can I close the Client Services for Netware that is me project to use the fast user switching without losing my internet connection

    Hello

    Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please post your question in Forum.You IT Pro can follow the link for your question:

    http://social.technet.Microsoft.com/forums/en/category/w7itpro

  • How can I know the date of my current windows installation?

    How can I know the date of my current windows installation?

    Start - All Programs - Accessories - right on command prompt and choose run as administrator. Type (or copy and paste by clicking in the command prompt window and choose Paste).
     
    SystemInfo | more
     
    It is up.

Maybe you are looking for