LSOpenURLsWithRole launches browser with an extra tab
I'm opening a specific browser (Chrome, Firefox etc.) with a specific URL by
using this code:
LSApplicationParameters parms = {0, kLSLaunchDefaults, &ref, NULL, NULL, argsArray, NULL};
LSOpenURLsWithRole(urlArray, kLSRolesAll, NULL, &parms, NULL, 0);
The urlArray is holding only one URL, and argsArray is empty most of the time
(unless a special browser flag is used).
Everything is working, the right browser is opened with the right URL.
The problem is that in Chrome & Firefox browsers, I keep getting an extra tab.
That means I have a tab with the requested URL, and a tab that holds the default
homepage of the browser.
What's wrong with the browser launching code?
How many pages do you have set as your "homepage"? <br />
Firefox allows for multiple homepages in separate tabs, separated by the pipe | symbol.
Try resetting your homepage. <br />
http://support.mozilla.com/en-US/kb/How+to+set+the+home+page
Similar Messages
-
Hey guys. The problem actually bothers me for a while.
If I input a URL in an (microsoft) Excel Cell then turn it into a hyperlink, when I click on it. The Firfox, which is my default net browser will pop up and show the page I request. But there always has an extra tabs show some other things. Here is a sample:
The url I request is: http://privacy.microsoft.com/zh-cn/default.mspx
OK, the page is showed up and an extra tab's url is:
http://privacy.microsoft.com/zh-cn/default.mspxFirefoxHTML%5CShell%5COpen%5CCommand
the later part: 【FirefoxHTML%5CShell%5COpen%5CCommand】 is automatally added behind the url I request. And the correspond page reads: The resource you are looking for has been removed, had its name changed, or is temporarily unavailable.
how to fix this problem? and many thanks.:)Can you post the original link you have in Excel. We need to see what the
full link looks like. -
Extending the OIM Admin Console with an extra tab
Hi All,
I've been busy for some time to add an extra tab to the management console of OIM, the extra tab I succeeded adding it using the supplied documents. But on this tab a table has to be showed which gives the user the possibility to manage the content of that table (just a view on a DB table thus). I've build this application in JDev as an ADF (web)application which I then deploy as ADF library and which then should give me the possibility to add this application using a region.
So in this ADF library I have a page fragment which only contains a region which points to the workflow for the table editing, this fragment is then referred to as described in the "customizing_oim_ui_selfservice_to_add_an_adf_tab.pdf". This all looks to work just fine except for when entering the newly created tab, the tab stays blank and in the logfile I see some messages:
<Warning> <oracle.adf.view.rich.component.fragment.UIXRegion> <BEA-000000> <
java.lang.IllegalStateException: The expression "#{data.sodMainFragmentPageDef.editsodtaskflow1.regionModel}" (that was specified for the RegionModel "value" attribute of the region component with id "r1") evaluated to null.
This is typically due to an error in the configuration of the objects referenced by this expression.
If it helps, the expression "#{data.sodMainFragmentPageDef.editsodtaskflow1}" evaluates to "null".
If it helps, the expression "#{data.sodMainFragmentPageDef}" evaluates to "null".
If it helps, the expression "#{data}" evaluates to "oracle.adf.model.servlet.HttpBindingContext@100f4dd5". Now using an empty RegionModel instead.
at oracle.adf.view.rich.component.fragment.UIXRegion.getRegionModel(UIXRegion.java:439)
So my question is, why do I get this message and secondly is this the right approach or should I do it in an other way or don't do it at all?
Maybe somebody knows if it is possible to use ADF Business components inside OIM to be used for added functionality to the self service??????
Edited by: soverbosch on 8-dec-2011 14:13Did you ever get this answered? I know this is an old thread, but I am hoping someone can chime in.
soverbosch wrote:
Hi All,
Maybe somebody knows if it is possible to use ADF Business components inside OIM to be used for added functionality to the self service??????
Edited by: soverbosch on 8-dec-2011 14:13 -
Homepage opens with two extra tabs with unwanted quicklinks.
Opening my Homepage now also opens two (2) extra Tabs with tile links to Facebook Twitter, and other unwanted sites. This may be Yahoo, which I do not use. I could add the screen shot of these tabs, but need assistance to do so. It is a Paint, *.png file. Home Page does not have "pipes" || in the address.
You can check the home page setting:
*Tools > Options > General > Startup: Home page
Firefox supports multiple home pages separated by '|' (pipe) symbols.
*https://support.mozilla.org/kb/How+to+set+the+home+page
You can check for recently installed suspicious or unknown extensions.
*https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
Your System Details list shows that you have a user.js file in the profile folder to initialize prefs each time Firefox starts.
The user.js file is only present if you or other software has created this file and normally it wouldn't be there.
You can check its content with a plain text editor (right-click: Open with) if you didn't create this file yourself.
The user.js file is read each time Firefox is started and initializes preferences to the value specified in this file, so preferences set via user.js can only be changed temporarily for the current session.
You can delete possible user.js and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value including prefs set via user.js and prefs that are no longer supported in the current Firefox release.
*http://kb.mozillazine.org/Preferences_not_saved
*http://kb.mozillazine.org/Resetting_preferences -
Launching browser with playback
Hi there, hope you guys can help, tried just about everywhere else.
I'm trying to get a website URL to launch in the users default browser during playback of this quicktime movie. I've tried getting the HREF to work;
http://www.apple.com/quicktime/tutor...reftracks.html
But when you have to rename the Text Track to HREFTrack it won't let me rename it, so this technique doesn't work.
Can anyone tell me how to fix this or an alternate way?
Thanks SOO much to anyone.
Regards, Bob.It's a known issue with QuickTime 7 Pro for Windows. The track renaming just doesn't work.
Hopefully this will be addressed in the next update (don't know when).
Any way you could get your file onto a Mac with QT Pro to add the URL? Renaming text tracks works here as does adding URL's via AppleScript or Tiger's new Automator app. -
Several years ago, I downloaded Firefox for the first time on my Xp machine. The browser opens to the home page, but up in the tab area, there is always, and I mean through EVERY version and upgrade since that first one, including the most recent version 4, there is a second tab just to the right of the home page tab that says, "server not found." Now, since the home page loaded, it is obvious to me that the server WAS indeed "found." what I don't understand is why this second tab is there. Any ideas? I have read through the FAQ about not finding the server, and nothing there is relevant to this, as far as I can see.
How many pages do you have set as your "homepage"? <br />
Firefox allows for multiple homepages in separate tabs, separated by the pipe | symbol.
Try resetting your homepage. <br />
http://support.mozilla.com/en-US/kb/How+to+set+the+home+page -
so I am geting an additional unwanted MS Exchange tab/window every time I navigate to a new site or bookmark. i recentlly upgraded to Firefox 5.0 and I think this problem may have started around the same time. I also have MS Outlook but this is stand alone and I do not synch online at all, and have not changed any settings in it.
Try the Firefox SafeMode. <br />
''A troubleshooting mode, which disables most Add-ons.'' <br />
''(If you're not using it, switch to the Default Theme.)''
# You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
# Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes -
Proactive STK command to launch browser
We developed one STK (SIMTool Kit) applet and in that we are using Launch Browser proactive STK command to launch browser with a URL but browser is not getting launched in iPhone . The same applet is working fine in same SIM when inserted in Android phone
You are in the wrong forum for this post - this is the user to user technical support forum. You want the Developer's Forum.
-
When I open the browser I get a extra tab besides my home page that opens. I only want my home page to open.
Extra pages can be a sign that a bad add-on has crept into your Firefox. For example, an Astromenda infection.
cor-el pointed you toward Firefox's Add-ons page, and I suggest also checking here:
Open the Windows '''Control Panel''', Uninstall a Program. After the list loads, click the "Installed on" column heading to group the infections, I mean, additions, by date. This can help in smoking out undisclosed bundle items that snuck in with some software you agreed to install. Take out as much trash as possible here.
For further cleaning, try the '''scanning/cleaning tools''' listed in our support article: [[Troubleshoot Firefox issues caused by malware]]. These on-demand scanners are free and take considerable time to run. If they finish quickly and especially if they require payment, you may have a serious infection. I suggest the specialized forums listed in the article in that case. -
Is there a way to open a browser and it "starts" with opening many tabs?
Is there a way to open a browser and it "starts" with opening many tabs?
e.g. I open a browser - and it starts on 3 or 4 tabs?Leave them open when you shuit Safari down. It doesn't have a home page function.
You might check the app store for some alternate browsers. I beleive there a few that will do this. -
The first time I open a browser window in Firefox 5 a tab opens to my homepage which is what I want. Any browser windows that I open after that open with a "New Tab" and a blank screen. I need to press the "open a new tab" button to get to my homepage.
Try the Firefox SafeMode to see how it works there. <br />
''A troubleshooting mode, which disables most Add-ons.'' <br />
''(If you're not using it, switch to the Default Theme.)''
* You can open the Firefox 4/5/6/7 SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
* Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
''Don't select anything right now, just use "Continue in SafeMode."''
''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
If it is good in the Firefox SafeMode, your problem is probably caused by an extension, and you need to figure out which one. <br />
http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes -
I can't use tabbed browsing with my VPN and Intel iMac
I had no problem using tabbed browsing (with Safari) when connecting to
my virtual private network (go to my pc), when I used my iMac G5. Now that
I'm using an 'Intel' iMac, when I tab back to my VPN, it defaults to my log in
screen. I've checked my Safari settings, and they're all the same as my iMac
G5. Does anyone have any suggestions?
Thanks,
PaulIt works now...
-
I recently updated to Firefox 5.0, and I was pretty impressed with the app tabs. I usually use Firefox in private browsing mode, but recently I changed that to make use of the history function. However, I decided to change it back to permanent private browsing, and apparently my pinned tabs all just disappeared. Is there anyway I can change this?
App (pinned) tabs and Tab Groups (Panorama) are stored as part of the session data in the file sessionstore.js in the Firefox profile folder.<br />
If you use Private Browsing mode then no session data is stored to disk. -
Currently, I can copy ONE tab's url and nothing else (not its name). Or I can bookmark all tabs that are open. However, I'd like to have the ability to select multiple tabs and then copy ALL of the the URLs AND their titles/or copy ALL of the URLs+titles+HTML links? This can be done with the Multiple Tab Handler add on; when I download the add on, I get a message saying that using the add on will disable Firefox's tab features. I prefer to use Firefox features rather than download and use an add on. Is there a way to do this without an add on?
Hi LRagsdale517,
You should definitely be able to upload multiple files by Shift-clicking or Ctrl-clicking the files you want to upload. Just to make sure you don't have an old version of the service cached, please clear the browser cache and then log in to https://cloud.acrobat.com/files. After clicking the File Upload icon in the upper-right corner, you should be able so select multiple files for upload.
Please let us know how it goes.
Best,
Sara -
Audio player with some extra's - can't get player realized
I try to build an audio player with some extra's like looping between 2 time marks.
Till now i have an interface that can play back audio files but after that the problems start.
There is no way i can add functions without creating a {color:#ff0000}NotRealizedError{color}.
According to the documentation the start() method should realize (etc) the player, but it doesn't in my program and neighter does the method player.realize();.
Can someone give me a hint to get me on the road again.
Thanks in advance.
Here is the complete code which generates the NotRealizedError on the dp.setRate(); method:
(most of it is older source from a basic player on the internet).
package dictaplayer;
import java.awt.*;*
*import java.awt.event.*;
import java.io.*;*
*import java.net.MalformedURLException;*
*import java.net.URI;*
*import java.net.URL;*
*import javax.swing.*;
import javax.media.*;
public class DictaPlayer extends JFrame {
private Player dp;
private URI uri;
private URL url;
private boolean realized = false;
public DictaPlayer()
super( "Testing DictaPlayer" );
JButton openFile = new JButton( "Open file to play" );
openFile.addActionListener(
new ActionListener() {
public void actionPerformed( ActionEvent e ) {
openFile();
createPlayer();
getContentPane().add( openFile, BorderLayout.NORTH );
setSize( 300, 300 );
setVisible(true);
private void openFile()
File file = null;
JFileChooser fileChooser = new JFileChooser();
fileChooser.setFileSelectionMode(
JFileChooser.FILES_ONLY );
int result = fileChooser.showOpenDialog( this );
// user clicked Cancel button on dialog
if ( result != JFileChooser.CANCEL_OPTION )
file = fileChooser.getSelectedFile();
try {
uri = file.toURI();
} catch (SecurityException e) {
e.printStackTrace();
// Convert the absolute URI to a URL object
try {
url = uri.toURL();
} catch (IllegalArgumentException e) {
e.printStackTrace();
} catch (MalformedURLException e) {
e.printStackTrace();
private void createPlayer()
if ( url == null )
return;
removePreviousPlayer();
try {
// create a new player and add listener
dp = Manager.createPlayer( url );
// blockingRealize();
dp.addControllerListener( new EventHandler() );
dp.start(); // start player
dp.setRate(2);
catch ( Exception e ){
JOptionPane.showMessageDialog( this,
"Invalid file or location", "Error loading file",
JOptionPane.ERROR_MESSAGE );
private void removePreviousPlayer()
if ( dp == null )
return;
dp.close();
Component visual = dp.getVisualComponent();
Component control = dp.getControlPanelComponent();
Container c = getContentPane();
if ( visual != null )
c.remove( visual );
if ( control != null )
c.remove( control );
private synchronized void blockingRealize() {
int teller = 1;
dp.realize();
while (!realized && teller <= 20) {
try {
wait(1000);
System.out.println("not realized " +teller);+
+teller++;
} catch (java.lang.InterruptedException e) {
System.exit(1);
public static void main(String args[])
DictaPlayer app = new DictaPlayer();
app.addWindowListener(
new WindowAdapter() {
public void windowClosing( WindowEvent e )
System.exit(0);
// inner class to handler events from media player
private class EventHandler implements ControllerListener {
public void controllerUpdate( ControllerEvent e ) {
if ( e instanceof RealizeCompleteEvent ) {
Container c = getContentPane();
// load Visual and Control components if they exist
Component visualComponent =
dp.getVisualComponent();
if ( visualComponent != null )
c.add( visualComponent, BorderLayout.CENTER );
Component controlsComponent =
dp.getControlPanelComponent();
if (!realized) {
System.out.println("not realized.");
if ( controlsComponent != null )
c.add( controlsComponent, BorderLayout.SOUTH );
c.doLayout();
}captfoss,
Thank you for your comment.
captfoss wrote:
Start does realize the player, automatically, before it starts it... if it isn't realizing then it also isn't starting.Right, I thought so, but my test was wrong. I now tested it with getState() and I can see it's going from unrealized to realized.
First off, you can only call setRate on a player that is realized but not started... further, any of the calls like configure, realize, start, stop, etc... are non-blocking calls...so you have to wait for them to finish before you go on to the next step.So you say that when the rate is changed (f.i. by a user in a gui) the program first has to bring player in non-started realized mode (stop + realize), call the setRate() and start the player again (on the exact position it was stopped)?
The easiest solution would be to use Manager.createRealizedPlayer rather than Manager.createPlayer...Didn't find out yet why, but when i change this (only this), there is no playing.
Also, ++teller++ is about the most-confused looking code I've ever seen...Just like all the asterisks, i now know that code changes when i toggle between the tabs (rich/plain/preview) in the message box.
Beyond that, your "blocking realize" function doesn't appear to do anything except suggest you have no business coding anything this advanced. Your boolean value "realize" isn't ever changed, so, I'm not entirely sure what the point of that function is other than to wait 10 seconds.I got this somewhere from the internet. Thought it could help me realize the player, but it didn't (obvious) so i commented it out.
Slowly I begin to understand the basics of JMF (at least i think so), but I also understand that there are other (Java) ways to build the application I need. Unfortunatly I have to little (hardly any) knowledge of all those (sound) API's (f.i. JLayer) to find my way through them and to decide which is the best for my use (user controled audio playback (at least WAV and MP3) with looping possiblities between 2 marked positions).
If someone could give me an advise which API (method or whatever you call it) is best to focus on I shurely would appriciate that.
Maybe you are looking for
-
HT201335 The mirroring option does not show up under Apple TV in my list?!
I have newest Apple TV iPhone 4S Both with software updates But still no option to turn on mirroring
-
I am attempting to have cells use data from a selective month from the year before so that I can show actual from the prio. year each month. I need to create a spreedsheet using the the Acutlas from the year-to-date and from last year-to-date, but ne
-
Hi, I have a requirement to send the PDF file to the printer/spool in my BADI implementation. I have generated the pdf file using web service, got it converted to binary/byte stream. Now i want to send that to the printer for printing. Please help me
-
TS4526 I just updated my Apple tv to 5.2.1 and now I can't access Itunes store
When I try to access the store nothing happens, the screen stays on the account information page. Im using IMAC with Mountain Lion 10.8.3 and the latest Itunes update. Everything else seems to work fine.
-
Coldfusion and SQL reporting service 2005?
Ive been searching google for hours with no clear answer. How can you use coldfusion to pull in an sql report from reporting service? Via a web service or wsdl i assume, but how?