I have an android app that lets people create events. So when a registered member logs into the app, I want him/her to give the ability of commenting.
I do not want to integrate facebook commenting, because my app has a member registration/login system. So I want only the ones registered on my app to be able to add comments. I want to then send these comments to a database
Any suggestions on how to do this?
Related
Our requirements are:
To show all the available users (Not sure whether to call it Users or Participantsin terms of Twilio).
To be able to select multiple users.
To add multiple users to the group (Maybe, It is Conversations in Twilio).
Not exactly, but somewhat similar to the below screenshot:
I have already gone through:
Android Conversations SDK
But did not find a way to 1. List available users 2. Add multiple participants at a time.
I also found User Resource link:
Read Multiple Conversation User Resources but not really sure if there is any better way to achieve what we are looking for.
Twilio developer evangelist here.
While there is a User object within the Conversations API, the objects are only created after a user in your application connects to a Conversations SDK (that is, you created an access token for them and they then successfully used that access token to connect to the Conversations Service within your application).
I would recommend that you manage your application's users yourself within your app and list them from your own store of them.
There is, as far as I can see, no way to add more than one participant to a conversation at a time. You will need to loop through the users you want to add as participants and add them each individually.
In order to create a sustainable Android App, I want to capture, how the users are actually using it. Why improving a feature that is actually not really being used?
So I would like to collect anonymous data on different user actions. For example send data whenever a user clicks button XY.
So to my question: Does anybody know, whether there is already a framework or a service out there, that would support me on this purpose, or do I have do implement everything from scratch?
Thank you for your advice!
There are some 3rd party libraries for that purpose. Some of them are given below:
Google Analytics
MixPanel
Flurry
APSALAR
I know there are already some topics about implementing chat feature but this is a little bit different.
Imagine I have a website with 1000 users. I am writing an android application which user can login and access its account settings and blah & blah all using web services.
When user logins, the first thing which appears is the list of his friends.
The question is: I want to implement a chat feature so that when the user clicks one of his friends, a p2p chat window appear.
How can I achieve this? Is there any api to do so?
Do not forget users are already registered on my website (mysql) so he shouldn't register for a second time to use the chat feature. Am i clear?.
There are many api's that you can use, for example Quickblox and Scringo. They can also be integrated with 3-rd party (your own backend server). For Scringo, the free one, check this out:
http://www.scringo.com/docs/android-guides/popular/setup-a-chat-client/
I have made a chat application of my own. But in my chat application I have to login and logout again and again. I want to make it as What's App or any other chatting app ( i.e the user should login only once and rest all the time when there is internet connection available he/should getconnected to the application automatically and vice versa.
I have got no idea how to manage the same. I have searched it thoroughly, have found a clue regarding Application Class. But not enough so that I can use it in my application.
Please help me with a hyperlink regarding my requirement or guide me with a set of code so that I can start with.
Thanks
You do not need a Service class for single-sign-in! Use the SharedPreferences class.
You can persist the current user's password on the client device and use this to authenticate against the server every time the user opens the app.
Tech Lead on the Android Developer Relations team specifically recommends SharedPreferences: What is the most appropriate way to store user settings in Android application
If you want to receive messages in the background while your app isn't in the foreground, then you probably want to use Service class. You will probably want to use Google Cloud Messaging as well, which Google developed to help you with push notifications.
I am trying to create an android application which allows users to receive updates from a particular server/website.
For example, whenever I have a piece of information I want to share, like an update or notice, I will post it on this website. Whenever, there are updates posted by me, I want the phone to receive a notification about it as well and add the information into the app.
Just like the gmail app on android. Update immediately when there is a mail and not have a timer to check at every interval.
Does anyone know how can I go about it? I am new to programming, it will be good if your answers in steps for me to follow. Thanks in advance.
EDIT:
The android application will have a login page which is define the type of the user. Only the updates and information regarding the type of the user will be pushed.
However users of this application, may not login with a google account.
You could use C2DM - Cloud 2 Device Messaging. It's relatively new tech though so not a lot of resources about it.
Here's a good tutorial on it: http://www.vogella.de/articles/AndroidCloudToDeviceMessaging/article.html
Edit: PS: and it's in beta too so might work best as a proof of concept more than an actual product.