Android :: Sharing Data Between Users

Aug 25, 2010

I'm writing a game that includes an editor for users to create their own levels. I'd like players to be able to share the levels they've created with other players. I'm trying to figure out the best way of implementing that, and hoping for any advice on the subject.

One obvious option is to set up a server for sharing levels. The game would connect directly to the server to let players share their creations or download levels created by other players. This provides seamless integration and a good user experience, but I'd really prefer not to use this approach. For one thing, I don't want the cost and responsibility of setting up and maintaining the server. And I would be taking on a basically unlimited obligation; otherwise, if I decided to shut down the server a few years from now, the game would suddenly lose a large part of its value.

Another idea I had is to use the Android Market as the way to distribute sets of levels. That way, Google is taking care of running the server for me. Clearly there are programs that work this way, since I've seen lots of themes and expansion packs for particular applications in the Market. While this could work, I'm not very happy with it. Asking an ordinary user to sign up for a developer account on the Market and learn how to post files through it is unreasonable, not to mention they would have to pay $25.

The approach I'm currently leaning toward is allowing levels to be exported as ordinary files. People could then just email them to each other, post them on any website they wanted, etc. Ideally I would want to set up a file type association so they could simply open an email attachment or click a link in the web browser, and my game would automatically be launched to import it. I haven't yet looked into whether that's possible.

Android :: Sharing data between users


General :: Android 4.2 Sharing Apps Across Users?

Nov 24, 2012

Is it possible to share apps installed on the device across multiple users?

View 1 Replies View Related

Sharing Comments Between Users?

Jan 16, 2012

I'm currently planning to develop an application which will allow users to share comments (similar to tweets, facebook status', etc.) which can then be viewed by other users. This is only a small part of the app, however it is the one part with which I'm having trouble with.

My issue is that I'm not sure how to go about designing this. I've read up a little about SQLite and creating databases, however I'm not sure this is the route I should be looking at. Essentially what I need is to have an area where users can select a category from a provided list, post a comment to this category and be able to view any other comments.

View 1 Replies View Related

Android :: Sharing Data Between Activities

Apr 7, 2010

I was playing a bit with adapters cursors and activities. Let's assume i have a cursor containing a query I've made (it doesn't matter if it's to DB or content provider). Now lets assume i bind some of the data (first two rows) to a list activity. Every click on one of those items should open a new list activity (i pass on the cursor index in the activity bundle). Now the question is, which sharing method will be most efficient and right from code point of view ?

1. I thought of trying to send the cursor object in the intent itself (hoping it implemented runnable) but I'm not so sure it's that efficient since the query may contain many rows which will need to be parceled, and i the other intents uses only a few (say 4-5 columns of each row) it's a real waste.

2. Thought of trying to create the array list for my other list screen adapter and serialize it to the intent (again use serialize and intent to pass on the data) but again i fear for efficiency penalty.

3. my last solution was to use static cursor member in my first activity, with package permission, it will work and be relatively efficient, but I'm not so sure regarding memory efficiency and code structure, i'm not fond of using static variables in any case.

Is there another sharing method that i don't know off, if two activities share the same process and application, then they also share memory space, then it should be easy to pass variables from one to another, the question is what's the easiest way without serializing ?

View 6 Replies View Related

Android :: Sharing Data Between Tab Activities

Aug 10, 2010

I did some digging, but couldn't find a clear answer. I have an application with TabActivity as the main activity. I have some computing and network communication that needs to be done when user clicks on the big red jolly "DO IT" button. One tab hosts the form with "DO IT" button, while the other tabs display the results from computing (each tab displays different part of results). The computing is done as AsyncTask as it's supposed to be (afaik).

