yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Blogger11:
So i'm pretty new at this whole development thing for android and I don't know a slick of java. I'm tryin to teach myself this so I thought this would be a great resource. I've read the devoloper.android resources and i still dont understand it so here is my question.

I'm making a simple app that will change the background color when the button is pressed. How do i make the button do that?

Any outside resources/examples would be greatly appreciated
[Hero CDMA Themes and Apps] abadasstanker69:
I really need some help. I'm reading how to create one of these themes and I'm hitting a wall. The directions I have say to open Eclipse and click new android project. Well, it's not there. So I went to file, then new, and I find Android. So I click that. The next step I have says to load the template in to Eclipse I'm supposed to select "Project from existing source" and select the theme template dir. I do that and then it says click finish. Well the finish button is greyed out. I can't push it. What am I doing wrong?
[Hero CDMA Themes and Apps] ASimmons:
I haven't seen the existing code for this adw theme, but do you have the android eclipse plugin installed? It seems that if you don't have the android project option you don't have the android development plugin.

How to install ADT for eclipse
[Hero CDMA Themes and Apps] abadasstanker69:
Here are the directions I'm following. http://code.google.com/p/adw-launcher-android/wiki/CompleteGuideToADW

I don't get the android option. Here's the picture
[Hero CDMA Themes and Apps] abadasstanker69:
If I click file new and then click other I get this...

Now I'm assuming I'm on the right track right?
[Hero CDMA Themes and Apps] abadasstanker69:
Well then I go to open the theme template and it won't let me open it. The finish button is greyed out and not selectable.

Am I missing something here?? I may have screwed a step up but, for the life of me, I can't figure out where.
[Hero CDMA Themes and Apps] ASimmons:
Ok so your doing it correctly you just don't have any installed packages to work from. Notice that when you go to make a new android project that you have no available targets in the build target list. You'll need to open the AVD manager in eclipse and then click on the Installed packages and download everything in there, this will give you the android api's in version from 1.6 to 2.2 (its been a while). This will give you target packages to work with for the theme, since its from existing source its should choose 1.6 as the target (that what it did for me).

Heres the screen for where the avd manager is in eclipse. and next is the avd manager packages screen.
[Hero CDMA Themes and Apps] abadasstanker69:
Dang it! I was hoping I wouldn't have to install them ALL! D: I only had the 2.2 since I'm using aosp. I guess I'm understanding the numbers wrong. So I need them ALL?? Thanks for the help man
[Hero CDMA Themes and Apps] ASimmons:
technically you don't but its good practice. If you develop an app you should be concerned with more than just 2.2. To me it looks like you don't have any packages go ahead and install all of them and the optional packages also, they don't take up alot of run and you get more development options.

I love eclipse, amazing what it can do or be leveraged todo. Been using it for almost 7 years.
[Hero CDMA Themes and Apps] abadasstanker69:
What was the point in installing the emulator for android? It's cool that I can have a virtual android phone on my pc but is there a point? Do I load the theme in the virtual phone to test functionality before trying it on my phone? Also, how to go about theming the framework? I got the directions for adw but I haven't been able to locate directions for the system.. thanks again bro
[Hero CDMA Themes and Apps] ASimmons:
Well the emulator can be used to load a program that your developing, and since you can make a bunch you can theoretically make one fore every type of phone out so your app can be tested on different resolutions and across different frameworks.

