PUSH for the Runtime Android blackBerry 10 problem

I'm having a problem with my BB10 Android runtime, it fails when you try to contact CWM and therefore do not send a token valid push on our server.

I followed the instructions to the letter here: http://developer.blackberry.com/android/apisupport/creating_push-enabled_android_apps.html

My BAR a /android/android.cfg file that looks like:



   
      215-513Bxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      http://cp215.pushapi.na.blackberry.com
      bb-
   

The credentials are the production and worked when they tested them.

/ META-INF/MANIFEST. MF has the following line adds automatically via the Nature Blackberry plugin:

Entry-Point-User-Actions: access_internet,read_geolocation,access_shared,play_audio,post_notification
Entry-Point-System-Actions: _sys_use_consumer_push

Archive-Asset-Name: android/android.cfg
Archive-Asset-SHA-512-Digest: 0iYhu0YnKDy8vnMxTElTXSD-oEXw8vvVBSBxDI_LxcR_B4w53SoXBW7NbRMAD-ZYmQDnMs_aUQrQaNEssmp36Q

Running a push of the application works very well with android, but it does not work with my BlackBerry 10 Dev Alpha, and we also tried with a Z10. The Alpha DEV us running OS 10.2.0.341.

There were a few problems of verification of BlackBerry I'm not sure if they are relevant or not:

targetSdkVersion: 17 is higher than 10:required minimal OS version=10.2
uses-permission: com.google.android.c2dm.permission.RECEIVE:required minimal OS version=10.0.9

the operating system is running well version 10.2.0.341 on the DevAlpha.

Edit: added trouble spot:

When you debug the application on the devalpha, using the standard tools of GoogleCloudMessage, the call

int googlePlayCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
        Log.i("GooglePlayCode", "Code:" + googlePlayCode);
        if (googlePlayCode == ConnectionResult.SERVICE_VERSION_UPDATE_REQUIRED
                || googlePlayCode == ConnectionResult.SERVICE_MISSING
                || googlePlayCode == ConnectionResult.SERVICE_DISABLED) {
            GooglePlayServicesUtil.getErrorDialog(googlePlayCode, this, 1).show();
        }
        else if (googlePlayCode == ConnectionResult.SUCCESS) {
            regid = getRegistrationId();
            Log.i("RegistrationId", "regid:" + regid);
            if (regid.length() == 0) {
                getSenderIdThenRegisterBackground();
            }
            gcm = GoogleCloudMessaging.getInstance(this);
        }

This part:

int googlePlayCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);

returns 9, which from here: http://developer.android.com/reference/com/google/android/gms/common/ConnectionResult.html#SERVICE_I...

is SERVICE_INVALID.

EDIT:

I tested the gcm by skipping the verification for MCG avaliability and my code attempts to record with CWM VIA:

String msg = "";
                try {
                    if (gcm == null) {
                        gcm = GoogleCloudMessaging.getInstance(context);
                    }
                    regid = gcm.register(senderId);
                    msg = "Device registered, registration id=" + regid;

                    // Save the regid - no need to register again.
                    setRegistrationId(regid);

                    // Send the registration ID to our server over HTTP,
                    // so it can use GCM/HTTP or CCS to send messages to our app.
                    sendRegistrationInfo(context, regid);
                } catch (Exception ex) {
                    StringWriter sw = new StringWriter();
                    ex.printStackTrace(new PrintWriter(sw));
                    String exceptionAsString = sw.toString();
                    msg = "Register Error :" + exceptionAsString;
                    //msg = "Register Error :" + ex.toString();
                }

that throws an exception, with the stack trace:

java.io.IOException: SERVICE_NOT_AVAILABLE
    at com.google.android.gms.gcm.GoogleCloudMessaging.register(Unknown Source)
    at com.joemobi.APP_ID.JoeMobiActivity$9.doInBackground(JoeMobiActivity.java:887)
    at com.joemobi.APP_ID.JoeMobiActivity$9.doInBackground(JoeMobiActivity.java:1)
    at android.os.AsyncTask$2.call(AsyncTask.java:287)
    at java.util.concurrent.FutureTask.run(FutureTask.java:234)
    at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:230)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1080)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:573)
    at java.lang.Thread.run(Thread.java:856)