Now the question is, what is the best way to share the results between the tabbed activities? It can be done with ContentProvider + database from what I have read, although that seems like a bit too much for my needs. I have also considered an option to save the results to some cache file activities could read in onCreate, onResume etc and display the data. Are there any other convenient ways to share the data? (To make it more clear, the data aren't simple, so doing it through preferences etc is impossible.)

View 5 Replies View Related

Android :: Sharing Data Across Activities

Mar 13, 2009

I was looking out for ways to share data between various activities that one may need to create for his applications . Using "Parcel" and Bundle one can do data exchange , but looks like this is a bit cumbersome process specifically if you have to share large array objects with too many fields.

As android.app.Application maintains global state for the application , we can use this class to store global data and access it across activities. Is this a good way ? Are there any implications on allocating large objects in the your class which extends from android.app.Application ?

View 6 Replies View Related

Android :: Sharing Data Between Tabs

Jul 21, 2010

I am getting some glitches while making a tab enabled application.

I want to share data, between two tabs of mine application.

How can i achieve the same.

View 3 Replies View Related

Android :: Sharing Data On Two Apps

Oct 20, 2010

I am new in android development. i was wondering if i could share some data between two applications in android. One way is to place the text file on SD Card but i dont want to do this.Second way is to place in data folder, and i dont know how to.3rd way is to place the data in shared memory so both applications can see it.also i dont want the user to see or delete this file,only my two applications can change this file or data.Please help me.I've been wondering on this for 2 days.

View 5 Replies View Related

Android :: Sharing Data Amongst Activities And Services

Aug 23, 2010

I am working on a small android project where it is necessary to share some data amongst several activities and a service that runs in a separate process. I would just like to know what are my options in terms of sharing data? Application class? IPC? File-based? Broadcasts?

View 3 Replies View Related

Android :: Sharing Data Between An Service And An Application

Jun 28, 2009

In order to share data between one of my own Android service and an application i am looking for the best way to do this. I have seen the shared memory drivers inside the GNU Linux kernel, but no Java api. Maybe the specific Google IPC Blinder cad be used for my need ?

View 10 Replies View Related

Android :: Google Apps Found To Be Sharing Data

Sep 30, 2010

BBC News - Google Android apps found to be sharing data

Quote:

View 26 Replies View Related

Android :: Options For Sharing App Data On Multiple Phones

Aug 22, 2010

I'm looking for suggestions for ways to share Android app data between phones running the same app. For example, lets say I have an app that stores a database of book reviews. If person A has a book review that person B doesn't have, what are the options for getting that information from person A's phone to person B's phone?

Currently, I'm aware of the following options:

- Upload data from person A's phone to a server, then download data from server to Person B's phone.
- Write code to have the phones sync up using bluetooth
- Write code to send SMS messages


I'm wondering if there are any more options besides these, and if there's actually a best-practice for accomplishing this?

Ideally, I want the users to simply click a button in the app to make the sharing take place, so I don't want to go down the bluetooth route because that requires the user to do a bit of setup (or assumes they already have set things up in the form of bluetooth settings).

Since the data can be of variable length and potentially large, I believe that would rule out text messaging.

As far as the server route goes, from what I understand this seems to be an ok way of doing things, but my problem is that I have no experience with having users potentially sign in to a server and then uploading data. I don't know of the cost concerns (if any), or of potential security concerns (allowing just anyone to upload data, I'm not sure if I would have to take steps to ensure someone couldn't bypass the app and upload malicious data).

View 3 Replies View Related

Android :: Sharing Data Between Activities / Activity2 A Pointer To Object1

Jul 22, 2009

I have been using SharedPreferences to share data between activities. But I would very much like to find a better way. I would simply like both Activity1 and Activity2 to share Object1. Activity1 will create Object1 and then start Activity2. What is the smartest way to give Activity2 a pointer to Object1?

To summarize: Activities don't have constructors! How do I send data to them from their parent activity?

View 17 Replies View Related

HTC EVO 4G :: Sharing Wifi Data

Jun 5, 2010

Has anyone tried sharing a wifi connection through the evo? I have a really old laptop without a wireless card and would like to be able to pick up wifi signal from my router with evo and use usb to share with my pc. Haven't tried yet and will when i get home bit just wondering if anyone had tried this or knows if it'll work.

View 3 Replies View Related

Android :: Data / Statistics Tracking For Users In Application

Sep 14, 2010

I have a listview populated by a text file hosted on my website that is parsed and made into separate list items. Each list item sends the user to a new activity to view more information on that item. My question is - how do I go about tracking the following data about my application..

# of views of the whole listview
# of unique views of the listview
# of times each list item is clicked
# of unique clicks of each list item

View 1 Replies View Related

General :: Nexus 7 - Moving App (and Its Data) Between Users

Jul 19, 2013

I just created a second user, and i'm wondering if there is a way to move an app (and its data) from the primary user to the secondary user. I have already tried using Titanium Backup, making a backup in the primary user, and restoring it in the secondary user, but it didn't work (it only restored the data on the primary user again). I tried to find a similar thread, but didn't find one.

I have a Nexus 7, running ParanoidAndroid 3.15, and I have root access on both users.

View 3 Replies View Related

Samsung Behold 2 :: Need Update For Non Data Plan Users

Mar 16, 2010

I don't have the Tmo data plan and I still have not got the update yet. Have anyone without the data plan received the update?

View 3 Replies View Related

General :: Black Screen After Wipe Data For All Users?

May 5, 2014

I try to install new rom (fixed rom) on thl t11.

After i go in recovery mode i go in button "wipe all data" and after " yes - wipe data for all users"

Now when i turn on my mobile (power button) i get only black screen,nothing alse.

My phone is not rooted,now i can't acces to recovery mode.

View 1 Replies View Related

Android :: Select Android Applications Sharing Data Without User Notification

Sep 30, 2010

Come one, come all -- let's gather and act shocked, shall we? It's no secret that Google's Android Market is far easier to penetrate than Apple's App Store, which is most definitely a double-edged sword. On one hand, you aren't stuck waiting a lifetime for Apple to approve a perfectly sound app; on the other, you may end up accidentally downloading some Nazi themes that scar you for life. A curious team of scientists from Intel Labs, Penn State and Duke University recently utilized a so-called TaintDroid extension in order to log and monitor the actions of 30 Android apps -- 30 that were picked from the 358 most popular. Their findings? That half of their sample (15, if you're rusty in the math department) shared location information and / or other unique identifiers (IMEI numbers, phone numbers, SIM numbers, etc.) with advertisers. Making matters worse, those 15 didn't actually inform end-users that data was being shared, and some of 'em beamed out information while applications were dormant. Unfortunately for us all, the researchers didn't bother to rat out the 15 evil apps mentioned here, so good luck resting easy knowing that your library of popular apps could be spying on you right now.

