Customising Mesibo Chat bubbles - android

We are using Mesibo for our live customer support. We have used their sample code from the GitHub.
So far it is working flawlessly for messaging and calls. We are able to customise colours, icons etc except their chat bubbles. Their chat bubbles needs some refinement so we want to replace them with our own for incoming and outgoing messages. However the documentation or sample code does not speak much about it.
Any help will be appreciated

It is best to subclass MesiboMessagingFragment and use it instead of launching default user interface. That way you can customize virtually every aspect of mesibo UI.
Subclass MesiboMessagingFragment
implement MesiboRecycleViewHolder.Listener which is a wrapper around Android RecycleView functions.
Render and return your view in Mesibo_onBindViewHolder()
Hope it helps! If requires, I can get you a sample code.

Related

Message view in android

I'm implementing an app including a feedback activity. In iOS, I use jsqmessageviewcontroller. I have searched online but failed to find a similar library in android Is there any library of displaying text messages? Like the jsqmessageviewcontroller in iOS.
As far as I know, there is no out-of-the-box solution. You will need to implement it on your own. If you look at the tutorial here: http://adilsoomro.blogspot.in/2012/12/android-listview-with-speech-bubble.html , you will get the full source code for something similar to your iOS counterpart.
In short, you need a ListView with a custom views and 9patch (fancy name for PNG) to make the speech bubbles.
Have a look at http://androidlibs.org/ to find more libraries, if you need.
Update:
https://github.com/tuenti/SmsRadar/ :
Read incoming and outgoing text messages using an Android application
across different Android SDK versions it's not trivial. If yo don't
want to appear as SMS application and your application has to read
incoming and outgoing SMSs this is your library.

android turn-based multiplayer custom invite screen

I am trying to create a custom UI screen for the "player picker UI" that comes with google play services for turn based multiplayer. The default one can be seen here:
https://developers.google.com/games/services/android/realtimeMultiplayer?hl=fr-CH#invite_players_option
That page(which is real time I know) mentions how to use the default UI and that a custom UI can be used, but does not mention the actual methods to customize the look. I'm not a fan of the huge icons, and would rather a simple list. I have been trying to research this out for a few days, and have found nothing.
I am looking for any help on which methods I need to call in order to customize. Is it done in the onActivityResult method? Has anyone had any luck doing something similar?
Thank you
It means that you can create your own UI from scratch, and interact with Google Play Services using the provided API. They do not provide a way to customize the look of the player selection UI that google provides.

Chat application using socket.io

I want to make chat application using socket.IO. I have a number of group user list(users in groups) that comes from server while parsing. but now i am going to chat against all these users. Means when i send message, all the group users received message.
But first thing i found the library. with example but in the example no clear UI just API classes
in https://github.com/Gottox/socket.io-java-client that not clear to me.
From above API I copied classes examples/chat/Chat.java, ChatCallback.java, ChatCallbackAdapter.java also import socket.jar from google not from above ApI, because in the above API it tell us to copy scr/io/socket, Its same things. if i am not right. "socket.jar and scr/io/socket"
Now i have totally four classes above three and one is layout class, I named it MainActivity.java
And now i want that typyes of UI messaging. like in below screen shot.
Please anyone help me use this API and also above classes and implement proper messaging like in below image showing. i have my own server URL i will replace it later but now help me in code form that how to use these API classes with layout class.
Thanks
Using Socket.io is good start, but it's gonna be a lots of work to build a comprehensive chat app. If you want to skip the pain building everything from scratch, you can refer to Hyphenate SDKs (iOS, Android, and Web), which is real time communication with proprietary protocol over socket.
Hyphenate supports both Mobile and Web SDK with rich features and very reliable services. It also provides open source UI components so you don't need to build everything from scratch.
https://docs.hyphenate.io
https://github.com/HyphenateInc

Is it possible to extend the standard UI

Is it possible to extend the standard call/message UI which is provided by native android. Is it possible to add an extra tab/scrollable item to the dial pad and messaging screen?
Thanks in advance for the replies !
You can't "extend" the existing apps, but you can create your own call/message UI.
The call log has an official API that you can use to create your own call log (and you can check out Android's sources to get some code or reference).
The messaging currently isn't supported by an official API, by you can still access and use it, just check out the relevant Android sources to get an idea about how to query for messages.

how to create full functionality of calendar in android?

it seems android calendar api is not available. can you please give me some tips and tricks for creating a similar thing.just like creating events,meeting, birthday etc.. and also notification when the event occurs. and also layout should be similar to-our in-built calendar give me some ideas or hint about look and logic?
To send notifications, read creating status bar notifications.
To create layouts, read declaring layout, common layout objects, and hello GridView. There is an equivalent introductory tutorial for each layout type.
You can access the Calendar events through the Data API. However, the Android specific calendar APIs are not part of the public Android SDK. Thus, you could access them, but it is highly recommended that you do not since they are likely to change in future versions of the os.

Categories

Resources