You can load the framework-res into eclipse but I can tell you its not for a beginner, since you basically have to do it from decompiled source and it's a little tricky. I would suggest just d/l and working from the source (cm6) and compiling that, google doesn't support compile on a windows box but it can be done with some tinkering (cygwin, github). But again that is probably not the easiest way to go about learning android. I would look at the sample apps they have a bunch for each android version (clocks, snake games...) and this will give you a good starting point to then go on to bigger stuff.
[Hero CDMA Themes and Apps] abadasstanker69:
Thanks man. I can't tell you how much I appreciate the help. Am I pursuing a good project as a beginner by trying to theme adw? I design video games and I'm just kinda interested in learning android slowly on my own. Looking at the speed that android has grown, I think that in order to stay on top I should learn it soon. I can see within the next 5 years there will be games like cod on an all in one device running an android os of some sort and I'd like to get a jump on that now while there's not a market for it.
[Hero CDMA Themes and Apps] ASimmons:
Lol sorry for the beginner comment just meant that this is a good place to start. I agree but I imagine it to be more like 2 years before we see stuff like that.
[Hero CDMA Themes and Apps] abadasstanker69:
No need to apologize! That's exactly what I am. XD the problem with the system at the moment for really intense games like moh or god of war coming to android is the hardware. I think if we can get something like an ipad with a detachable bluetooth headset built in to the phone then people would be more willing to use it. The problem for now is convenience versus functionality. To have a system we can play games on you need a screen the size of an ipad but that's not easy to stick in your pocket or use as a phone. That's why I said 5 years. I hope it's 5 years! I got some serious work to do if it's 2!!
[Hero CDMA Themes and Apps] thoughtlesskyle:
i dont know how far off it is, i mean sony's next PSP is likely android based if that happens the sky is the limit, it will def show that games for phones dont need to be about shooting pigs with birds
[Hero CDMA Themes and Apps] abadasstanker69:
Where did you see that?? And don't hate on angry birds :D
[Hero CDMA Themes and Apps] thoughtlesskyle:
its not that i hate on angry birds, rovio just made me angry when they said that its android fragmentation that is causing the problems as to why it doesn't play right on some phones, when even our phone has the specs of an ipod touch from a year or 2 ago that can run it just fine.

and engadget has been talking about it a bunch and there have been some leaked pictures, let me link you to some stuff

http://www.engadget.com/2010/12/01/playstation-phone-espied-in-greece-said-to-have-gingerbread-and/

http://www.engadget.com/2010/11/21/sony-ericsson-ceo-suggests-february-reveal-perhaps-the-playstat/

http://www.engadget.com/2010/09/20/sonys-playstation-division-looking-for-engineers-with-android-d/

http://www.engadget.com/2010/10/27/the-playstation-phone-is-still-real/

there is a bunch more info out there on it but this is the stuff i could grab fast
[Hero CDMA Themes and Apps] abadasstanker69:
I thought that was fake. Lol well that's awesome. If it's gonna be developed by sony we won't have to port it. Sony will. Awesome. I still think I should learn android's ins and outs just to be on the safe side
[Galaxy S I9000 Q&A, Help & Troubleshooting] rasdaq:
Hi,

I got this this msg on recovery:

E:Can't mount /dev/block/stl11

(Invalid argument)

upadate media, please wait...

upadate media, finished

# MANUAL MODE #

--Appling Multi-CSC...

Instaling Multi-CSC

mps_dat value: XEE

copy_multi_carrier from: XEE

multicsc : can not acces to /system/csc/XEE/syst

em/

copy_common_data E:Can't mount /dev/block/stl11

(Invalid argument)

E:Can't mount /dev/block/stl11

(Invalid argument)

I got this msg after my galaxy forced close, I guess it was was stuck on boot, it would not pass the S logo, was showing black screen and it was vibrating once_ pause_ twice every minute. I tried to flash with odin3 1.7 , pit 512, eclair, it worked, canot access market(msg still there), i flashed with froyo xxjpo, same message, and not able to download from market, and not have unmount option on sdcard...

thanks for helping guys, great forum!
[Galaxy S I9000 Q&A, Help & Troubleshooting] AllGamer:
try to see if you can format it

if not, then you are potentially looking at a dead internal SD
[Galaxy S I9000 Q&A, Help & Troubleshooting] rasdaq:
thanks for ansewer

I tried that it said fromat complete, but i still have the error message! the phone is working fine, other then being able to download from market...

u think that I can replace the sd card?
[Galaxy S I9000 Q&A, Help & Troubleshooting] jheysl2:
I had this same error using I think it was JM8 Firmware at the time, try a different firmware, fixed it for me =]
[Galaxy S I9000 Q&A, Help & Troubleshooting] rasdaq:
thanks I just flashed

http://xdaforums.com/showpost.php?p=9289959&postcount=1
[Galaxy S I9000 Q&A, Help & Troubleshooting] rasdaq:
it's working!
[Galaxy S I9000 Q&A, Help & Troubleshooting] jheysl2:
Good good :D
[Motorola Droid and Milestone General] Paintball1084:
I am new to this whole rooting thing and have some questions about rom manager and nandroid backup. I have the ROM manager app but have not done the backup yet. My question is if i make a backup with ROM manager is that essentially the same thing as a nandroid backup???

