Help with inserting/removing integer from a specific index

I have an IntList that I am adding methods to and an IntListTest driver that allows me to add those options to test. I am having difficulty adding the two methods:
public void removeAt() - removes the value at a specified location at given index with consideration of the size of the list when user enters a valid position
public void insertAt(int index, int newValue) - inserts integer and puts it in the specified index of list however...i also have to take into consideration the size of the list as the user enters a valid position
I started on the insertAt(int index, int newValue) method:
// **Inserts an element to the list at a specified position
public void insertAt(int index, int newValue)
IntNode newnode = new IntNode(newValue, null);
for (int index =0; index < count; index++)
if(list[index] == newValue) //error occurs, brackets pertain to arrays, correct?
//if list is empty, this will be the only node in it
if (list == null)
list = newnode;
else
//temp point directed to the last thing on list, but want to be
//able to insert any where, specified location
IntNode temp = list;
while (temp.next != null)
temp = temp.next;
//link new node into list and insert
temp.next = newnode;
count++;
}First off, how do I write the method so that the user specifies a value at a given index and is located...From what I understand, this portion of the insertAt method is stating that the temp point will go directly to the last index:
//temp point directed to the last thing on list, but want to be
//able to insert any where, specified location
IntNode temp = list;
while (temp.next != null)
temp = temp.next;Here's where I am having complications, because I don't know where to go from here. I want the method to be able to insert at any specified index rather than just the last...I will use the insertAt method as an example for my removeAt method, so hopefully I can get input from anyone willing to help...Thanks - using textpad editor with java 1.5 compiler
Onip28

