Help needed to develop MESSENGER

Hi,
I would like to develope an Instant Messenger with Flash 8.
I have linux installed on my SERVER with php, mysql and
amfphp and all are working fine.
I have also designed the database required, but I do have a
problem. Can anybody tell me the concept of messenger chating
window....?? I mean to say how it is possible to send messages to
the end user who is online in my list....?? What should I do to
detect the window opened at his end and populate that msg. window
with my message...??
If anybody can help me out to understand the concept. Whether
I should use the client's login session ID or the opened window to
send the message or what...??
Help for this topic will be highly appreciated.
Thanks and regards,
Shrijal.

There are 2 ways to do a chat: have the server transmit the
messages to the users or let the client ask the server for new
messages. I'd recommend the first one, it's faster and also easier.
For that, you'll need a socket connection clientside
(XMLSocket) and a server process serverside. Now this is where the
trouble begins, most web hosters don't allow you to start services
on their servers. But as you mentioned you have your own server,
this shouldn't be a problem. Pick a language of your choice or
maybe use php to write the server, and let it manage the open
connections, so when a new messages arrives, it can broadcast it to
all other connections.
If you won't or can't do it this way, your clients have to
pull for the messages, meaning they have to ask the server in some
interval for new messages, and load them if available. You can't
actively send the messages to some user, they all have to get them
by themselves. There's a tutorial on that way here:
http://www.sephiroth.it/tutorials/flashPHP/flash_chat/.
cheers,
blemmo