I also have titanium backup and have backed up all my apps and stuff. So if i do load another rom do i use titanium backup to reload the apps that i have after i load the new rom?

my phone was rooted with z4root, i have superuser, have ran titanium backup, and have ROM manager.

EDIT: phone is a moto droid 1

EDIT2:i tried to follow this guide ( im unable to post the link but its on androidpolice forum )

I was able to create an image and then went to make my nandroid backup. i followed the steps and it just booted my phone like normal and didnt create the folder. Do i have to have my phone mounted while doing this? Do i have to do anything to the img files that were created?

EDIT:3 I finally was able to make my nandroid backup. I guess i will look into ROMs now.....

thanks
[Captivate Themes and Apps] Archpope:
Be careful when you use the updated version of ADW.Launcher. For reasons I can't fathom, they did two major changes that can cause a real problem.

1. They moved the trash can from the bottom to the top when removing something from the desktop

2. The App drawer button in the center can now be replaced.

I think this is incredibly stupid on the part of the ADW people. It makes it very easy to replace your app drawer with some application, then you can't get to your app drawer, and you can't reset it. Even the "reset" option in ADW doesn't fix it. In order to get my center button back to an app drawer, I had to uninstall it and reinstall it, meaning I get to spend the next hour putting all my icons, favorites, calendars, &c., where they need to be.

Up until these changes, ADW was hands down the best launcher there is. I think the simple fix would be to have a checkbox to protect the center button from being changed, the way it used to be. Or move the trash can back to the bottom where it is on every other launcher.
[Captivate Themes and Apps] aqtrans:
Or to get the App Drawer button back you can long-press on the desktop, Custom Shortcut>Pick Activity>Launcher Actions>Open/close App Drawer. Then just drag that shortcut to the dock bar.

A little wonky at first, but the extra customization this allows is worth it imho.
[Captivate Themes and Apps] ryude:
App drawer can be gotten back, long-press on the homescreen and choose "Add Custom Shortcut", for Action choose "App Drawer". Now you can drag that into your dock.
[Captivate Themes and Apps] Archpope:
It appears that that does work, but I looked for something like that, and after 25 minutes of searching through each menu, I didn't think to look into Launcher Actions. That's not terribly intuitive, and rather annoying that they would change that without warning about it. Even though there is a complicated, backdoor way of fixing it, it would make a lot more sense just to protect the main button by default, with a checkbox to unprotect it, with an explanation of how to get your drawer back.
[Captivate Themes and Apps] darkamikaze:
you're whining about something so simple to do... maybe you just need to learn how to use your phone..

Hold your finger on the screen. click Custom Shortcuts.. and Click choose activity... then click Launcher Actions (usually 3rd one from the top) and click App Drawer button.. -_-..
[Captivate Themes and Apps] ralexand:
I'm with you. It's not a good feature, IMHO. Seems rather arbitrary considering every Android user for the last 2 years has become all too accustomed to trash at the bottom. Don't get me wrong, the new update brought some great features, I just don't believe this is one.
[Captivate Themes and Apps] darkamikaze:
you guys probably don't theme often.. having a custom app drawer is awesome.. all it needs now is a widget type to open the app drawer...

get with the times.
[Captivate Themes and Apps] sold1erjjt:
it's ok its happens
[Captivate Themes and Apps] jev3gs:
Yeah I wasn't too happy about the trash on the top either. I went back to Launcher Pro now because I didn't want to have to get use to something that was just the opposite on every other android phone. I am sure they made the change for a reason.
[Captivate Themes and Apps] vijaykanth:
The trash on top was indeed a good idea, coz whenever a shortcut was to be deleted, some noob users were not able to drop it into the trash can, but instead added it to their dock. :P

But then again, when you long tap on any shortcut, there should have been a feature, where the bottom dock completely disappears and only the trash can is visible. :)

I personally love the change... Trash on top... something new! :D
[EVO 4G Q&A, Help & Troubleshooting] jmbburg26:
I have the HTC Evo rooted with unrevoked forever and like Sense. I'm looking for a Sense ROM that has been overclocked. I really want to do this to my phone but not really sure which ROM to use. I'm still learning how do the flashing of ROMs and such. I've done it a few times but could still use some help. Can someone point to a download link? Thanks!
[Galaxy Tab General] soli128:
While I was update the firmware with Odin, the Odin application 'hang' on my pc, so I have to closed it, but the Tab washen finish updating, so now there is this picture on the screen