Update: A Google spokesperson pinged up with an official response to the study, and you can peek it after the break.Update 2: Looks as if the full study (PDF) has been outed, with the 30 total apps named. Here they are: The Weather Channel, Cestos, Solitaire, Movies, Babble, Manga Browser, Bump, Wertago, Antivirus, ABC - Animals, Traffic Jam, Hearts, Blackjack, Horoscope, 3001 Wisdom Quotes Lite, Yellow Pages, Dastelefonbuch, Astrid, BBC News Live Stream, Ringtones, Layer, Knocking, Barcode Scanner, Coupons, Trapster, Spongebob Slide, ProBasketBall, MySpace, ixMAT, and Evernote.

View 6 Replies View Related

General :: Sharing Google Play Account Without Sharing Everything Else?

Sep 19, 2012

I have my Google account also setup on my wife's phone so we can share purchased apps. However, everything else is shared too. For example, even though I have sync for everything on my account turned off, my calendar still showed up on my wife's phone until I disabled it in the calendar app. Also, I can't remove my Google Talk account from her phone so my messages show up on her phone.

This is on a pair of stock Samsung Galaxy S3 phones.

View 2 Replies View Related

Android :: Best Way To Store Application Data / When Data Stored / Data Format Could Change In Future Versions?

Mar 4, 2010

I'm making an Android Java app game (although this question applies to all languages really) and hope to release the first version soon. I'm nervous about how I save data in my game. My problem is that, if in a later update, I decide to store more data or store the same data in a different way, I need to be careful I don't lose or corrupt data for users that upgrade (i.e. I want users to be able to use data created by an old version in the new version, like their high scores from before).For example, say I want to save high scores in version 1.

View 3 Replies View Related

Android :: HTC Evo - Internet Sharing Via USB

Jul 22, 2010

When I plugged my phone into my computer (Mac) to move music on to it it came up with the option to charge only, HTC sync, Disk drive, and share Internet. I know that with Sprint you can pay for the Mobile hotspot app, which in my opinion is way to expensive, so I was wondering if the USB sharing is free or if it is bundled with the mobile hotspot add on.

View 2 Replies View Related

Android :: Sharing Internet

Jun 7, 2010

When connecting through USB my HTC Desire, I am sometimes asked if I want to share the Internet. The fact is that it would try sharing HTC Desire's internet to my computer, but it has here no interest, as the opposite is most current for me. Is there a reverse implementation of this as an Android GUI?

