Data readable by two apps

by Viktor Linder » Sat, 08 May 2010 14:51:37 GMT


Sponsored Links
 Hi!
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.

All answers appreciated!

Best regards,
Viktor Linder

--



Data readable by two apps

by Mark Murphy » Sat, 08 May 2010 18:26:51 GMT


 


Yes, if they are signed by the same signing key and use the same user ID
-- see the android:sharedUserId attribute of the <manifest> element:

 http://developer.android.com/guide/topics/manifest/manifest-element.html 

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android Development Wiki:  http://wiki.andmob.org 

--


Sponsored Links


Data readable by two apps

by TreKing » Mon, 10 May 2010 05:51:22 GMT


 




You could also save to the SD card, if you don't mind the data being
"public".

-------------------------------------------------------------------------------------------------
TreKing - Chicago transit tracking app for Android-powered devices
 http://sites.google.com/site/rezmobileapps/treking 

--



Other Threads

1. Can we run adb commands through android applications?

Hi All,

can we write an android application which runs adb commands like adb
logcat? I mean, in an activity,

I want to execute the "adb logcat". Is it possible? if so how?

thanks,
Manoj.

-- 

2. How to call Activity from a class derived from Dialog super class

Hi Everybody,

              I am new to android, working on one application, in that
application i used custom dialog class derived from Dialog class.
           i have to call one activity with button event but intent is
not allowed there bcz it is not extended from activity class

           Can i call the activity from custom dialog class? if yes
How?  Let me know.


Thanks in Advance

-- 

3. Which Reference System is used by the Google Maps Api

4. Aw: how to use same activity for different listviews?

5. SDCard installs - auto or preferExternal?

6. jpg to bmp conversion

7. The time in status bar can't update automatically