[I can't link to the photo]

But the picture show a [phone ..!.. computer]

Hope there is one of your guys that know how to fix this.

/soli
[Galaxy Tab General] soli128:
Hhhmm, I found the solution, by reading this forum :)

I flash with firmware JJ4 and then it was up and running.

But when I upgraded to JM6, the Tab is now on the SAMSUNG logo and it make a sound and it looks like it restarts and the make 2 fast sound, but does not come futher, any one with a idear?

/soli
[Galaxy Tab General] ovigt71:
how did you fix it? I have the same problem....need help..please!
[Galaxy Tab General] soli128:
Look here

http://xdaforums.com/showthread.php?t=854300

/soli
[Galaxy Tab General] osetivo:
Step 1

Step 2

Last night I had very similar situations (Step 1 & Step 2), except JJ4 is what saved me. Apparently I wasn't paying attention when I did my "upgrade" vs "re-partition" method for JK5 > JM6. I accidentally used Odin 1.3 instead of 1.7, which resulted in Step 1 Results

So I tried reflashing PDA of JK5, which appeared to work, until I reflashed JM6, which resulted in Step 2 Results

Probably wasn't necessary, but it seemed like the best idea at the time, so I decided to go all the way back to Russian ROM JJ4 > Euro JK5 > Euro JM6 and I'm now my Tab's fully functional.

Check you Odin versions and be sure to get to "Phone..Triangle...PC" before you connect to USB

It worked for me, hope it helps
[Galaxy Tab General] ovigt71:
thanks a lot dude!!! you're the man !!! finally is alive again!!
[XPERIA X1 Q&A, Help & Troubleshooting] mikeconrad2:
this is what happened...last night i was listening to my songs through my xperia..then after a few minutes , im already asleep (i think i slept for about 3 hrs)...then to my surprise when i woke up, my xperia has a constant LED green flash and it won't go away...the only time it goes away i when i take off the battery...

then after a few minutes,..here comes the worst...my xperia's screen suddenly became blank!:eek: but you can still hear its working (like you can still change panel and hear the sound and the vibration it makes, the sound of the volume and the sound of the power buttton.:confused:) and until now its like that,,,,please help me guys,,,

do you think its a battery problem? or a LCD problem?

my Rom is just the default and i recently havent installed any applications...
[XPERIA X1 Q&A, Help & Troubleshooting] El.Guaje:
i feel like u had jus broken your screen... i have been in your situation but luckily ihad not broken my x1.may be you should take it to sonyericsson center and ask for help... good luck
[XPERIA X1 Q&A, Help & Troubleshooting] ueharaf:
diisammbly you xperia if you want.

some times the flex move out, so you probably have to press the flex of your lcd.

here the videos how to dissamble

http://www.youtube.com/user/CyK1

i dissaambled it to clean the keyboard, and when i turn it on, i dind see anything in the scree, just black, so i dissambled again and press de lcd flex conector and everything works!!

good luck!!

you also need a philip screedriver and a T6 screewdriver!!;)
[Droid 2 General] daredevile:
Is it possible to somehow disable the back key on the keyboard near the directional arrows? I can't stress how many times i've hit it on accident while typing an SMS , it's very frustrating.
[Droid 2 General] newk8600:
You must've been reading my mind because I was gonna ask the same thing earlier but didn't. I've typed up long posts on my D2 only to accidentally hit the back button instead of the '?'. I don't need to totally disable it but double clicking instead would be nice.
[Droid 2 General] daredevile:
YES!!! Always while hitting a "?" , forces me to type the whole thing over again . I would totally disable it ,I never use it , same with the "ok" button" but that's not in the way of anything at least.
[Galaxy S I9000 Q&A, Help & Troubleshooting] anoneemooz:
Hi guys!

So my current configuration is in my sig, except that I was using v8 of Doc's JPO ROM and the latest Super Optimized Kernel at the time... But this has happened twice on two different kernels so I'm not sure that matters all that much.

I don't know what more to say then what simply happened during both those times:

