How can I create a simple chat function in a mobile app for iOS and Android

I am wondering how can I create a chat function in my mobile app creating in AIR and Flex. The chat should be similar to the one in WhatsApp.
Do you know some possible solutions?
Thank you in advance!

To enable chat messages, you need a server. The kind of server depends on the application. Do you want to create a chat like application like WhatsApp, where the server pushes messages without an active connection? Or do you have some sort of online game, where chat messages can only be transferred when the client is connected already?
I have an online game where clients are connected to a Java server at all time. From there it is pretty straight forward:
2 textfields:
- 1 line textfield for input messages
- multi-line textfield for chat history. Make sure the textfields autoscrolls to the bottom when the content changes
on enter or button push, send a socket message to the server.
the server broadcasts all messages to all clients that are subscribers of the chat group.

Similar Messages

  • TS2756 How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )

    How can i create a new usb connection (service)  on my iMac for sharing internet from my iPhone5 ( i seem have to deleted it )
    i know its not a problem whit my carrier o data plan or sharing preferences on the ipone because when i use it un my laptop it works perfectly through
    the usb and even works on the Imac through wifi and bluethood tethering but NOT through usb!!.
    the problem is that trying to make it work i deleted the "profile" usb iphone on the network prefereces panel. Now i only have 3 options: ethernet / wifi / bluetooth
    but not the usb iPhone i used to have.
    And when i try to add a new one i dont get a USB option.
    can some one help me please??
    this is how it looks (after the bluetooth PAN i used to have USB iPhone option)

    The question would be more appropriate in the Mac forums as it is not really related to the iPhone.

  • How can I create a Face Time account.  I have an Apple ID and password.  When I Google how to create an account all I get is what I need for the system

    I have a 13" MacPro.  How can I create a Face Time account.  I have an Apple ID and password.  When I Google how to create an account all I get is what I need for the system

    You don't need to create an account.   Your use your Apple ID to log into Facetime.
    If you haven't already you will need to download the Facetime App from the Mac App Store.
    https://itunes.apple.com/us/app/facetime/id414307850?mt=12&ls=1
    FaceTime for Mac: Troubleshooting FaceTime - Apple Support

  • How can a company sell a Times Capsule appliance as a solution for backup and die for this manufacturing fault? And with that Apple? nothing, or technical assistance. Of a sledgehammer, open the device and attempt to recover your files by force!???

    How can a company sell a Times Capsule appliance as a solution for backup and die for this manufacturing fault? And with that Apple? nothing, or technical assistance in Brasil. Of a sledgehammer, open the device and attempt to recover your files by force!???

    Heat up the bottom rubber mat with a hairdryer for 5-10 minutes to loosen the adhesive, then pull the rubber mat away from the bottom metal plate carefully.
    Then use a screwdriver to remove the 10-12 screws to open up the case.

  • What I need to create and publish a magazine for iOS and Android?

    Hi!
    I would like to know what I need to design, create and publish a magazine for iOS and Android. I would also like to know what products I need, what price would you pay and what process I have to follow to carry out this work.
    Thanks in advance!

    It is NOT possible to create a Single Edition app for Android. Single Edition apps work only on the iPad.
    You can create Single Edition apps using any account—CC, Pro, or Enterprise—and if you cancel your DPS subscription, these Single Edition (or single-folio) apps are still available in the App Store as long as you maintain your iOS account with Apple.
    For multi-folio apps, the app container is downloaded from an app store, but the folios are downloaded from the Adobe Distribution Service. If you cancel your DPS subscription, the Adobe Distribution Service basically shuts down for that app. New users can still download your apps from an app store, but the library will be empty. Existing users can still view the folios they've downloaded, but they can't get any updates or new folios.

  • How can i create a simple netweaver portal page that shows text and images?

    Hi,
    i have a simple question or maybe it's not so simple.
    I am completly new to SAP Netweaver 2004s Portal. At the moment i'm trying to understand the struture of the whole thing. I already know how to create roles, worksets and pages and i know how to combine the different elements so a user can acces them.
    And now i want to create a simple portal page that shows text and images. Is it possible to create such a simple page with the portal content studio? What iView do i have to use?
    (I just want to create a start page with a welcome text on it.)

    Marc
    Considering that you would any ways go ahead with complex development from this simple start page I recommend create a Web dynpro Iview for your start page (include the Iview in your page).
    For putting the contents use Netweaver Developer studio to build a simple start page application and put your static text on that Iview.
    Please go through the following log after your NWDS development is over - This will make you comfortable for further challenging work.
    http://help.sap.com/saphelp_erp2005/helpdata/en/b7/ca934257a5c96ae10000000a155106/frameset.htm
    Do reward points if this helps and let me know of you want anything more.

  • How can I create a simple app that will automatically add folder script

    Hi! I hope I can get a little help on this.  I tried searching online and haven't found anything.
    Is there away I can make a simple "application" that will automatically add a folder script to a users folder?
    Basically I need a folder script to run but I don't want to explaint o a user how they'd have to do it in automator.
    I'd like to be able to create an application they double click.  The app tells them to select a folder then automatically runs the script.
    Does anyone have any ideas of how'd I'd do this?

    Oh I get it. Yeah I read you post on one of the other pages and didn't quite understand, but not that you say that your're makeing this for another user, it makes sence.
    So what you want to do is have the computer automatically install a script on a customer's computer, right?
    (I'm using "custumer" loosly; i.e. just another user)
    If that's what you'd like to do, then you'll probably have to write an actual program in Xcode, since I imagine automiticlly installing folder action scrips will be highly discuraged by Apple because it would cause a huge security hole in the OS. (You wouldn't want some random person sending you a folder action installer disgused as a regular app LOL.)
    But I will actually suggest the following, which I think will work great for your users:
    Make a regular Automator app, and drag it to your Dock. Now, have the user click and drag a bunch of photos to the application icon, and it will run the app automatically on those files.
    You could try a work flow like this:
    ask the user Are you sure?
    convert pictures
    save pictures to ConvertedPics folder
    pop up a confirmation message saying that everything was resized
    Hope this helps

  • How can i create a simple workflow

    hello every body,
    i would like to add a workflow in my web portal maked with jdeveloper webcenter and i don't know how can i do it.
    has jdeveloper a workflow application? i need a portlet? i have to create it? i must use oracle workflow builder?
    Somebody knows some tutorial on the web to start step by step in this?
    thankyou very much

    Hi Kuya,
    Why not using Alert management if you are in SRM 5.0 :
    Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Event and Event Schema for Alert Management ->....
    You should have a look here, you may be able to define event for document status.
    For more information on Alert Management, see the SAP Library (SAP R/3 Enterprise, Release 4.70)
    under:
    SAP-NetWeaver Components ->SAP Web Application Server -> Basis Services / Communication
    Interface -> Business Workplace and Services -> Alert Management
    Hope this helps,
    Kind regards,
    Yann

  • How can you create a simple insert or update trigger

    I am trying to create a simple insert or update trigger to timestamp an xml document when I load it into my XML DB repository but I always get an error trying to compile the trigger.
    "ORA-25003: cannot change NEW values for this column type in trigger"
    Here is my PL/SQL:
    CREATE OR REPLACE TRIGGER "PLCSYSADM"."PLCSYSLOG_TIMESTAMP"
    BEFORE
    INSERT
    OR UPDATE ON "PLCSYSADM"."PLCSYSLOG"
    FOR EACH ROW BEGIN
    :new.sys_nc_rowinfo$ := xmltype('<datestamp>' || SYSDATE || '</datestamp>');
    END;
    Does anyone have an example that works ?
    Thanks in advance
    Niels Montanana

    http://developer.apple.com/referencelibrary/HardwareDrivers/idxUSB-date.html

  • How can I create an "exit" pop up in Flex Mobile?

    Ok, I'm creating an app that has an "exit" button in all views, and when that button is clicked the only thing that I do is use "navigator.popToFirstView()", this works perfect, but I don't want people to exit right away, I want to have a pop up that asks if you are sure you want to exit, below is the code that I have for the skinnable pop up container:
    <fx:Script>
                             <![CDATA[
                                                 import mx.events.FlexEvent;
                      protected function yesExit(event:MouseEvent):void
                                                                this.close();
                                  ]]>
              </fx:Script>
              <s:VGroup>
                             <s:Label text="Are you sure you want to exit?" width="100%"  />
                             <s:HGroup width="100%" horizontalAlign="center" >
                                            <s:Button label="Yes" click="yesExit(event)" width="40%"  />
                                            <s:Button label="No" click="this.close()" width="40%"  />
                             </s:HGroup>
              </s:VGroup>
    I tried using something like "parent.poptofirstview" but that doesn't work, and right now I'm stuck. Any help would be appreciated. thanks!

    You need to add an event listener for PopUpEvent.CLOSE on whatever view is creating the pop up.  Then in the handler for that listener, you can do a navigator.popToFirstView()  You'll also have to pass some type of data along with the close event so that you'll know whether the window was closed because "yes" was selected or "no".

  • SAP RM: How can I create a Node when the node is not visible for the user

    Hi,
    Product: SAP records Management for Public Sector
    Version: 7.00
    is it possible to create a instance node when the model not is not visible for the active user?
    I looked in the CL_SRM_XML_REC_MODEL but every methode I used gave me no results with the special user.
    Regards and thanks for every beginning
    Fanninger Thomas

    Hi,
    here an example.
    When I use the method CL_SRM_XML_REC_INSTANCE->IF_SRM_XML_POID~GET_ALL( POID_TAB COUNT_USER_REST COUNT_POID_AUTH ).
    When I used the user with no right for viewing the invisible nodes I get no elements in the tabelle POID_TAB and 38 in the value COUNT_USER_REST.
    So did any one know a solution you can I create a nodes and change the restriction for the new node with the normal user?
    Regards
    Fanninger Thomas
    Edited by: Thomas Fanninger on Feb 5, 2008 8:15 AM

  • How can I change the time of photos in info in iPhoto for iOS. I've done it in iPhoto for Mac but when I sync to my ipad the info field goes back to the camera time ignoring "modify original files" in iPhoto for Mac?

    I used "adjust date and time" and"modify original files" to correct the time of photos taken on a camera used in Peru which was set to UK rather than local time. which is 6 hours  behind. This was to bring them into line with shots taken with other cameras set to local time. This was using iphoto 08 on a Mac. I then synced to my iPad. The photos stayed in the correct order in photos but in iphoto (iOS version) the original dates appear (the camera dates) and so the photos are out of chronological order again. This looks like a bug but is there a fix?

    don't know what you mean by "write to master" but speculate that it means modify the original times, in which case the taken times on the camera should no longer be present
    No,I meant your using the option "modify original files" will do exactly that - change the capture date original master files stored in the iPhoto library. Only when you do that, the "date modified" of your original files will be changed as well, and it will now be the date of your manipulation of the capture date.
    Oh - I hadnt considered that possibility - but of that were the case, why don't my manipulated photos go to the end of the sequence as I have done all the manipulation after the end of the holiday??
    In photos the synced album maintains the chronological order which I set up on the mac by modifying the originals, as you said,
    That is what the linked article is describing: "some apps may sort your photos in the order you specify in the app (such as iPhoto or Aperture"
    The problem I have is that, in the album, iphoto (ipad) sorts them differently to both iphoto (Mac) and the photos tab on the ipad
    In addition to albums and events, synced photos appear in a unified category called Photo Library (on iPad, this is the Photos tab). Photos are not duplicated. This category will also sort photos in ascending order by the date modified.
    "on ipad this is the Photos tab" - but this displays as per the original sequence ignoring time adjustments - the manipulations seem to be ignored (but are reflected in the album in the photos tab) and the photos tahat have been modified stay in their original positiom - they don't get put the end
    Because the library uses a different date - the date modified - the date of the last time the file has been changed in any way - any editing you do to your image, including adjust date and time will change the "date modified"
    This may change the sorting of the database but it appears not to influence the order in the albums
    In addition to albums and events, synced photos appear in a unified category called Photo Library (on iPad, this is the Photos tab). Photos are not duplicated. This category will also sort photos in ascending order by the date modified.
    So how can i get my photos in date and time order in an album in iphoto for ipad?
    Thanks for your help

  • My wife collected my online ordered iphone 6 when i was away and she entered a wrong email address as the Apple ID .How can i change it now since the IClould pops up asking for password and i can't provide it so could not even delet it .Helps !

    A wrong email address was entered at the setting up of the new iphone 6 and how can I change it ?

    The problem is she entered an email address she thought might be mine ,but actually used by someone else .She said no password was set up .My understanding is an email must have been sent to that address and he or she can set up the password and download .And now I set up an new ID under the ICloud but still the wrong email address still appear as a default one .I tried to delete the set up but I was asked for the password which we don't have .
    Any good idea ?

  • How do you create forms in numbers the same as in numbers for ios

    I have a Macbook Running Maveriks 10.92 and Ipad running IOS7. I have numbers on both machines. On the Ipad there is a function that allows you to add a form to enter data from a sheet using Popups.
    I can not find this function on the Macbook Pro.
    All versions are the latest.

    Numbers for iOS supports forms.
    Numbers for OS X does not support forms (yet).
    Make a request for this feature using the Provide Numbers Feedback item in the Numbers menu.
    Regards,
    Barry

  • How can I get rid of this number even though all apps are updated and installed?

    Weird problem - How can I get rid of this number on top right even though all apps have been updated and installed?

    stamatgeorge wrote:
    Weird problem - How can I get rid of this number on top right even though all apps have been updated and installed?
    That doesn't mean that you have updates.
    Not sure how that app works, - normally means you have a notification for that app - what happen when you go into the app?
    If you had update it would be a red number for the app store icon

