Android :: App-independent Storage Of Shared Resources/Media
May 7, 2009
I'm in a situation where I have to share some resources (i.e. images) between several of my apps and I'd like to know if there's a standardized and convenient way to do this besides the system-wide Media Store. The reason I don't want to use the MediaStore is that the resources are rather low-level (e.g. icons) and thus the user wouldn't be interested in them cluttering the MediaStore.
As I see it there are three ways to share the resources:
1) Store them in the global MediaStore. 2) Put them on the SD card. 3) Implement a custom ContentProvider for this kind of shared resources.
I like how a custom ContentProvider would encapsulate the way the data is stored, but it seems to be a bit of unnecessary overhead to achieve this. Writing to the SD card is convenient, but rather low-level. Are there any other options suited for this problem?
View 3 Replies
Mar 23, 2010
We are investigating the possibilities to package & deploy platform UI extensions which can contain both Java code and resources - which then can be (re-)used by applications using <uses-library> tag in the AndroidManifest.xml. One solution which has been discussed was to use the aapt -x option together with the new --custom-package option introduced in November to generate unique resource identifiers for the shared resource package. Then, just as the <uses-library> information in the manifest file would bootstrap the class loader with the listed extension packages, it would add these packages to the asset manager as well - allowing the asset manager to locate and load the extension resources. (This would require a platform extension.)If this is a way forward - using the 8 package bits in the resource identifiers? This solution would probably work initially for one vendor since the allocation of unique package identifiers would be an internal issue, but if extension packages where to be exchanged within the android community there would be a high risk of packages using the same identifiers.
View 3 Replies
View Related
Nov 21, 2010
Just got my Droid 2.
Trying to access shared folders on my home network (3 computers running XP) via the Media Share.
Set up the files for sharing on the computers.
On my Droid clicked on "Media Share" -> "Start" -> "Computer" -> "Copy" -> "Windows File Sharing" -> "Next" -> Shared 3 folders on my computer. -> "Next" -> Verified my home network was availabe, clicked "Next" -> clicked "Next" -> "Shared Folders" -> "Add Server" -> "Scan for Servers" ->
At this point it finds the IP address of the laptop Im working on. using DHCP. But when I click on it, it keeps asking for a user name and password. dont have one for XP and no password on the files.
View 3 Replies
View Related
May 25, 2010
How do I upload media to local storage of emulator device?
View 1 Replies
View Related
Nov 15, 2008
When i go into 'Settings' then into 'SD card & phone storage' i do not have the 'usb storage' tab. i did have it the first time i added files to my G1 but it is no longer there. How do i add music now or is there something i must do in order to get that tab back?
View 1 Replies
View Related
Jul 14, 2010
I took a few videos and pictures and they were saved onto my phone storage i want to put them on my storage card to put on the computer not a clue how can anyone help me out please - droid inscredible
View 1 Replies
View Related
Jul 23, 2010
After "clear data" for "MEDIA STORAGE" application(i wanted to reset the library for Music)
I have now only one ringtone.
Im sure along with this, other necessary things got deleted.
Is there any way to recover all of Media Storage without doing a factory reinstall?
Motorola Milestone OS 2.1 - update1
View 2 Replies
View Related
Jul 2, 2010
I've been using the stock music player to trim songs and then set them as my ringtone, however every time I mount my SD card the ringtone reverts back to stock and I have to reset it. Is there a way/app that can let me trim a song, store the trim on the phone (not SD card) and then use it as a ringtone?
View 2 Replies
View Related
Jul 15, 2010
so the correct music would display in the music app, which worked. But it also removed ALL standard tones, ie ringtones, notifications and alarm tones... Is there anyway I can get them back without factory resetting, ie download them from somewhere??
View 6 Replies
View Related
Jul 30, 2010
I was wondering if the internal 8gb storage on the Droid X can be used for anything other than apps? I want to be able to use that extra storage for more MP3's, pictures, and videos.
View 1 Replies
View Related
Jul 11, 2010
In my Android project, I want to loop through the entire collection of Drawable resources. Normally, you can only retrieve a specific resource via its ID using something like:
InputStream is = Resources.getSystem().openRawResource(resourceId)
However, I want to get all Drawable resources where I won't know their ID's beforehand. Is there a collection I can loop through or perhaps a way to get the list of resource ID's given the resources in my project?
Or, is there a way for me in Java to extract all property values from the R.drawable static class?
View 4 Replies
View Related
Jul 27, 2010
I am becoming sick of the Incredible's stock player, mainly because of its poor shuffle mode. I have looked at apps like MixZing, Cubed, and DoubleTwist, but these all seem like they won't play music from both the sd card and internal phone storage like the stock player. Are there any players that will do this, and perhaps find album art like the others?
View 1 Replies
View Related
Oct 9, 2012
Besides clearing the media storage, what are the ways to force a rescan? My rescan service seems to have stopped and everything in the gallery is blank. I tried some third party rescan but all fail. GT-N7000
View 1 Replies
View Related
Feb 16, 2010
I need to install a program on the Droid. I can get it onto the memory chip. I can't get the droid to find it.
View 3 Replies
View Related
Jan 21, 2010
I'm using PackageManager.getApplicationLabel(ApplicationInfo) to retrieve application labels. It looks like the label that is returned depends on the Locale set for the phone. For instance with the music app I get "Music" in English, vs. "Musica" if I have my locale set to Spanish. Is there a way to get the default application label (perhaps as defined in strings.xml)? I want to be able to retrieve an application label for each app that is independent of locale.
View 1 Replies
View Related
Feb 14, 2010
I was just wondering if there was a way to control the volume for each application independently. For example I was using my droid for GPS navigation and music in my car the other day and kept getting shouted at by the navigation since the volume was turned up for the music. Needless to say it gets really annoying fast. This problem stems from the fact that all the apps have their volume control handled by the media volume control.
View 5 Replies
View Related
Mar 5, 2009
I am working on a screen that needs to look fine at HVGA-L resolution as well as 640x480 resolution. Lets say I have a button that is 200 pixels wide and 50 pixels high on HVGA-L skin. When the same layout xml is shown at 640x480 skin, I want my button size increase proportionately. The hardware the app runs on supports both the resolutions.
None of the units that the android framework provides seems to have this facility. If I use px, then the button size will stay same. dip doesn't matter because it is the same hardware. sp is meant for fonts, not for button width/heights.
View 8 Replies
View Related
Nov 20, 2010
Cn anyone suggest me how to use device independent pixels(dip),sip and convert px to dip with a sample code..
View 1 Replies
View Related
Aug 28, 2010
How to create custom view with two independent sections, each slideable? Example would be iPad Zillow -> http://www.zillow.com/ipad/I was wondering if this can also be done on the home screen and not only in new app.
View 1 Replies
View Related
Oct 19, 2009
I'm interesting in buying a Samsung Galaxy but first I'd like to know if all Android apps are phone model independent? I know that all the cool custom ROM stuff from XDA Devs is HTC only but apps are not? Mostly, I mean Open Home, Unlock 2.0 and Better Keyboard with their skins.
Same question goes about widgets.
View 2 Replies
View Related
Sep 1, 2010
In my android application i would like to use time which do not come from device but a standard time that the user cannot change.
Is there any way to do this.
View 4 Replies
View Related
Oct 29, 2010
Could it be possible to make each screen have a different wallpaper while scrolling? I mean, taking as an example a case with three screens, it will be necessary to set a x3 screen width wallpaper to fit 1/3 on each screen, or directly setting different images for each screen. so the scrolling make it visually a different wallpaper on each screen rather than sliding the wallpaper a 50% each side.
View 2 Replies
View Related
Aug 13, 2009
in xml file we can define measuring units along with the values. If I want to set some property through code it only takes "int" value. What is the default unit for this int? px(pixels) or dp(density independent pixels) ?
View 7 Replies
View Related
Jul 5, 2009
i'm doing some experiments with OpenGL using the GLSurfaceView introduced in 1.5 In my Renderer I keep track of the time spent to render the last frame and pass this value to the method that update my model. The goal is to keep objects movements on the screen independent from the rendering time. Now this seems to work perfectly in the emulator, but on the real device is at least 4/5 times slower! Has anyone experienced the same problem? Or, anyone has a clue of what I'm doing wrong? Here's pieces of the code I'm using
View 3 Replies
View Related
Jun 3, 2010
The android docs say that it adds the runnable to the queue and it runs in the UI thread. What does this mean? So, for example, the same thread I use to create my layout is used to run the Runnable? What if I want it as an independent thread that executes while I am creating my layout and defining my activity?
View 2 Replies
View Related
Nov 10, 2010
Can I use DrawBitmap with display independent pixels on android?
If not, is there a suitable alternative?
View 1 Replies
View Related
Feb 18, 2013
I've been searching for a way to control the volume of different apps independent of each other. As in those apps that don't have any in-app specific volume controls. The only thing I've found is that the native android OS doesn't support such a feature, but that information is old.
While this has bugged me a bit in the past, it's only now that I've started using Google Now that's it's become annoying. I'm occasionally playing a game that has no in-app sound control, and I don't like the music/effects of that game, so I turn the media volume down to mute. But when I then switch to Google Now, the voice is on the same "media" volume control, which in turn makes me miss the spoken answer to my inquiry.
View 3 Replies
View Related
Dec 17, 2011
The screen seems stretched on the x axis (in landscape mode), resulting in circles that look like ovals. So I decided to take a look at some system info apps, and this showed some strange numbers (see the screenshot below).
I already tried editing the dpi in the build.prop file, but this didn't fix the problem. The overall dpi changed, but I was still stuck with the incorrect aspect ratio. Maybe a way to change the dpi of the x and y axis independent?
View 2 Replies
View Related
May 12, 2010
I have the SAMSUNG Moment. I was wondering why does my notification ringer IS the same for plugging in your phone, texting, email, errors, and ect?
Is there an app that lets you choose independent ringers for everything?
Im not willing to 'ROOT' my phone, im patiently waiting for 2.1.
View 4 Replies
View Related
Dec 4, 2013
How to stop phone from displaying "low storage, uninstall apps to free storage. "
View 3 Replies
View Related