Thanks for the reply - this is an assignment and I'm dealing with linked structures, I apologize for not specifying that. I have to add a total of six methods to the IntList class (e.g...public int length, String toSting, void removeLast, void search(int input), and the two mentioned - void insertAt(int index, int newValue), and void removeAt(int index)). I figured out the first two, but have had no luck with the remaining one. Here is a sample of that code -
// FILE:  IntList.java
// Purpose: Defines a class that represents a list of integers
//Assignment 3 - methods to fill in, declare any variables where necessary
public class IntList
    private IntNode list;          //first node in list
    private int currentSize;
    public int count;
    String [] elements;
    //  Constructor.  Initially list is empty.
    public IntList()
     list = null;
    //   Adds given integer to list of list.
    public void addToFront(int val)
     list = new IntNode(val,list);
     count++;
    //   Adds given integer to end of list.
    public void addToEnd(int val)
     IntNode newnode = new IntNode(val,null);
     //if list is empty, this will be the only node in it
     if (list == null)
         list = newnode;
     else
          //make temp point to last thing in list
          IntNode temp = list;
          while (temp.next != null)
              temp = temp.next;
          //link new node into list
          temp.next = newnode;
         count++;
    //   Removes the first node from the list.
    //   If the list is empty, does nothing.
    public void removeFirst()
     if (list != null)
         list = list.next;
         count--;
     // **returns the number of elements in the list
     public int length()
          return count;
    // **returns a String containing the print value of the list.
     public String toString()
     StringBuffer result = new StringBuffer("{ ");
                 for (int i=0; i < currentSize; i++) {
                             if (i > 0)
                                 result.append(", ");
                     result.append(elements);
     result.append(" }");
          return result.toString();
     // **removes the last element of the list. If the list is empty, does nothing.
     //public void removeLast()
//Come back to this...
     // **searches all occurrences of a value user enters in the list.
     //public void search(int input)
//Come back to this...
     // **Inserts an element to the list at a specified position
     public void insertAt(int index, int newValue)
     IntNode newnode = new IntNode(newValue, null);
     for (int index =0; index < count; index++)
          if(list[index] == newValue)     //error occurs, brackets pertain to arrays, correct?
//if list is empty, this will be the only node in it
     if (list == null)
     list = newnode;
     else
//temp point directed to the last thing on list, but want to be
//able to insert any where, specified location
     IntNode temp = list;
          while (temp.next != null)
          temp = temp.next;
//link new node into list and insert
          temp.next = newnode;
          count++;
     // **Deletes an element from the list at a specified position
     public void removeAt(int index)
//Come back to this...
// Prints the list elements from first to last.
public void print()
     System.out.println("---------------------");
     System.out.print("List elements: ");
     IntNode temp = list;
     while (temp != null)
          System.out.print(temp.val + " ");
          temp = temp.next;
     System.out.println("\n---------------------\n");
// An inner class that represents a node in the integer list.
// The public variables are accessed by the IntList class.
private class IntNode
     public int val; //value stored in node
     public IntNode next; //link to next node in list
// Constructor; sets up the node given a value and IntNode reference
     public IntNode(int val, IntNode next)
     this.val = val;
     this.next = next;
But as stated, my problem is merely the portion where the the I make adjustments to the "next values" in the associated nodes...
//temp point directed to the last thing on list, but want to be
//able to insert any where, specified location
     IntNode temp = list;
          while (temp.next != null)
              temp = temp.next;I apologize if I am not answering your question correctly but I'm trying to make sense of all this, but need some suggestions/input/advice...Thx.
Regards, Onip28

Similar Messages

  • Problem with inserting/removing integer in a specified index

    I have an IntList that I am adding methods to and an IntListTest driver that allows me to add those options to test. I am having difficulty adding the two methods:
    public void removeAt() - removes the value at a specified location at given index with consideration of the size of the list when user enters a valid position
    public void insertAt(int index, int newValue) - inserts integer and puts it in the specified index of list however...i also have to take into consideration the size of the list as the user enters a valid position
    I started on the insertAt(int index, int newValue) method:
    // **Inserts an element to the list at a specified position
    public void insertAt(int index, int newValue)
    IntNode newnode = new IntNode(newValue, null);
    for (int index =0; index < count; index++)
    if(list[index] == newValue) //error occurs, brackets pertain to arrays, correct?
    //if list is empty, this will be the only node in it
    if (list == null)
    list = newnode;
    else
    //temp point directed to the last thing on list, but want to be
    //able to insert any where, specified location
    IntNode temp = list;
    while (temp.next != null)
    temp = temp.next;
    //link new node into list and insert
    temp.next = newnode;
    count++;
    }First off, how do I write the method so that the user specifies a value at a given index and is located...From what I understand, this portion of the insertAt method is stating that the temp point will go directly to the last index:
    //temp point directed to the last thing on list, but want to be
    //able to insert any where, specified location
    IntNode temp = list;
    while (temp.next != null)
    temp = temp.next;Here's where I am having complications, because I don't know where to go from here. I want the method to be able to insert at any specified index rather than just the last...I will use the insertAt method as an example for my removeAt method, so hopefully I can get input from anyone willing to help...Thanks - using textpad editor with java 1.5 compiler
    Onip28

    This problem/question pertains to making the necessary adjustments with the "next" values in the associated nodes. I replied to your other posting, and once again, thank for your reply and help. However, the code posted for today is not the changed and saved code as expected, but the changed have been noted and changed. Thanks again...
    Onip28

  • Need some help with downloading PDF's from the net.

    need some help with downloading PDF's from the net.  Each time I try to click on a link from a website, if it takes me to a new screen to view a pdf, it just comes up as a blank black screen?  any suggestions?

    Back up all data.
    Triple-click the line of text below to select it, the copy the selected text to the Clipboard (command-C):
    /Library/Internet Plug-ins
    In the Finder, select
    Go ▹ Go to Folder
    from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
    From the folder that opens, remove any items that have the letters “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari, and test.
    The "Silverlight" web plugin distributed by Microsoft can also interfere with PDF display in Safari, so you may need to remove it as well, if it's present.
    If you still have the issue, repeat with this line:
    ~/Library/Internet Plug-ins
    If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari again.

  • Help with Account Removal from Skype Directory

    To whom it may concern,
    I need help with removing my Skype account from the Skype Directory.  According to this webpage: https://support.skype.com/en/faq/FA142/can-i-delete-my-skype-account, only someone from Skype Customer Service can remove my account from the directory. Can someone assist me in removing my account from the directory? Thanks.
    Sincerely,
    Andrea

    I am not eligible for email or live chat service with a skype representative... I decided to post in this forum. Thanks anyway.
    afaik, all users can use the email support option.  But as you said you can not use that facility, send an email to their generic email address instead - [email protected]
    CONTACT SKYPE CUSTOMER SERVICE   |  HOW TO RECORD SKYPE VIDEO CALLS  | HOW TO HANDLE SUPICIOUS CALLS AND MESSAGES   |  WINDOWS PROBLEMS TROUBLESHOOTING   |  SKYPE DOWNLOAD LINKS  
    MORE TIPS, TRICKS AND UPDATES AT
    skypefordummies.blogspot.com

  • Need help with PS CS5 crashing while openinng specific document!

    Good morning all, I am the network admin at my company, and i have a user expereicneing a strange issue.  I do not know much about PS, other than how to install it, so i am at a loss to troublshoot this issue.  Any help would be greatly appreciated.
    Background: Computer is a Dell Precision 690 with 4GB RAM, running windows 7 pro x64 with SP1 (this was happening before SP1 was applied as well). Video card is nVidia Quadro NVS 285 .  I have fully updated and patched everything i can find, including using the most up to date, and "performance" drivers from nVidia (neither driver solved the problem) for the video card.  I could not find a partner certified driver for this partticular card.  The software is Photoshop CS5 version Version: 12.0.3 (12.0.3x20101211 [20101211.r.1222 2010/12/11:02:00:00 cutoff; r branch]) x64.
    I have another user, with the exact same computer, and exact same software (they were made form the same image) whom does not have this problem.
    The issue:  Basically, when opening this one particular image (from the users desktop) PS crashes and throws up the following error.  Sometimes it will actually display the image, then crash as soon as you try to even so much as click anywhere on the image.  Other times it conks out before the image is even displayed.
    Problem signature:
    Problem Event Name:     APPCRASH
    Application Name:     Photoshop.exe
    Application Version:     12.0.3.0
    Application Timestamp:     4d035d7d
    Fault Module Name:     CoolType.dll
    Fault Module Version:     5.7.83.10783
    Fault Module Timestamp:     4cab0d45
    Exception Code:     c0000005
    Exception Offset:     0000000000033a38
    OS Version:     6.1.7601.2.1.0.256.48
    Locale ID:     1033
    Additional Information 1:     3a1d
    Additional Information 2:     3a1d09b5925693dbcbec7b77fa814510
    Additional Information 3:     bce7
    Additional Information 4:     bce7b9096fa4d3e33239f38f9b4cacd0
    My user says there is nothing fancy or odd about this image, and the filesize wasn't any bigger than anything else he works on.  What really baffles me is that the other user with the same setup has no issue...  Thanks in advance!
    -Jim

    Since CoolType is implicated, it seems likely that user has installed a font that throws Photoshop for a loop.  The recourse in that case is to try to figure out which one it is and remove it from the system (and/or reinstall an un-corrupted copy of that font).
    Some tricks to try to figure out which font it is:
    1.  Look in the document that's failing to open with the other user's copy of Photoshop.  See what fonts are there.
    2.  Create a new document on the offending machine, invoke the Horizontal Type Tool, then open the font list.  You might find the list stops abruptly before the offending font.
    3.  Remove all fonts except the Windows standard ones, see if the problem goes away, then add them back piecemeal until the problem recurs.
    If the above doesn't get you success, another thing to think about when a problem is user-specific:   You might reset their Photoshop preferences to out-of-box defaults.  To do that you press and hold Control-Shift-Alt immediately after starting Photoshop from its menu entry or shortcut.  You have to be very quick, and if you do get its attention it will prompt and ask whether the preferences should be reset.  Keep in mind some Photoshop reconfiguration will need to happen after you do this, so it's not something to do lightly or you might get your users upset at you.
    Best of luck.
    -Noel

  • Need help with INSERT and WITH clause

    I wrote sql statement which correctly work, but how i use this statment with INSERT query? NEED HELP. when i wrote insert i see error "ORA 32034: unsupported use of with clause"
    with t1 as(
    select a.budat,a.monat as period,b.vtweg,
    c.gjahr,c.buzei,c.shkzg,c.hkont, c.prctr,
    c.wrbtr,
    c.matnr,
    c.menge,
    a.monat,
    c.zuonr
    from ldw_v1.BKPF a,ldw_v1.vbrk b, ldw_v1.bseg c
    where a.AWTYP='VBRK' and a.BLART='RV' and a.BUKRS='8431' and a.awkey=b.vbeln
    and a.bukrs=c.bukrs and a.belnr=c.belnr and a.gjahr=c.gjahr and c.koart='D'
    and c.ktosl is null and c.gsber='4466' and a.gjahr>='2011' and b.vtweg='01'
    ,t2 as(
    select a.BUKRS,a.BELNR, a.GJAHR,t1.vtweg,t1.budat,t1.monat from t1, ldw_v1.bkpf a
    where t1.zuonr=a.xblnr and a.blart='WL' and bukrs='8431'
    ,tcogs as (
    select t2.budat,t2.monat,t2.vtweg, bseg.gjahr,bseg.hkont,bseg.prctr,
    sum(bseg.wrbtr) as COGS,bseg.matnr,bseg.kunnr,sum(bseg.menge) as QUANTITY
    from t2, ldw_v1.bseg
    where t2.bukrs=bseg.bukrs and t2.belnr=bseg.BELNR and t2.gjahr=bseg.gjahr and BSEG.KOART='S'
    group by t2.budat,t2.monat,t2.vtweg, bseg.gjahr,bseg.hkont,bseg.prctr,
    bseg.matnr,bseg.kunnr
    ,t3 as
    select a.budat,a.monat,b.vtweg,
    c.gjahr,c.buzei,c.shkzg,c.hkont, c.prctr,
    case when c.shkzg='S' then c.wrbtr*(-1)
    else c.wrbtr end as NTS,
    c.matnr,c.kunnr,
    c.menge*(-1) as Quantity
    from ldw_v1.BKPF a,ldw_v1.vbrk b, ldw_v1.bseg c
    where a.AWTYP='VBRK' and a.BLART='RV' and a.BUKRS='8431' and a.awkey=b.vbeln
    and a.bukrs=c.bukrs and a.belnr=c.belnr and a.gjahr=c.gjahr and c.koart='S'
    and c.ktosl is null and c.gsber='4466' and a.gjahr>='2011' and b.vtweg='01'
    ,trevenue as (
    select t3.budat,t3.monat,t3.vtweg, t3.gjahr,t3.hkont,t3.prctr,
    sum(t3.NTS) as NTS,t3.matnr,t3.kunnr,sum(t3.QUANTITY) as QUANTITY
    from t3
    group by t3.budat,t3.monat,t3.vtweg, t3.gjahr,t3.hkont,t3.prctr,t3.matnr,t3.kunnr
    select NVL(tr.budat,tc.budat) as budat,
    NVL(tr.monat,tc.monat) as monat,
    NVL(tr.vtweg,tc.vtweg) as vtweg,
    NVL(tr.gjahr, tc.gjahr) as gjahr,
    tr.hkont as NTS_hkont,
    tc.hkont as COGS_hkont,
    NVL(tr.prctr,tc.prctr) as prctr,
    NVL(tr.MATNR, tc.MATNR) as matnr,
    NVL(tr.kunnr, tc.kunnr) as kunnr,
    NVL(tr.Quantity, tc.Quantity) as Quantity,
    tr.NTS as NTS,
    tc.COGS as COGS
    from trevenue TR full outer join tcogs TC
    on TR.BUDAT=TC.BUDAT and TR.MONAT=TC.MONAT and TR.GJAHR=TC.GJAHR
    and TR.MATNR=TC.MATNR and TR.KUNNR=TC.KUNNR and TR.QUANTITY=TC.QUANTITY
    and TR.VTWEG=TC.VTWEG and TR.PRCTR=TC.PRCTR
    Edited by: user13566113 on 25.03.2011 5:26

    Without seeing what you tried it is hard to say what you did wrong, but this is how it would work
    SQL> create table t ( n number );
    Table created.
    SQL> insert into t
      2  with test_data as
      3    (select 1 x from dual union all
      4     select 2 x from dual union all
      5     select 3 x from dual union all
      6     select 4 x from dual)
      7  select x from test_data;
    4 rows created.
    SQL>

  • Need some help with a remove function

    Design and code a program that will maintain a list of product names. Use a String type to represent the product name and an array of strings to implement the list. Your program must implement the following methods:
    Add a product to the list
    Remove a product from the list
    Display then entire list
    Find out if a particular product is on the list.
    You need to create a command command loop with a menu() function. The program must continue asking for input until the user stops.
    This is the assignment and this is what I have so far. I need some help writing the remove function.
    Thanks
    * Title: SimpleSearchableList.java
    * Description: this example will show a reasonably efficient and
    * simple algorithm for rearranging the value in an array
    * in ascending order.
    public class SimpleSearchableList {
         private static String[] List = new String[25]; //These variables (field variables)
         private static int Size; //are common to the entire class, but unavailable
         //except to the methods of the class...
         public static void main(String[] args)
              String Cmd;
              for(;;) {
                   Menu();
                   System.out.print("Command: ");
                   Cmd = SimpleIO.inputString();
                   if(Cmd.equals("Quit"))
                        break;
                   else if(Cmd.equals("Fill"))
                        FillList();
                   else if(Cmd.equals("Search"))
                        SearchList();
                   else if(Cmd.equals("Show"))
                        ShowList();
                   else if(Cmd.equals("Remove"))
                        Remove();
         //Tells you what you can do...
         public static void Menu()
              System.out.println("Choices..................................");
              System.out.println("\tFill to Enter Product");
              System.out.println("\tShow to Show Products");
              System.out.println("\tSearch to Search for Product");
              System.out.println("\tRemove a Product");
              System.out.println("\tQuit");
              System.out.println(".........................................");
         //This method will allow the user to fill an array with values...
         public static void FillList()
              int Count;
              System.out.println("Type Stop to Stop");
              for(Count = 0 ; Count < List.length ; Count++)
                   System.out.print("Enter Product: ");
                   List[Count] = SimpleIO.inputString();
                   if(List[Count].equals("Stop"))
                        break;
              Size = Count;
         //This method will rearrange the values in the array so that
         // go from smallest to largest (ascending) order...
         public static void SearchList()
              String KeyValue;
              boolean NotFoundFlag;
              int Z;
              System.out.println("Enter Product Names Below, Stop To Quit");
              while(true)
                   System.out.print("Enter: ");
                   KeyValue = SimpleIO.inputString();
                   if(KeyValue.equals("Stop")) //Note the use of a method for testing
                        break; // for equality...
                   NotFoundFlag = true; //We'll assume the negative
                   for(Z = 0 ; Z < Size ; Z++)
                        if(List[Z].equals(KeyValue)) {
                             NotFoundFlag = false; //If we fine the name, we'll reset the flag
              System.out.println(List[Z] + " was found");
                   if(NotFoundFlag)
                        System.out.println(KeyValue + " was not found");     
         //This method will display the contents of the array...
         public static void ShowList()
              int Z;
              for(Z = 0 ; Z < Size ; Z++)
                   System.out.println("Product " + (Z+1) + " = " + List[Z]);
         public static void Remove()
    }

    I need help removing a product from the arrayYes. So what's your problem?
    "Doctor, I need help."
    "What's wrong?"
    "I need help!"
    Great.
    By the way, you can't remove anything from an array. You'll have to copy the remaining stuff into a new one, or maybe maintain a list of "empty" slots. Or null the slots and handle that. The first way will be the easiest though.

  • Help with partial image loss from Viewer to Canvas

    Hi--I'm brand new to FCP and would really appreciate any help with my problem. I'm creating 2 second video clips composed of four still images (15 frames...or 500ms each) laid back to back, then rendered. Very simple, I know. The individual images are tiff files that look great in the FCP Viewer. But in the Canvas, part of the image is missing. Specifically, in the center of each image there should be a + sign, about 1cm square. This + should remain constant thoughout the short movie, while the items around it vary (from image to image). (This is a psychology experiment, and the center + is a fixation cross.) The problem is that in the Viewer the + sign is intact, but in the Canvas (and the resulting rendered video), only the vertical bar of the + is present! This is true for every individual tiff, and for the resulting movie. The items around the fixation cross are fine. My question is WHY on earth does the central horizontal bar get "lost" between the Viewer and the Canvas? I've read the manuals, but obviously I've got something set wrong. Also, there is a considerable overall reduction in quality between the viewer and canvas, even though I'm trying my best to maximize video quality. Everything looks a bit blurry. Truly, all ideas are welcome. Sorry if it's obvious. Thanks.
    G5   Mac OS X (10.4.3)  

    steve, i'm viewing on my 23" cinema screen. i read up on quality and know that this is a no-no; that i should only judge quality when viewing on an ntsc monitor or good tv. the problem is that i'll ultimately be displaying these videos on my Dell LCD, so i've got to maximize what i've got. thanks to the discussion boards i have a short list of things to try now. thanks!
    -heather

  • Need Help with INSERTS & INDEXES

    Let me try explaining my scenario and then my confusion:
    Scenario:
    Parent_table
    Child_table
    Both Parent_table & Child_table have Indexes and Constraints.
    Confusion:
    If I remove all Indexes and Constraints, my INSERTS are 10 times faster. Howevere I am taking a chance of:
    1. Loosing Referential Integrity (No Parent row for a Child Row).
    2. Storing Duplicate data.
    The chnaces of either one of this happening is rare, but it is a definite possiblility.
    I am trying to find some articles that will give me some guidance on how this should be done right. Such that I can disable certain Indexes, so that the existing data can be queried without any problems and the new data is Indexed after the load.
    Any help will be appreciated.
    -- Thanks

    Maintaining indexes certainly requires some additional overhead during inserts. Generally, though, you've got indexes in place to allow you to query data at an acceptable speed. Presumably, when you remove all your indexes, all your reporting/ OLTP applications will crawl to a halt.
    What are the indexes you have on these tables and why do those indexes exist? Frequently, you'll find that you may have indexes that are useless either because they are essentially duplicated by other indexes or because they are indexing attributes that don't benefit from having indexes. If 90% of your insert time is being spent updating indexes, that certainly seems like a possibility here...
    Justin

  • Need help with upgrading my OS from 10.5.8

    Need help with upgrading my OS. I havent upgraded the OS since I bought it and have version 10.5.8. Now I cant download Mountain Lion- or even Snow Leopard. When i downloaded the first version of SL- 10.6.1 it says i have to have 10.6 first and I cant find that.

    Start by checking if you can run Snow Leopard:
    Requirements for OS X 10.6 'Snow Leopard'
    http://support.apple.com/kb/SP575
    Whilst Apple withdrew Snow Leopard from their stores, you can still get it from Apple by calling 1-800-MY-APPLE (if you are in the USA) and they will supply the SL DVD for $20 for a single user, or $30 for a family pack that covers up to 5 Macs.  You can also purchase the code to use to download Lion from the same number (Lion requires an Intel-based Mac with a Core 2 Duo, i3, i5, i7 or Xeon processor and 2GB of RAM, running the latest version of Snow Leopard), or you can purchase Mountain Lion from the App Store - if you can run that:
    http://www.apple.com/osx/specs/
    If you are outside the US call your national Apple Helpline:
    http://support.apple.com/kb/HE57
    If you're in the UK, use this number: 0871 508 4400
    When you have installed it, run Software Update to download and install the latest updates for Snow Leopard.
    UPDATE:
    OS 10.6 Snow Leopard is once again available from the Apple Store:
    http://store.apple.com/us/product/MC573/mac-os-x-106-snow-leopard
    and in the UK:
    http://store.apple.com/uk/product/MC573/mac-os-x-106-snow-leopard
    but nobody knows for how long it will be available.
    To use iCloud you have to upgrade all the way to Mountain Lion:
    http://support.apple.com/kb/HT4759

  • Help with Project Management setup from very basics...

    hi all!
    i am new to e-business suite and now i have installed vision demo database successfully on a Quad Core with 320 GB hard and 4 GB ram...now i need help to setup Project Management (PM) module for a hypothetical construction company with the required functionalities (just limited functionalities and Not complete functionalities as in EBS).i need help in setting up Project Management module from the very basics...so can you help me out in this...thanks in anticipation

    Hi,
    Please post only once (do not post same thread across multiple forums).
    help with Financials setup from very basics...
    Re: help with Financials setup from very basics...
    Regards,
    Hussein

  • Help reordering or removing apps from list

    How can you reorder or remove apps from the list of apps you get to if you swipe to the left of The Hub? I can remove the apps from displaying messages in The Hub, but cannot reorder or removed(hide) them from the list ? It is hard to keep prying eyes from private emails, texts, bbms, with these quick links as is.

    You cannot "hide" apps that appear in the Hub, but you can eliminate the from being displayed in the Hub (and put them back later).
    Open the Hub with the swipe right, then select the three dots in the lower righthand corner. Choose Settings > Hub Management and turn off whatever you don't want to see displayed in the Hub. Just turn 'em back on later when you feel like it. 
    It won't stop prying eyes from simply opening BBM or Test Messages, but at least they won't be on display in the Hub when you're trying to demo the device. 

  • Need Help with Inserting Timeline Markers

    Friends,
    I have not use my premiere element 3.2 since 2008 and forgot some of the procedures. now, I need help with the insertion of Timeline Markers. I did what the Help Page showed me. But the markers were not effective in the resulting DVD, or, even when viewing the video in the editing page as if thye were not there! Here is what I did:.
    1)  Click the Timeline button.
    2)  Click in an empty space in a video or audio track in the Timeline to make the Timeline active and deselect any clips.
    3)  Move the current-time indicator in the Timeline to the frame where I need the marker.
    4)  Click the Add Marker icon in the Timeline to place the Marker 5 times where I want them.
    5)  Verified that each Timeline Marker is present at the intended place.
    6)  Burned DVD
    7)  Can NOT jump to any of the intended Marker in the Resulting DVD during playback.
    The question is "What did I do wrong or didn't do?" It seems that I did the same before and worked! Please advise!
    Also, what are the significance of the Red line just below the Timeline and the yellow bars inside the video and audio frames. But after preforming Timeline/Render Work Area, they were all gone? What purposes do they serve and what is the significance of Rendering? Thank you for your help!
    I repeat the process and did a Rendering before making the DVD also. It did not help!
    Andy Lim

    Steve,
    Long time no talk! You used to help me out many times when the PE-1 through PE-3 came out. I was HOPING you would still be around and you are! You came through again this time! Many thanks to you.
    I use the Add DVD Scene button to insert the Markers. They are Green. Made a DVD and the markers work OK although ythey are "effective" during play back using the editing window.
    While that problem was solved, will you come back and answer the other two questions concerning Rendering and the Red/Yellow lines? I would appreciate it very much!
    Andy Lim
    ~~~~~~~~~~~~~~~~

  • Help with inserting values -- ORA-00984 error

    Hello!
    This time we have a problem with inserting values and we really can't find what's wrong!
    The table was created as such
    CREATE TABLE PASSAGER
    (NO_PERSONNE INTEGER,
    NO_PASSAGER INTEGER NOT NULL,
    NO_PASSEPORT INTEGER NOT NULL,
    NATIONALITE VARCHAR2(30) NOT NULL,
    LIEU_EMISSION VARCHAR2(30) NOT NULL,
    DATE_EMISSION DATE NOT NULL,
    NO_TEL INTEGER,
    NO_CC INTEGER,
    NO_VENTE INTEGER NOT NULL,
    CONSTRAINT PK_PASSAGER PRIMARY KEY (NO_PERSONNE),
    CONSTRAINT FK_PASSAGER_PERSONNE FOREIGN KEY (NO_PERSONNE) REFERENCES PERSONNE (NO_PERSONNE),
    CONSTRAINT FK_PASSAGER_VENTE FOREIGN KEY (NO_VENTE) REFERENCES VENTE (NO_VENTE));
    We created a sequence..
    CREATE SEQUENCE NOPASS_SEQ
    START WITH 1
    INCREMENT BY 1
    NOCACHE
    NOCYCLE;
    for inserting the values, we did...
    INSERT INTO PASSAGER VALUES (500,NOPASS_SEQ.NEXTVAL, WT456789,'CANADIENNE', 'CANADA', to_date('2007/10/12','YYYY/MM/DD'),5142348756,5157981500126734,1);
    but it won't work, it's our last table and all the other worked perfectly!
    Thanks a ton!

    In your table creation, you got third column as
    NO_PASSEPORT INTEGER NOT NULL,
    where as you are passing varchar values (see bold)
    INSERT INTO PASSAGER VALUES (500,NOPASS_SEQ.NEXTVAL, WT456789,+'CANADIENNE', 'CANADA', to_date('2007/10/12','YYYY/MM/DD'),5142348756,5157981500126734,1);
    Should be like this I suppose
    INSERT INTO PASSAGER VALUES (500,NOPASS_SEQ.NEXTVAL, *456789*,'CANADIENNE', 'CANADA', to_date('2007/10/12','YYYY/MM/DD'),5142348756,5157981500126734,1);

  • Help with a select statement from a SQL Server within a DTS !!

    Hello Gurus!
    I help with the script bellow, when I run it within DTS (in SQL Sever 2000), I got the error Invalid number/or not a valid month.
    Please bellow with the WHERE CLASUE '08/01/2001' AND '03/09/2002'
    And in the other hand I change this forma to '01-AUG-01' AND
    '03-MAR-2002', the DTS start and run witha successful messages, but it does not returns row, which is wrong.
    Somebady please help!
    Thanks Gurus!
    GET Total ANIs with Trafic By Area Code
    select
         substr(b.ct_num, 0,3) as Area_Codes,
         COUNT(DISTINCT B.CT_NUM) AS ANIS
    from
         wasabi.v_trans A,
         wasabi.V_Sur_Universal B,
         wasabi.V_Sub C,
         wasabi.V_Trans_Typ D
    where
         D.Trans_typ = A.Trans_Typ AND
         A.Sur_ID = B.Sur_ID AND
         C.Sub_ID = A.Sub_ID AND
         a.trans_stat != 'X' AND     
         a.Trans_DTTM >= '08/01/2001'AND
         a.Trans_DTTM < '03/09/2002 AND
         B.AMA3 = 'PHONE1'
         AND C.SUB_ID not in (100117)
    GROUP BY
         substr(b.ct_num, 0,3)
    ORDER BY
         Area_Codes

    I think that you need a "to_date" function eg
    change '08/01/2001' to to_date('08/01/2001','dd/mm/yyyy')