Maybe you are looking for

  • SSO SDK Java Sample Application

    I have configured the sample application (servlet-based), shown in SSO SDK Developer guide. I followed all the steps very carefully. When I try to access the partner application, it redirect me to the login form of the Login Server, and then loop bet

  • Rendering fails, but no error message is provided.

    Hello, I'm encountering a very strange behavior of Swing. I have an application (all used components are Swing) using Java3D (but I don't think that would cause my problems). The GUI renders fine most of time, but sometimes (almost randomly) some JPa

  • Why will my brand new iPod touch allow me to purchase songs but not download them?

    Can someone tell me why my new iPod touch is allowing me to buy songs but not downloading the songs currently being purchased?  The new songs actually show up on my iPad but not my iPod which is the device they were purchased on.

  • Can i use DVD recorder SD-R6572M with my Satellite A80-117?

    Hi, Can anyone let me know if i can replace the existing DVD drive on my Satellite A80-117 with a SD-R6572M. Basically I"m looking for any information ragarding the compatibilty, before i buy the drive. Any pointers are appreciated. Regards,

  • Add custom message/email alert sounds (not ringtones)

    Hi, Does anyone know how to add custom sounds so that they can be used as message alerts? I can add ringtones without any problems but cannot seem to access sounds stored in 'My Ringtones' so that they can be used with alerts. Many thanks Post relate