*Step by Step*

I've calmed down now, and I'm gonna ask step by step:
1)Chat Server:
import java.net.*;
import java.io.*;
public class Server{
     public static void main(String [] args){
          ServerSystem ssys = new ServerSystem();
          ssys.ServerMethod();
class ServerSystem{
     void ServerMethod(){
          try{
               ServerSocket ss = new ServerSocket(27700);
               for(;;){
                    Socket client = ss.accept();
                    ClientThread ct = new ClientThread();
                    ct.start();
          }catch(Exception e){
class ClientThread extends Thread{
     public void run(){
          try{
               System.out.println("Client Connected!");
          }catch(Exception e){
Did I make a good template for the beggining of a chat server? I have a feeling this isn't gonna work because of where the client variable is.
2) How and what is the best way to input a string into the command prompt? What's the best I/O to use for Strings AND Variables(short,int,long) so the Server could communicate similar to a MUD, where you can chat AND have a RPG kinda game(ints would be for health, damage, ect...)
3) Are there really easy ways to do this in Java?

import java.net.*;
import java.io.*;
public class Client{
     public static void main(String [] args){
          try{
               Socket server = new Socket("127.0.0.1",27700);
               System.out.println("Connection Opened");
               InputStream in = server.getInputStream();
               OutputStream out = server.getOutputStream();
               s.close();
          }catch(UnknownHostException e){
               System.out.println("Host not found.");
               System.exit(0);
          }catch(IOException e){
               System.out.println("Error connecting to host.");
               System.exit(0);
}good start
you now need to do 2 things with in and out
out is gonna be easiest...
after you get the InputStream AND the OutputStream you need to have some way of getting information from you(the user) to "out".. try something like
boolean doit=true;
while(doit){
String toGo=System.in.readLine();
out.write(toGo.getBytes());
doit=!(toGo.equals("quit"));
out.close(); // dont close the socket directly as "in" might still be using ityou might try something similar in the send() method in the server, only dont get the String from System.in.., just use whats passed in the method call

Similar Messages

  • I have one apple ID for multiple devices in my family.  I'd like to keep it that way for itunes/app purchases.  I would like a simple step 1, step 2, step 3 response on what I need to do to separate all other features like imessage, contacts, emails, etc.

    I have one apple ID for multiple devices in my family.  I'd like to keep it that way for itunes/app purchases.  I would like a simple step 1, step 2, step 3 response on what I need to do to separate all other features like imessage, contacts, emails, etc.
    I have been reasearching how to do this on the internet, but I haven't found an easy explanation yet.  My family is going crazy over each others imessages being sent to others in the family and not being able to use FaceTime because of conflicting email addresses.  I have read that if each person gets their own iCloud account, this would work.  However, I need to know what to do after I set everyone up with their own iCloud account.  Do I make that the default email address to be contacted or can they still use their hotmail email addresses.  Any help- with easy explanation- would be much appreciated!!

    We do this in my family now.  We have one account for purchases, so it is used to share music and apps (I think that is in Settings/iTunes & App Stores).  Each iDevice has this configured.
    Then, each of us has our own iCloud account that is configured under Settings/iCloud.  That then allows us to have our own Mail/Contacts/Calendars/Reminders/Safari Bookmarks/Notes/Passbook/Photo Stream/Documents & Data/Find My iPhone/and Backup.  That Backup piece is pretty sweet and comes in handly if you replace your iDevice.  You can just restore from it.
    So we all share the Apple Store account but we all have our own iCloud accounts to keep the rest seperate or things like you mentioned are a nightmare.
    In answer to what iCloud does for you: http://www.apple.com/icloud/features/
    Think of it as an internet based ("cloud") area for all of those items listed in my response.  What you need to remember is photo stream only maintans the last 1000 pictures so don't count it as a complete backup solution for your pictures.  Even though I rarely sync with a computer these days, I do still try to sync my phone with iPhoto (I have an iMac) so that I have copies of all of my pictures.  1000 may not stretch as far as it sounds.
    Message was edited by: Michael Pardee

  • Windows 7 x64 on 2009 MB, step-by-step instructions and solutions

    ok, after spending days on this with about 10+ clean installs on 2 different machines and searching forums about various problems, i'm going to go step by step in a flow-chart like manner to describe the steps and various pitfalls in getting windows 7 ultimate 64 bit installed correctly on a macbook (late 2009)...most of this i didn't figure out on my own, this is a compilation of solutions found by others. i'll try and link or credit anyone i can, but honestly can't remember where i saw all of this. part of this is to share my days of frustration to try and save someone some time. also, in case i have to do this again, i want a record of it so i don't have to start from scratch next time.
    i don't have everything working perfectly, but i have wireless and sound, but not sure if all the drivers are up to date. i'm still working on the headphone issue, i don't have sound yet with headphones, but i got the speakers to work.
    i'm going to preface this by saying that windows 7 is a horrible piece of software, i'm only helping a friend do it because she's an architect and needs autocad, but she wants a mac for daily use. also, i'm doing this from a spanish install of windows 7 (here in south america), so it's a pain to translate this cruddy convoluted OS into english as i'm not familiar with windows 7 anyway, so i'll do my best. i'm not a pc expert. also going to say that the windows 7 x86 and x64 installs i've done on a couple macbook pro 15's seems to work much better (full trackpad functionality, expose works) and without as many problems...i don't know why it doesn't seem to work as well in x64 on the macbook, i'm still investigating.
    also, i want to say that a fresh (first-time) bootcamp partition with windows install after a clean mac os x install seems to produce the best results. i say this because i wasn't happy with all the hacks in my first couple attemtps, so i erased the bootcamp partitions and re-created them to re-install windows 7 again. but i started experiencing some peculiarities that never happened in the first install after a clean Mac OS X install. it's as if the computer leaves artifacts from previous installs and acts funny. also, reboots and start-up times seem to be slower now than when it was a first-time fresh install. anyway, i'll try and outline all the weirdness here, indicated by asterisks *
    SO, HERE GOES:
    1) Go to Bootcamp Utility > Create Bootcamp partition
    2) Afterwards, this should take you to a restart into the windows install dvd....if install dvd boots fine, skip to step 3
    ** if you get a gray screen (happened to me after subsequent re-install attempts), you have to power off and reboot holding down "C" key to boot from the dvd...or you can hold down alt/opt key to get the icons of bootable volumes, at this point it should be mac os x and the windows dvd. the point is, force it to boot from the dvd if it hangs on re-start.
    3) Windows install should start. Select language, etc....You should then get to a screen listing all the partitions (should be 3 of them). Choose the Bootcamp partition and format (erase) it to proceed with the install.
    4) Windows should start installing all the files and will reboot a couple times, here's where things get weird possibly. On the first attempt at installing Windows 7, the install went smoothly on restart.
    ** some of you might get a blinking cursor and a black screen that goes on forever. Supposedly this is a bug in Windows 7, having to do with video drivers or something. I don't understand because my first install attempt, it rebooted just fine and the installation continued.
    anyway, what you have to do here if you get the forever-black screen is power down the machine with the power button and restart holding the alt/option key. this time when you get the bootable volumes on the gray screen, choose the Windows partition, which will now appear. DON'T boot up from the DVD. upon restart into Windows, you should be back in the installation process and it will attempt to finish the install here.
    it might be my imagination, but once i had to reboot into the dvd here to actually finish the install. technically Windows is not finished installing at this step, you just have to figure out how to get past the black screen to finish the install. try both.
    5) Windows should go back to where it left off before the restart, then finish the install.....and restart AGAIN. On my first attempt, the restart went smoothly and started the "first time user" process...
    ** some of you will get the black screen YET AGAIN, this happened to me on my subsequent attempts at re-installing Windows. again, you need to power off and start up holding the alt/option key, choose the Windows partition and it should take you to the "first time user configuration" process....since at this point, windows is indeed installed.
    6) Here you will fill out all your information, product key, etc...and get into Windows. Here you will have some other problems.
    Problem #1: you have no drivers to run Windows on your Mac, so you will need to install Bootcamp in windows from your Mac OS X install dvd
    Problem #2: you have no "right click", because you don't have drivers, so you might not be able to eject the Windows dvd to put in the Mac dvd
    Solutions: you can't control-click or right click, BUT YOU CAN hover over the DVD drive ( "D:" in your computer, my PC or whatever it's called in english) and see if there's an "eject disc" option.
    for some reason, my Windows dvd was spinning and not being recognized, so i just rebooted (alt/option) into Mac OS X and ejected the disc there. the point is, you need to eject the Windows disc and put in the Mac OS X install disc to access Bootcamp for Windows.
    7) Reboot into Windows (if you had to boot into Mac to eject the disc). Insert Mac OS X install disc. Navigate to BootCamp setup.exe and run it.
    ** the first time i did this, it ran no problem. but in subsequent attempts, it gave me the "x64 not supported by this computer" message that everyone seems to encounter. there is a bypass for this outlined here:
    http://www.techulous.com/hardware/how-to-apple-boot-camp-64-bit-for-windows-7-on -unsupported-macs.html
    8) Ok, so now you should have Bootcamp 3.0 installed. Now you need to update it with Bootcamp 3.1 update. Download it here and run it. This is required for 64 bit support, I believe this is the link:
    http://support.apple.com/kb/dl979
    ** hopefully you don't have problems, i didn't, so you might have to search the forums since i can't anticipate what might happen here, it worked for me every time.
    9) Ok, i think it might reboot after the update install. Now you have Bootcamp installed and most of the drivers you need, however not everything works. Some of the drivers will be out of date.
    Problem #1: you may or may not have updated nvidia drivers. mine are ok, but check nvidia website if you have doubts. most of their drivers are for PC hardware, however, so the ones on the bootcamp disk and update should be fine.
    Problem #2: almost everyone has wi-fi connectivity problems. it has to do with the wrong/outdated broadcom drivers from bootcamp. i will outline how i got it to work (based on someone else's solution i found in some forum or other).
    Problem #3: almost everyone is having sound issues. i'll explain what i did. i still have no sound coming out of the headphone jack, i'm working on that next. but i have speaker sound and no red light coming out of the headphone jack.
    ** first of all, you should probably download firefox from internet explorer in windows, then update adobe flash, it's a pain....i used another computer to download the drivers, then transfered them by USB drive, but you can do it however u want.
    Solution to wi-fi: ok, not sure where i got this information, but i downloaded HP drivers in a file called "sp45524.exe"....here's the link:
    http://www.wireless-driver.com/download/hp/hp-broadcom-wireless-lan-windows7-dri ver-v560188.htm
    apparently the broadcom drivers in Bootcamp 3.0 and 3.1 update won't install on Windows 7 x64 for some reason, lot of people are getting "code 10".
    what i did is this:
    9a) run the .exe file, it will create a folder called SWSetup\SP45524 that will house the drivers. there's a setup file in that folder, i didn't try it. perhaps it will install from there, but everything i read suggested a different step. ** if you run the set up file, you may have to run as administrator, or use the "troubleshoot compatibility" trick to get it to work.
    9b) Go to Control Panel > Hardware and Sound > Device Manager > Network adapters
    you should uninstall or deactivate any drivers you have. if it's not showing any wi-fi adapter, right click and "check for new hardware" (not sure how it's translated into english from spanish)....you should have an unknown device pop up with the yellow icon and exclamation mark. double click on that, assign it as a network adapter.
    when you get to the driver tabs, you can install it from there. this is where it gets tricky. click "install driver", "check drivers on this computer", "choose from a list of drivers on this computer", "use disc", and in the dialogue box ("install from disc" that says "copy manufacturers files from", navigate to the C: SWSetup|SP45524 folder and click until you can accept. this will load up a different list of drivers.
    (sorry, i'm translating the Windows from spanish to english, and i'm not familiar with exactly what they say in english, so you'll just have to use your imagination)
    you should now have a small list of drivers. personally, i chose the first one on the list "Wi-Fi adapter Broadcom 43224AG 802.11a/b/g/draft-n", but the second one worked also. again, i'm doing this on a late 2009 white macbook (6.1) and it works. according to the date of the driver, it seems like it might not even be the most current and might be older than the one that's on the MAC OS X install disc, but none of the ones on the disc work. this one does. (thanks to whoever found this out, i can't find the original link of the post with this driver reference).
    Solutions to sound: ok, there are multiple posts on this, everything from updating realtek to sigmatel...personally what worked for me was to download the most current Cirrus Logic drivers.
    everyone has been pointing to this post:
    http://www.stuffedcow.net/macbook_audio
    it doesn't really tell you what to do exactly. i'm not even sure what to do, but here's what i did. actually, i downloaded what was supposed to be the CS4207 driver here:
    http://www.cirrus.com/en/products/pro/detail/P1233.html
    then i followed the same procedure as before with the network adapter driver...."install driver", "check drivers on this computer", "choose from a list of drivers on this computer", "use disc", and in the dialogue box ("install from disc" that says "copy manufacturers files from", navigate to the folder you just downloaded from the above link.
    you should have an updated list of drivers. what i don't understand is that the Cirrus site lists the most current driver as CS4207, but the only thing that has 4207 in it starts with CDB. in any case, i chose the last one on the list, CS4206A (AB 99).
    i have no idea why i chose that, it just seemed to be the most current. in any case, sound works now.
    Ok, i tested all this stuff in skype. wifi, microphone and speakers work, isight works. however, still no headphone sound. so if anyone knows how to fix that, please let me know. i haven't gotten to that part yet. but i've spent like over a week trying to figure this out. windows 7 is so horrible that there seems to be so many steps to getting it just right, and i just found myself starting all over (i didn't mention the nightmare with license breaks with AutoCad due to windows reading the clock differently...that's another hack that i had to deal with...and failure meant re-installing everything).
    ok, off to bed now....

    Windows 7 x64 all updates
    Just doublechecking. Does that include the recent chkdsk hotfixes?
    [The Chkdsk.exe program does not start correctly on a Windows 7-based computer|http://support.microsoft.com/kb/975778]

  • I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    I have quicktime pro and it does NOT have the screen record mode that Quicktime is suppose to have.  Can I uninstall it and go back to an older version that would have screen recording?  If so, how?  Step by step needed.  Thank you for your time.

    Did you remove Quicktime X?
    On a normal install Quicktime 7 is installed in the Utilities folder and Quicktime Pro in the main Applications folder.
    You will need to reinstall OS X to get Quicktime X back if you have deleted it.
    I notice yor profile says 10.5.8. Quicktime X is only available on 10.6 and above.

  • How to migrate from exchange 2007 to 2013 step by step tutorials please

    Hi
    I am running Windows Server 2008 standard, with exchange 2007 SP2 on it.
    We have 800 mailbox in total
    Our domain controllers are
     Win2012 R2 and I would like to upgrade to Exchange 2013 on Windows server 2012 R2.
    I am running a VM, on VMware environment, so my Windows 2012 R2 is a VM.
    Is there a website or document that explains in detail, step by step how to upgrade from 2007 to 2013.
    I currently only have 1 exchange server 2007, with all the roles on the one server.  I would like to keep that same as
    well with exchange 2013.
    Thanks

    Exchange server deployment assistant is always a good service provider to achieve this task as it simply ask few questions about your current environment and proceed further accordingly.
    You can refer to this blog explained by technet team that will assist you further to gather more information in depth : http://blogs.technet.com/b/meamcs/archive/2013/07/25/part-1-step-by-step-exchange-2007-to-2013-migration.aspx
    Moreover, to avoid the interruptions and proceed a hassle-free migration from exchange 2007 to 2013, this application (http://www.exchangemigrationtool.com/) could also be a good approach to accomplish
    migration task in more secure way.

  • Step by step complete setup for WRT54G ver.6 with Laptop and XBOX 360

    Hello.  I am sorry to post this, I am sure it is a juevenile and redundent question...but I have tried to look for the set up cd (I can find where to download it...though I can find the firmware upgrade or whatever).  My friend at work said it would do all the setup pretty much automatically for me.  
    I somewhat know computers, but you might go ahead and make your replies VERY lamen's terms or I might not be able to follow.  Anyways, what I need, is a step by step/screen by screen directions for a secure network.  I have made a partial attempt at setting it up and it technically works, but I would feel better if I did the steps a-z in order, so I know that it is done correctly.  I also am not totally confident in its security as it is now.  (Also, technically, I did not check the XBOX again after getting the new laptop, I am just assuming it is still working because it was before).
    My problem is I can't seem to find very good directions for setting up the router...I only find partials or confusing directions.
    So here are the things I am trying to connect:
    Liksys WRT54G ver. 6
    Gateway Laptop running Windows Vista
    XBOX 360 - WIRED
    (I had a PC and a laptop, but they both died at the same time and I have only been able to replace the laptop at this point...the PC will come later and not sure at this point if it will be Wired or not).
    I have a cable Modem between the Router and the wall...I didn't look at that for brand/etc...but I can get it ASAP if needed.
    Here are the settings that I have so far:
    Changed the Router Name
    Changed the SSID
    Have DHCP set to 3  (XBOX, PC, Laptop)
    Wireless SSID Broadcast: Disable
    Username and Password changed to my own info
    UPnP: Enable
    I may have changed other things without knowing it.  So like I said, a complete, step by step screen by screen set up would be totally appreciated.  I haven't done anything in the security tab, all that is totally foreign to me, so I am just not broadcasting for now until I can get some help setting things up with you guys.
    And if someone is familiar with the Laptop/XBOX 360 setup, and I need to change any of the settings on the XBOX itself, could you please include that in your directions?  I know that isn't technically what THIS forum is for, but it would sure be helpful to me if you happen to know both parts anyways.
    Thanks a lot (in advance)!

    So all you just need to do is, secure your Wireless Network. Follow the setps bellow and change the settings on your Router.
    Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
    For Wireless Settings, please do the following : -
    Click on the Wireless tab
    - Wireless Network mode should be mixed...
    - Provide a unique name in the Wireless Network Name (SSID) box in order to differentiate your network from your neighbours network...
    - Set the Wireless channel to 11-2.462GHz...Wireless SSID broadcast should be Enabled and then click on Save Settings...
    Please make a note of Wireless Network Name (SSID) as this is the Network Identifier...
    For Wireless Security : -
    Click on the Sub tab under Wireless > Wireless Security...
    Change the Wireless security mode to WPA, For Encryption, select TKIP...For Passphrase input your desired WPA Key. For example , MySecretKey , This will serve as your network key whenever you connect to your wireless network. Do NOT give this key to anyone and remember the key.
    NOTE : Passphrase should be more that 8 characters...
    Now see if you can locate your Wireless Network and attempt to connect...
    Click on Advanced Wireless Settings
    Change the Beacon Interval to 75 >>Change the Fragmentation Threshold to 2304, Change the RTS Threshold to 2304 >>Click on "Save Settings"...
    Now see if you can locate your Wireless Network and attempt to connect... 

  • Step by Step Guide Details for RFC to File and File to RFC scenario

    Hi Guru's
    Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File  scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
    For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
    I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
    thanks in advance.
    Regards
    Raj

    Hi Aaron,
    I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
    Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
    The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
    Edited by: Marshal on Oct 8, 2009 5:08 PM
    I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
    Edited by: Marshal on Oct 8, 2009 5:22 PM

  • Step By Step Instructio​ns !!!! HELP NEW USER!

    Step by step tutorial on how to create a project from A to Z. I am a new user, and i am tired of all the tutorials NI provides, they all talk about creating some bullshit waveform or making some easy calculator vi. They never talk about the real stuff, example, how to start a project, create your vi, compiling or putting together all the vi's, compile everything together and than creating an EXE. Holly shit that's all i am asking for is an idiots guide is it that hard for NI to make ! Can anyone out there direct to something to figure this out maybe a book, article, web page something!!!   And no thank you i don't need some sales guy calling me trying to sell NIN bullshit training classes, i have been to them and all the instructor could talk about is creating a ridicolous sine wave genarator (WoW) 

    I am sure NI would be very happy to hear about any issues with the LabVIEW help that could be confusing to new users.
    Here's a link to the LabVIEW help on organizing an managing projects:
    http://zone.ni.com/reference/en-XX/help/371361D-01​/TOC16.htm
    Have you read it and do you still have problems? What was not clear?
    Genci wrote:
    ..., compile everything together and than creating an EXE.
    How to built an application Step by step.: http://zone.ni.com/devzone/cda/tut/p/id/3303
    You should also be aware that you cannot buit an application using LabVIEW base or full.
    You need LabVIEW professional or you need to purchase the application builder.
    Genci wrote:
    ...tired .. bullshit ... Holly shit ...idiots ...bullshit ..ridicolous ...
    These are all non-techical terms and not very descriptive in the context of LabVIEW. Could you be a bit more specific on what kind of problems you encountered?
    It would also be important to know your programming background? Are you experienced in any other programming environment? Is labVIEW your first attempt at programming? Are you familiar with general programming terms? Are you trying to program for personal enjoyment, for school, or as part of a job. If your employer forces you to switch to LabVIEW, maybe he could send you to some NI classes.
    What is your LabVIEW version?
    As anything, there is always an initial hurdle that needs to be overcome before becoming familiar in a new environment. Fortunately, this threshold is very low in the case of LabVIEW and you should be up and running after a couple of hours. Mastery takes a bit longer, of course.
    Your best bet is to ask a more specific question here in the forum whenever you get stuck. Good luck and enjoy the ride.
    LabVIEW Champion . Do more with less code and in less time .

  • Step by Step guide for upload iPad only apps

    Please note that this is not derived from me alone.
    This Knowledge is derived from three forum members, DutyFarm, ChoosingNameCanBeSoXXX & Dei_Machiavelli.
    I just add the solution for generate the .xcent file.
    [Atleast enough for me to make it work.]
    Welcome that if anyone find that this step by step guide not detail enough, you can copy and add more points and post again.
    Step 1:
    Make sure that all the Icons for the iPad are accounted for because if you don't, Application Loader will Scream
    [For some strange reason, you have to add the Old iPhone Icon Size as well]:
                             Old iPhone: 57 by 57 [Icon]
                 Start Up Icon for iPad: 72 by 72 [Icon-iPad.png].
    SpotLight Search for iPad Must Have: 48 by 48 [Icon-iPad-spot.png]
    Step 2:
    Load the Mac, unzip your *.ipa file, place the *.app file on your desktop and modify its internal Info.plist file.
    Change 3.0 to 3.2 here:
    <key>MinimumOSVersion</key>
    <string>3.2</string>
    Step 3:
    Because after you change the Info.plist file by your own way, the file will changed to wrong codesign.
    So that will need this step to change it back to right codesign which can success upload to apple store.
    Create this weird NameOfYourApp.xcent file on your desktop:
    That strange 10 digit is the App ID:
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
    <plist version="1.0">
    <dict>
        <key>application-identifier</key>
        <string>APP_ID_Letters_&_NUMBER_HERE.com.whatever.YourAppName</string >
        <key>get-task-allow</key>
        <true/>
    </dict>
    </plist>
    Step 4:
    Now Type this in Terminal:
    /usr/bin/codesign -f -s "iPhone Distribution: Yours Distribution Cert Name" "--resource-rules=/Users/ABC/Desktop/YourAppName.app/ResourceRules.pl ist" --entitlements "/Users/ABC/Desktop/YourAppName.xcent" "/Users/ABC/Desktop/YourAppName.app"
    iPhone Distribution: Yours Distribution Cert Name  << This you can check back at your Cert in  Keychain.
    /Users/ABC/Desktop/ : here is assume that your username in you Mac OS is ABC. But more easily, you can put all the file at any path you want.
    I just put all files at the iPad folder at system disk root. so that the path just /iPad/ .
    OK, if no error come out, congrats that you are done. You can upload the app by Application Loader. (Assume that you know what is it, and need to zip you .ipa before upload)
    BUT, LIKE ME and some member here, we see two error after the Step 4 command as below:
    /Users/kevs/Desktop/MyApp.xcent: unrecognized blob type (accepting blindly)
    /Users/kevs/Desktop/MyApp.xcent: invalid length in entitlement blob
    After few night try..... finally I found out the solution and just successfully submit the iPad App!!!
    The main problem was we used a wrong method to create that stupid MyApp.xcent file!!!!
    I used many many method, use Mac text editor, Window notepad, Mac/ Window Dreamweaver as .xml......
    but all facing the strange "invalid length in entitlement blob"
    why invalid length?!?! so I try to search for what is .xcent..... finally I found the following webpage
    http://www.246tnt.com/iPhone/
    it's talk about codesign and entitlement files.
    then..... I FOUND .xcent NOT ONLY A SAMLPE TEXT FILE!!!!!
    in the middle of the link above, there are a highlighted simple script , which is a python script to help us generate a .xcent entitlement file!!!!!
    Here is step by step solution to solve this error:
    1) just download the .py file here: simple script
    2) put the .py file anywhere you like, or just simply put in the root of you mac
    3) turn on the Terminal (in /Applications/Utilities), goto the folder where you put the .py
    4) TYPE: python gen_entitlements.py 5C297XXXXX.com.yourdomain.MyApp myApp.xcent
        Where 5C297XXXXX.com.yourdomain.MyApp is your AppID with BundleID,
        myApp.xcent is the file will be generate to you
    5) Finally you can see the .xcent which make me nearly crazy for a week!!!!!!!!
    6) Use this .xcent file to run that codesign script (Step 4 above)
    7) Congratulation the codesign changed and you can zip your app and upload it
    I have spent many hours for this simple stuff.........so sad........>.<
    Hope this post can help all guys who still mad on this error when trying to upload a iPad only apps.
    Good luck!!

    I think I followed everything very closely, but I am getting these errors when trying to run the codesign script
    here is my script command:
    /usr/bin/codesign -f -s "iPhone Distribution: Nethercottage Games, LLC" "--resource-rules=/Users/BATC/Desktop/book1.app/ResourceRules.plist" --entitlements "/Users/BATC/Desktop/book1.xcent" "/Users/BATC/Desktop/book1.app"
    Here is the error I get:
    /Users/BATC/Desktop/book1.app: replacing invalid existing signature
    codesign_allocate: object: /Users/BATC/Desktop/book1.app/book1 malformed object (unknown load command 9)
    /Users/BATC/Desktop/book1.app: object file format invalid or unsuitable
    Any help on this please?

  • Step By Step Example for Application Integrator for Yahoo or any kind of

    All EP Expert,
    I want to create yahoo or Gmail or any kind of url iView on which I can implement SSO for learning purpose on my Local laptop.
    I have installed EP SP9 on my laptop.
    I go through some blog and some discussion but I am not able to find below files mentioned in those blog.
    1. AppIntegrator.zip file to find two files
    2. com.sap.portal.howtos.webapp.par file
    3. HowToUseAppIntegrator_en.pdf file
    So I am not able to perform step by step instruction as mentioned in blogs.
    Can any one provide me any kind of documents for EP SP9 for Application Intigrator functionality basically I am interested to integrate JAva base application in my portal with SSO but if any one can provide for Yahoo or Gmail for EP SP9 it will be a great help.
    Thanks and waiting for some help on this form all EP experts.
    I will reward full points for right answer.
    Thanks in Advance.
    Ashish.

    Hi Mona,
    Thank you very much for your prompt reply.  I really appreciate if you can provide me exact location from where I can download "Application Integrator" zip file from which I can extract  "com.sap.portal.howtos.webapp.par" file as describe in example PDF file. I tried very hard to find on SDN and "help.sap.com"  but could not find it.
    If you have it with you then please send it to me on my email ID [email protected]
    Or please tell me exact location from where I can download it.
    I give 10 points for this help.
    Thanks in Advance.
    Ashish.

  • Step by step procedure for creating BOL

    Hi All,
    I am new to CRM and facing  a lot of problems while creating BOL.
    Please help me by providing some link which will guide step by step for
    creating BOL.
    Thanks
    Alsalfi

    HI Alsalfi,
    Simple Object allows only for single table. If you want to create for multiple tables, then u need to create BOL for each table and define a parent -child relationship and also its cardinality in the Simple object configuration in spro.
    Hope it helps.
    -Satish

  • Step by step installation for java card kit 2.2.2

    can anyone help me with a complete step by step installation information for java card kit 2.2.2, i already tried to follow the instruction given in the software i download n still stuck in setting the java path. any recommendation
    thanks for the help

    The javacard API is for developing applets on card. Java 6 is for developing clients off-card.
    yes u can use any java IDEs like netbeans or jcreator. But you will have to select the libraries within the downloaded java card kit folder for ur IDE in order to compile successfully.
    try reading up the documentation and run the samples in the java card kit. thats a good place to start.

  • Step by Step Instructions for Installing Self Signed Certificate using Certificate Modification Tool

    I am looking for some step by step instructions for installing the self signed certificate from my Microsoft SBS 2003 server on a Treo 755p and 750p.  In particular I need some help with the form of the actual certificate and how to use the Certificate Modification tool. 
    Some questions I have are as follows:
    1. When I install the certificate on a Windows Mobile device I used an exported version of the certificate.  This export is done using the DER x.509 format.  Is that the same form I’ll need for the Palm?  Do I need some other form? Can/should I just use sbscert.cer file that is generated when SBS is configured?
    2. Does the self signed cert need to be installed on the computer being used to update the Palm or do we just need to be able to access the appropriate .CER file?
    3. There are three things included in the PalmCertificatesTool.zip file:
                                    Trusted CAs (folder)
                                    Cert2pdb.exe
                                    PalmCertificates.exe
       How do I use these tools?
    4. It looks like the PalmCertificates.exe file opens an interface that will allow me to browse to the desired .CER file.  Then I suppose I use the < Generate PDB > to create something that needs to then be uploaded to the Palm device?  Not having any real experience with a Palm device how do I upload and install this file? 
    5. Once uploaded do I do something on the device to install it?
    If there is some white paper that provides step by step instructions on doing this that would be great.
    Thanks,
    Walt Bell
    Post relates to: Treo 755p (Verizon)
    Post relates to: Treo 755p (Verizon)

    Thanks for that.
    I have one question after reading the article 43375:
    The article has you "Turn of AutoSync" and then "Reset the device".  It then indicates the device should be left idle. 
    The next step relates to running the PalmCertificates.exe, navigate to the certificate file and add it and then run the < Generate PDB > button.  Should the device be connected to the computer during this process? If so, at what point after the reset do you connect it to the computer?
    Thanks!
    Post relates to: Treo 755p (Verizon)

  • Help with adobe digital publishing professional step by step guide

    hello can you please give me a link for the step by step for proffesional edition, im goiing to buy the license and i ant to read about how to publish multiple folios app for apple and for android
    thanks

    Our list of learning resources has the links: http://forums.adobe.com/thread/994742
    Neil

  • HELP ME IN step by step installation for sap 4.7 IDEAS AND sap 4.7 EE

    HI
    EXPERTS CAN ANYBODY GIVE STEP BY STEP INSTALLATION  PROCESS FOR BOTH
    SAP 4.7 IDEAS AND EE VERSIONS I AM NOT THAT MUCH PROFICIENT IN INSTALLING  I HOPE U R GUIDLINES CAN MAKE ME CLEAR IN INSTALLING I HAVE SOME QUESTIONS RATHER THAN THIS TO ANSWER
    1.IS THE ISTALLATION PROCESS OF ALL SAP VERSIONS ARE SAME?
    2.WHAT IS AN OBJECT IN SAP?
    3.WHAT IS THE DIFFERENCE BETWEEN COMPOSITE ROLE AND A DERIVED ROLE?
    YOU CAN SEND ANSWERS TO MY MAIL ID:<b>[email protected]</b>
                                                         THANK YOU TO ALL  IN ADVANCE

    Hey Rajesh,
    answers:
    1) Yes, the installations procedures is almost the same for all SAP versions, however its advisible to use follow the installation guides which comes with the DVD or is also available in SAP marketplace..
    2) Object is SAP is almost everything in Sap.
    object could be anything like
    TABLES
    PROGRAMS
    VIEW
    FUNTTION MODULES
    DOMAIN
    DATA ELEMENT
    STRUCTURE
    and so on
    3)Composite role is the combination of two or more roles(be it 2 or more  single roles or combination of two or more composite roles or permutation of single and composite role).. whereas derived roles can inherit all authorization objects from the parent role and can have its own authorization objects as well..
    Hope this clears your doubts.
    Revert for any clarifications..
    Please reward for usefull post.
    Regards,
    Anand.

  • Step by step for 2.6

    So I think im finally ready to make the plundge to the 2.6 kernel.
    So I need some help. Ive only compiled a kernel a few times, and I never changed many settings.
    So could someone give a step by step for it (being sure to list any arch-specific quirks)? I would greatly appreciate it.
    Also, I hear theres a patch that lets you run the Official Nvidia drivers with the 2.6 kerne, has anyone gone through this? I really have no idea how to go about doing this,as i've only ever installed the .run file.
    Any help would be appreciated.
    Also, its possible to switch between the 2.4 and 2.6 kernel, right? (obviously with a reboot).
    Lastly, Is a new release of the 2.6 due out anytime soon? I dont want to download and compile this just to find a new version comes out.

    You have to use module-init-tools which supercedes modutils.  I made a PKGBUILD for it for my local system simply so I could uninstall it easier if I wanted.  However, you still need the old modutils as well.
    Here is my hack to get module-init-tools working:
    1.  Use the PKGBUILD below to compile and install module-init-tools.
    2.  For each of modprobe, lsmod, rmmod, depmod, and modinfo from modutils, rename those to modprobe.old, lsmod.old, etc.  To find where these binaries are, use "pacman -Ql modutils".
    3.  Create symbolic links from the binaries that modutils used to provide to the new binaries that module-init-tools provides.  Again, use "pacman -Ql module-init-tools" to figure out where the new ones are.
    Example - modutils provides /sbin/lsmod.  Rename that to /sbin/lsmod.old.  module-init-tools provides /usr/bin/lsmod.  Create a symbolic link as follows:
    [root@limbo root]# ln -s /usr/bin/lsmod /sbin/lsmod
    If you aren't 100% sure what i am trying to say here, don't try any of it, or you will bork your system.  Also, this is more of a hack, and that's why I didn't upload the package to incoming.  I only made the PKGBUILD to keep track of where everything was going.
    Anyway... hope this helps you on your way to:
    [john@limbo john]$ uname -r
    2.6.0-test5
    [john@limbo john]$
    PKGBUILD
    pkgname=module-init-tools
    pkgver=0.9.13
    pkgdesc=""
    url="http://www.kernel.org/pub/linux/kernel/people/rusty/modules/"
    depends=()
    conflicts=()
    backup=()
    install=
    source=(http://www.kernel.org/pub/linux/kernel/people/rusty/modules/$pkgname-$pkgver.tar.gz)
    build() {
    cd $startdir/src/$pkgname-$pkgver
    ./configure
    make || return 1
    make prefix=$startdir/pkg/usr install

Maybe you are looking for