Question about logic push - global openBISPushListener?

Hello

I'm a bit confused as the push feature in WebWorks. I have my start page, which is a login screen. If the connection is successful, I apply for registration of pressure through blackberry.push.openBISPushListener (x, x, x, x) and do a window.location ("profile.html").

(1) is my push partner worldwide? In other words, the application listens to grow and serve the function of reminder our no matter where I am in the application?

(2) I know that recall our shall return 0 to push reliable. What happens if my point is:

window.location("details.html?id=" + data.payload);
return 0;

My code will always return 0?

Hi shnuffy,

Please read the description of the API to push .

It must also specify if you have separate pages, so it would be impossible to have a global listener, but you can just register a listener on each page.

In accordance with part II of the code, it is a condition of competition, she may return 0, but it should not.

Tags: BlackBerry Developers

Similar Questions

  • a few questions about the Push Service

    Hi all

    Have some questions about a Service of BlackBerry Push.

    (1) when registering for the assessment, it is requested

    Source IP address for shoot - what happens if I have a dynamic IP and I have two servers different one for development and one for the Production environment?

    1. Push is via the BIS-B connection only
    2. Register to access push Eval with RIM. Download the SDK, which includes a sample application for the client side and 3 examples of applications for the side server. Once RIM gives you access to Eval, you'll have an app ID, password and other details. Deploy the provided sample applications and enter your Eval details when prompted. The client-side sample must be deployed on a real device (i.e. not a simulator). There is a catch: many developers (including myself) have reported on this forum that their client-side sample is not able to receive push messages.
    3. I did not look to push on BES, sorry.

    I am fairly new to push myself, feel free to correct me if I'm wrong.

  • Question about DISCHARGE (expr, 1016) function

    Hello

    I have a question about the DUMP function, specifically the DUMP (expr, 1016). What character set is the function of report? The only logical answer seems to me the characters of data. The http://download.oracle.com/docs/cd/E11882_01/server.112/e17118/functions055.htm#SQLRF00635 docs it says: "by default, the return value contains no character set information. To retrieve the name of character of expr, add 1000 to all the values of previous format. "For example, a return_fmt of 1008 returns the result in octal * and provides the character set name of expr.*.

    I ask this question because a client complains that there a database with database EE8MSWIN1250 (obtained from DATABASE_PROPERTIES) characters and when I asked him to run a SELECT that could empty the contents of a column, he gave me this result:
    select dump(some_col, 1016) from some_table;
    
    Typ=1 Len=8 CharacterSet=AL32UTF8: c5,bd,c5,a0,54,45,53,54
    Now I can't imagine how the data can be stored in the AL32UTF8 character set if the characters of the database are EE8MSWIN1250. This scenario is still possible? I tried in vain to reproduce on my test database.

    I don't know if the column is defined with the characters of database or the national database characterset, but even if it was a NVARCHAR2, the dump function could not return AL32UTF8 since he is not a national character set.

    If anyone has an explanation, I will be very grateful.

    Thanks in advance and best regards,
    Swear

    1. to help with the confusion about the DUMP function: index realizes that the DUMP function can be performed in the remote database. Oracle tries to push as many functions as possible and semantically correct on the remote site. Therefore, it sends the statement of simple table on the remote site after stripping the DB link. In this case, the DUMP function sees the character set of the remote database and creates the resulting string of information. This string of AL32UTF8 to EE8MSWIN1250, as described in the note, but as all the characters in the string of information are pure ASCII, some codes are actually changed.

    Things get more interesting if you start to combine the tables of local and remote databases. For example, the following query is will normally return the character of local database defined for the two columns:

    select dump(xx,1016),dump(yy,1016) from (select x.dummy xx, y.dummy yy from dual x, dual@dblink y);
    

    This is because the first dual@dblink is transported to the local site and the join is performed here with application of DUMP.

    The following query returns the set for two columns of characters in remote database:

    select dump(xx,1016),dump(yy,1016) from (select x.dummy xx, y.dummy yy from dual@dblink x, dual@dblink y);
    

    This is because all the tables are remote and the entire query is sent to the remote database and y.

    The following query returns the remote character set thus:

    select dump(xx,1016),dump(yy,1016) from (select /*+driving_site(y)*/ x.dummy xx, y.dummy yy from dual x, dual@dblink y);
    

    Here, the DRIVING_SITE hint asks the database to perform the join in the database of the table, for example dual@dblink.

    2. to answer your question:

    Your understanding of the way of conversion is generally correct, but conclusions are not quite correct. In the scenario [client EE8ISO8859P2, EE8MSWIN1250 local database, remote database AL32UTF8], Eastern and Central European characters will work correctly, but the other characters to the remote database will not be (for example, French, Greek, Chinese). It is, I think, quite clear and is usually not a major problem, as usually only compatible languages EE8 are interesting for an EE8ISO8859P2 customer. However, in the scenario [customer AL32UTF8, EE8MSWIN1250 local database, remote database AL32UTF8], the problem becomes more visible. Having a taking customer support Unicode, you can recover some data French or Greeks of the remote database but you will fail as all of these characters will be "killed" by the conversion of distance at the local level (link DB conversion).

    EE8ISO8859P2 is also for the same group of languages, such as EE8MSWIN1250, indeed, but it lacks some interesting characters. The most important of them is the symbol of the Euro. Others are "' quotes, long dashes, TM symbol, and a few other less frequently used punctuation. Therefore, always define a database as EE8MSWIN1250, even if you run some clients (Unix) with EE8ISO8859P2. Do not run Windows with EE8ISO8859P2 clients, except for purposes of loading/generation of special file.

    -Sergiusz

  • Questions about an average of response spectrum and frequency of feeding mode.

    Hello

    I have a few questions about an average of mode. When I generate a sinusoidal signal from one output to two input channels channel to see if my DAQ card works well and vector averaged in the power spectrum for DFT, the amplitudes was different from the previous one of the amplitude, which was supposed to be 1 v peak. They range from 0.5 v to 0.6 v peak. When the calculation of the average model is RMS, the amplitudes were close to 1. I wonder what are the fomulas of RMS and average vector. Does that mean that I could not accurate if I use an average of vector? In a time of frequency response, why I coherences of difference and the amplitudes using the vector and the mean quadratic value?

    Thank you

    Ningyu

    rico1985,

    The differences in modes of generation are as they sound: 1 sample output only a sample writing, N samples will be released however many samples configure you for each entry, and the continuous samples released samples continuously until a specified user action happens (you press the stop button or a logic that you created gets fulfulled). The range of Signal output allows you to set a ceiling high and low level of your output signal and it only affects the quality keeping in this beach. Timing to set a deadline for the time between the acquisition of the sample. If a new sample becomes unavailable before the timeout setting, you will get an error. This is useful for looking at a network, because if the network goes down and you stop getting data from a machine and then you would like to know about it. I point you to those videos that are short tutorials on how to make the most of these actions in SignalExpress.The SignalExpress 3.0 Help file is also your first point of contact for all your questions on getting started. These two resources should get you up and running in SignalExpress in no time. (either by the way all your questions answered using these resources) Bravo!

  • question about cleaning the sensor of the A57

    Dear community of Sony,

    I have several questions about the cleaning of the sensor of the A57.

    Recently, I noticed several dark specs appearing on images when shooting at low opening (F20, F22), especially when there are high for them (like the sky in a landscape photo) contrast. To my knowledge, I've categorized as possible of dust on the sensor. I have read the section of the manual about cleaning the sensor and followed the procedure. However, the problem remained. I have previous experience with cleaning of the more resistant the probe of a Sony NEX dust particles, so I applied it to the A57. I used the specialized sensor cleaning tools combining two parts kit - wet and dry. Noted little dust on translucent mirror as well, so I cleaned up afterwards. Later, I considered this mirror could have some specialized coatings.

    So my first question is: should I have done some permanent damage the mirror or the sensors? Currently, the camera works OK, although some features of dust still remain. It seems that I had pushed some of them to the edges of the sensor.

    I'm not so happy with the tool that I used. I'm thinking about this one for a more thorough cleaning:

    http://www.digitaltoyshop.co.UK/Eyelead_sensor_cleaning_kit_SCK-1_Sony_Alpha_A57_t2836_6789

    It is marketed as a tool for A57. Should I use it?

    Thank you in advance?

    Best regards Angel Marinov

    PS: I'm really happy with my Sony A57 and the NEX. They made me a fan of Sony. So, I want to use this topic to also say thank you to the developers of Sony.

    Hello Angel!

    Read the following steps carefully and let us know if you have any other questions.

  • Question about the use of recovery disks Vista Bus on T500 with XP Pro downgraded

    I searched to see if this has been addressed already and I don't see anything about it. I also looked through the Lenovo support site and could not find any documentation with specific information, that I'm looking. So, if all goes well, the people here will have an idea.

    I have a T500 which was ordered with retired on WinXP Pro. It also came with a set of Vista Business (four discs) recovery disks. I plan to get my machine with Vista business records and down XP Pro, but I had a few questions.

    1. as it currently stands, I guess that the R & R partition that is on the HARD drive at this time restoring a WinXP Pro system if I start and get back with her. Is this correct?

    2. If I boot from the recovery disc Vista Business and use it for the recovery of the system, it creates a new partition 'Factory' R & R which would incorporate a Vista Business install?

    I may be wrong on my assumptions and even after the start of the R & R partition, it is really the recovery disks that I choose to use that would dictate if I found myself with a XP or Vista Bus. System.

    For what it's worth, I created a set of recovery disc R & R for the installation of WinXP Pro in case I need to revert to this version.

    I hope that my question is logical and that someone out there has an answer for me.

    Thanks in advance!

    jskang, welcome to the forum,

    Yes on both counts.

    Removal of all the hard drive recovery disks, create the service partition and then the system installs from the recovery with the flavor of windows partition, so that the discs are.

    It was a good idea to create the XP discs.

  • stupid question about UAC

    OK, it's a REALLY stupid question about UAC.

    I have several icons on my desktop. Some of them are games that must be run as administrator in XP compatibility mode.

    I rarely accidentally tried to open the icon, particularly if you use the keyboard to choose what I want.

    Is there a reason if I accidentally open a game that pushes me in height DO NOT hit 'Cancel' if I didn't intend to play the game at the moment, but trying to open something else? Something like a process being left in suspense, memory leaks, or any other reason why I can't Abort to launch the application to the UAC prompt?

    Hey, Slick,

    Clicking Cancel will prevent the running total process if you do not have to worry about the still ongoing services for memory leaks or game, etc..
    I hope this helps.
  • Question about ActionBar on the first screen of the application

    Hi, I have a question about the actionbar behavior in the first screen of the application

    index.htm pushes immediately main.htm with actionbar. ActionBar clicks and responds correctly until I have add overflow on some buttons.

    When I click on the button of overflow, the overflow is displayed at the bottom of the page, the top of the overflow is put in correspondence with the upper part of the actionbar so buttons actionbar overflowing content is not visible.

    I reproduce this problem with the sample application.

    This is expected behavior? Is there a way around it?

    I was able to reproduce the problem and have connected it

    https://github.com/BlackBerry/bbUI.js/issues/329

  • Questions about support

    Dear community of cloud!

    I have a few questions about the service of adobe support.

    First of all, I would ask which includes the support service. I am also curious about the length of the reaction and the way they treat the problem can occur. Receive problem reports directly into the program I use, or do I have to write a separate message in a service address or Skype etc are decent ways to communicate with them?

    Thanks in advance for your answer!

    Service varies down the line insofar as this support is provided and when/how quickly it is provided.  Some people are very satisfied with the support that they get and others are not.  These user forums are one of the support options and usually you will get a response fairly quickly, and if you provide a detailed problem statement you can usually get a solution.  If a solution is to contact Adobe customer service, there is not much anyone can do here in the forums except to the provide information to contact. To contact Adobe Customer Support...

    To the link below, click on the still need help? option in the blue box below and choose the option to chat or by phone...

    Make sure that you are logged on the Adobe site, having cookies enabled, clearing your cookie cache.  If it fails to connect, try to use another browser.

    Creative cloud support (all creative cloud customer service problems)

    http://helpx.Adobe.com/x-productkb/global/service-CCM.html ( http://adobe.ly/19llvMN )

  • Question about creative cloud "individuals".

    Hello!

    Question about creative cloud "individuals".

    I'm a single trader working in Russia. I have an advertising agency. Work alone.

    Issues related to the:

    1 can be installed on 1 computer and use creative cloud 'Individuals' for commercial purposes?

    2 will. what documents I receive after payment?

    3. under what conditions, the required version of the '' Business. ''

    lol at communincate with the support of adobe:

    Contact adobe during the time pst support by clicking here and, when available, click on "still need help," http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Questions about screens

    Hi guys


    I have 2 questions about screens to OPA


    (1) how can I put a summary screen halfway through an application and view the status of the intermediate attribute and the values of the attributes at the basic level

    (2) if im dealing with several entities, how can I adapt the maintenance of the screen title to represent the selected entity.


    hope that makes sense

    Thank you

    (1) you can have the summary screen that appear as many times as you want, depending on how you chose to structure the objective attributes that you make available to the user on the summary screen. A simple example is instead of having a single objective attribute on the summary screen, divide the underlying rules in two attributes of purpose and have the second attribute hidden at the start of the interview. When the first goal is known, the user will return to the summary screen. You can use the visibility attributes to control the display of any intermediate or base attribute, you want the user to see and make your second goal visible so that the user can continue the rest of the interview. See the OPM help topic change how data summarized and reviewed interview for more details. According to the same approach, you can create far more sophistication in your summary screen design.

    (2) to have the title of the screen include the selected feature, use the substitution (for example % applicant ' s_name %). See the help topic OPM Change the text of an interview or of the sentence issue for more details.

    See you soon

    Anthony Bettanin | OPA & RCMP Partner Enablement | Oracle global alliances & channels
    Area to OPA knowledge: http://www.oracle.com/partners/en/knowledge-zone/applications/policy-automation-042908.html

  • A few questions about the making of the animated for a site Web Nav buttons

    Hello, I have a few questions about creating some animated for a NAV buttons.

    There are 2 actions I want to trigger on pouting above.

    If I want to use a static (PNG) image I created in Photoshop for the real button, can I use that? I want well drag the button down on the passage of the mouse and drag upward on the mouse. If I push the part of the "Web" button (sorry, that it comes from a Photoshop guy) it will disappear in the final animation? Another way to say this, if I put something lively off the coast of the white area, it no longer appears in the movie (.swf) when it is published?

    For the second part. You can see a bit of what I want to do if you look high Nav of the page of the website: http://www.photoshopsupport.com/index.html

    I need the 'light' above the button and it's going to be on another < div > color so I can't put a solid color of BG for my flash document. But I want to get the effect of the 'bar' lighting up above the button and the real key slide downwards to pouting on.

    You can provide any help would be greatly appreciated.

    We target the dynamicaly graph. Since the MouseEvent is now on the invisible sprite and not the graph itself, the one-for-all function has no reference to this graph. You can access the invisible sprite with event.target (or event.currentTarget), you can also target the chart because we declared "mygraphic" custom property to serve as a reference for the graphic. Thus, event.target.mygraphic is the benchmark for graphics.

    Of course, this is just an example. There are other variations of this trick.

    ____________________

    Design Cyboide

    Web site creation

  • A question about type

    Okay, at the risk of exposing me like a complete jerk, I need to ask a question about type.

    I use Fireworks CS4 to design a website of 40 to 50 pages. Most of the site is composed of ten stories, each taking two to five pages of the site. I use ghraphic and pictures to break up the grey type and illustrate the words. I anticipate using 14pt Arial for my policy. The text will be displayed on a 'unique' (that is to say, not repetitive) texture.

    I put on my pages with photos and other graphics, and I glued the type of original stories around the images. (I don't use Lorem ipsum for text space booked because I wanted an accurate measure of the screw-the-page notice words.) In other words, I wanted to be sure that everything fit and don't let no troublesome space at the end).

    I know that I do not export the type with images in Dreamweaver. I'll remove the text in Fireworks when I export, then paste it in Dreamweaver so that the pages appear as I have originally designed the.

    However, my question is this: If a reader opens one of my pages with his default computer to, say, 12pt Verdana, if it screws up the layout of my page? As I said above, I have designed the pages at Arial 14 pt. If the type will flip off my pages - or type will inches less on a page - if the Player browser is set to a different font size or point? If Yes, what can I do to make my pages (or contraction) to adjust the reader his reading preferences?

    Thanks again for your help. Of course happy that I do not use my real name on it.

    When you write the HTML code, you place the images next to the paragraphs they are associated if the police or the window changes size, then the whole of the document is redéroule, but logically, everything to its planned place. This can be frustrating for people who are used to define exactly where the images appear with respect to the text and even kerning and spacing to make a line "so." You will have awkward gaps somewhere, let it go... let the way you free from this concern.

    Everything is in a box, however. In this box, you can put images repetitive or expandable. So yes, you can put a background behind the text, no repetitive image on each of your pages and you should be able to set the box so that duplication of the background image will not appear if it is larger than the active area. (I think it would be in the CSS overflow divs property... you'd have to check).

    Here are some tutorials using broad, non-repetitive background images for the page. You could adapt the technique to a content div:

    http://Line25.com/tutorials/basic-Web-page-background-techniques-with-CSS (scroll down)

    http://www.WebDesignerWall.com/tutorials/how-to-CSS-large-background/

    On the other hand, however, lines of text that are more than 2 to 2.5 wide alphabets are difficult to analyze. If your site is intended to be text-heavy, you might be better off with a fixed width for your text box.

    I think that the comment the blogger relates using Fireworks Slicing page to export HTML code, which gives you a fixed design, based on a table. The HTML code, you can export FW is not for live sites. It's just for prototyping. It is better to use CSS for layout, rather than tables, because the code is easier to maintain. I came across this interesting tutorial (the author uses Photoshop, but any graphic program works if you want to follow along):

    http://NET.tutsplus.com/tutorials/HTML-CSS-techniques/design-and-code-your-first-website-i n-easy-to-understand-steps.

    (I hope this helps you!)

  • two questions about Style sheets

    With the help of RH7, two questions about styles:

    1. I have an older project which seems to act weird. I want to update the styles in our current one important, but seems not to accept it. I can import the file very well, but it doesn't 'take' the formatting (e.g. headers, 'Normal' text, etc.).

    It is important without any errors, and in the list of the topic the new style sheet shows like the style associated with this topic, but I can't find a way to apply new formats. I even tried closing and reopening of HR to see if it was some sort of refresh problem.

    Any thoughts? Is this a problem of corruption?

    2. it seems some of previous authors allowed HR to create of new style sheets for each topic as it has been imported into our system of assistance (from the original Word documents).

    Is there an easy way to globally remove these style sheets and their replacement by a new? My instinct is to:

    1 import the new style.
    2. Select all subjects in the list of topics, right-click to open the properties, and select apply the new style.
    3. use Project Manager tab to remove all the other styles.

    Sounds easy enough, but my concern is to know if HR will apply these changes to the subjects. In addition to my problem in #1 that I met occasionally issues where HR does not seem to apply styles or style changes accurately.

    Thank you

    Hi all

    Note that Styles and Style sheets have an order of priority or hierarchy.

    You can have all the styles declared in a referenced external style sheet and everything is fine. But if the document has styles using the same names, those who will prevail.

    For example, maybe your file CSS says that all title 1 text will make in dark blue to 24 point Arial font. The subject could have statement Heading 1 incorporated, which specifies that the text should be Brown in Verdana 12 point. Even if the subject is properly referencing the external CSS file, the text will be rendered Brown because the embedded style rule will override the CSS rule.

    And what will replace it is if someone text selected and applied the style directly. In this case, you're dealing with a style online.

    One way to help determine if you are dealing with a style incorporated is to simply remove any link to the CSS file? The text seems always the same? If so, you probably deal with a built-in style, or online.

    To check a style incorporated, look at your HTML code for the topic. Search in the region of the head for a (including the tags).

    See you soon... Rick

  • Where can I ask a handful of general order questions about Firefox OS as a consumer and get the answers? (a forum or something similar)

    I have about seven questions about Firefox OS. I'm potentially interested in opting for a tablet that works instead of Android or iOS. I couldn't find a place to ask questions like that. Thank you!

    https://support.Mozilla.org/en-us/forums/Firefox-OS-English-Forum

    There is another option.

Maybe you are looking for