How to use two sensors.

I have two sensors because I use two different pair of shoes. I had them both going to the same Nike account until I updated to the new itunes. There is no change button in the new version of iTunes and I can't get the runs to go to the Nike account I want it to go to.

yes is work but the output how can it be
0 1 aa
0 2 bb
0 3 cc
1 1 ab
1 2 bc
1 3 cd
String str = "aa!bb!cc~ab!bc!cd";
    String strs[]= str.split("~");
    String strE[]= str.split("[~!]");
    int count =strs.length;
      for (int i = 0; i < strE.length; i++){   
          System.out.println(count + " " + strE);
count++;
}//end main

Similar Messages

  • How to use Two main windows with in a page in script ?

    Hi any body explain me...
    How to use Two main windows with in a page in script ?
    with  header data in one main window,
    & Item data in other main window.

    HI..,
    u need to go for <b>SPLITTING THE MAIN WINDOW</b> !!!
    Main windows in page windows allow you to format text in multiple columns. Define an area in the page window, in which to position the main windows.
    Here is the procedure !!
    -->Create a page window and assign it to a page.
    Choose <b>Edit --> Main windows</b>.
    A dialog box appears.
    -->Enter values in the fields <b>Area width</b> and A<b>rea height</b> in accordance with the input guidelines for main windows.
    -->Enter values in the fields <b>Spacing</b> and Number in the <b>Horizontal group</b> if you want to use multiple columns. You can ignore the fields in the Vertical group.
    Determine how many columns and line areas are required for label printing. Then enter the corresponding values in the fields in the <b>Horizontal and Vertical groups</b>.
    -->The value in the field Left margin varies from main window to main window if multiple columns are used. The following applies:
    <b>
    Left margin of current column + Window width + Horizontal spacing = Left margin of next column</b>
    In label printing, the field Upper margin also varies from main window to main window:
    <b>
      Upper margin of current main window +  Window height + Vertical spacing = Upper margin of next main window</b>
    -->Enter a value in the field Start position.
    This is a counter. Enter a starting value which is equal to or greater than 1.
    -->The main windows are added to the list.
    -->Save your form.
    reward if it helps u...
    sai ramesh

  • How to use two split this method in my code

    How to use two split this method in my code
    if i got one string line which like this
    ("aa!bb!cc~ab!bc!cd") a
    nd want to use two split to spare ! and ~ this seal for my spare point how that output
    has come diff ?
    public static void main(String[] args) {
        String str = "aa!bb!cc~ab!bc!cd";
        String strs[]= str.split("~");
        String strE[]= str.split("!");
        int count =0;
        for(int j=0; j < strs.length; j++){
          for (int i = 0; i < strE.length; i++){   
              System.out.println(count + " " + strE);
    count++;
    the output how can it be like this
    0 aa
    0 bb
    0 cc
    1 ab
    1 bc
    1 cd

    Move your second slit inside the first loop, so you are splitting the substring, not the entire string.

  • How to use two dimensional array in custom.pll

    HI
    How to use two dimensional arrays in custom.pll
    I tried by the following way .
    type ship_array is table of number index by binary_integer;
    type vc_array is table of ship_array index by binary_integer;
    But I am getting the error as that
    A plsql table may not contain a table or a record with composite fields.
    Please tell me the way how to use them

    which forms version are you using? two dimensional arrays are available in >= 9i if memory serves.
    regards

  • How to use two tasks in Workflow

    Hi Everybody !
    Can Any one tell me, How to use two tasks in one activity step type of  Workflow CRM?
    My requirement is... I have to execute two tasks in single activity step in Workflow. Is it possible.if it is possible tell me the flow Please.
    Thanks in advance.
    Raghava Vakada.

    You can define one as a "Before" or "After" method if that is usable for you. (defined in tab Methods for Activity steps)
    Otherwise there is also the step flag "Advance with dialog" (tab Details on Activity steps, but the tab it is found on depends on your version) which allows one user to seamlessly execute two consecutive tasks.
    So depending on your real need there may be several options available. If all that is needed is that the same user can execute the two tasks then Advance with Dialog is perhaps the best choice. If the user then cancels execution of the second activity the work item is available for execution. If you define an After method and the user cancels execution the work item has still been completed since its (main) method has been completed.

  • How to use two accounts in ichat?

    How to use two accounts in ichat? Is it possible?
    Currently I am using an account of Gmail but I want to add another account [email protected] (it is also an account of Gmail).

    You can define one as a "Before" or "After" method if that is usable for you. (defined in tab Methods for Activity steps)
    Otherwise there is also the step flag "Advance with dialog" (tab Details on Activity steps, but the tab it is found on depends on your version) which allows one user to seamlessly execute two consecutive tasks.
    So depending on your real need there may be several options available. If all that is needed is that the same user can execute the two tasks then Advance with Dialog is perhaps the best choice. If the user then cancels execution of the second activity the work item is available for execution. If you define an After method and the user cancels execution the work item has still been completed since its (main) method has been completed.

  • How to use two types of fonts in a richtextdocument

    hello,
           i want to print a barcode and some text into  a richtextdocument
    example:
    this.richTextBox1.AppendText("\n");
    Font f1 = new Font("3 of 9 Barcode", 50);
    this.richTextBox1.Font = f1;
    this.richTextBox1.AppendText("*1234554*");
    Font f2 = new Font("Arial", 20);
    this.richTextBox1.Font = f2;
    this.richTextBox1.AppendText("fooo");
    but it always uses the second one?
    how can i resolve this?
    i want to use two types of fonts in the same rich text document.
    thank you very much!!

    Select some text and then set the SelectionFont property for each selection, e.g.:
    this.richTextBox1.AppendText("\n");
    this.richTextBox1.AppendText("*1234554*");
    richTextBox1.SelectionStart = 1;
    richTextBox1.SelectionLength = 9; //End of first word
    richTextBox1.SelectionFont = new System.Drawing.Font("Tahoma", 10);
    this.richTextBox1.AppendText("fooo");
    richTextBox1.SelectionStart = 10;
    richTextBox1.SelectionLength = 4;
    richTextBox1.SelectionFont = new System.Drawing.Font("Arial", 20);
    Please remember to close your threads by marking helpful posts as answer and then start a new thread if you have a new question.

  • How to use two different network cards on RT?

    Hi everyone... I'm currently working on a project where I have to deal with the issue mentioned in the thread's topic: I have a PC with RT LabVIEW that has to be able to establish network connections using two different network cards. One will be used to connect via TCP/IP with a host computer that will show the data transmitted through shared variables; the other will communicate with another PC through Modbus protocol. The key is that each communication is done through a separate network card.
    So far I haven't been able to figure out how to configure both things to happen. Does anyone know how to do this? Any tips will help.
    For the RT communication I'm using a standard RT project, with the RT PC being given one of the IPs, and for the Modbus part, I created an I/O server with a master and a slave. Separately everything works fine, but when I get them together it simply won't work.
    Thanks for your help!
    Solved!
    Go to Solution.

    Sorry it took me so long to answer, I've been busy lately....I've found a solution to the problem I mentioned, and just in case anyone has similar problems in the future, I'll shortly describe what happened.
    As Caseyw suggested, it was necessary to enable both network cards through the Measurement and Automation Explorer. The cause of the connections malfunction was actually that I wasn't using the "right" protocol for the Modbus communication, which ran on the secondary adapter. The solution was to use the URL protocol with the correct path on the field, addressing the right IP address. To avoid making this post a mixture of topics, I won't elaborate futher, but I got the gist of it, so if anyone is having similar problems whether it is working with several network cards or with Modbus communication protocols, feel free to contact me, I'll be glad to help.
    Thanks

  • How to use two different versions of Firefox at the same time on Snow Leopard?

    I recently upgraded to Firefox 4.0 on my 27" iMac running Snow Leopard 10.6.7.
    Previously, I was using Google's "Page Speed" along with Firebug in Firefox 3.6.15 to optimize images in my web pages, and to find other areas to optimize.
    Page Speed is not yet compatible with Firefox 4.0. I wrote to Google about this some time ago -- no answer yet.
    If I run Firefox 3.6.15 in order to use Page Speed, I run into a few problems afterward when I start using Firefox 4.0 again, since they both use the same "Firefox" folder in my "Application Support" folder.
    How can I set it up so that I can have two separate "Firefox" folders in my "Application Support" folder?
    Or is there an easier way to use two different versions of Firefox simultaneously, even if one has extensions and/or plug-ins installed which are not compatible with the other version?
    Thanks for a great browser!

    Please disregard my question. I just conducted more web search and learned how to use Firefox's profile manager in order to make a separate profile for Firefox 3.6.15.
    You can find instructions on this page:
    http://support.mozilla.com/en-US/kb/Managing%20profiles#os=mac&browser=fx35
    '''A small tip:'''
    If your Firefox app is named anything other than "Firefox" -- say for example "Firefox 3.6.15" -- when you follow the instructions at the above link, make sure you escape the blank space that is before the version number by adding a backward slash before it, when you type the command string in the Terminal. In other words, in that string, you should use this:
    Firefox\ 3.6.15
    I hope that helps someone.
    WW

  • SBO - How to use two different Stock Account within the same Item Group

    Hi,
    I'm currently stuck within one of my implementation.
    I'm deploying the same solution worldwide which worked pretty well until now. All the items are connected to an item group, with a unique GL account, supposed to book at the same time the good receipt and the good issue (Balance-Sheet Account = 14xxxxx).
    My new unit is willing to use two different GL accounts when performing its stock entry (let say 14xxx10) and another GL account for the good issue, let say 14xxx20.
    Do you have any clue so i can please them and keep using at the same time the item group ?
    Thanking you in advance
    Stephane

    Hi,
    In fact, we use the GL account as the HQ Account (Reporting Account) while the "Export Code" will be used to store the local GL Account (greek account).
    As such, we can, somehow handle two different chart of accounts.
    In my reporting, i'm only using a single GL account for stock movements, while my greek counterparts want to handle two different accounts.
    Threfore, i have only two solution since there is normally a one to one relationship between a HQ account and a local account that are :
    1 - Duplicate the HQ accounts
    In that case, i do respect anytime the one to one relationship. I've got one HQ account for one local account. But how can i put this since i can only handle one single stock account.
    2 - I keep my single stock account like this but i won't be managing the possibility to get two different Export Codes.
    Regards
    Stephane

  • Help wanted - step by step process on how to use two ipods on one computer

    I'm just in the process of getting an ipod (waiting on delivery!) and want to know how it is possible to have two ipods using the same computer but synchronizing differently. I don't want to risk losing my partners music (he'll be very upset!) and I don't want to end up with his music on my ipod. I'd appreciate it if someone could give me a step by step guide or tell me where the best place to look for the answer is. Is it possible somehow to have two different libraries on one computer? Is that how it works?

    There are a couple of methods for using more than one iPod on a single computer. Have a look at the article linked below. Method one is to have two Mac or Windows user accounts which by definition would give you two completely separate libraries. Method two as Chris has already described above is to set your preferences so each iPod is updated with only certain playlists within one library. Have a look anyway and see what you think and go for whichever you feel suits your needs best: How To Use Multiple iPods with One Computer

  • HELLP!! NEED TO KNOW HOW TO USE TWO IPODS ON ONE COMP!ASAP

    i have an ipod nano and an itunes account. Now my mom has a nano and we need to know if you can register them on the same account and how or any other tips for using two ipods on one comp!
    PLEASE HELP ASAP!
    ZACH

    Hello Zach,
    There are a couple of methods for using more than one iPod on a single computer. Have a look at the article linked below. Method one is to have two Mac or Windows user accounts which by definition would give you two completely separate libraries. Method two is to set your preferences so each iPod is updated with only certain playlists within one library. Have a look anyway and see what you think and go for whichever you feel suits your needs best: How To Use Multiple iPods with One Computer

  • How to use two BAPIs in webdynpro Applicaiton?

    Hi All,
    I'm developing one webdynpro application which is using BAPI_FLIGHT_GETLIST for gettting list of flights and then using an other bapi BAPI_FLIGHT_GETDETAIL for getting details of particular flight which is selected from getlist bapi.
    how can use these two BAPI in single application? How to get the flight details after selecting the one row in getlist view?
    please provide me the procedure.
    Regards
    Srikanth

    hi
    First create two models Bapi_flight_getlist, Bapi_flight_getDetails.
    Add these models in your component.
    Do the model binding on Component Controller.
    Comp.Controller>apply template>servicecontroller>flightlist>choose
    Airlineid
    Maxrows
    Expand Output node.
    select Flight_List node.
    ServiceController will automatically generate the method,choose ok.
    Repeat the same for second bapi also.
    choose
    Airlineid
    Connectionid
    Flightdate
    and select Flightdata
    (you can find it by expanding output node).
    after completion of all these steps u will have Getdetilas and getlist bapi details in comp.Controller.
    To avoid overloading in selecting particular node specify different name for node.(eg:output-->output1)
    Contextmapping.
    you do the contextmapping between Comp.Controller and view by choosing appropriate details from comp.controller.
    now you will have GetDetail and GetList nodes data.
    do the view binding.
    Apply template-->select Airlineid
    Maxrows from getlist node.
    again do the
    Apply template-->select Flightdata from getdetailnode.
    onleadselect of table you call the execute methods from comp.controller generated by service Controller.
    Layouttab>table>properties-->onleadselect Event
    create action for it.
    in onleadselect<actionname>
    wdThis.wdGetFirstCompController().executeBapi_Flight_Getdetail_Input();
    wdThis.wdGetFirstCompController().executeBapi_Flight_Getlistl_Input();
    in the output Getlist table will be displayed.
    by clicking on table row,onLeadselectaction will be called.
    you will get the flightdetails.
    i hope this will solve your problem.
    Regards
    sowmya

  • How to use two RPD in a single installation

    I have developed separate RPD for the Wholesale business and one for Retail business.
    How can I use these two with one BI installation

    Hi,
    It is possible if you create another instance in the same server.
    http://obiscraps.blogspot.in/2011/05/setting-up-multiple-obiee.html
    To be Simple and straight forward , to combine two rpd of completly different subject ares, business models and data sources.You can easily cut and paste the objects from one rpd to other rpd using two way merge(Parentless 3 way merge) in offline mode.When it prompts for original rpd, create an empt rpd and give the dummy rpd location in original rpd .
    Regards

  • How to use two or more mics simultaneously on a firewire interface?

    hey i have the fireface 400 and am using it with logic. how do i use both mic pres on the front of the fireface simultaneously. for example i want to record an acoustic using two mics. probably a simple question please help me out.

    How do you "use" them? Please be more specific...
    Make sure you choose the correct inputs on the relevant tracks..
    If that doesn't help you I've heard stamp collecting can be fun.

Maybe you are looking for

  • Fast index creation suggestions wanted

    Hi: I've loaded a table with a little over 100,000,000 records. The table has several indexes which I must now create. Need to do this as fast as possible. I've read the excellent article by Don Burleson (http://www.dba-oracle.com/oracle_tips_index_s

  • How do I remove an Excel file from my Macbook Pro

    How

  • Apple took away my printer's drivers (HP Laserjet P1005) in Mavericks. What should I do?

    I own a HP Laserjet P1005 that's shared in a wireless network, used by 2 pcs, a Macbook and several iPhones. All of them can print normally, only my Macbook doesn't. It lists the network and recognize the printer, but Mavericks took away the drivers

  • Export media - Please help

    I am trying to export an app preview to app store and it keeps rejecting due the video is not in the correct format I am following apple specification and the only thing I can't figure how to do in the adobe premiere export media window is: Audio Ste

  • Unable to delete msgs

    Hiiiii actually in my mobile Nokia C3 quartz there are some blank type msgs in inbox n sent box....which i can't open neither i m able to delete it....plz help....