Project dependency: reusing code and resources from another Android project

by Mark Murphy » Thu, 10 Dec 2009 22:29:37 GMT


Sponsored Links
 > According to

Which gets you little, since you cannot force the user to install A.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android App Developer Books:  http://commonsware.com/books.html 


--



Project dependency: reusing code and resources from another Android project

by Mark Murphy » Thu, 10 Dec 2009 22:49:37 GMT


 >> Which gets you little, since you cannot force the user to install A.

Which will irritate your users.


Which will irritate your users.

Hence, I stand by my assessment that, while there are ways for B to access
A's resources at runtime, in general, that's not a viable reuse model. You
are trading a trivial development-time inconvenience for a crappy user
experience, which won't be a good trade in most cases.

Your development-time symlink approach is about as good as it gets today,
at least for solo developers.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android App Developer Books:  http://commonsware.com/books.html 


--


Sponsored Links


Project dependency: reusing code and resources from another Android project

by Mark Murphy » Fri, 11 Dec 2009 03:31:14 GMT


 > Well, in this case you have to go java way:

Moreover, that'll just give you a stream. It won't work for anything that
needs a resource ID, won't support resource sets (e.g., i18n, landscape
vs. portrait), and so on. Unfortunately, Java's "resources" and Android's
"resources" share a name, a very high level concept, and nothing else.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com 
Android App Developer Books:  http://commonsware.com/books.html 


--



Other Threads

1. How can i use vold(New volume manager daemon) to automatically mount sdcard when device startup?

Hi, all
  I am porting android to my own device now. I checkout the latest
source code from android.git.kernel.org. I have successfully
compilated filesystem images and burn those images to my devices. But
i couldn't automatically mount my sdcard when android startup. The /
sdcard directory is empty when i used 'ls /sdcard' command. I have
copied the vold.conf file from development/data/etc direcotry to my
device(/system/etc), but it's invalidated.
  When i read the source code(vold), i found the vold daemon relate to
switch driver, device mapper driver and android gadget driver. Are
there some document or information about how to configurate android
kernel to support vold new volume management and wirte right vold.conf
configuration file?
  Is anyone can help me? Thank you a lots~!

BR!
linuxemacs
--~--~---------~--~----~------------~-------~--~----~
unsubscribe: android-porting+unsubscr...@googlegroups.com
website: 

2. Spying camera application

Hi

I  worked on N95 mobile, my goal is to capture image  for every 2 min
and
send the image data to server without user help.I am done with image
capturing manually but I am unable to capture image automatically
could
you please suggest me.I am getting certification message pop up. Is
there any way to start
my application automatically.I am messed with code signature and
manufacturer agreement with Nokia.So
I have decided  to change the platform to Android mobiles.Could you
please
let me can I able to implement the above application in android
mobiles
android platform.


Thank you,

Sri


--~--~---------~--~----~------------~-------~--~----~

3. OutofMemory exception when dealing with large Bitmaps

4. Buffering Background Image - Graphics Advice Sought

5. Question about one application requiring another application or service

6. rating bar padding problem

7. How to update Android Dev 1