The first time it happened, I was in the default Samsung Song Player app..I tried playing a file then my phone suddenly locked up, so I pulled the battery. Upon reboot, the phone was still working fine so I tried playing the file again...the phone again locks up and I pull the battery again. But this time when the phone reboots, it takes a looooong time in the shiney S boot part. Then much to my horror, I am taken to Phone Setup! :| And even worse, after I went through all that..I still saw my same wallpaper and such, but then my apps (not system apps) started force closing all over the place! (Without being run, they just suddenly start force closing while I was still at the homescreen and during phone setup..)

I had to factory reset to get my phone to work again..losing everything.

This happened again, this time I was in the Market just doing some updates..then again lock up -> battery pull -> reboot -> force closing apps everywhere -> factory reset to fix... :|

Any ideas why this happens and how to prevent this?

Addtl info: the first time this happened, I still didn't apply the system fix thing (cus it didn't exist at the time). The second time though, I followed the instructions to prevent the system corruption thing.
[Galaxy S I9000 Q&A, Help & Troubleshooting] Lalaca:
This is not a reason to start a new thread in the Development forums.

Support and Q&A for custom roms should take place in their appropriate threads. Use a bit of common sense, courtesy, and patience -- people will help you.

Please read the rules of posting new threads again here: http://xdaforums.com/showthread.php?t=788800
[Galaxy S I9000 Q&A, Help & Troubleshooting] dupel:
1) Lock ups most likely due to removing drm file from system apps.

2) Your using lagfix (I assume) and when you pull battery data corruption is very likely on some configs.

3) Read rules before posting.
[Android Software Development] dom.l:
is there any way possible that maybe samsungs bada OS would/could be ported to android devices , in the same way that we are able to run android on our WM devices or iPhones using bootlace or haRET, please, i like bada and my review wave unit was sent back and i have no money to buy a Wave ,so i want bada on android . Please :)
[HD2 Android Q&A, Help & Troubleshooting and Genera] pkchips:
As I'm sure you realise (considering you've clicked on this thread), hastarin's new kernels do not enable undervolting by default.

After struggling to work out how to undervolt the kernel and asking for unforthcoming help in so many places, eventually a chap called tyween helped me out.

Here is a script which you can run to enable undervolting. Bear in mind that the settings revert to normal every time android restarts, which means you need to do this every time you reset your phone

If you need a faster way of running the scripts than a terminal, there is a program called SL4A which provides a GUI:

http://code.google.com/p/android-scripting/
[HD2 Android Q&A, Help & Troubleshooting and Genera] 2000impreza:
init.d script

Assuming the rom you use supports init.d scripts, why wouldn't you just write a init.d script and place it in the \system\etc\init.d\ folder? No need re-run scripts every time you restart.
[HD2 Android Q&A, Help & Troubleshooting and Genera] pkchips:
Maybe because I don't know how to :S lol.

If you do, then I'm sure it would help a lot of people including me if you posted some instructions.

(whenever I wrote a script in notepad and transferred it to my phone it didn't work, I had to write the script from scratch in that SL4A program. This is one factor which made experimentation much more difficult)
[HD2 Android Q&A, Help & Troubleshooting and Genera] 2000impreza:
I've always used notepad++ to write simple scripts. Never used regular notepad for scripts before.

http://notepad-plus-plus.org/

I copied and pasted your undervolt script into the file. You should be able to use notepad++ to open and edit the voltages.

Copy the script to the following folder:

1.

\sdcard\android\root\system\etc\init.d\

or, if the rom does not have root folder support

2.

\system\etc\init.d\
[HD2 Android Q&A, Help & Troubleshooting and Genera] ugumba:
Notepad sucks (the worst part of Windows 7) - it ends each line with Carriage Return and Line Feed (ASCII 13 + 10). Linux shells are usually thrown off by this, as they expect only line feed (ASCII 10).

I recommend you use Notepad++ always (you'll find it standalone, or in both PortableApps and LiberKey). If the status bar at the bottom shows "DOS", you can convert the line endings to UNIX.
[HD2 Android Q&A, Help & Troubleshooting and Genera] technocat:
no root folder on sdcard and trying to paste this file into init.d folder doesn't work, never shows up after tryng to move the file (doesn't move from sdcard where am trying to transfer it over), any ideas?
[HD2 Android Q&A, Help & Troubleshooting and Genera] pepsican:
You can use ADB (which is part of the Android Developer Kit.

You need root access and then use ADB PUSH <sourceloc/file> </system/etc/init.d/filename>

This move the file to system memory.