Maybe you are looking for

  • IPod Touch not being recognised on newly-installed OSX Leopard (10.5.4)

    I have an iPod Touch (software version 2.0.2) which is not being recognised in OSX Leopard (version 10.5.4) which I just loaded onto the Powerbook G4. It was recognised under OSX 10.4, although the iPod Touch didn't launch iTunes when it was connecte

  • XSLT - How to pass a Java object to the xslt file ?

    Hi , I need help in , How to pass a java object to xslt file. I am using javax.xml.transform.Tranformer class to for the xsl tranformation. I need to pass a java object eg Class Employee { private String name; private int empId; public String getName

  • Time capsule wireless range is very poor & often weak

    My TC has a very limited distance that it covers. S bad that I have 2 Airport Express for boosters/extenders to have most of my house covered (yes, a small portion of my house is still not covered). Is there something I have missed in settings restri

  • Develop in Lightroom 4

    I have just downloaded Lightroom 4 and have used lightroom for years.  I selected a photo to develop from the library.  I then click on the develop module and it shows no photos have been selected.  Help

  • How to know which Oracle version database I am using ?

    Hi all, I am configuring an administrative file on the server and there are many databases in our company : there are Oracle8i, Oracle9i and Oracle 10g databases. What I know only is the connect string which I use to connect to a database via Sql*Plu