Help, please!

A possible cause of this problem uses the SDK Service software play Google to enable GDM. Play Google Service is not supported on BlackBerry 10 is why any reference to the API of GCM would fail.

Using the stand-alone GCM library should still work on BlackBerry 10 and is still said to be supported by Google:

«The client library for assistance was offered in previous versions of the MCG works always...» »

Tags: BlackBerry Developers

Similar Questions

  • Should I spend the $280.00 for the cannon to solve my problem of autofocus 70 d?

    Should I spend the $280.00 for the cannon to solve my problem of autofocus 70 d? Or just go back to my rebels much trust?

    MelekalsCanon wrote:

    Very much appreciate your taking the time to send a response. As a new user, I was not sure if anyone worth. Let me add a bit more to my first post. I go into this niche between amateur and a person with clients. For more than 10 years, I have covered the events for a non-profit organization, capturing the look and feel of 20 + events per year and received permission to buy some cameras this year. My decision from the beginning was to use the Canon Rebel. The images are on site and once I had a problem with one of them (after the filming of the external events in time 105 degree for 3 days).

    So when I retired a year ago, it was for me a selection fairly simple to get a gun for me - especially since at this time there the 70 d was on the cover of magazines and has been very very touted. I also did a lot of publication computer assisted and helped me to realize that I want the best sensor, resolution and sharpness, lens that I could afford - the 70 d of photo editing. My post was actually a result of reading many replies online, including your very informative responses on 70 d focus problems. My biggest concern is I'll spend hundreds of dollars and maybe, just maybe get a camera that captures images better targeted, but still not as strong as the bottom end rebel I used. I had hoped to buy my first goal of 'L' and really get excited - not try to repair the unit more expensive that I bought that day.

    Thank you once again and before he gets noted by someone... Yes, I should have pushed this issue earlier and then at least the guarantee would have covered the cost. A lesson in expensivve. But I must add that at least an authorized Canon dealer repair told me they had several people the impression that I did - he was the photographer / me as a new user having the problem and not the camera. Now, I know it's my camera.

    Let me clarify that I do not own a 70 d, so what I say about it is to look at what others have said, especially in this forum. But it is disconcerting to see so much complaint about a camera that is supposed to have an innovative system of development. One is strongly tempted to suspect they went overboard in trying to put the camera to the service still photographers and videographers.

    That said, I'm not a big fan of the rebel line, because they do not have af microadjustment, and I at least have a Canon lens excellent also which would be useless without it. (The 70 d there AFMA, a point in his favor.)

    What about spending the $280 for the repair, I understand why it is difficult to call. If I were in your shoes and were convinced that Canon includes the question and he'll fix it properly and permanently, I guess I'd go for it. If you do not do, they fell that you need something a notch above the rebels, is perhaps a good time to buy a 7 d remains or rehabilitated. Even though I now have a 3 out of 5, I always use my 7 d a good amount and have been very happy with them. And the 2 7 got such a favorable reception it was practically forced to put at the disposal of the most 7 d at a decent price.

  • Tried to use iTunes to restore iPhone 5s, but the 17 error happens: "this device is not eligible for the requested build". No problem to enter the mode of recovery, apple server and the internet. Help?

    I tried to use iTunes to restore my iPhone 5s, but the 17 error happens: "this device is not eligible for the requested build". No problem to enter the recovery mode, connection to the apple Server (the software update download was complete) and internet connection. Help? I do an Apple store to restore?

    Error 17 refers to network problems. Take a look at these articles and try the suggestions:

    Solve the iOS update and restore error in iTunes - Apple Support

    Get help with iOS update or restore errors - Apple Support

  • How to prevent the appearance of "Failed to open Document" "Please check if you have read permissions for the file above.  This problem occurs when I try to convert a word in a PDF doc.

    How to prevent the appearance of "Failed to open Document" "Please check if you have read permissions for the file above? This problem occurs when I try to convert a word in a PDF doc.

    Hi [email protected] ,

    Please try to follow the steps mentioned in this thread with a similar problem: Impossible to open the document. Please check if you have read permissions for the above file.

    Also, let us know the acrobat version you have and the version of the OS on your system.

    Let us know if that helps.

    Concerning
    Sarojini

  • Journal entry for the Runtime Error FDM

    Hi all

    I'm trying to run a Script to load batch Standard, but I still have the same error.

    I realized a FDM Appication, loading bacth script and data file (with that name 1 @JDE@Actual_Inp@August@RR ).

    Adapter, import formats, maps and location seems ok.

    THIS IS THE ERROR LOG:

    * Start the journal entry for the Runtime Error FDM [2013-09-24 12:59:06] *.
    -------------------------------------------------------------
    ERROR:
    Code............................................. 6
    Description... Overflow
    Process... clsBatchLoader.mExecuteParallelBatchProcess
    The component... upsWBatchLoaderDM
    Version.......................................... 1112
    Thread........................................... 4100

    Could someone help me?

    Thanks in advance

    Andrea

    Hi Andrea,

    Are there more entries in the log? In addition, you can load the file via the manual process?

    Kind regards

    Thanos

  • OTA link register to Push for implementation of Runtime Android Blackberry 10

    Him "BlackBerry push Service Production and changes form" requires a live download link.

    (see https://www.blackberry.com/profile/register.jspr)

    I've migrated an android app for blackberry with blackberry for android runtime.

    Review of push service works very well. Now, I want to prepare the global release of BB and register for push production service. I use the blackberry tools 2 beta command line for the conversion.

    The OTA link is required in the form of Production to push. I couldn't find any information how to set up OTA for a bar file. I read the following: "BAR of the files cannot be deployed OTA from a web server, such as the files of COD." They can be installed via BlackBerry World. ", see here:

    http://supportforums.BlackBerry.com/T5/testing-and-deployment/how-to-install-a-bar-file-in-OTA-downl...

    I also read that the jad / cod of OTA files have a limit of 128 KB file. My bar is ~ 600kb.

    (see the video here: http://supportforums.blackberry.com/t5/Testing-and-Deployment/BlackBerry-Smartphone-Over-The-Air-Dow... )

    The questions now: How can I register for the Production Service to push? Can I stuff OTA? How to generate?

    I provided just the bar file as a link and got to push the production credentials.

  • The runtime android Passport downloading blackBerry patch

    This KB article mentions a fix for uninstalling android applications. I can see it in the world of BB, but when I try to download I get a message (translated) "a network error occurred. to ensure that your coverage is sufficient. »

    My colleagues all make the same mistake. Network coverage is excellent, and other applications can be downloaded without any problem.

    Would it not possible to provide this specific folder for sideloading? Or y at - it another way I could get this fix? I have several "uninstalled" still remaining on the device android apps and don't really want to wipe the device just to have this problem with the next application.

    Edit:

    After reading the comments on the crackberry article , it seems that the majority of users around the world have this problem.

    Please see this helpful thread, where the question (and status) has been discussed at length with official staff members of the BB:

    It is advisable to use this thread for all discussions on the issue.

  • Address book for the transfer of blackBerry Smartphones

    I got a new blackberry to my company because my old had hardware problems.  I would like to transfer my address book from my old to my new blackberry.  When I use the Desktop Manager to do this and make a backup and then proceed to do a restore of the AddressBook is grayed out on the left side. In order to transfer to my new blackberry.

    I even tried the device switch Wizard and he transferred a game that I downloaded from my old blackberry to my new but my address book, calendar, tasks, Notes and password Keeper not transferred. I'm not on an Entreperise of Blackberry server.  She just basically transfer my information from a Blackberry to the new.

    This is the same model (8130) for the Blackberry.  Does anyone have any suggestions.  Thank you

    Oh dear - your new device has a COMPUTER policy. And, since you received the device in your company, you must seek their help because it is most likely that it is this policy that prevents you from doing what you want to...

    Now, if they come back and say "we don't know anything about"... so there are some things that you can do... all are 100% destructive of any data that you have on your BB, then plan on what it is once more "nines"...

    http://www.BlackBerryFAQ.com/index.php/How_do_I_remove_the_IT_Policy_on_my_BlackBerry%3F

    http://supportforums.BlackBerry.com/Rim/Board/message?message.UID=269661#U269661

    Good luck and let us know how it goes!

  • Message from Smartphones blackBerry of RIM for the owners of Blackberry messenger

    I received a forwarded BBM message to a couple of my friends today saying this:

    Hello, greetings from RIM (Research In Motion) BlackBerry owners. This message is to inform all of our users, our servers have been recently really full, so we ask for your help to solve this problem. We need our active users to re - send this message to everyone on your list of contacts in a way to confirm our active users who use BlackBerry Messenger, if you do not send this message to all your BlackBerry Messenger contacts, then your account will remain inactive with result in losing all of your contacts.

    We apologize for the inconvenience, but this is the only possible way to solve this problem. Sincerely from Research in Motion. For more information visit:
    www.BlackBerry.com/inactiveuser

    Is there any truth to this? I checked the link to Blackberry and got a message saying that the page was not found.

    My favorite is the technical term that they use "very comprehensive."

    It is indeed a hoax.

    A hoax message circulating on BlackBerry Messenger (BBM) asks users to message BBM to their contacts in order to maintain the BBM service and claims to have been sent originally by Research In Motion (RIM).

    Be assured that this BBM message did not come from the RIM and that it does not affect the security of BlackBerry smartphones. It is simply a string of hoax message. Unfortunately, many social networking applications in the face of this scenario, according to which no message, including a hoax message, can be transmitted to a user of one of their contacts. We recommend that users simply ignore the message and do not convey.

    English version of the broadcast message illegitimate:

    Hello, greetings from RIM (Research In Motion) BlackBerry owners. This message is to inform all of our users, our servers have been recently really full, so we ask for your help to solve this problem. We need our active users to re - send this message to everyone on your contact list in order to confirm our active users who use BlackBerry Messenger, if you do not send this message to all your BlackBerry Messenger contacts, then your account will remain inactive with result in losing all of your contacts.

    We apologize for the inconvenience, but this is the only possible way to solve this problem. Sincerely from Research in Motion. For more information visit:
    www.BlackBerry.com/inactiveusers

    Spanish version of illegitimate dissemination message:

    Hola, reciban a cordial saludo to leave Research In motion the marca BlackBerry owners. Este message are para informarle as nuetros servidores han estado lately muy llenos, asi as porfavor requerimos su ayuda para improve este problema. Por lo tanto we need than este reenvieen message a toda su lista of contacts para asi poder los activos BlackBerry Messenger users see, lo contrario no enviar este message a toda su lista of contacts, su BlackBerry Messenger staying como inactivo having como consequencia the lost of all known contacts.

    Disculpen las molestias, pero're asi unica manera resolver este problema grave. Honestly Research In Motion. For more information visit: www.blackberry.com

  • Message "unread" icon for the ghost of blackBerry Smartphones

    I have a stray 'closed' mail icon, it was on my old BlackBerry (an 8830) and when I got my new BlackBerry 9650, all was good, until I finished syncing my business and guess what's back? now here's the catch, it shows (and as he has done before) it's an email "Optimum we Line", not the enamel that is pushed by the server of my company. If there is no technical support will be the problem.

    Any thoughts?

    Thank you

    Serum

    While in the application Messages, press menu and go to 'View the Messages saved.'  Is there an email unread in there?  If not, do the same thing and go to the "view folder" and check out all the different records.

  • page apex_admin not display for the runtime environment and application deployment using command-line

    Hello

    I installed APEX 4.2.6 EPG on Windows 7 Professional (32 bit) with Intel Core i3 processor.  Oracle XE 11.2 Win-32 DB.

    All the installation steps followed according to the Installation guide for the Apex.  It is a fresh and new installation.

    img1.png

    Install the log shows below -.

    Thank you for the installation of Oracle Application Express.

    Oracle Application Express is installed in the APEX_040200 schema.

    SQL > SELECT DBMS_XDB. GETHTTPPORT FROM DUAL;

    GETHTTPPORT

    -----------

           8082

    I did only the installation of runtime using apxrtins.

    ' Step ' grant of privileges of connection "according to the document was smooth without any problems.

    SQL > ALTER SYSTEM SET JOB_QUEUE_PROCESSES = 20 scope = both;

    Modified system.

    SQL > ALTER SYSTEM SET SHARED_SERVERS = 5 SCOPE = BOTH;

    Modified system.

       

    I played "Creating a workspace manually" and met above question.  For installation of runtime, is this unnecessary step?  Or any other step I'm missing?  Help, please.

    Thank you and best regards,

    -Anand

    Hi Anand,

    anand_gp wrote:

    All the steps I did in my development environment and no problem following the steps.  And there is no question of the problem of the EPG or a bad image of loading because the other workspaces and applications out there are working well.  My question was, when I tried to copy an application via command line in an another 'new space and work with some new application ID', wheather my steps were correct?  If so, then why does not using the URL of the application.  And since it is in full flight development environment, where other workspace / applications work fine, how to connect to the new workspace I created using the command line?  If you look at my steps, I did provide any user name and password associated with this workspace all in creation.  When all this is going very well, so I will try in my new machine that has only run-time environment.

    Thank you

    -Anand

    I think you missed the validation part. You're going to make after the installation of the application as well as the addition of workspace

    commit;

    Hope that solves your problem.

    Kind regards

    Jitendra

  • For the last week, I had problems on the Web pages in the browser look at a box itself (the box that actually shows the site), I can't click on anything anyone in the top thumb or inch - and a quarter. What does this, and how can this be repaired?

    This applies to all links and anything in this field unless it falls below, then I can click on it. The only thing that seems to get around it, is on a bar at the top of a Web search, I can click and type, but there is no text cursor.

    This problem occurs even when I scroll down, the same area of a Web site can be clicked, because of this problem.

    This does not affect the toolbars, bookmarks, etc..

    Recently, the Yahoo toolbar and the extension of Babylon have been reported because of this problem. They appear to overlap invisibly on the top of the display of the web page. You have both installed, uninstall or disable them / it or see if an update is available that solves the problem.

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

    You have several older versions of Java installed Console Java did not clean up when updating. Follow these instructions to remove older versions:

    Your old extensions Java Console:

    • Java Console 6.0.05 {CAFEEFAC-0016-0000-0005-ABCDEFFEDCBA}
    • Java Console 6.0.07 {CAFEEFAC-0016-0000-0007-ABCDEFFEDCBA}
    • Java Console 6.0.12 {CAFEEFAC-0016-0000-0012-ABCDEFFEDCBA}
    • Java Console 6.0.13 {CAFEEFAC-0016-0000-0013-ABCDEFFEDCBA}
    • Java Console 6.0.14 {CAFEEFAC-0016-0000-0014-ABCDEFFEDCBA}
    • Java Console 6.0.15 {CAFEEFAC-0016-0000-0015-ABCDEFFEDCBA}
    • Java Console 6.0.21 {CAFEEFAC-0016-0000-0021-ABCDEFFEDCBA}
    • Java Console 6.0.22 {CAFEEFAC-0016-0000-0022-ABCDEFFEDCBA}
    • Java Console 6.0.23 {CAFEEFAC-0016-0000-0023-ABCDEFFEDCBA}
    • Java Console 6.0.24 {CAFEEFAC-0016-0000-0024-ABCDEFFEDCBA}
    • Java Console 6.0.26 {CAFEEFAC-0016-0000-0026-ABCDEFFEDCBA}

    Not related to your question, but...

    You may need to update some plug-ins. Check your plug-ins and update if necessary:

  • Password for the Bios M30 - 742 satellite problem

    I have a Toshiba laptop (model No. Satellite M30-742), bought on May 26, 2004.
    But I forget the CMOS password.
    Without entering the password, it is not possible to start the laptop.

    I have also contacted to your "Redington India" service centre in Kanpur (India).
    But they are unable to solve my problem.
    I know that my laptop is now out of warranty.

    So, I'm willing to pay for it.
    Please help me to start my laptop.

    Laptop model Satellite M30 742
    Model number PSM30E-7100V-EN
    Series No. 44095636P
    Windows XP operating system

    Thank you
    Dinesh.

    Hello

    The unknown BIOS password cannot be deleted or removed easily.
    The unknown BIOS password can be removed ONLY by a certified maker Toshiba.

    To my knowledge, the Satellite M30-742 PSM30E-7100V-EN was released in Europe (probably for the British market)
    Then, probably, you should contact the ASP from Toshiba available to the United Kingdom in order to remove the BIOS password.

    Here is a link to all Toshiba ASP available worldwide:
    http://www.Toshiba.EU/innovation/generic/ASP_SUPPORT/

  • Spectrum of HP x 360-13 - 4130 ca: hinge for the spectrum x 360 Hp problem

    So I got my x 360 and I loved, everything was fine and no problems at all with it. But after about a month, I noticed that the left hinge (looking at the screen in the normal laptop use) began to waver. He got more loose since yesterday and today, if I screen to about 120 degrees and I hold the screen and the keyboard in separate hands and shoot, I can see the gap between the EEG screen and larger keyboard. Maybe around 2 mm. In addition if I shake the phone back a bit I can hear the Squeak of the hinge. Basically, it feels like gears are loose or and is not normal, because the right hinge has no problem, so never and works perfectly. I have never droped my laptop or hit on something, so I hope there is a fix for this because I really need my laptop for College and I love the x 360.

    Thank you.

    This is NOT official HP customer service and I, like most other people on this forum do not work for HP. It is a forum for users of peer-to-peer support for HP products. HP maintains no official presence on this forum and it is unlikely that HP will respond in an official capacity. Response of an employee of HP represents his own opinion and not that of HP.

    I'm sorry that you are having problems with your computer. I have forwarded your concerns to administrators of the Forum HP for possible escalation. Please look for a PM (private message), a representative from HP on this forum.

    If you have any other questions, feel free to ask.

    Please click the White Star of KUDOS to show your appreciation

  • "Any new name for the program" has encountered a problem and needs to close. Sorry for the inconvience

    Whenever we try to install something new, that settles it, but when we get the same error message

    "the new name of the program" has encountered a problem and needs to close.  Sorry for the inconvience

    We can't get anything to run now

    Hello

    1 is this problem limited only when installing an application?
    2. what application are you trying to install?

    Method 1.
    I recommend you to reregister the Installer engine.
    Here's how:
    a. Click Start, click Accessories and then click command prompt.
    b. at the command prompt, type the following and press ENTER after each line:

    MSIExec /Unregister
     
    MSIExec/regserver

    Method 2.
    For other methods, see the article below.
    How to troubleshoot issues that may occur when you install, uninstall, or upgrade one program on a Windows computer
    http://support.Microsoft.com/kb/2438651/en-us

    I hope this helps.

    Thank you, and in what concerns:
    Shekhar S - Microsoft technical support.

    Visit our Microsoft answers feedback Forum and let us know what you think.
    If this post can help solve your problem, please click the 'Mark as answer' or 'Useful' at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

Maybe you are looking for

  • Satellite L670 - 14M - 'Install Bluetooth Drivers' freezes

    I recently bought a satellite Pro L670 - 14 M (W7 64 bit) registration bluetooth watch and even lists of site Toshiba in the specifications, but when I click on bluetooth settings, it loads a dialog saying "Install Bluetooth Drivers" but the movement

  • Satellite L30-134 - question about upgrade CPU and video performance

    Hi have updated my satellite l30 - 134 with a bus t2450 dual core @2 ghz 533 Mhz = cpu is runing swell-marks look nice... BUT - my video performance droped a lot - grafics 2d - to top but 3d grafics are very poor why? driver problem?have also 2 g ram

  • Why lonely keep resetting itself to £-52.

    Even if the settings are to rack up the score, solitary, at random, will himself to £-52. I tried uninstalling and reinstalling, but makes no difference. It worked fine before Windows 7 HP (which I have now).

  • Windows media player - live radio stream does not.

    Original title: windows media player - live radio stream Windows media player-i'm trying to listen to a live stream of a radio station.  I did this for a few days and it worked fine.  Now, it won't work, it shows the connection and made, but nothing

  • Cartridge installed Deskjet 3520 error

    Error on the product One or more cartridges appear to be missing or damaged. Install or replace the affected cartridges. It's for all the cartridges. I have just setup of the printer out of the box. I installed the cartridges installation according t