View 2 Replies View Related

Android : Need GPS Sharing App To Website

Nov 22, 2009

I was wondering if anyone knew a good GPS sharing app for the Droid so that my family can follow along with me on my trip back from college. I take a bunch of different people back with me, and figured if there was an easy way to share my GPS location (constantly refreshing) on a website for their family along as well.

View 10 Replies View Related

Android :: Sharing Database Between Applications

May 15, 2009

Anybody knows if we can share databases between applications? How can I access to a database from an A application to another B application? It is possible? What URI I would have to put?

View 4 Replies View Related

Android :: Calendar Sharing Between Two Phones

Oct 9, 2010

I have a HTC Incredible and my Fiancee will soon be upgrading to an Ally. I want to share my calendar on her phone, and vice versa. In essence I want my entries to show on her phone or hers on mine so we don't set appointments or end up with conflicting events. I know people have done this, but I'm just not sure on the steps needed to do so.

View 4 Replies View Related

Android :: Sharing Code Between Activities

Oct 7, 2009

I have an app with two activities.

Both activities among other functions have to perform the same calculation on data, so each activity include the same code to perform the calculation.

Is it possible to only have the similar code in a separate activity and be accessed by the other two activities instead of duplicating the code twice?

View 15 Replies View Related

Android :: Sharing Cursor Between Activities

Nov 21, 2010

I think the following scenario is common, but I can't figure the way to implement it:

We have three Activities, and one database. We ask the user for an input to search in the database. The query should get none, one or may results.

If you get none you simple inform the user.
If you get only one, you show it in a new activity with the right view.
If you get many you show them in a list to let the user to chose the right one and then you pass that to the activity which with show the data in the case of one result only.

The problem is that, in order to know the number of results, you need to do the query (and get the cursor) in the first activity. And in the case you get more than one result you need to send the data (pass the cursor?)to the list acitivty. Doing the query again in the list activity can't be right, right?

I'm aware that you can share cursors by using a content provider, but as the activities are from the same application and the data is private (useless outside), don't see the point of making it avaliable to anyone else.

I read here around that you can crate a parcelable cursor and send it in bundle, but I'm not sure if that is the right use.

View 1 Replies View Related

Android :: Sharing An Object Between Activities

Nov 24, 2010

I have a Weather app with four Activities. The main/launcher activity is 'invisible' using...

android:theme="@android:style/Theme.Translucent.NoTitleBar"`

Aand is simply used to do a few checks (whether this is a new install, whether a network connection is available etc) before firing off one of the other Activities. The other Activities are UI-oriented - two simply display weather data pulled from a website and the third to provide a location 'picker' so the user can choose which area to show the weather for.

However, all four activities make use of a WeatherHelper object which basically does everything from checking for available SD card storage to maintaining preferences and pulling/formatting website pages.

So, my question(s)...what is the best way to have one instance of WeatherHelper which can be used by multiple activities and where/how are best to create it in my case?

I've been an OO programmer for a lot of years but I'm very new to Android and the design concepts - I've read a lot on the Android Developers site over the past weeks but I've stalled trying to decide on this.

View 2 Replies View Related

Android :: Sharing Machine For Development

Dec 10, 2009

We have a fast and powerful machine(Ubuntu 64bit) and we are sharing it for Android development. But when running multiple eclipse (with ADT) instances (by multiple users), we are getting the following error:

Could not open Selected VM debug port (8700). Make you do not have another instance of DDMS or of the eclipse plugin running. If it is being used by something else, choose a new port number in the preferences.

And some of the process names are not shown. It shows a bug with red- circle and a question mark instead.

I tried to change the port number under windows-preferences-Android- DDMS-Base local debugger port to 8800, etc. but it does not seem to help. (closed and reopened eclipse)

I ignored this, selected the process and it shows 8607/8700 (I found the process ID I want to debug using adb shell, ps)

And then I tried debugging this. It throws "failed to connect to remote VM"

Is it just not possible for multiple developers to debug different Android applications using multiple eclipse instances at the same time? If it is possible, can somebody please tell how we can do that?

BTW, it did not allow me to launch emulator, while somebody else is running one. I had to change permission to /tmp/android folder.

View 3 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved