Eclips: the type UUID is ambiguous

Hi all,
I'm developing a Midlet game which will be played using bluetooth. I got the following error: "The type UUID is ambiguous". Anyone know what I need to do?
I import the following packages:
import java.io.*;
import java.util.*;
import javax.microedition.midlet.*;
import javax.microedition.lcdui.*;
import javax.microedition.io.*;
import javax.bluetooth.*;The code in which the error occurs is:
        // Locate another MIDlet that has started a
        // game to connect to
        try {
            LocalDevice local = LocalDevice.getLocalDevice();
            DiscoveryAgent agent = local.getDiscoveryAgent();
            String connString = agent.selectService(
                new UUID(serviceIdentifier,
//                  ^^^^
                false), ServiceRecord.NOAUTHENTICATE_NOENCRYPT,
                false);I checked the packages, and only the javax.bluetooth package has a UUID class. I'm stumped.
Michel
PS serviceIdentifier is defined as:
private static final String serviceIdentifier = "0D090308050002051307090A0B00";

hi,
I got the same problem, did you find something? if you have resolved it, contact me, thanks.

Similar Messages

  • Can someone explain me the error "The method xyz is ambiguous for the type"

    I get this compiler-error "The method compareTo(java.lang.Object) is ambiguous for the type MyClass" everytime when I want to access the method "compareTo(Object)", which is overwritten in MyClass and in the superclass of MyClass.
    What does it mean?
    Thank you for your help!
    Ciao

    it means you are using a method declared in two of your class declared packages...
    the package paradigm was created to provide a way to distinguish the method with the same signature but from different projects..
    many Java API methods has the same signature but comes from diferent packages.. if you declare theese packages using '*', you should declare it variables with its full signature...
    look this:
    http://java.sun.com/docs/books/tutorial/java/interpack/packages.html

  • How to retrieve the type of iView?

    Hi Experts,
    I would have a simple question, I have an ivew on my portal, but I am not able to find the type of this iview. I need the name of the iview template like WebDynpro, Transaction, BW, URL, Query ect.
    Thanks,
    Levente

    If you want to find the type of the iView from the code you can use the API which is described in the following document.
    <https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/6112ecb7-0a01-0010-ef90-941c70c9e401>
    But I guess, you should be knowing the type of the iView using the Delta Link Tracer. Atleast I am able to see that.
    Sudhir
    Reward with points if useful

  • A realistic assessment of your experiences of hardware needed for the type of editing I do please.

    Introduction:
    I apologise for the length of this post but from experience of reading here, I'm working on the principle of the more I explain about myself now, the less anyone willing to help me will have to ask later.
    I have lurked around this forum on and off for a few years, read the various threads in the FAQ section, particularly PPBM5 and What PC to build thread and other related topics around what system to build.  I have found them very useful and in particular have enjoyed reading about Harm Millaard's experiences First Ideas for a new system.  For about about 12 months I've been delaying upgrading my PC but in Mr Millard's latest updates on his PPBM6 site he talks about new systems and  provides a link to Intel's time line which suggests they are in no rush to replace the i739xx series CPU chip - which has I believe amongst other things 2 cores disabled.  Normally bitter experience has taught me not to rush out and buy the latest technology but let others "test" it first and then benefit from reduced prices as that model is replaced.  However, it now seems like last years technology is going to remain as this years technology and probably the first 2 quarters at least of next year and, if anything, the price of the i739xx series is at best staying at it's existing launch price or even rising.  So it's time to take the plunge for me and upgrade.
    My current hardware for editing:
    I started with Premier 6.5 after I bought it as part of a bundle with a Matrox RTX 10 card - one of the most temperamental pieces of hardware I've had the misfortune to work with.  I later upgraded to Premiere Pro 1.5 and edited with that using a Pentium 4 2.6 (overclocked to 3.2), 3 hard drives (no raid) and 4G of memory.  The video footage used was avi recorded using a Canon MVX 30i and Panasonic NVGS27 and now I've added the Casio Exilim EX -FC100 (mpeg format) and a Panasonic HDC S90 (AVCHD).
    My PC coped with the editing I did with avi footage but couldn't handle AVCHD format and this convinced me to upgrade to Premiere Pro CS5.5.  At the same time I switched to editing on a Dell XPS M1530 (Centrino duo chip) - I upped the memory to 4GB, put Windows 7 64 bit home edition on and replaced the existing hard drive with a faster one.  In addition I use a SATA Quickport duo attached to my laptop via an eSATA card.  However, either the Quickport, eSATA card or XPS is extremely temperamental - I never see two external hard drives, 50% of the time see 1 external drive or none at all - when that happens I edit around it doing things I can with just the one internal drive - but this problem is not my question.
    The type of editing i do:
    I know people usually say around here not to try editing on laptops and believe me, I understand why, but using this setup I have been able to edit lots of videos  - see here for examples of the type of editing I currently do:
    http://www.youtube.com/user/PathfinderPro
    The equipment test videos place the biggest strain on the hardware when editing.  And, to do this editing I have to convert my AVCHD footage in to it's YouTube format before editing and even after I've done that it can be tediously slow to edit and playback even with premiere set to play at 1/4 normal quality.  To convert the AVCHD footage to the YouTube format I edit in has to be done over many nights.
    Now I am not a professional, I typically edit with up to 4 tracks of video with additional tracks for titles and my target audience is YouTube - which is why I can get away without editing in my prefered option of native AVCHD video format.  However, I'm tired of all the waiting, stuttering, and many many days and hours of converting videos into a format I can use so I'm looking to upgrade.  My problem is though I'm uncertain what path to take.  The PPBM results are dominated by overclocked chips, and whilst the motherboard make and model is listed, the hard disks used, graphic card makes and models and memory modules are not.  This is not a criticism of the PPMB tables (big thank you to Bill Gehrke & Harm Millaard for taking the time and effort to pull this much information together) but for me, I am not interested in being in the top 1000 in the world, nor overclocking like mad, and having had horror experiences of using matrox products and compatibility and stability issues with other hardware I'm more interested in compatability and practicality than speed when deciding what to build.  I've also read the threads about marvel controllers, dual and quad channel memory support, the pro's and cons of SSD or standard drives, raid setups, the heat problems with overclocking the newer ivy bridge chips and general build advice etc so I'm not coming here without having done some reading first.
    The type of system I'm thinking of:
    So far based on what I've read here, I've come to the conclusion - but I'm open to suggestion:
    - Chip - regrettably due to the cost and unlikely successor anytime soon - a 39xx (with appropriate cooler) because I want to edit in native AVCHD which seems to require the warrior type chip as opposed to the "economical" build regardless of what my target audience is and this suggests
    - X79 motherboard (which must have an old PCI slot such as the Asus Sabertooth and which has room for the cooler I'm considering).  As I will be carrying over my old terretec DMX 6 fire 24/96 soundcard - all my videos have their audio mastered in Audition using this card - best piece of advice I read was the audience will watch a bad video with good sound editing but not the other way round)
    - 4 hard drives plus additional hard drive for operating system using onboard raid controllers (not sure whether the operating system drive will be WD caviar black or SSD and can't justify cost of external raid controller for either my type of use or number of hard drives being used)
    - Video card - I can now buy a GTX 580 for less than the 670 - so not sure on the card especially based on Harm Millards observations that memory bandwith seems to be as important as CUDA cores
    - Case - I have an Akasa 62 case with room for 5 hard drives - I won't be exceeding that, and if I overclock it will only be by a little so is it really necessary to replace it for a Tower Case - although I would prefer a case with a front connection for esata so I may have to change the case regardless
    - Maximum memory 32G - so is it necessary to upgrade to windows 7 professional?
    - Power source - I'll work out when I've decided on my components.
    Help please:
    For me it's video source/dictated software chosen and hardware/audience(youtube) dictates format edited in.  As I don't intend to change my camcorders format (AVCHD or mpeg) in the next couple of years and I'm not interested in having the "fastest" system around what I'm really interested in learning is:
    what system setups people use now for doing similar editing to me
    what make/models of the component parts in your system work well together
    and if you do have a bottle neck in terms of hardware, where is it and what hardware would you change to  (not a dream model change, just a practical and realistic one)
    I have deliberately not given a budget for the changes I'm intending because budget should not be the deciding factor in determining what I "need" to upgrade to for the "type of editing I do" - especially bearing in mind I've got by so far (admitedly at a tortoise pace) with by todays standards a standard spec laptop.  Basically I don't want a Rolls Royce to go shopping at Wallmart but I'm tired of walking there and carrying everything back by hand!
    Thank you very much for any help / experiences people can share.

    Thank you both for your prompt and helpful replies.
    Mr Millaard, regarding your excellent article Planning and Building an NLE system, I have read it a couple of times now and it was your article which finally convinced me the time was now to upgrade but within it you said for good reason "Initial choice of CPU: i7-39xx with the intention to overclock to 4.6 - 4.8 GHz", hence my uncertainty about the CPU to use.  I have seen a video you posted here  - I think it was based on your cats (which I incidently enjoyed) so working on the editing done there (but not remembering if you mentioned what video format you used) and others who have mentioned many pro's for the i7-39xx I was leaning towards that - but I'm financially relieved at least - if the i3770 will do, although now with the possible recommendation by JEShort01 (sorry not sure of the forum etiquette for use of names) of the 2600K overclocked I'm a little bit back in the position of which is more suitable especially with the update to the i3770 being nearer than i7-39xx.  This still makes me lean towards the i7-39xx.
    Regarding the editing, the match play you can see on the channel is indeed 1 camera basic edits - multiple titles used to provide the score board.  However, the coaching videos use mulitple cameras - 3 to 4 sometimes (another reason for upgrading to CS5.5 for the multi cam editing support) and the equipment testing video can use 3 or 4 tracks layered on top of each other other with each track having opacity settings and multiple motion effects and titles with occasional keying video effects added.  For example this video at approx 2 mins 50 and 5 mins 10 seconds.
    http://www.youtube.com/watch?v=T1E5T7xo57c&list=PL577F7AB5E31FC5E9&index=13&feature=plpp_v ideo
    Monitor wise I use dual monitor setup.  My laptop screen and I link out to an LG M2394 D for widescreen and I sometimes use an old Neovo F-419 for 3 / 4 editing.  I won't be using more monitors than 2.  If the 580 drops a bit more I'll probably go for that - although I'll have to make sure it's size isn't an issue for the motherboard combo setup.  Interestingly there is a thread shown on the forum home page which discusses the 570 vs the 660ti and the opinion was go with the 660ti which surprised me a bit.
    Windows 7 professional it is then - I should have known that too - apologises for asking a question already asked.
    "Accepted, your correct criticism of the lacking hardware info on the PPBM5 website. That is the overriding reason that for the new site http://ppbm7.com/ we want to use Piriform Speccy .xml results to gather more, more accurate and more detailed hardware info."
    No criticism intended Mr Millaard - more an observation and I really look forward to that evolution with PPBM7.  I'm assuming the .xml results will use pre populated drop down lists people can select their hardware from - that way you can control and ensure consistent entries - downside being the work required by you to populate the lists in the first place and maintain them.
    Thanks again for your help but I'm still unsure a bit about the CPU and video card though.

  • [svn:bz-trunk] 11030: Tweak the deserialization of ASObjects to treat an empty string for the type of an object as null .

    Revision: 11030
    Author:   [email protected]
    Date:     2009-10-20 11:35:02 -0700 (Tue, 20 Oct 2009)
    Log Message:
    Tweak the deserialization of ASObjects to treat an empty string for the type of an object as null. It appears that there is some logic in the LC remoting code that relies on a non-null class name to always exist. This change reverts to the old behavior of not allowing empty string as a value for the ASObject.namedType.
    This should fix bug 2448442 and its duplicates caused by the recent serialization changes.
    I don't think this is the perfect fix. Pending further investigation, a better fix would be either:
    a. If it's OK to assume that empty string should always mean null for the type of the ASObject, the code that enforces it should be in the setter/getter inside ASObject and not in the deserializer.
    b. ASObject doesn't guarantee that a named type exists or is valid. In that sense an empty string is as bad as some random characters that cannot be a valid class name in java, so depending on how disruptive it may be, the fix should be in any logic that uses ASObject.getType().
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/io/amf/AbstractAmfInput.java

    Hi Pavan,
    "In your payload there is no namespace prefix for the elements under PayloadHeader element."
    Yes, you are right - but this message is standard AQ Adapter Header message - it's not defined by me. I just used message which was automatically added to my project when I have defined AQ Adapter.
    "In your process is the default namespace is same as namespace value of tns ??"
    Do you mean targetNamespace? If yes it's different as it points to process "targetNamespace="http://xmlns.oracle.com/PF_SOA_jws/PF_APPS/APPS_PROCESS" (names of application and process have changed as I try different ways to do that)
    ns1 is: xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/aq/PF_SOA/PF_APPS/PO_AQ"
    "another thing is tns and ns1 should have same values.."
    When I create a variable of header type, namespace ns1 is automatically created for it. I set it as property of receive activity. When process is instantiated on the serwer I get the error in which you can see that namespace is tns.
    Maybe I'm doing something wrong but I don't see how I could fix this in my process.
    You can see that the message I get on the server has nothing in common with the application/project/process names. Is it possible to define such variable?
    Regards
    Pawel
    PS:
    In Transformation xsl file, both variables (source and target) has tns namespace for Header and PayloadHeader, and no namespace for subfields.
    Edited by: pawel.fidelus on 2010-01-05 02:37

  • How do I make Step Types in the Type palette be "master" versions which all sequence files on a particular should use? (since this only seems to "half work")

    The situation I would like is to have a library of step types which sequence developers can use. Therefore if new step types need to be added, or existing ones modified - all that needs to be done is to roll out a new MyTypes.ini (for example), and the code modules/substeps.
    Scenarios:
    If I create types in MyTypes.ini (make sure "Attach to this file" is checked, so they get saved here). I can then create a sequence file using these step types. No problem so far.
    I can open the type palette, modify the step properties, and save. When I go back to my sequence file an asterisk appears (saying it needs to be saved, even if I have opened it from scratch). The properties have been updated to reflect what is in the Type Palette. Still no problem (Type versions are the same in the sequence file and type palette).
    This is where the problem appears:
    If I change a step type (in the Type Palette) from using a code module to using a Post-Step substep instead (changing the module adaptor to "None") - any instances do NOT update when you open sequence files. (The same happens vice versa also).
    Please note that the "Type version" listed in the sequence file DOES match that listed in the Type Palette - the properties are the same but the manner in which the code modules are called is DIFFERENT! This then can lead to to runtime errors if the old code module has been deleted for example.
    The only way around this is to open EVERY sequence file that contains an instance of the step type, and make sure that you have "Apply changes to all loaded instances of this type" checked in the step type properties dialog. This is is not a good solution since files could be missed, and is very time consuming if you have hundreds of sequence files!
    What I need is that the Type Palette on any particular station contains the MASTER copies of each type. These are loaded whenever a sequence file is loaded and NOT retreived from the sequence file. As discussed above this seems to work when you modify properties - but doesnt work fine if you change the way in which code modules are called.
    Am I doing something wrong or is this a limitation?

    I had a system recently containing seven sequence files, approx 20 subsequences in each, and around 10-20 steps in each sub-sequence. Every step (except for the NI non-code module types) was an instance of a step type.
    Each one of these steps had an Edit sub-step and a code module called through the code module adapter.
    In order to make these into "wrapped up" step types it was decided to move the code module to a Post-Step substep (as also done in the NI-IVI step types) - so that developers cannot fiddle with the code prototype or module.
    In order to do this I had to open all 7 of the sequence files, make the changes and then ensure that "Apply changes in this dialog to a loaded instances" was checked. This seems to sort of work, but some steps started causing Error 17502 (System Error) when you configure them (call the Edit substep). Over the course of the past few months I have had to effectively check every instance of a type to see if it works (deleting the step and replacing it when it doesnt). Other strange things happened like some of the step type instances now have the "None" (adapter) icon associated with them - but both still work.
    The idea of creating a type-def of a step type is a good one, but frustrating that it doesnt seem to fully work. Why should the sequence file also store a version of the step-type - which is what is effectively causing this problem - why not make it so that if you dont have the step types installed in the type palette - TOUGH! Message Edited by RichM on 03-15-2005 06:55 AM

  • The type and the length of the members of the structures

    I am making the BC-XAL program.
    Reading `XAL_Interface_Documentation_11.pdf', now I succeeded in "Reading All Saved Monitor Sets" and "Reading All Monitors of a Monitor Set". but I can't find the type and the length of the member of the Structure BAPITNDEXT, so I cannot get the Monitoring Tree of a Monitor.
    where can I get any documents or information ?

    This is how it looks in my 46c system.
    MTSYSID         SYSYSID         CHAR      8     0R/3 System, name of R/3 System                                 
    MTMCNAME        ALMCNAME        CHAR     40     0Alert: name of monitoring context                              
    MTNUMRANGE      ALTIDNUMRG      CHAR      3     0Alert: monitoring type number range (perm., temp, ...)         
    MTUID           ALTIDUID        CHAR     10     0ALert: Unique Identifier for  Monitoring Types (used in TID)   
    MTCLASS         ALTIDMTCL       CHAR      3     0Alert: monitoring type class (perf., single msg.,...)          
    MTINDEX         ALTIDINDEX      CHAR     10     0Alert: internal handle for TID                                 
    EXTINDEX        ALTIDINDEX      CHAR     10     0Alert: internal handle for TID                                 
    ALTREENUM       ALTREENUM       INT4     10     0Alert: MT Tree info: Number of tree                            
    ALIDXINTRE      ALIDXINTRE      INT4     10     0Alert: Tree Info: Index of MT in Tree                          
    ALLEVINTRE      ALLEVINTRE      INT4     10     0Alert: Tree Info: Level of MTE in Tree                         
    ALPARINTRE      ALPARINTRE      INT4     10     0Alert: Tree Info: Index of Parent of MT in Tree                
    OBJECTNAME      ALMOBJECT       CHAR     40     0Alert: Name of Monitoring Object                               
    MTNAMESHRT      ALMTNAMESH      CHAR     40     0Alert: Short Name of Monitoring Type                           
    CUSGRPNAME      ALCUSGROUP      CHAR     40     0Alert: Customization: Name of Customization Group              
    DELIVERSTA      ALDELIVSTA      INT4     10     0Alert: MT Val: Delivery Status                                 
    HIGHALVAL       ALVALUE         INT4     10     0Alert: alert value (1 = green, 2 = yellow, ....)               
    HIGHALSEV       ALSEVERITY      INT4     10     0Alert: severity (alerts, monitoring type custom..)             
    ALSYSID         SYSYSID         CHAR      8     0R/3 System, name of R/3 System                                 
    MSEGNAME        ALMSEGNAME      CHAR     40     0Alert: name of monitoring segment                              
    ALUNIQNUM       ALAIDUID        CHAR     10     0Alert: Unique Identifier to be used in AID (char10)            
    ALINDEX         ALINDEX         CHAR     10     0Alert: internal handle                                         
    ALERTDATE       ALDATE          DATS      8     0Alert: date                                                    
    ALERTTIME       ALTIME          TIMS      6     0Alert: Time value in timeformat                                
    DUMMYALIGN      ALDUMMYC2       CHAR      2     0Alert: Dummy field. Purpose: Alignment of date/time 16 byte    
    LASTVALDAT      ALDATE          DATS      8     0Alert: date                                                    
    LASTVALTIM      ALTIME          TIMS      6     0Alert: Time value in timeformat                                
    LASTVALDUM      ALDUMMYC2       CHAR      2     0Alert: Dummy field. Purpose: Alignment of date/time 16 byte    
    ACTUALVAL       ALVALUE         INT4     10     0Alert: alert value (1 = green, 2 = yellow, ....)               
    ACTUALSEV       ALSEVERITY      INT4     10     0Alert: severity (alerts, monitoring type custom..)             
    VALSYSID        SYSYSID         CHAR      8     0R/3 System, name of R/3 System                                 
    VMSEGNAME     ALMSEGNAME     CHAR     40     0     Alert: name of monitoring segment                                  
    VALUNIQNUM     ALAIDUID     CHAR     10     0     Alert: Unique Identifier to be used in AID (char10)                                  
    VALINDEX     ALINDEX     CHAR     10     0     Alert: internal handle                                  
    VALERTDATE     ALDATE     DATS     8     0     Alert: date                                  
    VALERTTIME     ALTIME     TIMS     6     0     Alert: Time value in timeformat                                  
    VALERTDUM     ALDUMMYC2     CHAR     2     0     Alert: Dummy field. Purpose: Alignment of date/time 16 byte                                  
    COUNTOFACT     ALCNTACTAL     INT4     10     0     Alert: MT Val: Count of active Alerts                                  
    COUNTSUM     ALCNTSUMAL     INT4     10     0     Alert: MT Val: Sum of Alerts in MT                                  
    VISUSERLEV     ALVISILEVL     INT4     10     0     Alert: MTE type dev cust: Visible on user level (op,exp,dev)                                  
    TDSTATUS     ALTDSTATUS     INT4     10     0
         Alert: MT: Type Def Status
    Welcome to SDN.
    Regards,
    Rich Heilman

  • How do I make the type smaller for PDF's in iBook for my iPad Mini Retina Display IOS 7.4

    How do I resize the type in PDF's to make it smaller ? to read on my iPad mini. At the moment it looks like 20 point.

    I don't believe that you can decrease the font size for PDFs in iBooks.

  • How can I determine the type of video out connector I need?

    Howdy,
    I have a white macbook purchased Jun/2008. I want to connect to a TV but don't know what adapter I need. How can I determine the type of video out jack my macbook has?
    System Profiler says the model identifier is "MacBook 4,1". Under Graphics/Displays the only thing it says about the "Display Connector" is that no display is connected. Too bad it doesn't tell me what type of connector it is. If I knew the name of the connector I'd probably be home free. But it seems like every macbook model has a different video connector (since the state of the art has advanced over the years) and I haven't been able to keep up with the names.
    Now, I have a 6" long adapter that will convert this connector to VGA. And searching the Apple store for VGA adapters, the existence of mine says my connector is might be one of "Mini DisplayPort", "Apple Mini DVI", "Apple DVI", or "Apple Micro-DVI". But then there is also the connector at
    http://store.apple.com/us/product/M8639G/A?mco=MTY3ODQ5OTY
    and that looks like the one I have. But unlike the other adapters, this one is just called a "VGA Display Adapter". Does the connector have a name? How can I find adapters that have that same connector?
    I know I could use the adapter I have, plus a VGA to VGA cable, to hook up to a TV. But the quality of the VGA signal is poor in the digital world. My goal is to hook up to the TV via HDMI. Is this even possible? By which I mean, will my macbook generate the signals necessary to be able to be converted to HDMI?
    Thanks for any help,
    Zebulon T

    Thanks, Ded,
    You're right, the cable that I have won't work. I't from my previous, 2004 iBook. This is pretty embarrassing... I looked at the cable but didn't bother to try plugging it in.
    Looking at the close-up picture of the Mini-DVI to VGA adapter, that does look like the right connector. So I have Mini-DVI, and the other apter you pointed to can convert this to DVI. I'll take a look to see what makes the most sense, connector wise, downstream from that.
    Thanks very much.
    Zeb T

  • How to setup a link that is of the type "Go to a page in another document"?

    Is there a direct way for a javascript to setup a link that is equivalent to the acrobat link type  you get when you add a link of the type “Go to a page in another document”?
    Tools-Advanced Editing-Link tool, make a box
    Check: Go to page view, Next (Create go to view dialog opens)
    Open second document and go to page
    Click “Create go to view dialog” to set up link
    Result is a link, when view by link properties, with an action of
    Go to a page in another document
    File: C:\My Documents\File2.pdf
    Page: 43
    Zoom level: Custom
    I have a java script in a setAction of a link that I think does the job:
    l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 1 - 1;");
    But is there a more direct way that actual sets up a “a link of the type Go to a page in another document” so if it's "advanced edited" its the same as the manual set links?
    I would like to setup a set of pdf documents, on the hard disk of a PC or Mac, that can be open with acrobat pro running on the same computer and have the link jump to, and open in a new window, in acrobat pro, to a given page of a second document in the set.
    John
    Code example in more detail:
    /* Insert document level JavaScript to set disclosed = true.
       This will run when the document is opened.*/
    this.addScript("setDisclosed", "this.disclosed = true;");
    // Search through the document for the word “Acrobat” and create a link around that word.
    for (var p = 0; p < this.numPages; p++)
        var numWords = this.getPageNumWords(p);
        for (var i=0; i<numWords; i++)
            var ckWord = this.getPageNthWord(p, i, true);
            if ( ckWord == "Acrobat")
                var q = this.getPageNthWordQuads(p, i);
                // Convert quads in default user space to rotated
                // User space used by Links.
                m = (new Matrix2D).fromRotated(this,p);
                mInv = m.invert()
                r = mInv.transform(q)
                r=r.toString()
                r = r.split(",");
                l = addLink(p, [r[4], r[5], r[2], r[3]]);
                l.borderColor = color.blue
                l.borderWidth = 1
                //l.setAction("this.getURL('http://www.adobe.com/');");
               l.setAction("var otherDoc = app.openDoc('../Folder2/File2.pdf', this);otherDoc.pageNum = 3 - 1;");
    Current Systems in use to create documents with links and view them:
    Windows XP SP3
    Word 2003 SP3
    Acrobat 9 pro version 9.4.4
    Or just to view them:
    Mac OS 10 Lion version 10.7.4
    Acrobat 9 pro version 9.5.1
    (note I have limited understanding of Mac’s)

    If you use buttons instead, it is possible to script adding the actions that you want. It involves creating a properly constructed FDF, saving it, and then importing it into the document. Buttons can be made to appear just like links. For more information, see: http://www.planetpdf.com/developer/article.asp?ContentID=6338

  • Which Java API could check the type of Operating System the JVM is running?

    Does anyone know which Java API could check the type of Operating System the JVM is running?
    thanks a lot!

    check out System class.
    regards
    shyamAnd specifically, the getProperty() method.
    - K

  • In mail Snow leopard, the trash button was red, the unwanted mail orange, the type button is gone, help?

    In mail Snow Leopard, the trash button was red, the unwanted mail orange,there was a type button.  Now the type button is gone, the rest is grey, why?

    I mean in OS X Lion of course. Same with Finder window: There used to be a 'Today' option, where has that gone? It was so easy to have an overview of the work you were busy with. Does anybody has a tip?

  • Creating PL/SQL Package with all the types

    CREATE OR REPLACE
    TYPE rec_type AS OBJECT (
    first_name VARCHAR2(20),
    last_name VARCHAR2(20)
    CREATE OR REPLACE
    TYPE REC_TYPE_TAB AS TABLE OF rec_type
    I am able to create the above types in oracle and used in PL/SQL packages. And like this I have somany types. I would like to if I can create a package with the types to make the life easier. Could you please tell me how to do it.
    your help is greately appreciated..
    --Krish                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    sb92075 wrote:
    TYPE add only aggravation, complexity, & should be avoidedI disagree.
    When used correctly types can be the simplest solution.
    For example when passing multiple values to a stored procedure. Avoiding the type in the below example would lead to further complexity and aggravation not lessen it.
    SQL> create or replace procedure p
      2      (
      3      p_object_list in sys.odcivarchar2list,
      4      p_result out sys_refcursor
      5      ) as
      6  begin
      7      open p_result for
      8          select owner, object_name, object_type
      9          from all_objects
    10          where object_name in
    11              (
    12              select column_value from
    13              table(p_object_list)
    14              )
    15          order by
    16              owner, object_name, object_type;
    17  end;
    18  /
    Procedure created.
    SQL> exec p(sys.odcivarchar2list('DUAL','ALL_OBJECTS'),:c)
    PL/SQL procedure successfully completed.
    SQL> print c
    OWNER                          OBJECT_NAME                    OBJECT_TYPE
    PUBLIC                         ALL_OBJECTS                    SYNONYM
    PUBLIC                         DUAL                           SYNONYM
    SYS                            ALL_OBJECTS                    VIEW
    SYS                            DUAL                           TABLE

  • The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly reference?)

    we are using VS 2013. i have created new build definition and run that created build its getting failed and showing error message as "The type or namespace name 'VisualStudio' does not exist in the namespace 'Microsoft' (are you missing an assembly
    reference?)" and "The type or namespace name 'WinComboBox, UITestControl, WinTitleBar.....etc' could not be found (are you missing a using directive or an assembly reference?)". in the error log is showing the error number are "error CS0234
    & error CS0246". 
    Actually i have created build for automation execution from MTM lab environment. i have to assign the build to the test plan. once the build is passed , i will assign to the test plan and run with automation options. 
    if i build the solution its getting successfully build. but when i run the created build definition it show the error message's.  
    Could you guide me how to resolve the above error's ? 
    Thanks in Advance...

    Hello Divakar Ponnada,
    I have checked the error CS0234 from here:
    http://msdn.microsoft.com/en-us/library/0e92xd7b.aspx
    It means your project cannot find the proper reference to your type "Visual Studio" from the namespace Microsoft.
    May I ask this question, does your build definition means something like the following blog described?
    http://www.asp.net/web-forms/overview/deployment/configuring-team-foundation-server-for-web-deployment/creating-a-build-definition-that-supports-deployment
    "A build definition is the mechanism that controls how and when builds occur for team projects in TFS. "
    If that is the problem, may I ask whether your build agent is in the same machine where you build your application?
    The build agent will first search for the reference from its local GAC and if it cannot find it, the error like you said will reports. Please manually build your project from your build agent machine to see the result, or install Visual Studio to your build
    agent machine. In that way I think your problem may fixed.
    Best regards,
    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • The type or namespace name 'Optimization' does not exist in the namespace 'System.Web'

    App_Start\BundleConfig.cs (1): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Global.asax.cs (4): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\BundleConfig.cs (8): The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
    I'm getting the above errors when attempting to create a remote build.
    I've tried the solution found here (http://blog.davidebbo.com/2014/01/the-right-way-to-restore-nuget-packages.html) but no luck.

    Hi,
    I have an asp.net mvc project in Visual Studio 2013. I'm hosting it on Visual Studio Online. 
    The project builds fine on my local machine/Visual Studio 2013. When i try to do a build on Visual Studio Online (i created a build definition there), i get similar errors. 
     App_Start\BundleConfig.cs (2): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\FilterConfig.cs (2): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\RouteConfig.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Controllers\HomeController.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Controllers\HomeController.cs (9): The type or namespace name 'Controller' could not be found (are you missing a using directive or an assembly reference?)
     Global.asax.cs (5): The type or namespace name 'Mvc' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     Global.asax.cs (6): The type or namespace name 'Optimization' does not exist in the namespace 'System.Web' (are you missing an assembly reference?)
     App_Start\BundleConfig.cs (9): The type or namespace name 'BundleCollection' could not be found (are you missing a using directive or an assembly reference?)
     App_Start\FilterConfig.cs (8): The type or namespace name 'GlobalFilterCollection' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\HomeController.cs (11): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\HomeController.cs (16): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
     Controllers\HomeController.cs (23): The type or namespace name 'ActionResult' could not be found (are you missing a using directive or an assembly reference?)
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Helpers, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Optimization". Check to make sure the assembly exists on disk. If this
    reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL".
    Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages.Deployment, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "System.Web.WebPages.Razor, Version=3.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35,
    processorArchitecture=MSIL". Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "WebGrease". Check to make sure the assembly exists on disk. If this reference is required
    by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "Antlr3.Runtime". Check to make sure the assembly exists on disk. If this reference
    is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Could not resolve this reference. Could not locate the assembly "Newtonsoft.Json". Check to make sure the assembly exists on disk. If this reference
    is required by your code, you may get compilation errors.
     C:\Program Files (x86)\MSBuild\12.0\bin\amd64\Microsoft.Common.CurrentVersion.targets (1697): Assembly strong name "System.Web.Mvc, Version=__MvcPagesVersion__, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL" is
    either a path which could not be found or it is a full assembly name which is badly formed. If it is a full assembly name it may contain characters that need to be escaped with backslash(\). Those characters are Equals(=), Comma(,), Quote("), Apostrophe('),
    Backslash(\).

Maybe you are looking for