Similar Messages

  • Help needed to Develop VoIp Soft phone through PAP2T

    Hi Forum,
       I need help to develop a soft phone with the help of JTAPI along with PAP2T Adapter on Broadband Connection.
    I'm not getting any single solution on how to develop VoIP software.
    I'm ready to change technology from java to other but I want help/suggestion on it So that I can just make or receive call on phone.
    please help me out..
    thanking you,
    Bhatt

    Hello All,
    Thanks for all your help. I solved the problem using the following code:
    DATA: ls_var_range TYPE  RRRANGEEXIT.
    DATA: ls_out_range TYPE  RRRANGESID.
    DATA: lt_out_range TYPE  Rsdd_T_RANGE.
    DATA: lv_year      TYPE  /BI0/OIFISCYEAR.
    DATA: lv_month     TYPE  /BI0/OICALMONTH.
    DATA: lv_fper      TYPE  /BI0/OIFISCPER.
    CASE I_VNAM.
    WHEN 'Z0FISCPER_YTD'.
        READ TABLE I_T_VAR_RANGE INTO ls_var_range
        WITH KEY VNAM = '0P_FPER'.
        IF SY-SUBRC = 0.
          lv_year = ls_var_range-low+0(4).
          CONCATENATE lv_year '001' INTO lv_fper.
          ls_out_range-low = lv_fper.
          APPEND ls_out_range TO lt_out_range.
          E_T_RANGE = lt_out_range.
        ENDIF.

  • Help needed In developing project in Java

    Hi guys I am Developing a project in Java.
    This program test processor performance.
    Of system.
    Please tell me which packages to use and what will be basic logic required.
    basically Test, counter, and help will be used I think.

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

  • Help Needed in developing simple Chatting application using flex and blazeds

    Hi,
    I followed this tutorial from adobe http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+messaging+application+in+Flex+ Builder i installed tomcat server and set the path.I am unable to open server like this http://localhost:8080 but i can able to open that in this way http://127.0.0.1:8080/   .... When i create my new flex project in flash builder 4 i am getting this error
    You do not have write permission for the project output folder. Specify another location.
    can any one help me in how to get rid of this problem.I hope this forum helps me in finishing my flex project..
    Thanks
    Trinethra

    Hi,
    Need to use a scrollable resultset and depending on the need to have a stateful connection or a stateless connection you may need to query the table for every request(for stateless connection) and use the same result set for(stateful connection). and depending on the no of records in a page and the page no do some simple arithmetic and move the resultset. Hope this helps.
    rajesh

  • Urgent Help Needed in Developing Pagewise Navigation System

    I have 500 records in the sql server 2000 then i query and retrieve them in a resultsets. and then i want to display 10 records per page having the facility to navigate to the Previous and Next Record also going to first and the last record.
    like we are using when we navigate from this forum
    FIRST PREVIOUS 1 2 3 4 5 6 7 8 9 10 NEXT LAST
    secondly if their is a possiblity their should be a search page to to specific page like this
    Go To this Page (Textfield)
    third thing when i am on first record the it shouldnt show PREVIOUS button and when it is in the last it should not show NEXT.
    this thing should be done by Using JSP , Servelets and Beans...
    and no Tag liabraries. i need pure and simple coding.

    Hi,
    Need to use a scrollable resultset and depending on the need to have a stateful connection or a stateless connection you may need to query the table for every request(for stateless connection) and use the same result set for(stateful connection). and depending on the no of records in a page and the page no do some simple arithmetic and move the resultset. Hope this helps.
    rajesh

  • Help needed in developing web map service for mobile devices

    please can any one help me(with source code if possible) for developing the web map service client for mobile devices in J2ME.

    There are a couple of ways you could do this. Bluetooth communication is available on a few J2ME devices, so you could do it through that. Or you could set up a servlet on the J2SE app end and send the data over the internet (check out HttpConnection). I'm not sure of any other quick and easy methods.

  • Help needed 4 developing an application

    Hello ppl ,
    i am new to this community but have developed some apps in J2ME.Recently i got an idea of developing an application by which i can connect my mobile device to the computer(pc) using bluetooth.And i can control my pc with the mobile device and actually see the whole GUI of the pc on my mobile device.so that i dont need to sit on the pc again & again.
    I have heard that there are softwares that are used by administrators for viewing the desktop of their hosts and also control to them through lan,so i want to develop the same thing for the mobile also.
    Can anyone tell me if this is possible or not on J2ME platform.i know its very restricted but if this is possible then what platform should u think i should go for.
    And also tell me how to setup a lan using bluetooth b/w my pc & mobile device.Like what APIs r there for doing so and what books/tutorials i should refer 2.
    Thanks
    (Need sincere replys )

    This is not the best place for open ended questions like this.
    Try looking at how OSS versions do this (argouml for example).

  • Help needed in developing midlet to communicate with pc application

    hi , i am trying to develop a j2me application for mobile phone and a j2se application for pc
    the midlet can send messages to my pc application, upon recieve the message, the pc application will read the message and store it into a database. any1 have any idea, samples or reference to see how to do this? thanks many

    There are a couple of ways you could do this. Bluetooth communication is available on a few J2ME devices, so you could do it through that. Or you could set up a servlet on the J2SE app end and send the data over the internet (check out HttpConnection). I'm not sure of any other quick and easy methods.

  • Help needed in developing a community

    Hi guys,
    I wanted to develop a community having blog,forum and mailing list, these products are develop and there source is availabe, Is there any open source product which combine all these features.
    thanks
    waqas

    Note: This thread was originally posted in the [Java Programming|http://forums.sun.com/forum.jspa?forumID=31] forum, but moved to this forum for closer topic alignment.

  • Help needed - app developed with 3.6, yet will not load - asking for 3.2 swz

    Hi
    I'm developing a flex 3 application
    I recently uploaded an update to a test environment and bumped into a strage behaviour
    the project started a while back and went through a number of versions of the sdk, namely 3.2, 3.5, 3.6
    the project is clearly set for 3.6 now and I made sure both the framework swf & swz were uploaded to the same location of the index html page and the application swf.
    for some wierd reason, when I test it on other computers, it displays the built in preloader, but fail to load the application,
    this is because during the preloading phase the framework is not yet loaded and initialized.
    when I checked the network monitor, it showd me a call to the 3.2 version of the flex framework, that could not be loaded
    I've made sure again - a - that my project uses 3.6 sdk, and b - that all versions of the framework (3.2, 3.5, 3.6) are up on the server.
    any Ideas on where I can go from here?
    it would be really appreciated
    cheers
    Yariv

    Hi and thank you for your comment
    I've made sure all sdk's and dependencies in the project lead to the right location on the hard drive where the 3.6 SDK is located
    it did not change anything
    when I test it on other computers and check the network monitor
    it still asks for 3.2 swz for an unknown reason
    the thing is, even when I've uploaded 3.2 swz & swf to the server
    the call for them is still returning a 404 not found...
    this is really fastrating
    any other ideas please?
    thanks
    Yariv

  • Need to develop this report plezzzz help

    the requirement says
    When a user submits an ID they have to choose who sold the product from the sold by field.This has to be chosen correctly otherwise there will be issues in sales and commission process.I need to develop a report to detect immediately when an Id is created which seems to be suspect.A suspect ID is one in which a salesperson was chosen on a customer who is not assigned to that sales person territory
    for example: if danny is in Kathy territory is assigned to a customer in Texas which is Larry territory.
    any suggestions will be helpful for me...
    Edited by: user13001889 on Jun 6, 2011 4:43 PM
    Edited by: user13001889 on Jun 6, 2011 4:44 PM

    You ask for help, yet all you give is conceptual data. How do you expect help on writing the report?
    Q) What defines "territory"? Is it a flag? Zip code? City?
    Here is an answer based on a lot of assumptions:
    I would have to assume that territory is defined by something like city, state, or zip code. If so, you could start with this:
    When a customer submits an ID, along with who he/she selects as a salesperson -- I assume this is a drop down box to eliminate multiple entries of the same person due to variations in spelling -- thep person's address, city, state and zip are included as well. Let's assume that territory is defined by zip code. With the salesperson's name and the zip of the customer captured, you have the basis for comparison.
    Based on the table of all your salespeople and their territory (zip code in my assumption), you can create a report that contains a concatenated field of salesperson||zip code. This will produce a report with all possible combinations of salesperson and territory. This report will be your sub-query.
    Now you have your main query based on the customer activity table and you create a concatenated field of salesperson (chosen-by-customer)||zip code (of the customer). You will put a filter on this concatenated column and have it based on the results of another request (your sub-query) with the operand "not equal to/not in."
    If any record in the main query does not match an entry from the sub-query, that record will display. It will be a report that contains customers who chose a sales person who doesn't have that territory.
    That's how you build your report.

  • Need to develop a help system

    I need to develop a help system for a Client-Server Oracle Form Application.
    Can any one suggest any good packages to develop Help system?
    Does any one tried Oracle Help for Java (OHJ)?
    Please let me know your recommendations and opinions, thanks.
    null

    Two methods.
    One generate a HTML file and use the Web.Show_Document to display the help file.
    Two use shareware like 'Help Workshop' which can be found at www.cnet.com.
    Good Luck

  • Need help with interface development

    Hi i need help with requirement below with developing interface between or online order system and sap plz lemme know what is bapi i use for creating customer, update and assigining partner id to costumer.
    SAP Development
    1.     Using standards SAP functional module (with BAPI), create interface that will create/change Ordering party customer in SAP. Following fields are mandatory for customer creation:
    •     MANDT     Client
    •     VKORG     Sales organization
    •     VTWEG     Distribution Channel
    •     SPART     Division
    •     KDGRP     Customer Group (= “ZORP)
    •     KUNNR     Customer number
    •     NAME1     Name 1
    •     NAME 2     Name 2 (if required)
    •     SORTL     Search term (short description)
    •     ZZALTKN     Search term 2 (old customer number)
    •     LAND1     Country
    •     ORT01     City
    •     PSTLZ      Zip Code
    •     REGIO      Region (state in USA)
    •     STRAS     Street
    •     TELF1     Primary telephone number
    •     TELFX     Primary Fax number
    •     ZZPRPLANS     Payment Plan
    •     CCINS     Payment card: Card type
    •     CCNUM     Payment cards: Card number
    •     CCDEF     Payment Card: Default Card Indicator
    •     ZBDGID     Customer Budget ID
    •     ZHOLD     Budget Hold indicator
    •     ZZCOSTCENT     Cost Center
    2.     Upon successful customer creation system will issues “S” (success) message that customer has been created.
    3.     New ordering party customer created in step ½, will have to be assigned as new partner to its belonging Sold-to/Ship-to customer. Use standard SAP customer functional module in order to perform this partner ID assignment. Partner ID for ordering party should be “ZO”.
    1.7     Enhancement Functionality
    Apart from creating a new interface to do the required functionality, the Order Create Interface also has to be changed to accommodate a field to pass the Ordering Party Number on the Order. The technicalities of how we are going to implement the interface will be laid out in the Tech Specs.
    Thanks
    in advance

    You have double posted, please mark this one as "solved on my own" and refer to this thread
    need help with interface development
    Regards,
    Rich Heilman

  • Need help re installing blackberry messenger. i have spo...

    need help re installing blackberry messenger. i have spoken to my network provider and they could not help and therefore refer me to you.

    Okay, so, fast forward from July to now -
    - I've visited my closest Apple store's genius bar twice now. (Over an hour and a half away.)
    - My computer spent at least 8 hours behind their closed doors in the workshop
    - Several complete erases of the harddrive have taken place
    - Most of the Apple geniuses I dealt with were nice and very knowledgeable, but they were and still aren't 100% sure exactly what is wrong with my computer.
    The good news is:
    - They were able to at least get it running again, with a clean install from their servers of OS X Lion 10.7.5
    - They believe that my problems stem from either 1 of 2 things:
            - Faulty Hard Drive (even though it is brand new)
             - The wrong build of software being installed.
    Now, while the wrong build does seem like it could be the problem, it doesn't make sense in the aspect that all of the initial problems began when the first hard drive failed. The same problems continued when I changed out the failed hard drive with the brand spanking new one, and only slightly improved when I was able to successfully install the OS that came with the original disks for my computer. I'm not convinced this thing is back to normal, but hopefully I can make it last through getting a shiny new retina Macbook Pro in the coming future. Thank you so much to everyone who read and replied to this post!
    - Andrew =)

  • Help needed for implementing master details region on the search page

    Hi All,
         I am new to Jdeveloper and OAF. I need to develop a sales order search page, for which the VO query is
         SELECT ch.order_number order_number
         , ch.attribute97 order_detail
         , ch.attribute14 sold_to
         , ch.attribute50 business_group
         , ch.source_doc_type source_doc_type
         , ch.line_number line_number
         , ch.transaction_amount transaction_amount
         , ch.split_pct||'%' split_percentage
         , jrs.NAME resource_name
         , jrr.resource_number resource_number
         , ch.processed_date processed_date
         , cq.NAME quota_name
         , ch.attribute34 transaction_type
         , ch.attribute35 order_type
         , ch.attribute51 product_line
         , ch.attribute54 city
         , ch.attribute55 state
         , ch.attribute56 district
         , ch.attribute57 area
         , ch.attribute61 salesrep_number
         , ch.attribute62 region
         , ch.attribute64 sales_org
         , ch.attribute68 terr_order_type
         , ch.attribute58 market_indicator
         FROM cn_commission_lines_all cl
         , cn_commission_headers_all ch
         , cn_quotas_all cq
         , jtf_rs_salesreps jrs
         , jtf_rs_resource_extns jrr
         WHERE cl.direct_salesrep_id = cl.credited_salesrep_id
         AND cl.commission_header_id = ch.commission_header_id
         AND cl.quota_id = cq.quota_id
         AND ch.direct_salesrep_id = jrs.salesrep_id
         AND jrr.resource_id = jrs.resource_id
         AND (NVL(ch.source_doc_type,'X') = 'EVEREST' OR NVL(ch.source_doc_type,'X') = 'SAP')
    AND (NVL(ch.attribute50,'X') = 'EMG' OR NVL(ch.attribute50,'X') = 'LSCA')
    I have 3 query parameters business_group, source_doc_type and sales order number.
    The results region should look like,
    Header region with order_number,order_detail,sold_to,business_group and the source_doc_type columns.
    The remaining fields go into the details region.
    Highly appreciate if anyone could help me on this.
    Regards,

    Hi,
    When I have a messagestyle layout for my header, I am not able to find the items in this region for the querycriteriamap. I need to populate the header region with values entered in the search region.
    For example: I create the OrderNumber messagestyledtext item in the messagecomponent layout of the header region. In simplesearchmappings, for the querycriteriamap, I am not able to find this item in the drop down for Results Item property.
    Please help me to understand.
    Regards,

Maybe you are looking for