I'm trying to develop a coloring app... while developing it ....i was stuck with a problem..Im using layout to display "images". The problem is that the images get overlapped...

for example i have arranged the images as ...the second image inside the first image.... if i color the second image, the first image also gets colored...similarly if i color the first image , the second one also gets colored....the images are overlapped....

how to color each image separately ? and how to prevent overlapping of two images?

I'm trying to build CWM for the HP Slate 7 Plus, but both touch and non-touch builds coming from the CWM Builder and manually built builds give a black screen with a few white lines when booted into recovery. The stock recovery.img I provided to the builder is valid because people were able to reflash the same recovery.img via Flashify with no issues, which is the same method used to flash the defunct CWM. I don't have the Slate 7 Plus, so I can't test things myself

The best I can do right now is debloat, deodex, and pre-root ROMs, as well as install more system apps.

I am developing an Android app that will display a random quote or verse to the user. For this I am using an SQLite database. The size of the DB would be approximately 5K to 10K records, possibly increasing to upto 1M in later versions as new quotes and verses are added. Thus the user would need to update the DB as and when newer versions are of the app or DB are released.

After reading through some forums online, there seem to be two feasible ways I could provide the DB: 1. Bundle it along with the .APK file of the app, or 2. Upload it to my app's website from where users will have to download it

I want to know which method would be better (if there is yet another approach other than these, please do let me know).

After pondering this problem for some time, I have these thoughts regarding the above approaches:

Approach 1: Users will obtain the DB along with the app, and won't have to download it separately. Installation would thereby be easier. But, users will have to reinstall the app every time there is a new version of the DB. Also, if the DB is large, it will make the installable too cumbersome.

Approach 2: Users will have to download the full DB from the website (although I can provide a small, sample version of the DB via Approach 1). But, the installer will be simpler and smaller in size. Also, I would be able to provide future versions of the DB easily for those who might not want newer versions of the app.

I am developing an application that needs to access data on the sd card. When I run on my development device (an odroid with Android 2.1) I have root access and can construct the path using:

CODE:..........................

However, when I install this on a phone (2.1) where I do not have root access I get files == null. I assume this is because I do not have the right permissions to read the data from the sd card. I also get files == null when just trying to list files on /sdcard. So the same applies without my constructed path.

Also, this app is not intended to be distributed through the app store and is needs to use data copied separately to the sd card so this is a real use-case. It is too much data to put in res/raw (I have tried, it did not work).

I have also tried adding: <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

To the manifest, even though I only want to read the sd card, but it did not help. I have not found a permission type for reading the storage.

You can test to make sure everything is working by going to a command prompt, go to the tools directory of the Android SDK, and type: "adb shell". If you see a "$" (or "#" if you're already rooted) sign you're good. i can't figure that out. what is directory of the android sdk? i think i know but im now sure. i did everything on the android sdk tutorial but it seems i was just doing it on my computer and not my phone. how do i know if it went on my phone? and how do i put it on my phone if i didnt do it. am i suppose to sync it of just connect it.

I have rooted my eris to 2.1. Then yesterday I flashed the recovery image and the flash image and put on grd lock's Vanilla Rom. If I want to put on a different Rom, do I have to flash the recovery image again?

I've been trying to load amonRA's recovery for my nexus one. I've managed to unlock the bootloader, and gain SU permissions. But for the life of me,I cant seem to flash the new recovery image. I've used better terminal, and it says that theres no flash image found. But I have Put it on SD Card. I've copied the text correctly and I cant get it to flash. I've also tried to downgrade the radio to get better reception, and its saying that the update isn't signed. Is there something still locked up?

I just rolled back using simple root, and before I started flashing custom roms I wanted to flash Amon RA's recovery-RA-evo-v1.8.0.img. I've tried flashing through terminal emulator, and that didn't work. I also tried flashing through adb. I have confirmed that I have root, but it's telling me that there is no image found. Does anyone have any suggestions? Thanks in advance.

Well I was having a successful first day of rooting but ran into a snag... I went from 2.1 to 2.o I Have uploaded the root .zip file and that works I have installed busybox.. but I can not get the recovery image to what could I be doing wrong?

I'm trying to root my EVO, it's never been rooted before, but I'm stuck at the screen that says "Pushing recovery image." and it's been about 6 minutes now. During the rooting process, I wasn't allowed to install the HBoot drivers on my computer (I'm running windows 7, 32 bit) but I figured that maybe they were already installed on my computer because I have the android SDK installed..

