Problem streaming of videos on Bold 9700 using java API but works on browser

Hi all. I'm new to the BlackBerry development and having some problems streaming videos on the BlackBerry Bold 9700 by using RTSP.

BlackBerry JDE: 5.0.0.14

BlackBerry smartphone: BlackBerry Bold 9700 v5.0.0.296 (Platform 5.1.0.83)

Streaming server: Darwin Streaming Server

Connection: WiFi business

File format: H264/3GPP/400 Kbits / s / 30 fps

When I load the app in the BlackBerry device, it seems that nothing happens. But when I type the URL in the blackberry browser, he immediately start blackberry player and play the video.

Here is a code snippet that I use:

try {
      String videoFile="rtsp://172.24.7.115:554/dmc/3GPP_H264_400kbps_30fps.3gp";
      player = Manager.createPlayer(videoFile);
      player.start();
} catch(MediaException me) {
} catch (IOException io) {
}

I appreciate your help.

Thank you.

Your code does not work at least, because you tell the operating system to use the cell interface for access to the server that has a non-public IP address. You must add '; interface wifi ="at the end of the URL. This will tell the OS to connect via WiFi.

Tags: BlackBerry Developers

Similar Questions

  • Creation of posts of Siebel using JAVA API in IOM

    Hi Experts,

    I need to create positions of Siebel using JAVA API.

    I try to incorporate OIM 11 g-Siebel connector, but this connector is not able to create new positions of siebel.

    Please tell me where to find the info/examples of use of the api or how to best integrate?

    Thanks in advance

    Kiran

    This is useful.

    I was able to create a post of siebel using the model given here,

    Creating New position in Siebel using Siebel DataBean

  • Search for users using java API IOM 11 with the value of null field

    Hello

    I find user using java api findUsers (HashMap hash), but I need get all users where a custom field is equal to null

    Example:

    HashMap userHash = new HashMap();
    userHash.put ("USR_UDF_CUSTOM", "NULL");
    userData tcResultSet = userOps.findUsers (userHash);

    Someone help me?

    Do not use this search functionality. The user that:

    UserManager usermgr = Platform.getService (UserManager.class);
    Criteria of SearchCriteria = new SearchCriteria ("Custom Label", null, SearchCriteria.Operator.EQUAL); Suppose USR_UDF_CUSTOM label is personalized
    List of users of = usermgr.search (null, null, criteria);
    for (user: user) {}
    perform the action here
    }

    -Kevin

  • Problems with WIFI with the Bold 9700 blackBerry Smartphones

    My daughter recently bought a Bold 9700 and has problems with the help of the feature wi - fi.

    It seems to connect OK to our wireless router, but the performance is pathetic & often give up entirely. It's so bad, she renounced the use of a wi - fi connection and must now connect via 3G. Obviously it's costs downlaods, plan and money, then I'll try to trouble shoot why wi - fi works so bad.

    I ran the diagostics wi - fi and connection details are below. However I do not know how to interpret it and what other things to check. The report of wi - fi and other details on the phone & rtouter that we use is below. BTW all of our other wireless devices work correctly through the router.

    I hope someone can help.

    Thank you

    Dog_Breath

    Wireless diagnostic report

    Security type: pre-shared Key (PSK)
    Signal level:-53 dBm
    Data connection speed: 54 Mbps
    Status: Acquired network

    Modem

    Billion 7404

    Handset

    BlackBerry® 9700
    Smartphone (3G, Wi - Fi)
    V5.0.0.743 (Bundle 1254, platform 5.1.0.165)
    3G bands 1,4,8
    The kernel v3.8.5.85 encryption
    Brand version: 1.0.70.695I
    The micro Edition configuration: CLDC-1. 1
    Micro Edition profile: MIDP - 2.1
    Micro Edition JTWI Version: 1.0
    Micro Edition Media Version: 1.1
    Micro Edition PIM Version: 1.0
    Micro Edition file Version: 1.0
    Edition micro Bluetooth Version: 1.1
    Micro Edition location Version: 1.0.1
    Micro Edition Security and Trust Services (APDU) Version: 1.0
    WLAN Version: 2.7.0.84

    Thank you all.

    It took a while, but I finally managed to update to OS 6 and wifi is now humming along nicely. I was getting a lot faster than forward speed.

    Certainly looks like my version of the OS 5 was the problem.

  • Smartphones from blackBerry Bold 9700 used to synchronize with Mac

    Hello

    I just moved from your PC Windows 7 on MacBook Pro, OS 10.6.7

    I downloaded Blackberry desktop for mac, version 2.0.0.65

    My bold 9700 has recently been upgraded to OS 6 (v6.0.0.48 platform 6.6.0.124), after the OS upgrade, my PC is well synchronized.

    But now that I moved to Mac, I can start the BB desktop software, which prompts me to connect to the phone. I connect via a USB cable and the phone prompts to select USB drive, Media Sync or Charge Only.

    I tried all 3 options, but after this selection, nothing changes on the BB desktop software, and I can not sync. I tried a hard reset on the phone then by restarting the mac.

    Still no joy, can anyone help please?

    It took me a few days to come up with this solution:

    The problem revolves around Mac OS X 64-bit OS and Blackberry Desktop Manager for 32-bit OS.

    Thus, you need to restart your mac while holding down keys 3 and 2 at the same time, which will start your Mac in 32-bit. You will then be able to sync your information with Blackberry Desktop Manager. When you restart your mac again, he goes back to 64-bit.

  • BlackBerry Smartphones Blackberry Bold 9700 headset button does not work

    I just bought a Blackberry Bold 9700 with bell, (OS v5.0.0.432), and I try to use the headphones provided with the blackberry.

    The problem I have is that when I press the button on the helmet, I expect to start the voice dialing application, but the button does nothing!

    I tried to look for an option in the settings but can't find anything.

    Can anyone help?

    Hello

    Please make sure that you hold the button down for a few seconds, until the voice dialing function starts.

    Thank you

  • Applications using Java API 11 g MRI are precarious?

    Hello

    I was reading "Developers Guide for Oracle 11g IRM server" and I found this:

    Cryptography keys: an application that uses the Java API of MRI has the ability to get sealed content Cryptography keys. The MRI Java API stores these keys in memory of the calling process, so that they are used. The MRI Java API debugging, or do a memory dump could compromise the key material. Do not use MRI Java API if the environment in which the application runs is loose or not reliable (for example, a laptop).

    HotFolders and IRM Wrapper using MRI Java API, aren't they? Does this mean that these applications are not secure? I install these applications in a real environment. However, provide advice to guide doubt me.

    Thanks in advance.

    The documentation is currently fairly conservative.

    Re: Hot issues. If HF is configured to use the Java API, then it is true that the keys will be temporarily stored in its memory and Java is more susceptible to reverse engineering, say, C++. But the hot issues in use of production will generally be an application on the server side and not work on laptops to the end user. So the access to this application of HF running (and its own encrypted cache) can be fixed by using normal operating system access controls. If you are always worried about it, then do not use the API, use default web services. In this case no key material is always sent to the HF and all the sealing is made by the IRM server.

    Re: Wrapper. It does not use the Java API if never receives or hiding of key material.

    HTH,

    Martin

  • Problem connecting from my Blackberry Bold 9700 blackBerry Smartphones Blackberry App World

    I'm having problems connecting to the Blackberry App World on my device I get "Fail to pass" message from appearing. Can you advise me what can I do to solve this problem.

    Thank you

    It's sad. Carriers refusing to meet their contractual obligations. Clients have no free method to contact the RIM. Instead, carriers have the responsibility to provide all support front-line. If they don't understand, they want to escalate the case through their channels internal and possibly (if justified) to the bottom of the RIM. So they tell you to contact directly the RIM are, well, "sad", it is in more generous word I can come up with. I suggest you contact them and ask the escalation which are contractually committed to offer.

    Good luck.

  • I have a problem with the connection to the computer using the password (fingerprint works very well)

    Original title: change of password but can not getin but fingerprints work fine

    I changed the password I used once but know I have to use the fingerprint to enter? I can fix it myself as a 71-year-old man.

    Here you go:

    1. open a session under an administrator account, using your fingerprint reader.
    2. click on the start planet.
    3. type the three letters cmd in the search box.
    4. press on Ctrl + Shift + Enter
    5. click on "run as Administrator".
    6. type the following commands and press ENTER after each:
        NET user "JohnLennen" 123456
    (to set your password to 123456)
    7 plan in advance and create, test and document a spare, even admin account that you have a spare House key. This is important!

    If you don't remember your account name to step 6, then typing the command
    setting user
    will tell you.
  • Problem on 10g Express using the join (+), but works on the standard of 10 g

    Good day to all,

    I'm having a problem with the following query:

    Select srds.specific_date, l.DayCntr
    from (select rownum add_months (sysdate-1) + * 5 as Specific_date of object where rownum < 35) RRD.
    (select rownum as DayCntr object co where rownum < 35) l
    where < 32 l.DayCntr
    and l.DayCntr = (to_number (to_char (srds.specific_date (+), 'DD')))
    and ((srds.specific_date between add_months(sysdate,-1) and sysdate)
    or (srds.specific_date is null))
    order of daycntr;

    On 10g express, not all rows are returned as expected, minimum of 31 lines, sometimes getting 20
    whereas on 10g Standard it doesn't, any ideas?

    Thank you

    If your application runs on your 10g standard, then the problem is not fixed the problem, it's that your standard version of Oracle 10 g... for me your initial query works 10.2.0.3 or XE...

    But I think that this application can help you,

    @XE> select srds.specific_date,l.DayCntr
      2  from  (select specific_date
      3        from (select add_months(sysdate,-1)+ rownum * 5 as Specific_date
      4        from all_objects where rownum < 35) s
      5        where (s.specific_date between add_months(sysdate,-1) and sysdate)) srds ,
      6        (select rownum as DayCntr
      7        from all_objects oc where rownum < 35 ) l
      8  where l.DayCntr < 32
      9  and   l.DayCntr = (to_number(to_char(srds.specific_date(+),'DD')))
     10  order by daycntr
     11  ;
    
    SPECIFIC_DATE          DAYCNTR
    ------------------- ----------
                                 1
                                 2
                                 3
                                 4
    05/11/2008 16:19:25          5
                                 6
                                 7
                                 8
                                 9
    10/11/2008 16:19:25         10
                                11
                                12
                                13
                                14
    15/11/2008 16:19:25         15
                                16
                                17
                                18
                                19
    20/11/2008 16:19:25         20
                                21
                                22
                                23
                                24
                                25
    26/10/2008 16:19:25         26
                                27
                                28
                                29
                                30
    31/10/2008 16:19:25         31
    
    31 rows selected.
    

    This is the output you want?

    Published by: dask99 on November 21, 2008 16:20

  • Error with TaskSearchFilter using Java API by calling custom

    I created a Java component customized for use in LC process Mgr.

    On invoke the process containing the component, the component will fail with the following message:

    2011-02-28 16:28:31, 260 ERROR [com.adobe.workflow.AWS] cannot force the object: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter@cf7e441 type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter type: com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter of the class

    Code is pretty basic:

    ServiceClientFactory myFactory = ServiceClientFactory.createInstance ();

    TaskManagerQueryService queryManager = TaskManagerClientFactory.getQueryManager (myFactory);

    TaskSearchFilter filter = new TaskSearchFilter();
    filter.addCondition (TaskSearchingConstants.pSTATUS, Operator.EQUALS, "3");

    The list of result < TaskRow > = queryManager.taskSearch (filter);

    Error seems to happen with the creation of the list. This code works fine when run as a standalone file in Eclipse or Netbeans, but not in the component.

    All required jars are included and are listed in the component.xml class path.

    Someone at - it ideas?

    Thank you

    David

    Looks like a problem of ClassLoader.  Usually this is caused by the presence of a class (TaskSearchFilte) in your component on the server.   In other words, there are two copies of the class of TaskSearchFilte - yours and already in LiveCycle - and they are in conflict.

    If this is the case, the solution is simple:

    • remove the jar files containing the TaskSearchFilte (and LiveCycle customers) jar of your device file.  You may need in the way of construction, so your code can compile - but you don't need them in the jar of the final element.
    • remove references to these jars of the class-path of the component.xml file entry
    • Add a section import-package to your component.xml file.  This will not reference the jar files, but the package names.  For example:

    com.adobe.idp.taskmanager.dsc.client.query.TaskSearchFilter

  • The keyboard keys and symbols above them will not work. I have nothing except a space or they last used shift key, but works fine in other applications such as MS Word. The keypad works fine. Anyone have any ideas on that.

    I had to do a reinstall and upgrade to Windows 7, so I may have missed something. Running a 64 bit OS. Problem only appears in browsers.

    Troubleshooting extensions and themes

    Troubleshooting plugins

    Check and tell if its working.

  • Set the member formula using java api

    Hello

    I'm trying to define the formula by member using the java code and here is the code snippet I use. But some how, the formula is somewhere in cache, but not updated in the server of the ESS. I have appropriate privileges to update the data in Essbase. Any thoughts would be helpful. Thank you.

    try {}

    IEssCube = formulaCube

    olapSvr.getApplication (appName) .getCube (cube);

    IEssCubeOutline outline = formulaCube.openOutline (false, false, true);

    If (contour! = null) {}

    IEssMember requiredMember = outline.findMember (member);

    If (requiredMember! = null) {}

    System.out.println ("formula:" + requiredMember.getFormula ());

    requiredMember.setFormula ("[RL. LTV. CSE] + [RL. LTV. OPEX.0071]");

    System.out.println ("value according to formula:" + requiredMember.getFormula ());

    requiredMember.refreshPropertyValues ();

    requiredMember.updatePropertyValues ();

    System.out.println ("after updatevalues:" + requiredMember.getFormula ());

    }

    Outline.Save ();

    Outline.Verify ();

    outline.updatePropertyValues ();

    }

    It works if you restructure prior to closing.

    Outline.Save ();

    outline.restructureCube (IEssCube.EEssRestructureOption.KEEP_ALL_DATA);

    Outline.Close ();

    In theory, it should only do a restructuring outline only.

    See you soon

    John

  • Create the new virtual machine using Java API vCloud

    Hi guys,.

    I am trying to create the new virtual machine in TIME, but I've stuck here. The API I'm using is vcloud-java-sdk - 1.0.jar.

    Could you please show me a code snippet how to do this?

    For now I do it like this:

    RecomposeVAppParamsType recomposeVAppParamsType = new RecomposeVAppParamsType();

    List the items < CompositionItemParamType > = recomposeVAppParamsType.getItem ();
    ReferenceType vappTemplateVMRef = new ReferenceType();

    // ??? seems that new reference to the new virtual machine should be here. But how to create this VM
    CompositionItemParamType compositionItemParamType = new CompositionItemParamType();
    compositionItemParamType.setSource (vappTemplateVMRef);

    Items.Add (compositionItemParamType);
    ReferenceType vAppRef is Vdc.getVdcByReference (vcloudClient, vdcRef) .getVappRefByName ("vApp_Websrv");.

    Vapp.getVappByReference (vcloudClient, vAppRef) .recomposeVapp (recomposeVAppParamsType);

    One day before I played with Web Services SDK, which is much easier to understand. I was able to create the vApp and VMs in vSphere. Is it possible to import machines virtual vSphere to vCloud? Should what API I use for this?

    Thank you

    Hello

    You cannot add a new empty virtual machine in a paralytic.

    Instead, you can add a virtual machine from an existing vapp, vapptemplate.

    To import a vsphere vm to vcloud.

    Import vsphere vm as VAPP in vcloud. VMWVimserver-> importVmAsVApp()

    The importation of vsphere vm, as vAppTemplate, in vcloud. VMWVimserver-> importVmAsVAppTemplate()

    See also the example of ImportVmAsvAppTemplate.java, which is part of the vcloudjavasdk group.

    Kind regards

    Rajesh Kamal.

  • Change the shared user using Java API Service

    Hi Experts,

    I have successfully run the example of classes Java from here: http://docs.oracle.com/cd/E17236_01/epm.1112/epm_security_api/frameset.htm?ch01s03.html
    And I need to change the code of UserFunctions.Java.

    UserFunctions.Java, I can create, edit, and delete a user.
    But in this sample program, when I want to edit a user, I should create a new user first.

    My requirement is I want to change the existing user passing the parameter when you run the program.
    So, when I want to launch the program, it should be like this:
    Java UserFunctions 'method' 'username', 'password', 'email', 'first name', 'last name '.

    FYI, I can create a user in passing the parameter as I mentioned above.
    But to edit a user, I still can't do it.

    Please find my codes below:

    public CSSNativeUserIF createUser (String username, String desc, String firstname, String lastname, String email, String pass) throws CSSException
    {
    The user CSSNativeUserIF = null;
    HashMap context = new HashMap();
    user = cssDMAPI.getNativeUserInstance (context, main);
    user.setLoginName (username);
    user.setDescription (desc);
    user.setFirstName (firstname);
    user.setLastName (lastname);
    user.setEmailAddress (email);
    user.setPassword (pass);
    cssDMAPI.addNativeUser (main user, context);

    return the user;
    }

    ' public void modifyUser (String username, String desc, String firstname, String lastname, String email, String pass) throws CSSException
    {
    The user CSSNativeUserIF = null;
    HashMap context = new HashMap();

    System.out.println ("Edit description user...");
    user = cssDMAPI.getNativeUserInstance (context, main);
    user.setLoginName (username);
    user.setDescription (desc);
    user.setFirstName (firstname);
    user.setLastName (lastname);
    user.setEmailAddress (email);
    user.setPassword (pass);
    cssDMAPI.updateNativeUser (main user, context);

    }

    -------

    in the Sub main():

    If (method.equals ("create"))
    {
    / * Create a native user * /.
    cu.printMsg (System.out, "- creating a user-" "");
    user = cu.createUser (username, desc, firstname, lastname, email, pass);
    cu.dumpUsers (System.out, "the user is created successfully," new CSSNativeUserIF [] {user});
    }
    ElseIf (method.equals ("update"))
    {
    / * Change native user * /.
    cu.printMsg (System.out, "- update a user-");
    cu.modifyUser (user name, desc, firstname, lastname, email, pass);
    cu.dumpUsers (System.out, "the user is updated", new CSSNativeUserIF [] {user});
    }

    Could you please help me with this?

    Thank you and best regards,

    Christophe

    Try this

    CSSUserIF [] usrs to = cssAPI.getUsers (context, principal, sLoginName);

    If (usrs.length > 0) {}
    CSSNativeUserIF natUser1 = (CSSNativeUserIF) usrs to [0];
    natUser1.setLoginName (sLoginName);
    natUser1.setFirstName (sFirstName);
    natUser1.setLastName (sLastName);
    natUser1.setEmailAddress (sEmail);
    natUser1.setDescription (sDescription);
    natUser1.setPassword (sPassword);

    cssDMAPI.updateNativeUser (context, principal, natUser1);
    }

