Closed

Need In-App chat Feature for an Android based mobile application

Chat feature is needed for an existing android mobile application. A new menu item called "Chat" is needed. Selecting this menu item should take the user into the Chat page. A new chat conversation should be initiated if there is no chat history. If a conversation has already been initiated, the user should be shown the last 2 day's chat history.

If there is no chat history, the app should call a url (Server url).

The values to be posted to this url should be 1. the android user id (to be identified based on how the existing app identifies the user) and 2. the chat text. In the case where there is no chat history, an empty string must be sent as chat text. If there is a chat history, the user is expected to reply to the last message sent by the server. This user reply should be the chat text that is sent to the server.

A conversation is considered new, if the JSON object posted as response from server url has a field “CHAT-STATE” set to “NEW”.

Here are some sample JSON object responses,

{“CHAT-STATE”:”NEW”, “CHAT-TEXT”:””, “QUICK-REPLIES”: [], “businessName”:”XYZ Computing Corp.”}

{“CHAT-STATE”:”OLD”, “CHAT-TEXT”:”Do you like roses?”, “QUICK-REPLIES”: [{“replyText”:”YES”},{“replyText”:”NO”}], “businessName”:”XYZ Computing Corp.”, “FIELD”:”VALUE”}

{“CHAT-STATE”:”COMPLETE”, “CHAT-TEXT”:”Thanks for chatting with us.”, “QUICK-REPLIES”: [], “FIELD”:”VALUE”}

The first response to the user should be a welcome message. The message should be "Welcome to {Business name}".

If the mobile device has data connectivity, then the Business name will be provided by the server as part of a JSON object returned by the server url.

{“CHAT-STATE”:”NEW”, “CHAT-TEXT”:””, “QUICK-REPLIES”: [], “businessName”:”XYZ Computing Corp.”}

If there is no internet data connectivity detected in the device, the Business name should be fetched from an excel file pre-stored in the device.

The place holder {Business name} should be dynamically populated from an excel sheet. The excel sheet will have the Business Name populated in cell B11 in the first sheet.

This excel sheet is available in a particular url which will be provided to the developer. The application should be able to download the excel sheet from this url at a particular time and frequency (say for example 9 AM GMT, every Wednesday).

The welcome message should be followed by a few options for the user to choose [url removed, login to view] options should look like Facebook Messenger's quick reply bubbles that are horizontally scrollable. Each option bubble is of 20 characters maximum length. The maximum number of option bubbles will be 10.

When user selects an option bubble, the text displayed in the option bubble and the user's identification (from the existing android app) should be posted to the server (the url for this server will be provided to the CodeGravity developer).

The server will provide a reply text in JSON format. The JSON object will also have the data for Quick Reply option bubbles, under the JSON Array named “QUICK-REPLIES”

In summary, the features are listed below:

1. In-App chat page

2. Data connectivity based switch to decide the Business Name in the welcome message text.

3. Synchronization of locally stored excel sheet with server version based on a pre-defined time and frequency.

4. Reading the excel sheet to use the content to frame the message text

Skills: Freelance

See more: android based mobile tracking, how to get free in app purchases on android, app chat fake android, app chat iphone android, app chat symbian android, java based mobile application, flash based mobile application, android ecg mobile application, gps based mobile application, php based mobile application, delhi based mobile application, code xml based mobile application, sip android based mobile devices, open source stream media player application android based mobile phone, j2me based mobile application development freelancer

About the Employer:
( 0 reviews ) India

Project ID: #15573635

2 freelancers are bidding on average $778 for this job

Designbackoffice

We do Add chat feature in your existing App ASAP~ OUR PORTFOLIO [url removed, login to view] Relevant Skills and Experience I would love to discuss your project over chat. Sincerely Regards David Proposed Milestones $100 More

$1000 USD in 1 day
(0 Reviews)
0.0
Naazsoftware

Dear Sir, After reading the job description I am confident that I would be a perfect fit for this position as my experience and abilities precisely match your requirements. Warm Regards Zeba Relevant Skills and Exp More

$555 USD in 10 days
(0 Reviews)
0.0