I see these components discussed all the time on xda-developers. I have a vague understanding of what they are and how they're related to each other, but it's not perfectly clear. For example, the radio seems to be a lot more than just the radio. I have a good understanding of the basic ideas as a Linux user and software developer.To kick things off, let me present my current understanding. I could be way off on some things:"Radio" - I'm not sure if this runs before the bootloader or after HBOOT is the bootloader, the first thing that runs when you boot up your phone. Like your regular Linux bootloader, it lets you boot off of different partitions.There are multiple partitions on the system, at least one for HBOOT (maybe? or is it in some kind of MBR type of area?), recovery, system and data. All of these partitions are in the system's "ROM" which is not really ROM it's actually NVRAM or flash or whatever. Hence, each of these areas can be independently flashed.Recovery is a partition you can boot into. It's originally meant to be a kind of "recovery" mode and so offers a base for hacking. This is typically re-flashed so as to follow further modifications. From the recovery image, you can also access the sdcard which is useful for fetching update.zip files etc. update.zip - these are updates that can be applied from a custom recovery image. It seems like these updates can contain more or less arbitrary code, but I'm not clear on how they get applied or where they get flashed to or applied to./system - gets mounted read-only (what control this?) unless you do some hacking Where does the kernel sit? Is there a different one in the recovery versus the regular image? which parts form a custom ROM like CyanogenMod? What is the NAND and what does it mean to unlock the NAND? What is an RUU? SPL? Where do the WiFi and 3G radio images sit? PC36IMG.zip? PRI?I've seen some of this explained elsewhere but I don't understand how they all fit together.

Just got my Motorola Droid. I've loaded up all the Google stuff as usual and all is well. What I'd like to do is create contacts from WORK and keep them separate from my personal stuff (GMail Contacts, etc). Can I, and if so, how? Secondly, is there a user guide for this beast other than the dinky booklet that came with it?

I can't seem to change alerts and ringer volume seperately using Audiomanager pro. Whilst at work i want to hear my txt message sounds (alerts) but not my ringtone, and i want the phone to vibrate with both still. However when moving the ringtone and/or alert slider the other one moves too, they can't seem to move seperately. Am i doing something wrong or does this app not do that, and if so, is there an ap that does?

Alright im already rooted and i flashed clockwork recovery image and I want it gone. I'm trying to go back to Amons recovery image. However when im in the command and I type in adb push recovery-ra-eris.img /sdcard I get no such file or directory error... but i have the file in the tools folder of my androidsdk... any thoughts..

My Evo is rooted, but I have lost my recovery image. Attempts to re flash recovery via ROM Manager and ADB both failed. I now have a task bar message saying the card is mounted read only. I put it in an adapter, plugged into my PC and ran Check Disk, which appeared to restore R/W status. I then put it back in the phone, rebooted and tried to flash a new image with ROM Manager, I have the read only issue again. I still have root, root apps still receive SU permissions, but I have no nand access and cannot re flash CWM or Amon.

So I returned to stock, but when I rooted the guide I used didn't suggest I save my stock recovery flash. Now I need to return my droid (cracked screen) and I'd prefer there not to be any any problems with the warranty. So is there a way to get my recovery back to stock?

I rooted my phone a while back and I am trying to update the recovery image. I think the recovery image I have downloaded (recovery-RA-hero-v1.6.2) has some extra options such as being able to flash the radio which is what I want to do. I have updated my rom to 2.1 by copying the image accross and naming it update.zip and booting into recovery and applying the update. That is fine and I am now running SenseHERO-2.1_signed-update. I have tried using flashrec but it fails with "cannot run command" and I think it is because I already have a patched recovery image. What is the best thing to do? Can I update my recovery image manually from the command line? Can I update the radio in the same way? Have I misunderstood the procedure?

but when I get to adb shell flash_image recovery /sdcard/recovery-ra-eris.img, I get an error saying the flash_image not installed. Is there a better and/or easier way to get the flash_image and recovery-ra-eris.img install on my eris so I can get a nandroid backup? I really want to back everything up before I attempt to throw kaosfroyo on there.