android share app data between the users - android

I am developing an app in which, in a particular activity there are some articles on which users are supposed to discuss, i.e. post their comments.
So, if anybody comments on a particular article, that comment should be visible to all the users on their cell,who are subscribed to that article.
Now, I am not able to figure out how to carry out this.
I have referred to the developer's site http://developer.android.com/guide/topics/data/index.html and some SO's questions also but still no ans.
Please help..

You'll need to store that kind of information in a server somewhere, and access it from the app for each user. Since this is a broad question, it's hard to give you advice specifically on what technologies to use and where to host your server solution. There are many ways you can accomplish this. I would create a web service to store your data about posts and comments in a database of your choice using one of the many web service hosting providers out there:
Amazon Web Services
Heroku
Google App Engine
Here's a post I found describing simple backends for a mobile app: Backends for a mobile app
After reading that, I realized that there are some solutions that you can pay for that will take most of the work out of creating a backend for you. I've heard that Parse is great, but I've never used it myself: Parse.

Related

Android: How to post live commentary and match updates

I'm sorry but I'm really bad at this. So do bear with me.
A few questions:
1.) How do live score apps provide line-ups, live commentary etc. ?
Do they use RSS feeds and have the mobile app retrieve data from the feed?
2.) Is there any way, where I send updates from my mobile and every one using the app receives these updates?
3.) Is there any documentation that I can read up about live score update apps?
Thank you.
The detailed functionality really depends on the app and the sports. Usually there is an API involved which can be consumed to retrieve all kinds of data. http://www.programmableweb.com/apis/directory/1?apicat=sports should be a good starting point for sports related API's.
In order to send implement the functionality of sending updates from your device to other user's, you would require some kind of server to help you communicate.

Is it possible to connect to microsoft outlook scheduling assistant from an android app?

I am trying to build an application which requires the information from microsoft outlook scheduling assistant.
Okay, this is a huge question! Simple answer, no, there is no easy way to just plug it in, but that doesn't mean it isn't possible. Let's assume you're using the exchange server, you can create a request that returns you the availability info of a list of contacts over a period. This returns an array of integers detailing the status of that person during each hour/half hour of the period you sent.
You can then make a table layout with views depicting their availability with different colors. This is not an easy task. I recently had to do it for my company's email client and it took about 3 days of pretty hardwork to get a good looking UI with all the information you need.
For information on the protocols you send to get the availability info, check out the documentation here. If you need any help doing this, please feel free to comment here. Unfortunately, I can't share the code I wrote, since I wrote it while working for IBM

Feedback from user to developer without involving Google Play

I want users to send textual feedback to myself(the developer) directly(without involving Google Play).
Hence, I can get the suggestions to improve my app directly to myself, instead of users writing negative reviews on Google Play.
I do not own a website nor have access to any server.
I do not want to use ACTION_SEND, as that opens an email app.
I'm an android beginner and this is my first app.
Maybe that data can be stored in a database(on cloud, common to all users) that I can access at any time I want?
After researching, I think GCM is supposed to be used, but I no idea how to go about it.
Please tell me the easiest way to implement this.
Thank You.
That is not what exactly what GCM is for. GCM is primarily for sending data from the cloud to the the devices.
You are correct in thinking that one option is to store the data in a database in the cloud. You could use http://pythonanywhere.com free account and build a web app that provides you endpoints which will save and retrieve data to a SQLite db pretty easily (if you have knowledge of python and server side web concepts).
Another perhaps simpler option is to use a pre-existing cloud database solution http://www.parse.com is a cloud backend that also has a free-to-use option that you can use to store arbitrary data. It is pretty easy to get up and running if you follow their many nice Android tutorials.
One last option I will present is to use a Google Spreadsheet with a Form associated to it. Once you create a form if you know the right url and parameters you can send a post request to insert arbitrary data into your spreadsheet. I've created a library that simplifies the process of uploading. GoogleFormUploader. If you need help getting your form set up you can watch the relevant portion of my video tutorial covering this topic

WCF, WIF, Android, and iOS Oh my

I have a MVC application that I would like to port at least a small part of it to a mobile app (android first). My first objective was to try to figure out how to authenticate the users.
It seems that forms based authentication uses cookies and that is not usable by mobile apps? Definitive confirmation would be appreciated.
But it seemed that you could do some form of authentication using a WCF service to create a token. Now I found a lot of sites that discussed how to create and secure the service end point but none really discussed the token generation.
Then quite by accident I stumbled upon WIF and the usersecuritytoken, which seems to what I am looking to accomplish.
So if some could please confirm this is where I need to be looking so I can actually get back to coding rather than reading I would appreciate it.
The way I see this working is:
Secure WCF service.
Using the System.IdentityModel it generates a token for a valid user and passes it back to the mobile app.
Then the app passes the token along anytime a service requiring privilege is called. For example updating the user's profile.
Is that how it is suppose to work? If not could you please point me to an example of how it is suppose to work.
One other question, looking at the WIF site it seems to provide a lot of token types, what is the preferred type for android and iOS?
UPDATE As it was pointed out it would be helpful if I provided more context.
The original website is a MVC3 web app.
I am attempting to write an app for some of the backend administration features using mono touch.
WCF seems to be a bad solution for cross platform and a package called ServiceStack is what I am now leaning towards for my web services. ServiceStack has its own authentication module but it does not interface with the .net membershipprovider which is an issue since the web app was designed with the membership provider.
I have to be overthinking this. It can't be this complicated to have an android or iphone app securely authenticate to a .net membership provider through some form of web service.
Thank you in advance,
Chris

Android App With Server Interaction

I am trying to write an app that will have a web interface for business owners who can select a specific Android mobile app user via querying a database and then have either the website or database(a little unsure about how this would work) push information to the queried user's phone to create a notification for them via the app.
I have never created an app like this and the connection between the website, the database, and the mobile app on a user's phone are all a mystery to me. I've searched the Android developer website and cannot find anything that will accurately explain how to do this, and have also Google'd the topic without much luck.
All I ask is for someone to point me in the right direction to place the pieces together, any information you can provide would be greatly appreciated, thanks!
Your solution will almost certainly involve Google Cloud Messaging.
Implementing GCM will involve a server in which all devices are registered with a central service. So you are half way there once you have GCM implemented. Well perhaps more so, almost everything you mentioned is basically just GCM.
http://developer.android.com/guide/google/gcm/index.html
For this you can use PHP programming to interact with the website.
Refer Android App interaction with Web
and also
Android App Development and Web Server Interactions
These links will be useful.Good luck..

Categories

Resources