Maybe you are looking for

  • accident report

    Firefox does not and can not open in safe mode, I continue to receive reports of incidents.I tried to reset firefox and reinstall firefox, both do not work.I have updated to windows and has completed an audit of malware that recommend firefox.This ha

  • The DC7700 RAM limits

    I have a HP DC7700 with the motherboard 0A54H.  It came with the 1 GB DDR2 PC2-6400(400MHz) memory stick.  I took 2 sticks of memory 1 GB DDR2 PC2-5300(333MHz) on an old PC and seems to work perfectly. I was looking at the specs for the DC7700 and he

  • Product number: J6M42PA #ACJ: pilot missing bluetooth

    Hello Sir/Mam, Product number: J6M42PA #ACJ Product name: HP Pavilion 15 laptop A few days, I tried to connect my headset wireless Vibro BT02 iBall with my laptop. The bluetooth device is not detected after several attempts. So I went to changes with

  • Why my turn windows firewall it works itself?

    whenever I'm on the computer a ball at the bottom of the task bar appears saying ' your computer is firewall endangered is disabled "so I click on the ball and it takes me home windows firewall and it say it's off but 5 seconds later it turns it self

  • Error message: the application failed to start because its side-by-side configuration is incorrect please view log for details application event

    Original title: cannot open programs I get this message when I try to run any program on my windows vista operating system: the application failed to start because its side-by-side configuration is incorrect please view log events applications for mo