Push initiator

Hi, I tried to use a push (BIS) service where the mi client is a simulator, I think I have all the necessary files.

I downloaded a simple BIS version I found a section in this forum, where the use of the client you only need two files.

My problem is that I don't know how to operate the my application server side, any help will be appreciated.

the Simulator does not have a BIS connection, you must use a real device.

the server does not have to do great thing, just send a http request with data push to the address provided by rim. everything else is your design.

Tags: BlackBerry Developers

Similar Questions

  • Push initiator return always-9999 due to the subscription of 10 BlackBerry application

    I have an initiator server push on push initiator BlackBerry sample-based measure. My push initiator works fine for my apps push activated BB5, BB6 and BB7. But when I use it for BlackBerry 10, the parameters are same just the username is using my bb10 pin code, the initiator to push always 9999 return General error when send the subscription request to the initiator to push. What is the reason for the possible error to-9999? Does anyone know how to solve? My version of the sdk Push is 1.0.0.5

    Thank you

    Hello

    When you say "sample Push initiator", do you mean one that comes with the SDK Service Push or someone else?  I need to see some kind of SDK or PAP XML request and response logs to help you further.

    Thank you

    Matt

  • Password Push initiator

    Hello

    Can someone explain where the password to push initiator (fixed on the BES) is inserted in the application code push server-side?

    Thank you

    BBJim

    Sent to MDS - CS for authentication credentials are sent in the format of HTTP Basic authentication. To use this feature, the push application must add the credentials of the user to HTTP request headers. The credentials are passed as a combination of coded in Base64 of user name and password (user nameswd).  To do this in Java, use the following code:

    String auth = "Basic " + new BASE64Encoder().encode((username +
     ":" + pswd).getBytes());
    mdsConn.setRequestProperty("Authorization", auth);
    
  • Using application server MCG for pushing BB

    Hi all!

    I am currently a porting Android to BB10. This application supports push notifications and I wish the portability to BB10 too. I understand the client side manages very well now. However, what I wonder is:

    On the page "Creation Push.enabled Android apps", he said "a similar web query." Then here in the forums and the SDK push he speaks on the PAPER size. So the question is: what changes should I actually do my application server to push properly? The page doesn't have much info on this topic... In reading the page I I would assume switch simply the URL for the BB it and value. But now I guess this isn't the case?

    If we really need to use a completely different format to the push initiator, then this should be documented here. Cause, that would mean that we really need to implement from scratch.

    Thank you

    Max

    The format you send must be the same - the only difference is to send it to the BlackBerry instead of GCM servers. The only tricky part is to know what kind of device the user is on.

  • Several Question about Push Service

    Hi I am just learning the concept of Service Push on BlackBerry

    I have several question on initiator to push:

    -If there are a lot of app activate push (client), can push initiator must send request message (for the customer)?, or Push initiator must send for each customer (so should send 10 times so have 10 client)?

    There's a ceiling / push message max can send daily (free)? I intend to send message 3 to 5 a day

    -Is there a max client limit / receiver (on free)? What about 1,000,000 customer

    -Can I send ads or promotion on push message?

    Thank you

    Hello

    Grand tour of questions, I'll do my best address:

    (1) are you referring to multiple devices or multiple different applications? I'll answer both:

    Features: A push message can be sent to one or more devices. So, you can send a surge of broadcast to all registered devices.

    Applications: Push accounts don't support a single application, there is a 1:1 relationship. You can, however, apply to many accounts to push. We have some suppliers with dozens of accounts.

    (2) push is only offered as a free service today. There are daily caps imposed, but these caps can be * very * flexible (we can always increase your cap if necessary).

    (3) there no limit to how many customers once your account grow flies over to the production server. For the test, we need each account to start pushing the testing server which limits the number of users at 50.

    (4) at present there is no restrictions on the content of the payload to push. We do not recommend an option to allow users to not receive messages however push.

  • Deployment problem push SDK samples

    Hi all

    I'm trying to deploy the sample applications that came with the latest version of the SDK Push (debugging and sample push initiator information) and I get following error:

    FYI, I installed the SDK push under Program Files/BBS, after I uninstalled it and tried different directory error dissapeare. I should have try that first (before applying my own PropertyStore)

  • Add headers custom Blackberry push Message (OS 6-7)

    Hello

    Veuileez tell me how to add the custom headers in Push Blackberry Message in addition to "text/plain", the Blackberry Push Messages work perfectly, but I have to add the custom headers for some information content.

    I tried adding headers to the content class to push initiator end but unable to receive connection in object client side in the analysis (bad PushInputStream, connection conn), so please let me know how to do it.

    Thank you

    The payload is the only place where you have the control to set the data, the rest is standards-based and cannot be customized.

  • Architecture of client for Notifications of type server push in Blackberry OS < = 7

    Hi all

    Please guide me to solve the problem which would be the Architecture if I go with my current server settings for Android it gets the token device for each device and record in DB and against this device he unique token identifies the device and send the THRUST of this device through CMG.
    So now, I want to keep it as for Blackberry:
    to do this, I did research but could not finalise the side Structure of the customer and the final server that the customer must register with the initiator push then routing throug PPG and then go without using the software Push Blackberry SDK?
    Kindly give me the idea that how Client-side communicates with server-side?
    is that our client-side application communicates with our local server and local server communicates with the Server Push Blackberry then what are the steps to follow?

    Thank you

    Yep, you will need to write an application server (your Push initiator) that will send the shoot to the BlackBerry push Service PPG (it will be the public/BIS PPG if you send a push the public and not the users business/work).  If you're comfortable with Java, we offer a Push Service SDK that makes it easy to write a push initiator.

    A push-enabled application on your BlackBerry must register with your application on the PPG ID so that he knows he has allowed to receive the shoot.  You mentioned that you develop for BlackBerry OS<= 7="" so="" i'm="" guessing="" you="" will="" be="" writing="" your="" push-enabled="" application="" using="">

    We have an example of Java application and the developer's Guide that could be of assistance in the drafting of the present: https://developer.blackberry.com/devzone/develop/platform_services/push_apps.html

    Of your Push initiator, you want to send a big boost to your application that runs on a specific device of BlackBerry using your password, push application ID and the pin of the device (there are other required fields by PAP XML, but those are the essentials - well, and the content you want to push so ).

    Matt

  • Don't push error no application instance

    I have a problem with the function of insertion for several days. I think you could help me

    -J' have request to push most of RIM, get the port, appid,.

    -J' I already install BPSS on public server. and installation push config following details above.

    -J' made of the client application, following the example of client project initiator-push-sample code. and run on my device work well.

    -J' I install bpsUrl on the client app on my public server hxxp://xxx.xxx.xx.xxx:8080 / sample-push-initiator * I used 8080 ports because my hosting limitaion.

    -What the attempt to join the server app. I always have this exception. IllegalStateException: no instance of the application

    -So, I try to solve this problem in searching on google and found that someone said. you need to enable server BIS.

    Please suggest to me what I'm missing.

    See you soon,.

    anop72

    It works now.

    all the above setup is correct. I just need active BIS plan on my sim card. After that everything works.

  • To some specific devices push notification is sent

    Hi, guys!

    I implement notifications of type push client-side using net.rim.blackberry.api.push. As far as I understand, there is no way to pass data to the device, or to a particular user at registration (I mean registerApplication() in PushApplicationRegistry) so my push initiator will not be able to send notifications only to some specific devices, not at all registered with the application id given. Is this fair?

    On the other hand, I know that using the server-side net.rim.pushsdk library, I can indicate some addresses to which notification will be sent. They are stored in the PushMessageControl instance that is passed to the net.rim.pushsdk.pap.PapServiceImpl.push () method. Could you please explain me what are these addresses and how do I send their customer when registering for notifications?

    Or maybe I am totally lost in all of this...

    Thanks in advance

    Hi Valera,

    Here is a simple code to push to BIS.

    List = new ArrayList ()addresses;

    Addresses.Add ("27f45fc5");

    PushMessageControl pushMessageControl = new PushMessageControl (idGenerator, APP_ID, addresses);
    Content content = new TextContent (data);
    PapService papService = new net.rim.pushsdk.pap.PapServiceImpl ();
    Properties PushSDKProperties = getProperties();
    HttpClientImpl client = new HttpClientImpl();
    client.setPushSDKProperties (properties);
    papService.setHttpClient (customer);

    papService.setPushSDKProperties (properties);
    PushResponse response = papService.push (APP_ID, password, APP_ID, pushMessageControl, content);

    Just add the pins you want to send to in the address list.

    HTH

    Chris

  • Push Service BB10

    Hello

    I downloaded this example.

    http://BlackBerry.github.com/Cascades-samples/pushcollector.html

    This example works, but how to check the reception the push?
    How to send a message to yourself?

    Thank you!

    Have you downloaded the push RIM sample initiator and installed?

    If you have it installed, you can use this URL as an initiator to push URL and set up in the config of pushcollector as well as the application id and the PPG. After config is saved, you can register your device to the push initiator.

    Access the debugging on the initiator to push side portal, you can create an application, then use management push to send a helping hand

    http://developer.BlackBerry.com/services/push/?CPID=PUSHAPI00

    http://developer.BlackBerry.com/Cascades/documentation/device_comm/push/developing_a_push_enabled_ap...

  • Can we push through the BES/MDS to a server outside the company application?

    Hi, we are developing a cloud-based management platform web mobile device for businesses. If the push initiator server would be located on our enterprise network or data centers, and it will not be inside the company of any particular network. In this case, our server in the cloud could still push the unit to a company through their Server BES/MDS?  I guess that the SDM cannot be accessed from outside the company, but somehow I could not a confirmation of research.

    Could someone with experiments to confirm?

    I don't think that this is possible. The BES is the internal network that secures the way BlackBerry.

  • On BIS and public PPG for push notifications

    Hello!

    My name is Christian and I'am really newb on everything concerning the mobile devolopment. However, I had to develop a server push initiator and a small client side app for testing and so.

    Along the registration process for the Service Push, I received all the necessary info from RIM (url PPG, app ID, cp ID, password, etc.), but I have some doubts and questions.

    One is related to a provider of content and PPG URL ID

    -What is http://cpXXX.pushapi.eval.blackberry.com for?

    So far, I've tested. "pushapi.eval.blackberry.com" works well on the side of client or server. I mean, using this URL my initiator to push could send a notificacions and, on the other side, the client was able to register and recive notifications.

    Which brings me to the next question... What should I do with a content provider ID (I don't even use it)?

    I read that in production, PPG URL is something like '. http://cpXXX.pushapi.» BlackBerry.com".» (here make sense to me that content provider ID)

    Another issue is that if this kind of URL is for server-side? Or is it just for the client side?

    Lately our client we asked for the IP addresses and Ports of blackberry PPG because the Push Server Inititator will be located behind a firewall and they must activate just the IP address and Ports required. (white list)

    We want to meet all you need to grow an initiator to connect Production PPG or PPG Eval.

    Ty a lot in advance!

    PS: Sorry for my English. I'm working hard on it ;-)

    Hello

    You use below url in Server Code

    https://cpxxx.pushapi.na.BlackBerry.com  Please use CPID instead of xxx .

     

     (for example if your cpid = 234 so now the url " https://cp234.pushapi.na.blackberry.com").

    Note:-If you transfer evl in production can convert server-side and client-side detail below.

    Beside Server :-appid, password, url

    Client-side:-PUSH_PORT, BPAS_URL, APP_ID.

    ------------------------------------------------------------------------------------------------------------------------

    feel free to press the button like on the right side to thank the user who has helped you.

  • BlackBerry-sign gives me "error in opening zip file".

    We have BB 10 Native application that has some setting we want to customize for each customer. Example of database server, etc. User\Pass. The settings are stored in the QML file so it can be read by the App while running.

    In order to allow customization based on demand, we decided to create the ussigned of the bar of the package version using blackberry-nativepackager.  Bar file is Zip file, when these details provided by the customer, we simply decompress .bar file, the zip again and QML file using a utility such as 7 Zip.

    But after that when I tried to sign the new file .bar using blackberry - sign it gives me "error in opening zip file". File has permission and it is not corrupt. I don't know why blackberry-signatory dislikes the new bar file. Is native Packer doesn't something extra then creation of zip file to make it work with blackberry signer?

    I believe that this solution I was looking for.

    Tool blackBerry Push initiator:

    The initiator of Push BlackBerry tool is an application that allows you to initiate the data push to installed applications onBlackBerry 10 devices.

    http://help.BlackBerry.com/en/BlackBerry-Resource-Kit-for-bes12/12.1/Administration-content/ake13993...

  • Cannot install the sample applications manually

    Hello

    I'm having a time difficult installation SDK push sample applications on a remote computer. I try a manual install of Tomcat. The machine runs on Linux Red Hat.

    The error I get is:

    [org.springframework.web.context.ContextLoader.initWebApplicationContext()] - Context initialization failed
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'registerListeners' defined in class path resource [sample-push-initiator-context.xml]: Invocation of init method failed; nested exception is org.springframework.transaction.CannotCreateTransactionException: Could not open JDBC Connection for transaction; nested exception is org.apache.commons.dbcp.SQLNestedException: Cannot create PoolableConnectionFactory (Communications link failure
    
    The last packet sent successfully to the server was 0 milliseconds ago. The driver has not received any packets from the server.)
    

    It looks like a problem with the JDBC connector, but I do not know how to solve. Among the things that I've done are:

    • Generate the database manually.
    • Fill the PushSDK.properties with the database and JDBC information. Copy this file in each directory WEB-INF/classes of applications examples of
    • Copy the mysql connector jar file in the directory WEB-INF/lib of each application
    • Edit the file app.properties with the information from my BB (app id, base url PGG etc.). Copied in the directory WEB-INF/classes of applications. I did the same thing with suspension - context.xml and app - context.xml
    • Edit conf/server.xml of Tomcat to set the http and https ports and the UTF-8 encoding for the request URL query component. In fact, I have only port 8080 available in the machine and I have configured HTTPS to work.
    • A self-signed certificate and shows its location in the conf/server.xml file. Indicates its location in conf/server.xml
    • Edit bin/catalina.sh to set the JAVA_OPTS UTF-8 encoding

    The initial Tomcat page seem to be working in https://machine_ip:8080.

    But there are errors with the BB apps:

    • https://machine_ip:8080 / sample-push-initiator returns 404
    • https://machine_ip:8080 / pushsdk returns 404
    • https://machine_ip:8080 / debug-Portal opens the Debug Portal, but displays the following message:
    Internal Server Error: 
    
    Sorry, we are unable to properly process your request at this time. Please contact a system administrator to investigate the problem by examining the logs.
    

    Does anyone have an idea of what's going on? I would be very help appretiate

    Best regards

    Maria

    Hi all!

    Finally, I could solve this problem. MySQL was not allowing the JDBC connection. I have

    delete the line:

    skip-networking
    

    in MySQL configuration file (/ etc/my.cnf) and now the sample applications seem to work ok.

    I still cannot subscribe to the good customer, but that's another story...

    Kind regards

    Maria

Maybe you are looking for

  • Where along the line on a Canadian French keyboard?

    Where along the line on a Canadian French keyboard?

  • Problem with the google in Firefox search bar

    Last week the google search bar began to do all the searching through the site google.nl Dutch. He has never done this before. I'm in England, and the search bar has always used google.co.uk by default. I don't know why this has changed. I have not m

  • Mask gradient not an option?

    When I add a layer mask, I don't get the toolbar option to create a gradient mask. Does anyone know why this would not appear and how I can get it to appear? I don't know, I'm clicking on the mask and no layer. I can't understand anyway make a mask d

  • How can I get the Organizer to display file names?

    I'm lost and confused in Photoshop 13. How can I get the names of files to display in the menu Organizer? I chose to keep the old version of the display "grid" and miss having the names of all files. I searched the manual online, but can't seem to fi

  • How to add a jpg file. watermark to images in bridge?

    I'm working on adding a jpg file. watermark my images in bridge and also how batch add watermark.