How to connect yahoo Api through a java program

Dear All,
I have problem in my java program. i have created two text field one is for username and another is for password.when we will give a yahoo id in one textfield and after that we will give the yahoo password in the other textfield. It will directly go to the yahoo server and collect all the friend lists which we have get in our program.please anybody tell me in this regards.
Thanks and Regards
Abhiram Sahoo.

Which one? The one full of SPAM, my work address, or my one I use for my personal account?
I think on my SPAM account, I'm down to less than 200 a day, I'll hve to go try to win that 54 inch Sharp Auquos again.

Similar Messages

  • How to connect iseries green screen from java program

    how to connect iseries green screen from java program to get the data in the DB files ,here the DB is DB2/400

    Just some Friday fun. Use the telnet program that comes with Windows and supports VT escape sequences.
    import java.io.*;
    import java.net.*;
    public class AutoTelnet {
         private static Socket s;
         public static void main(String[] args) throws Exception {
              Thread t = new Thread() {
                   @Override public void run() {
                        try {
                             s = new ServerSocket(5555).accept();
                        } catch (IOException ex) {
                             ex.printStackTrace();
              t.start();
              Process p = new ProcessBuilder("cmd", "/C", "start", "telnet", "127.0.0.1", "5555").redirectErrorStream(true).start();
              t.join();
              PrintStream ps = new PrintStream(s.getOutputStream());
              ps.println("Screen will be cleared in 5 seconds");
              ps.println("5");
              Thread.sleep(1000);
              ps.println("4");
              Thread.sleep(1000);
              ps.println("3");
              Thread.sleep(1000);
              ps.println("2");
              Thread.sleep(1000);
              ps.println("1");
              Thread.sleep(1000);
              ps.println("\u001b[2J");
              Thread.sleep(5000);
    }

  • How to implement a print screen through a java program rather than a keyboa

    help needed urgently to make a college project.
    have to capture whatsoever is on the client screen
    and sent it to to a server program where it will be made visible on a frame or panel.
    this is to be done without the client ever knowing it.
    so needed to implement a printscreen command using java code and put it in a program(also how to make
    the .class file containing this code run in the background all the time since the client comp starts till it is shut down without the client ever knowing it)
    e mail: [email protected]

    <pre>
    hartmut
    i need help.
    i've recently started using the web to learn more about java.your reply was very discouraging.
    the proff. just wants a decent project.
    but i want to make this project to improve my java networking skills.
    if you can help , please tell me how to implement a printscreen through a java program rather than a keyboard.
    I'll be very grateful to you if you can help me in this regard, but please dont send a dissapointing response like the previous one.
    mail: [email protected]
    </pre>

  • How to Connect MySQL Database Through JTable?

    Hi,
    How to Connect MySQL Database Through JTable? anyone of u knows these concept please send me coding of that Part..
    Thanks,
    Guru..

    Start by reading the tutorials. There's a section on Swing which shows you how to use tables and a section on JDBC which shows you how to use SQL.
    And you can always search the forum as well since there are working examples of both posted on the forum.
    If you need further help with a specific problem then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://homepage1.nifty.com/algafield/sscce.html], that demonstrates the incorrect behaviour.
    Don't forget to use the [Code Formatting Tags|http://forum.java.sun.com/help.jspa?sec=formatting], so the posted code retains its original formatting.

  • How to connect oracle data through BlazeDS in flex 4

    How to connect oracle data through BlazeDS in flex 4

    Hi
                   If u want to connect to the database oracle just paste the Ojdbc14.jar file into the lib folder of blazeds project..
                             Normally blazeds distribution version contains blazeds.war file... upload that war file to the tomcat or any other application server..
                          u will get the build path and in lib folder paste the ojdbc14.jar file to connect to the oracle and do u r stuff at server side java ....
                      if this will reslove ur problem please mark as answered..

  • How to call an API through Forms

    Hi,
    I want to call 'inv_quantity_tree_pub.query_quantities' from a custom form developed using Template.fmb.
    It is displaying error that 'remote package can not be called '.
    can any one help me on this issue.

    Hi;
    What is your OS?
    Please check below which could be helpful for your issue
    Oracle E-Business Suite Java APIs for Forms Troubleshooting Guide, Release 12 [ID 966982.1]
    http://drupal.org/node/751826
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-dev-l/how-to-call-windows-apis-through-oracle-forms-developer-6i-1082381
    Regard
    Helios

  • How to connect to website through computer if i do not use internet through phon's sim

    how to connect to website through computer if i do not use internet through phon's sim

    Connect through wifi.
    Turn off Cellular data through settings __ General __ Network __ Cellular Data on/off

  • How to connect to Internet through a LAN

    Hi everybody !!!
    Please show me how to connect to Internet through a LAN (through another computer).
    On Windows XP system, i use the following informations to do that:
    + My IP: 192.168 .1.45
    +subnet mask: 255.255.255.0
    +default getway: 192.168.1.12 (IP of another machine)
    +Preferred DNS server: 85.255.192.2
    +Alternate DNS server: 195.131.52.130
    and in IE i use the proxy server: 192.168.1.12:8080
    Thanks alot !!!

    Just how is the one computer connecting to the internet? What type of connection does the office have, DSL, Cable or is it a Data connection through a Cell phone provider.
    I doubt all other computer are doing Ad-Hoc but are probably Sharing the Internet connection with Internet Connection Sharing from that one Windows base PC.
    All you khave to do is Connect to that same WiFi SSID name and have the correct password for it.

  • How we connect .db file through PI

    Hi everyone,
    Please guide how we connect .db file through PI

    Hi Ram - what do you mean by connect .db file? Do you want to process .db files? or want to connect to MS access database?
    Please elaborate.. 

  • Running a Unix Script through a Java Program

    Hi !!!!!!!!! Can anybody plz suggest me an approach for the following queries -
    1.  How to execute a unix script through a java program ?
      2.  How to send the o/p of the script to a java program so that it can be used .

    import java.io.*;
    public RunScript
       public static void main(String args[])
          try
              Process p = Runtime.getRuntime().exec("script.sh");
              BufferedReader input = new BufferedReader(new InputStreamReader(p.getInputStream()));     
              while ((line = input.readLine()) != null)
                 System.out.println(line);
              input.close();
          catch(Exception e)
              e.printStackTrace();

  • How to call SAP Webservice in standalone java program

    Hi,
    In our Java application, we want to use the SAP Webservices. I dont know much about authentication mechanism used by SAP. Can any one please help me with any sample code how to Call SAP webservice in Standalone Jave Program. I searched alot on the web regarding this, but helpless. Please help me.
    Thanks,
    Mohan

    Hi Mohan,
    You need an account for the ES Workplace. I'm afraid this is not free, e.g. check [SAP NetWeaver, Composition Subscription|https://www.sdn.sap.com/irj/sdn/subscriptions/composition].
    But I thought you wanted to play with a WSDL [you already had at hand|Sample code to access BAPI Web services from JAVA required;?

  • Is there any way to close an IE browser on XP through a Java Program

    Hi All,
    I am working on an application which has a web form with various feilds in it, on selecting the fields and clicking submit, the form will launch a WinRunner application in a remote machine and runs a test. For this I am using Tomcat webserver (V4.0.1). Now the problem I have is, when I submit the form, and WinRunner Launches on the remote machine (which has Operating System XP), should not already have any Browser windows open on it. So, to ensure that no browser windows are open, Initially in my Java Program I want to write a code which cleans up all the OPEN Browser windows on that machine.
    Can any one help me out in finding a way of closing the IE browser windows on a XP machine through a Java program. (There is a servlet in the Tomcat webserver which launches the application based on the browser request). Tomcat is installed on the machine where WinRunner will be launched, So my browser request goes to that machine directly.
    Thank you very much,
    Ramesh Babu M.V.

    You can call some program (via Runtime.exec) that kills all IEXPLORE.EXE processes (ugly but could work for you). For instance, there is a program called kill.exe that you can try getting somewhere. My version of KILL.EXE is really old and somewhat buggy (killed all IEXPLORE.EXE processes but one in my Windows 2003 machine), so try checking if there's some newer version anywhere.
    C:\>kill -?
    Microsoft (R) Windows NT (TM) Version 3.5 KILL
    Copyright (C) 1994-1998 Microsoft Corp. All rights reserved
    usage: KILL [options] <<pid> | <pattern>>*
               [options]:
                   -f     Force process kill
               <pid>
                  This is the process id for the task
                   to be killed.  Use TLIST to get a
                   valid pid
               <pattern>
                  The pattern can be a complete task
                  name or a regular expression pattern
                  to use as a match.  Kill matches the
                  supplied pattern against the task names
                  and the window titles.

  • Invoking gdb through a Java program as subprocess

    Hi,
    I try to invoke the gdb through a java program using Runtime.exec(...)
    as a Process, I also try to get the output of gdb using InputStream object, Is there any way to provide the options to gdb when it is started as Process & also tracing it's output.
    please help Me.

    Have a read of
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-
    traps.htmlwhat ? I'm not sure what you are referring to with your 'what?' BUT that reference should be read by anyone using Runtime.exec().
    >
    the unix command such as
    tail xxxxxxxxxxxxxxxxxx
    and write it to a shell script,and invoke it by
    java,any problems?I don't agree with this. There is no need for a shell script. This would just add to the complexity without adding any extra functionality.
    >
    but sabre150 has give a good solutionThank you.

  • Calling pl/sql api through multiple java threads

    Hi All,
    I need to call a pl/sql api from multiple java threads simultaneously and all thread will use same db connection.
    I want to know if all the threads will simultaneously call the pl/sql api then will the local variable inside pl/sql procedure be shared between them or they will get separate instances of variables.
    TIA

    You cannot make multiple parallel client calls over the same Oracle session handle. There is a single non-threaded/non-fibre serialised server process servicing client requests for that session. (physical process on Linux/Unix, thread in the oracle.exe process on Windows).
    Each thread on the client side, needs its very own Oracle session. Thus each thread will have a server process footprint on the server. Which could be problematic if 10 clients each starts 10 threads - as it means a 100 processes on the server are needed to service these client threads.
    Have a look at Overview of OCI Multithreaded Development in the Oracle® Call Interface Programmer's Guide for how to use the threading call interface of the OCI - as oppose to rolling your own where each thread manually needs to deal with is OCI session context.

  • How to Connect my N79 through Internet on Laptop?

    Hi Friends ,
    i am facing a problem while connecting my N79 through Internet on my laptop . i am using USB Modem for Internet Connectivity. And i want to share this Internet on my N79 through Wireless LAN . i am using Windows Vista . Please tell me how to Configure my WLAN on my laptop . so that i can use it to browse through my N79.
    Please Help Me Guys .....................!!!!!!

    Yes, it can be done.
    1) Enable "Internet Connection Sharing" on the laptop and share the connection that refers to your USB modem.
    2) Ask your ISP what the IP addresses of their nameservers are and make a note of them.
    3) Configure the laptop's wireless adapter in ad-hoc mode and assign it a static address on the wireless network.
    4) Configure the N79 in ad-hoc mode as well, and give it a static address on the wireless network. Enter manual settings telling it to use the IP address of the laptop as its default gateway and to use the IP addresses given to you by your ISP as its nameservers.
    With this, you can use the laptop as your phone's portal to the Internet, but only with your phone. This will only work with one device at a time. If you want to use more than one device at the same time you're better off buying a real wireless router to which you will be able to connect your laptop, your phone and any other wifi-aware device you might have.
    NB: I don't use Windows on my machines and therefore can't give any specific information about doing this. The advanced settings needed for the phone will be described in the manual.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

Maybe you are looking for

  • OSX 10.5.8 won't recognize Canon iP2702 printer

    I just used the installation disc that came with my Canon iP2702 printer to install it on my Macbook w/10.5.8.    Canon says that the printer is compatible with Leopard in all of its literature. I installed the driver that is on the disc, with the co

  • WD For ABAP : cl_wd_table  HELP?

    Hi:    I have a problem to solve about web dynpro for abap.    I create a table and the first column is a LINK_TO_BUTTON(Function LIKE BBS),if there are 6   rows  data ,when i click the link_to_button of 1 row in 6,I want to konw which row i have cli

  • How to add the BEX Favorites to Portal-urgent

    Hi all, My user would like to see his Portal favorites and as well as his BEX favorites in PORTAL. I have checked this Forum but I am not able to get any relevant documents. Please guide me how to do that. Thanks in advance. Regards, Sundar

  • How to continue to read Object from a file?

    At some program I write an object into a file. This program will be called again and again so that there are many objects which are saved to that file. And I write another program to read object from this file. I can read the first object but can not

  • Optimum screen resolutions

    A previous post earlier complained about the problems of high screen resolution on a 27 inch iMac.  I have a 22 inch iMac and would be interested in hearing from some of you concerning your experiences and what you have found to be the best all aroun