Activate the Push Notifications on door Android

I have questions about the push notification in Android Application (.apk door to .bar).

 


After reading "creating Push-Enabled Android Apps" and following the steps:

  1. Generate the android app and the sign;
  2. Porting of the apk using command line tools (apk2bar.bat);
  3. Add android.cfg in .bar  
    
    
       
          MY_APPID
          http://cpMY_APPID.pushapi.eval.blackberry.com
       
    
    

    and include clear permission (Entry-Point-System-stock: _sys_use_consumer_push)

  4. Sign the .bar using command line tools (batchbar - sign .bat);
  5. Installation using command line tools (blackberry - deploy.bat) .bar on BlackBerry (Dev Alpha B);

QUESTIONS

  1. The steps are correct?
  2. On the device, the application must appear in the notification configuration? (Settings > Notifications > Notifications / alerts)
  3. Send the process, statements:
    Response CODE: 1001
    Response DESC: The request has been accepted for processing.
    

    It's okay?

1 yep

2. notifications! = Push. If you have any questions about the integration of Notifications please report it to the Android Council

3. it is the answer for a valid push message sent

Tags: BlackBerry Developers

Similar Questions

  • How can I activate the push notifications once my multi-folio app is in the app store?

    I submit to new binary/app?

    Yes, you need to build and present a new binary that has push notifications enabled.

  • Sending of the Push Notifications with Adobe DPS

    Issue.

    I test all the DPS from Adobe and Apple options. And one of the things I'd like to test Push Notifications.

    I followed the guide iPad edition to be able to get all certificates, so it's ok. Then, I was looking for a way to send

    push notifications. Because Adobe DPS really doesn't have a user interface environment (Please correct me if I'm wrong ;-) grow us

    notifications, should I do it "by hand". When I tested my app on my iPad I got the ' name of the application wants to send you push notifications "

    so I don't know that my certificates work. Now, I just need to send a push message.

    So I followed this tutorial:

    http://www.raywenderlich.com/3443/Apple-push-notification-services-tutorial-part-12

    I was able to do everything and was able to send a push... but I never received it. And the reason for this is because

    I don't have the token device app, which is a serial number of 64 characters that acts as your address app. So I have no way to send the notification

    to my particular App (which is a sideload app multifolio test).

    Because the DPS from Adobe's cloud based you get no code (which I love). But I think that is currently to stop me

    to discover my token device.

    I ask:

    -Does this mean that I can't send a push notification to Adobe DPS created applications?

    -If this is supported somehow, I guess that (even once, correct me) I need the token device app for the application is created. Where can I get this?

    Thank you!

    For now, it is not possible to manually push notifications. When you activate the push, publishing only a new folio shows the Red badge. At some point, when to push third-party is supported, manual push will be possible.

  • Beginning with the Push Notifications

    Hello. I'm creating an application that requires access to the push notifications. I have a few questions.

    What is the difference between BIS and BES and these are the ways of ONLY to push?

    How can I sign up to allow me to test push notifications?

    How much does it cost?

    Server code can be written in any language?

    Once my code is running, my push works for any device and carrier or are there differences?

    Can I push as much as I want to, or are there limits?

    Thanks in advance.

    pg1181 wrote:

    What is the difference between BIS and BES and these are the ways of ONLY to push?

    BIS is a public Service to push when you use the Internet of RIM infrastructure

    BES is the Push Service of the company where you are hosting your own BES server.

    good news: BES Express Server is FREE

    pg1181 wrote:

    How can I sign up to allow me to test push notifications?

    Register for the evaluation: http://us.blackberry.com/developers/platform/pushapi.jsp

    pg1181 wrote:

    How much does it cost?

    Push Services are FREE

    If you need to guarantee delivery and want to be notified, you must push more Service

    where, up to 100,000 pulses per app per day are FREE

    pg1181 wrote:

    Server code can be written in any language?

    YES

    If you can send the HTTP Messages, then it works

    pg1181 wrote:

    Once my code is running, my push works for any device and carrier or are there differences?

    YES each BlackBerry has a unique device PIN - this PIN is used to identify devices

  • How to make the push notification as APN (notification of transmission of apple) with Blackberry API

    Hi all

    I want to know how to get push notification as we APN. I found a demo in the code example of RIM named "httppushdemo" with the server and client code.

    It works this way,

    My custom server (java servlet) push a few data for some static ip (on MDS with given port), on my desk and the BB device receive the MDS data, where my blackberry MDS Simulator is on. So in this case I got direct push notification when the application is activated.

    Flow for Simulator is so as:

    Server customized---> MDS (with specific ipadrees / port)<-------------- >

    (do)                                                              (receive the push)

    But my question is that, in the event of a real device, I have MDS to push the text to the specific ip address.  I have MDS in my device itself. So from where custom server I need to push the text?

    Direct to device? if yes then please tell me where I can change my bb device ip address. ?

    Thanks in advance,

    Tejas

    The AFN is similar to the notion of PPG in BlackBarry who is world BES MDS or Service of Push BlackBerry World BIS. Http you post your button to one of the PPG and it routes the message to the device for you.

    Keep in mind when you push user push BIS and BES that push you to the device with address e-mail or a PIN that you can push only per SPINDLE.

  • How to configure the push notification in BB10?

    Hi all

    I want to do an application based on the concept of send and receive push notification. I'm having difficulties in your Setup. can anyone describe the steps to configure.

    Thanks in advance.

    Have you watched this...

    http://developer.BlackBerry.com/native/documentation/Cascades/device_comm/push/developing_a_push_ena...

    There are also some examples of applications that illustrate push them...

    http://developer.BlackBerry.com/native/sampleapps/

    After that if you're still stuck, it is better to ask questions of Push in this dedicated forum...

    http://supportforums.BlackBerry.com/T5/BlackBerry-push-development/BD-p/Applications_using_Push_Tech...

  • with regard to the push notification

    Hello
    I implement push notification in my application and I register for push and received credientials of push notification. I just want to know which register credientials with my code so I need bis...?

    Consumer Push requires BIS - B.

    If the phone you are trying to push to SAY b, then you won't be able to push him.

  • vCAC 6 activate the default Notifications for users

    By default e-mail notification are disabled for the user if the user has not received any information about an application or a service rental term.

    Can it be enabled by default for every user? Don't want to give new users a documentation on how they should first set up their environment to work properly

    user_preferences_mail.PNG

    The @vCACTeam helped me with this: Please see https://twitter.com/christianklose/status/457093033281216512

  • Android.cfg file not created - BB10 Push Notification

    I'm enbaling push notification in my android app BB10 runtime. I'm following this doc to implement the push. I developed the Android using Novell project. I tried different ways to create the file cfg under bar.

    1. Before you create the apk, added the cfg file in the root of the project name of the application (tried naming as android.cfg also).
    2. Using this apk, I generated the .bar file, but Android folder, res folder and apk file do not exist, cfg file is not exist.
    3. Then I tried to add file cfg under bar file after you have created the apk but before signing bar leader, but I started getting the following error:
    Error: No manifest.
    Exception in thread "main" java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
    java:57)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
    sorImpl.java:43)
            at java.lang.reflect.Method.invoke(Method.java:606)
            at net.rim.tools.signing.SigningMain.main(SigningMain.java:72)
    Caused by: java.lang.Exception: java.lang.RuntimeException: No manifest.
            at net.rim.device.codesigning.barsigner.BarSigner.if(Unknown Source)
            at net.rim.device.codesigning.barsigner.BarSigner.main(Unknown Source)
            ... 5 more
    Caused by: java.lang.RuntimeException: No manifest.
            at net.rim.device.codesigning.barsigner.BarSigner.try(Unknown Source)
            ... 7 more
    

    I see a lot of post where push is activated with success in app Android Runtime BB10. What I'm doing wrong here?

    Hey Subha_Murali,

    Follow the instructions on this page or complie the sample application. It always works for me flawlessly!

  • Android Push Notification

    Hello! Because there is no feature for Android Push Notification DPS.

    Are there any good 3rd party tool to use for the Push Notifications in Android and easy to implement for the APK Android?

    I think its very important that users know what happens in their applications.

    Best jan

    I'm not aware of everything and notes that "implement for the APK Android" is against the terms of use for DPS. You shouldn't be trying to change the .apk file downloaded from the App Builder.

    Neil

  • BB10 Push notification: PushPayLoad

    I'm developing a c# application that can send a push notification to BB10 devices using Blackberry Internet Service, I found a code it works well, however I don't know how to add custom to the push, data data that can be access with the push as pushPayLoad and used that is when user click on the push notification , it will run my native application bb10 then navigate to the user window or any other open window as required bussiness

    Here are my c# code:

    HttpWebResponse HttpWRes = null;
                HttpWebRequest HttpWReq = null;
    
                string pin = "push_all";
                string applicationID = "ApplicationID";
                string BOUNDARY = "ASDFaslkdfjasfaSfdasfhpoiurwqrwm";
                string msg = "Good morning"; // the message to send
    
                string userName = "ApplicationID";//"YOUR_APPLICATION_ID";
                string userPW = "YourPassword";//"YOUR_PASSWORD";
    
                string url = "https://pushapi.eval.blackberry.com/mss/PD_pushRequest";
    
                HttpWReq = (HttpWebRequest)WebRequest.Create(url);
    
                //SetProxy(HttpWReq); //if proxy needed, use this
    
                HttpWReq.Method = ("POST");
                HttpWReq.Accept = "text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2";
                HttpWReq.KeepAlive = true;
                //HttpWReq.Credentials = new NetworkCredential(userName, userPW);
    
                HttpWReq.PreAuthenticate = true;
                HttpWReq.ContentType = "multipart/related; boundary=" + BOUNDARY + "; type=application/xml";
    
                SetBasicAuthHeader(HttpWReq, userName, userPW);
                StringBuilder dataToSend = new StringBuilder();
    
                dataToSend.AppendLine("--" + BOUNDARY);
                dataToSend.AppendLine("Content-Type: application/xml; charset=UTF-8");
    
                dataToSend.AppendLine("");
                dataToSend.AppendLine("http://www.openmobilealliance.org/tech/DTD/pap_2.1.dtd\">");
                dataToSend.AppendLine("");
                string myPushId = DateTime.Now.ToFileTime().ToString();
                string deliverBefore = DateTime.UtcNow.AddMinutes(5).ToString("s", System.Globalization.CultureInfo.InvariantCulture) + "Z";
                dataToSend.AppendLine("");
    
                dataToSend.AppendLine("
    "); dataToSend.AppendLine(""); dataToSend.AppendLine(""); dataToSend.AppendLine(""); dataToSend.AppendLine("--" + BOUNDARY); dataToSend.AppendLine("Content-Type: text/plain"); dataToSend.AppendLine("Push-Message-ID: " + myPushId); dataToSend.AppendLine(""); dataToSend.AppendLine(msg); dataToSend.AppendLine("--" + BOUNDARY + "--"); dataToSend.AppendLine(""); Stream requestStream = null; string pushResult = ""; try { requestStream = HttpWReq.GetRequestStream(); } catch (Exception ex) { pushResult = "Push failed! " + ex.ToString(); } byte[] outStr = new UTF8Encoding().GetBytes(dataToSend.ToString()); requestStream.Write(outStr, 0, outStr.Length); requestStream.Close(); try { HttpWRes = (HttpWebResponse)HttpWReq.GetResponse(); } catch (Exception ex) { //push failed } if (HttpWRes != null) { HttpWRes.Close(); }

    What are the changes that I must code to send data as well as the thrust as profileId = 123?

    After much trial and error, I finally found the answer: adding "msg" I can add all payload elements I want:

    MyStringBuilder.AppendLine ("profileId"+":" + "AAB123");

    MyStringBuilder.AppendLine ("postId"+":" + "4567");

    MyStringBuilder.AppendLine (msg);

  • BB10 - customization BB Hub and Push Notification Messages

    Hi all.

    The push notification are push to the notification in the hub of BlackBerry. Is it possible for example to create a new label to a custom in the hub application and have the notification being pushed in the custom label?

    No, it is not possible for third-party applications.  Only some apps approved (such as FaceBook, Twitter and LinkedIn) have had access to their own 'space' in the hub.

  • Sencha Touch 2 w / Push Notifications

    Hey all,.

    I'm new to the world of BlackBerry development and confused about some things. I am developing an application using Sencha Touch 2, but I need to have the Push Notifications. I understand that this is something that can be done through the API WebWorks, but I was under the impression that you could use the framework WebWorks or Sencha Touch 2 framework; they are mutually exclusive.

    I recently read a post on the forum, which would seem to contradict that, someone had integrated the functions of the WebWorks API in their project of Sencha Touch 2. Could someone give me an idea of exactly how do you it?

    Thank you!

    Welcome!

    Resemble WebWorks an extra set of API, you can use to create applications that require access to hardware or services of BlackBerry.

    If you build your application in Sencha Touch and whenever you need to have access to something specific to the device, simply make you calls to your App, exactly as you would call a Sencha Touch method.

    It is similar to how you would add external application of Sencha Touch libraries, because the SDK does not provide a component you need.

  • DPS: Push Notifications

    DPS, how certificates of Distribution and development NPP for the Push Notifications?

    Hello

    For more information on the creation of the push notification requiring Apple certificates, see the iPad edition Companion Guide PDF .

    Thank you

    Laxman

  • Impossible to uncheck Push notification in dps app Builder

    Hello

    I am trying to build a dps for ios app. My client don't want to initially allow the push notification. As a result, they gave us a mobileprovision without push notification certificate.

    For some reason, I am unable to disable the Push notification in dps app Builder. It is grayed out.

    Someone knows why?

    When you create or modify your App ID on Apple dev site, you specify if the thrust is supported. The mobileprovision files include this information. Ask your customer to ensure that push disabled in settings App ID. If he must change the AppID, they need rebuild the mobileprovision file.

Maybe you are looking for