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.

Android :: Sharing data on two apps


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 :: 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 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.

View 3 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 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 :: 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 : Sharing Apps By QR Code?

Dec 22, 2009

Fred meets Bob at the pub and shows off the latest app he's installed.Bob likes it and wants to have it on his phone, too. Q: What's the best way for Fred to help Bob install an application? Hint: On a Palm, Fred would just 'beam' the app to Bob's pda (we're assuming that it's a freely downloadable app, not requiring payment or registration). On an Android phone, can Fred somehow share it over Bluetooth, or display a QR Code for the app so that Bob can use his Barcode Scanner to get it from the Market (or slimeme.org, or wherever)? As far as I know, no file manager has a "display barcode" function (like Contacts does when you have Barcode Scanner installed), so I'm forced to describe the app, or go into the application list and dig out its "com.vendor.app" name. This seems decidedly un-slick.

View 3 Replies View Related

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

HTC EVO 4G : Looking For Way Of Sharing Apps

Jun 11, 2010

I'm new to Android with a HTC Evo and was curious about the app system of Android. The paid apps for the Android are they shareable? I was wondering if that was possible like how Apple let's you authorize 5 different computers to transfer your app purchases to others. Does the Android Market have that ability or do you have to buy it separately by each phone? I've searched the forums, but nobody seem to have an answer. Was hoping some of you veteran android users, would know.

View 4 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

How To Run Multiple Apps Sharing Same Screen Simultaneously

Jul 16, 2010

i have a requirement where i need to run multiple applications simultaneously sharing the same screen space at one time. For Ex. one part of the screen might be displaying a youtube video, while to right of it, the user might be chatting with his friend, and below some application download progress...

In Short, different applications sharing same screen.I guess this has already been done as i when i google for droid tablets, i can see images that show multiple apps running simultaneously, displayed side-by-side to each other. how it can be done and if i can simulate it on ADT and AVD?

View 2 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 :: Data Readable By Two Apps

May 8, 2010

Is it possible to share files between two apps?

My scenario is this: I want to create a free/demo version of my game and a complete version. The player should be able to play the free version, then upgrade to the complete and continue where the free version ended - ie. the complete version would need to load a savegame created by the free version.

View 3 Replies View Related

Android :: Apps Want Contact Data?

Jun 4, 2010

I've noticed a lot of programs (Barcode Scanner, Where, Google Translate, Google Maps, Zedge, & others) want access to Read/Write Contact Data. Is there ANY legitimate reason I would want to allow this for these particular apps?

View 3 Replies View Related

Android :: Share Data / Text With Other Apps?

Jun 2, 2010

I have an app that creates a new data entry in a sqlite db with several columns. I would like to have a simple share button on the final activity so they can share the results (or even a simple text field) with apps that accept it (email, mms, twitter, etc..). I did some reading on ContentProviders but the more I read, the more I'm thinking i'm heading down the wrong path.

View 2 Replies View Related

Android :: App To Prevent Apps From Reading Your Personal Data

Oct 13, 2010

Do you know any application to prevent other applications from reading your personal data (contact, identity, history, ...) ? That would be great to be able to use our phone without giving away to unknown company/people our very personal data.

View 2 Replies View Related

Android :: Apps Covertly Sending GPS Data To Advertisers

Sep 30, 2010

Some Android apps caught covertly sending GPS data to advertisers

Story at arstechnica.com: Some Android apps caught covertly sending GPS data to advertisers

Is there a way to identify these apps?

View 5 Replies View Related

General :: Android 4.3 - Factory Reset And Keep Data Of Some Apps

Dec 15, 2013

I recently updated my android to 4.3. A lot of people say that if you get a big update, it is the best to do a factory reset for faster performance. Is that true?

If that is the case, is there a way to do a factory reset and keep some data of some apps? Like example, i have an app that I spend my money on to buy ingame items and such. If i do a factory reset, all my ingame items will be gone and have to restart everything.

is there a 100% safe backup and do a factory reset for me to keep my app data?

View 4 Replies View Related

Android :: Exposing Data To Third-party Apps In A Synchronous Call?

Sep 17, 2010

I've got an application, and I'd like to publish a way for third-party services to get data from it. Ideally I could expose this through intents, as in the following pseudocode:

CODE:.......

View 4 Replies View Related

Android : Apps That Control Data (3G) Connections With A Schedule / Timer?

Jun 17, 2010

I am knew to android and am absolutely loving it on my Desire, so glad i never went with a certain fruit company

Anyways, i have had a search around here and on the market place and cannot find an app that suits my needs.

Basically, i run timeriffic (which is fantastic by the way) and mostly i use a wi-fi connection. However there are times when i know there is no wi-fi around eg. when i travel to work, so i have it turned off. What i would like to know is if there is any app out there that would allow me to schedule a time to turn on my 3g data connection (i have APNdroid installed and 3g disabled as default) for those periods when my wi-fi is off so i always have a data connection.

I did see the app Data on Demand and this would have been perfect but it did not work with my Desire.

Can anyone using a Desire let me know if they have tried Data on Demand and got it working and what conditions it was working. Can someone recommend an app that meets my needs? I guess if not i will need to contact the developer of timeriffic (who i have seen around here) and see if there is anyway he could intergrate with APNdroid and control 3G data connections.

View 1 Replies View Related

Android :: Best Apps For Disabling Unnecessary Features - 3g Data Bluetooth Sync & Etc

Jan 20, 2010

I am trying to save battery and speed up my phone. I know that I can in to setting to disable all these extra features, but I heard from someone that, "even though you disabled it, the phone will still continue to try to pick up these services, like 3G). Is there a app that will fully disable these features?

Also is there anyway up speeding up my phone. I have a Rooted T-Mobile MyTouch 3G w/ the CyanogenMod 4.2.13. I heard that there is a "10MB Hack", but I also heard that it will slow down your games.

View 1 Replies View Related

HTC Magic :: Do Most Apps Use Data?

Sep 26, 2010

I just got a unlocked HTC Magic, but I don't have a data plan yet. I fully understand using a smartphone without a data plan limits its functions.

My question is:

When try I downloading some apps over wifi (i.e. games, wallpapers, etc), it says: "Network Communication: full internet access" "Your location: fine (GPS) location"

Does downloading this mean it will use data whenever I use it outside of a wifi network?

I want to be able to start customizing and downloading apps and games that only work when I'm using a wifi connection. Just until I get a data plan of course.

View 1 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

HTC EVO 4G :: Titanium Backup - Apps And Data

Sep 27, 2010

I backed up all apps and data then I uninstalled a few of them. Now I went to reinstall them and Titanium Back up says batch restore finished but the apps are not there. They are in the TB folder on the sd card but the app is not in the app list. How do I get them back? I did do a nandroid back up immediately after rooting will that restore them?

View 2 Replies View Related







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