How to set the title when using InvokeManager (MediaPlayer)
Hi Im using InvokeManager to play the video file (Media Player)
How to change the title when media player to play the video (above)-> it by default uses the name of the file being played
but I want to change this
How to do this?
Thank you
Try this
InvokeManager * invokeManager = new InvokeManager();
InvokeRequest cardRequest;
cardRequest.setTarget ("sys.mediaplayer.previewer");
cardRequest.setAction ("bb.action.OPEN");
cardRequest.setUri ("* video url *");
QVariantMap map;
Map.Insert ("contentTitle", "My title");
QByteArray requestData = bb:psObject::encode (map, NULL);
cardRequest.setData (requestData);
Response InvokeTargetReply * = invokeManager-> invoke (cardRequest);
Note: Mark your post as solved, if this solves your problem
Tags: BlackBerry Developers
Similar Questions
-
How to set the LOV when in a pop up
Hello!!!
We work with ADF 11 g and the user wants to use a LOV a field during their research and another when they change the information in a pop-.
I have the popup work and we may change the information but I can't understand how to have a different of LOV show when the user is in the pop-.
I've set the attribute VO use 2 LOV and I added a transitional attribute to the VO and picked up as a list of value switch but I can't figure out how to set the transient attribute when the pop-up opens
so that it will use the 2nd LOV while in the pop-up etc and then together is back to normal when they are not on the shortcut menu.
Everyone comes through this?
Thanks in advance.The best solution I found for this was using two different views and then link them. This allows a different LOV will basically be attributed for the same attribute. Be sure to use the correct view on the specific form for the desired LOV.
-
How to set the doctype node using dbms_xmldom?
Hi all
IM using oracle 10g. I generated an xml file using dbms_xmldom.
I need set the version xml and doctype to my xml file.
XML version I've defined using dbms_xmldom.writeTofile.
But not able to set the doctype... tried with dbms_xmldom.makedocumenttype... But no result...
How to set the doctype using dbms_xmldom?
Concerning
Sankar MN
Published by: SankaraNarayanan.M.N on October 17, 2011 05:40http://download.Oracle.com/docs/CD/B19306_01/AppDev.102/b14258/d_xmldom.htm#i1121082
-
How to set the title panel without using the Manifest.xml
Hello guys,.
I would like to know how to the the title of the Panel without using the manifest file.
A C++ plugin is responsible for the creation of a menu entry. .
He is also responsible of loading-unloading the extension basic HTML code.
So in my extension manifest file, the following line has been deleted:
< menu > my Panel Extension 1 < / Menu >
After doing this, my extension Panel has more no title.
What I would do, it is programmatically set, she don't know how to do!
Any help would be appreciated.
THX,
Thomas.
I found the solution to my problem!
To find out how, follow this link: https://forums.adobe.com/thread/1731552?sr=inbox
Thomas.
-
How to set the sampling interval using DAQ hardware?
Now I have a sensor capability and hardware DAQ 24 bit (http://www.mccdaq.com/usb-data-acquisition/USB-2404-10.aspx).
The DAQ hardware has the 50kS/s maximum sampling rate. My question is how to define the range of data collection. For example, if I set the sampling rate of 2000, continuous sample mode, I use read.vi DAQmx in a while loop and set the "number of samples per channel" to 100. I want to plot these data over time using a XY Chart and also save this data. So I add a 'Medium' function to get the average of 100 samples per each loop (medium, there are 20 release of data per second). But when I put a 'number of samples per channel' much more small (for more data per second), there are a few problems. It seems that the program cannot read the data as much and get the average at a higher frequency. I don't know where is the problem. Overall, the collection of data more frequently? Maybe I didn't articulate my question. I'll upload a simple program later if necessary. Thank you.
-
How to set the title of the dialog by program
I want to use a variable for my title of popup dialogue so that I can set dynamically based on the code in my grain of support. I thought I could create a variable in my grain of support then go in the expression builder for the title of the dialog box and select this variable, but the variable does not appear in the list. If this isn't the right way, how to create a dynamic title for my dialogue? I use jDeveloper 11.1.1.4. Thank you.You have created a get accessor and a Set accessor method for your variable in the bean?
Timo
-
How to set the title button in two lines
Hi all
Someone can give me a code example or an idea that can help me to define the button title in multiline, mean that I want to print the date currunt as '2009-12-11 11:42:45 ' in two lines on the title of the buttonfield.
I tried to use the "\n" character to break the line, but it was not a job for me. I put in a title, for example,
String title = "/ tej n Hi how are you?
ButtonField btn = new ButtonField (title);
Add (BTN);
But it's not working.
Thanks in advance,
Using custom field, we can achieve it. More wire has the solution for you
http://supportforums.BlackBerry.com/T5/Java-development/multi-line-ButtonField/m-p/94564#M10529
-
How to show the cursor when using wmp as an activex
This page (http://msdn.microsoft.com/zh-cn/library/windows/desktop/dd564025(v=vs.85).aspx) says:
During playback in full screen, Windows Media Player hides the mouse cursor when enableContextMenu equals false anduiMode is equal to 'none '.but I want to show the cursor on the screen, is it possible to solve? Thank you!Hello
I understand that you do not want to activate the cursor when you use Windows Media Player Activex.
It is better suited for the IT audience Pro on MSDN. Please ask your question in the MSDN Support Forum. You can follow the link to your question:
http://social.msdn.Microsoft.com/forums/en-us/categoriesI hope it helps. If you have problems in the future, please let us know. We will be happy to help you.
-
How to set the NFS storage using the HA function
HI friends,
How to configure NFS storage to use the HA?
Do all esx hosts, see cluster the same lun, comfiguration files?
Thank you.
You need:
VMkernel for NFS ip Storage
Mount the NFS on each cluster host esx (as shared storage) group so that all ESX hosts see your virtual machines
How to:
Create new Cluster
Edit the Cluster and enable HA for the cluster
For the game from the beginning to 'use the cluster configuration' default virtual machine
Then you're ready to go
Others, I think, someone will add for you...
System engineer
Zen Systems Sdn Bhd
Malaysia
www.no-x.org
-
How to set the default when button press "Enter".
Hello
I have a form, and he doesn't have that one button (send). When I press 'Enter', it can send the form and action. However, when I add another button (Normal button, not submit), it cannot run directly submit when I press "Enter".
If you press 'Enter' and the form can submit automatically, it is more user-friendly than without this feature. Therefore, can I know the method to set the default button when users press "Enter"?
At first I thought that can matter the order of the controls on the form. When I run this code:
While I am in the text box, if I press enter the form sends. I tried originally with button and submit entries in the opposite direction.
Note that the button enter will not submit the form if you are in a select command (aka dropdown) or a textarea component or if your home is not on a form element. This is the default behavior. If you want to replace, you write javascript.
-
How to disable the measures when using the tool online
Hello. I'm sorry of you problems with this little thing but its driving me nuts. I use a shared computer in a University, and we went just to CS6. When I use the tool online by making a mask a box pops up that measures the length of the line and the angle. I want to turn it off, and it blocks to be able to see what I'm trying to hide. I tried this to research online and in using Photoshop, but I don't know the correct terminology, i.e. what to call to find out how to turn it off. Thanks much for any help!
Here is a jpg screenshot: https://www.dropbox.com/s/njena5x9ppajzqq/linetool.jpg
It sounds like the poster in the image that have been added to photoshop cs6
You should be able to turn off Photoshop > Preferences > Interface > display Transformation values and never the value set.
-
How to set the hp7510 to use only black ink
C311a model HP 7510
How can I use black ink only each time unless as otherwise defined. I use a Mac Book Pro & P command does not offer this option.
Hey,.
You can follow these steps:
Step 1:
Select Print on the file menu.
Step 2:
Click on the popupbutton and select the quality and the media.
(under Mac os x tiger select Colorsync and after that select gray tones)
Step 3:
Check printing in grayscale.
Step 4:
Press the button print.
Source: Mac Support
-
How to set the settings without using the name?
In my OpenGL\DirectX C++ engine that I wrote a material format clever for managing shader and texture settings, I do the same Molehill help now, but I can't find a way to know a registration number parameter.
I use PixelBender3D shaders, I want to use setProgramConstantsFromMatrix and setProgramConstantsFromVector to set my values instead of this helper class settings that allow you to by name (things with strings during execution should never used in vidogames and store name instead of the register number is just more painful)
I have seen that there is a ParameterRegisterInfo class, which inherits from RegisterInfo, that cointains a variable 'register', but it seems to be private, and I can't access the number of registry from there (I don't even know if register.baseNumber is really the one I need, but seems that Yes).
So, is it possible to get the registration number of a parameter to use with setProgramConstantsFromMatrix\setProgramConstantsFromVector?
If not, please, it implements! Functions such as setMatrixParameterByName are certainly useful, but should not be the only way to set a parameter.
I know that some of the samples use setProgramConstantsFromMatrix already, but every time the registry value is simply coded hard in and is not calculated.
I hope it's clear and thanks in advance!
This complaint has developed a couple of times since we released the beta version. You should have access to this information, we'll fix it in a future release.
-
How to set the variable when you click on text/image
Hello
I have the following parts of the code. What I'm trying to do is set a variable and then the new window will read this variable and show detail appropriate according to the value. I call the new window, no problem, but struggling to get all of the variable 'productidkey '...
Image
< td width = "202" rowspan = 2 align = "center" bgcolor = "#FFFFFF" >
< a href = 'details.php' > < form method = "POST" action = "details.php' style =" margin-bottom: 0; ">
< input type = "hidden" id = "productidkey" name = "productidkey" value = "6198' > < img src ="6198.JPG"width ="200"height = '133' alt ="in more detail"border = '1' >"
< / form > < /a > < table >
Text
< td >
< div align = "right" >
< are method = "POST" action = "details.php' style =" margin-bottom: 0; ">
< input type = "hidden" id = "productidkey" name = "productidkey" value = "6198' > < a href = 'details.php' > < span class ="TexteÉlément"> < b >... < /b >"
</span > < / form > < / div > < table >
It works:
-
How to set the title of the project?
I wish my file name to be independent of the Captivate name written at the top of the animation window. I can't find a place to choose this name. Right now, it's a little strange because I renamed the file outside Captivate, then he is a former name.Hi Chris
If the offered suggestion seems to fail for you, take a look at the file > properties (Captivate 2) or change preferences (Captivate 3).
You are probably interested in the field "name of the project. Oh and Captivate 3, you must first of all, click on the "General" of the new Preferences dialog box node.
Maybe you are looking for
-
Why can't I save a local HTML page on the new tab page?
I have an HTML page stored on my hard drive local. I created a bookmark for it; the url begins with "file://". I can easily add any other web page marked with a bookmark to the new tab page, but I can't add my local HTML page. How do I do that?
-
Reliability of T540p Sierra WWAN (EM7345)
Hello I get strange errors. Connection might work correctly for hours, but then he's going nuts. I can connect to my mobile internet provider, but no data is in motion. Attached a picture of errors. What is c?
-
Prices for Dell backup and recovery, Basic and Premium
How much is the Dell Backup and Recovery Service since Dell Data Safe is abandoned in June 2015. Thank you very much.
-
How to change the default setting for Australian News & Sport?
How to change the default setting for Australian News & Sport?
-
I bought DC Acrobat Pro from Best Buy. I received a redemption code and find my serial number. When I try to install Acrobat I tells me that I am using an incorrect serial number. What should I do now? Help!