yashsingh1/xdaforums huggingface dataset:
[Android Software Development] obewah:
Ok, I have some dumb questions for you please forgive me in advance.

1) So what you are trying to tell me is to create another .java activity file that the main activity forwards to in order to preserve the integrity of the main activity. This new activity should be activated by the click here to start button and it will have all of the button code in it:

public void tolabou(View v) {
setContentView(R.layout.lcoff);
}
public void toldrip(View v) {
setContentView(R.layout.ldrip);
}
public void tolflav(View v) {
setContentView(R.layout.lflav);

Is that right?

2) Can you give me a idiot friendly definition of "activity, ints, strings, booleans, and bundle" and how they compliment each other

3) Right now I have a layout.xml for each recipe is that bad?

Feel free to answered all or any part of those questions and again I am truly grateful for all of the help I have received!
[Android Software Development] Smasher816:
Well i can answer #2.

For more on activities: http://developer.android.com/reference/android/app/Activity.html

An activity is like each "part" of a program. You can have as any as you want. The main one gets called by the launcher to start the app.

For variable types look at: http://download.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html

Int = number without decimal (-7,0,1,8) -2,147,483,647 to 2,147,483,647 max.

for decimals use float or double

string = text. ("Hello World!")

boolean = true/false (1/0, on/off, whatever).

bundle = some android thing. I believe it can save the state of your program to resume and stuff.

For future referance:

Java Tutorials: http://download.oracle.com/javase/tutorial/index.html (Lots of good stuff for starting programming and java)

Android Dev: http://developer.android.com/guide/index.html (Android specific stuff)
[Android Software Development] eatmold:
OK, I'll try to explain the process:

Main Screen:

1 Activity

: main.java (This is the Java class, contain java code)

1 Layout

: main.xml (This is the XML layout, linked to the class in setContentView)

Recipe Screen:

1 Activity

: recipe.java

1 Layout

: recipe.xml

So if in the main screen there are 2 buttons ("Lasagne" and "Pasta Bake"). Pressing either of these buttons will launch the recipe screen, but will pass a different string in the bundle to the new activity:

LasagneButton.setOnClickListener(new View.OnClickListener()
{

public void onClick(View v)
{

Intent myintent = new Intent("com.whatever.whateverapp.RECIPE");
Bundle mybundle = new Bundle();
mybundle.putString("recipename", "lasagne");
myintent.putExtras(mybundle);

startActivity(myintent);

}

});

The code above is creating a new intent, and a bundle. Adding a string called "recipename" to the bundle and setting it's value to "lasagne". This bundle is then added to the intent, and the activity is started. For the second button you would do exactly the same but set the string to "PastaBake".

So now when the recipe activity starts you need to extract the string, the next code should be placed under onCreate in your recipe activity:

Bundle mybundle = getIntent().getExtras();
String recipename = mybundle.getString("recipename");

Now with this recipename string you will need to populate your layout.

Hope that makes it a bit clearer. Here are some short tutorials I have written that may help you understand the basics a bit more (BTW: I am no expert, and have only been programming Android / Java for 6 months or so):

Buttons & Actions: http://droidapp.co.uk/?p=4

Changing Screens: http://droidapp.co.uk/?p=24

You will need to read and understand the second one to understand setting up activities as they need to be declared in the AndroidManifest file.
[Galaxy S II Q&A, Help & Troubleshooting] scott2121210:
Hi. I have not long realised that the 3x4 keypad does not have the all important apostrophe on the quick access number '1' button. I can only access it by pressing the '123' button several times then scrolling through the symbols. I know it probably sounds trivial but i use ' quite a lot. Is there any way round this? Thanks.
[Epic 4G Q&A, Help & Troubleshooting] sesgv13:
Im trying to update my cousins epic to the latest software

someone rooted it for him and never finished the job lol

his phone ir currently stock but rooted

model number

SPH-D700

firmware

2.2.1

build number

FROYO.DK28
[Epic 4G Q&A, Help & Troubleshooting] 420247paul:
Use odin and flash eb13 let it ota to ec05.
[Epic 4G Q&A, Help & Troubleshooting] sesgv13:
can you provide a link please
[Epic 4G Q&A, Help & Troubleshooting] 420247paul:
Not enough posts to provide link but it is in stikied bible or wiki whatever they call it if you know how to use odin all the files are in the wiki if you need help you can pm me.
[Epic 4G Q&A, Help & Troubleshooting] GRK4G63:
Latest version of ODIN

Here ya go
[Epic 4G Q&A, Help & Troubleshooting] thall302559:
http://xdaforums.com/showthread.php?t=773032

Its not gonna let u ota cause of the root odin back to stock then let it ota to EC05
[Epic 4G Q&A, Help & Troubleshooting] sesgv13:
where can i get the stock odib eb13
[Epic 4G Q&A, Help & Troubleshooting] duce102:
There's usually a .tar packed up with odin that is stock ec05 no root.....

The file should read something like "stock-sph-d700-odin.tar" or something along those lines
[Epic 4G Q&A, Help & Troubleshooting] duce102:
Do you want root or not because if you do still want it rooted you can just flash chris41g's stock ec05 plus rom through odin..... ill throw a link up in a few just in case......
[Epic 4G Q&A, Help & Troubleshooting] sesgv13:
yes please post a link i tried using samsungs tool but it dosent do crap
[Epic 4G Q&A, Help & Troubleshooting] GRK4G63:
This might help

I don't know if you've tried this, but qbking77 has some really good videos on YouTube.

This might help:

http://youtu.be/YQ2g6J1JgjU
[Epic 4G Q&A, Help & Troubleshooting] duce102:
this will be your fresh starting point for EC05 just flash this and then you can decide to change it to ext4 fs and flash customs

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

edit: this is DRockstar's ROM..... i couldnt find chris41g's old ec05 plus thread with a download link
[Epic 4G Q&A, Help & Troubleshooting] sesgv13:
Thanks to everybody that helped got his phone up and running with new rom and everything

thanks again
[Epic 4G Q&A, Help & Troubleshooting] tazfanatic:
Just in case here is Chrisg's ec05+

http://xdaforums.com/showthread.php?t=1061912
[Atrix 4G Q&A, Help & Troubleshooting] thewizardofozz:
Hello,

I bought my Atrix in AT&T, unlocked the sim and then rooted it. 3 days ago I finally bought a data plan, but for some reason, even when I'm using the same settings I got from Cellcom (my cellular supplier), the only thing I'm getting is "page is not available". I have found out that no matter if I have APN point or not, the H sign still appears in grey. Also, quick settings doesn't allow me to switch the data to "on" - it remains on "off" and under it, written "unknown". I really want to fix this problem, but I'm running out of ideas. please help me =)

Rooted AT&T Atrix: GingerBlur 4.5 ( already came from AT&T with 4.1.83)

thanks!
[Atrix 4G Q&A, Help & Troubleshooting] y2whisper:
delete the settings that are in. reset to default and try to input again. after you save them make sure you select the actual apn for use. you should see the icons start to light up if its in right
[Atrix 4G Q&A, Help & Troubleshooting] thewizardofozz:
I've done it like milions of time.

Off course,when I put my sim in cellcom's phone I can surf.I don't understand why the data is always off...
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Raistlin1:
I assume the difference between the two backs is purely cosmetic. Seems the white ones were made first? Would there be a better chance of finding a white back unlocked vs a brushed one?

Thanks
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] MMcCraryNJ:
I have the Grey one that I just bought 2 days ago from Staples. 16 GB and it is unlocked.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] jeandujardin01:
locked or unlocked doesnt really matter, since you can flash and kernel ect with locked bootloader tab

what else do you need ?! :p
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] fabrice.pottier:
Hello,

Just a question, ... how do you know if Gtab 10.1 is lock or unlock ?

Thank you for your reply.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] JoKu:
When booting up the screen shows Galaxy Tab 10.1 and at the very bottom center of the screen there's an image of an unlocked lock. If the bootloader IS locked you will not see any lock when booting.

In my experiences, the 16gb gray tab I got first from Best Buy had a locked bootloader. An identical model of the same color i bought on eBay WAS unlocked. I bought the one from Best Buy only because i was too impatient to wait on the eBay one to come in the mail. I never planned on keeping both since i got the one on eBay $50 cheaper. And when i discovered the unlocked bootloader I was even happier. So the one from Best Buy went back the next day after i flashed my CWM backup from it to the other one. :D
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] stillblood:
Do we need to unlock the bootloader to run roms
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] killer23d:
I got both white 32GB and black 16GB from BestBuy and they are both unlocked.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Raistlin1:
I understand that both can be rooted and CWM can be used and they will work the same, but of course I would love to get one that is unlocked. Why? I have no real reason, just because.

Do I want to go through the hassle of returning it? Probably not, but I have 12 more days to decide and to see if anything is actually wrong with it. Like I said in a previous thread, my luck I would return a perfect one that is locked for a not so perfect locked or if I am lucky an unlocked one that has problems.

My 16gb silver back is from Staples and its locked, man I wish they pulled a different box for me!
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] jeandujardin01:
No, you just root (takes 2min) and load a ROM with Rom Manager for example.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] TheyCallMeScoot:
What are roms for tablets? I'm pretty new to all this so when I hear roms I think snes emulator.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] jeandujardin01:
basically a ROM contains the OS of a device, it may be more or less modified...

read here
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] jamez95:
You have to get lucky to get an unlocked tab. So maybe try cregs list or something were they know their tab is unlocked if u want 1 that bad. Otherwise just root ur locked tab.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] happyhourtx:
so once it is rooted, it is unlocked? i rooted mine the minute i got home.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Sevent33n:
What is the difference this is my first android tablet and you can flash even if its locked. I found mibe is unlocked and its brushed
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Berner:
Nope, totally different things. Rooted means you (and programs you permit) can run as the "superuser" (aka "su") in unix-speak, allowing you access to certain otherwise unavailable system functions such as the ability to mount the system folders on your device and make changes to them.

The bootloader is the code that runs when your device is first powered, even before it runs the normal OS, recovery, or anything else. It's like the BIOS on a PC. The bootloader can also apply update files to the system. This can include custom ROMs and system updates. If the bootloader is locked, however, this function is unavailable to the user.

Fortunately for you folks with locked bootloaders, there are other ways to flash our Tabs, such as ODIN and nvflash. They essentially do the same thing, i.e., allow you apply updates to your system including custom ROMs. So there's probably no big difference for owners of locked devices as long as the updates and ROMs they want to use are made available in the appropriate format by the devs.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Wickedcarny:
I feel like my brushed metallic tab is heavier than the white one I had? Am I insane or anyone else think this?

Basically I bought one from BB because I was too impatient to wait a week until I ordered one off amazon with giftcards for ALOT cheaper.

after I returned the white tab (with extreme ease actually, no questions asked about the used tab) and opened the brushed metallic, I SWEAR and even now holding it that it is heavier.

Im probably crazy, because Im sure it has to be made of the same materials.

Also both my white and brushed tabs were both locked.
[Galaxy Tab 10.1 Q&A, Help & Troubleshooting] Berner:
I had both a white and a metal Tab at the same time. They weigh the same.

Perhaps your metal Tab has more GBs? Greater number of installed programs? More music loaded? These would all cause it to be heavier, of course. ;)
[Touch Pro2 CDMA] Hootyhoo:
PHOD400

Sprint

This just keeps getting worst and worst.

I first notice that my end key didn't end phone calls. Then I noticed it didn't end anything but it actually would put the unit into Airplane mode. I'm doing a tap not a hold. So I get tired of trying to figure it out so I try to do a Hard reset. Got to the "press volumn up to erase". Pressed the volumn up as I have in the past when I did a hard reset but nothing happens. Tried numerouse times with no result. Volumn buttons both work when phone is on and working. I can volumn up and down but when I go to do a hard reset no buttons work. So I tried flashing numerous ROMs with no change in any of the above. until I flashed one that never went in. it just stayed on splash screen or what ever it was. I tried reloading ROMs from the card that I knew worked and it got to the update ROM window on phone. The place where you are supposed to push the power button to continue. So I push the power button and once again nothing happens. I tried this numerous times, I tapped. I push and held. I talked nice to it and still nothing happens. I'm lost. Any help would be nice. Thank you.
[EVO 4G Q&A, Help & Troubleshooting] sesgv13:
Would appreciate it somebody can help me out and make this into a splash screen

please and thanks in advance
[EVO 4G Q&A, Help & Troubleshooting] dased14:
I can do it later tonight if(couple hrs) still needed

brought to you by the little voices in my head
[EVO 4G Q&A, Help & Troubleshooting] dased14:
here you go

remove(xxx) place in sdcard, blah ,blah (you know the drill) bootloader blah,blah
[EVO 4G Q&A, Help & Troubleshooting] sesgv13:
Thanks again my friend

much appreciated
[LG Optimus 3D] bnorontako:
please help me, i try to update my o3d from 10b to 10d, i used wifi after download telephone ask me to reboot, but after trhat my phone just stuck in recovery mod (clockwork mod) i try to restore my phone is success but always stuck in recovery mod i dont know what i must to do now, please help. p.s i root my phone
[LG Optimus 3D] ik911:
you will need LG mobile update on your pc and install the lg p920 drivers

turn your phone off take the battery out leave it for 10 seconds, run LG mobile update connect battery and usb cable hold power and volume up hold it for 10 seconds let go then do it again for 10 seconds LG update should say phones connected

click customer support > recover type your imei let it update once finished power up phone now you will get a screen on the phone that says updating let it update
[LG Optimus 3D] bnorontako:
thank's for the quick respond, i do what you said but its fail to update because it said some irreversible error, i dont know what i must to do next, please help.

edit:

always stuck in clockwork recovery, yes i can move to backup via recovery but when i try to boot always return in recovery i don't know what i must to do next i think i just brick up my o3d
[LG Optimus 3D] ik911:
keep trying
[LG Optimus 3D] slyevo:
Stuck in CWM

Silly question but have you tried wiping data (factory reset) & wiping all cache in the cwm options, Then try to recover?

Just a thought please update with results....

Regards

Mark
[LG Optimus 3D] bnorontako:
yes , i do that to, i've done factory reset even twice but still stuck in recovery

edit;

after 15 times trying (ik911 method) finaly i can download from emergency and install the firmware but when i reboot phone my screen stuck in firmware update, for how long i must wait this screen? because it already half hour and i dont see nothibg change
[LG Optimus 3D] ik911:
do the recovery one more time should work after that
[LG Optimus 3D] Renegade_Rulez:
It will be stuck there forever!

There is no solution yet to fix this problem... Now you can only send it in for repair or wait for a possible fix...
[LG Optimus 3D] bnorontako:
thank's for respond, yes i already recover 3 times but still stuck in update screen, i think it's forever stuck, i will sent it to repair monday, it's hard to find repair open in saturday
[LG Optimus 3D] deifel:
Same problem here... :( Firmware Update Screen und no chance to get the phone to work... I tryd 3 times emergency mode... always the same...

I hope, someone has a idea?
[LG Optimus 3D] bnorontako:
hai kellerfelix, until now i cannot resolved my problem too, and i already talk with lg support, and they said that i must repair my o3d, nothing can fix it
[LG Optimus 3D] bnorontako:
yes i have clockwork that is my problem, first stuck in recovery mod (clockwork) i had done anything possible with clockwork restore, reset etc etc you name it a thousand times but nada my phone is stuck in recovery mod and then i try emergency recovery via lg tools it success to download and install firmware and then when i reboot its stuck in update screen and i cannot enter the recovery mod anymore because it's not root with new firmware
[LG Optimus 3D] aremcee:
I've been in that situation twice, Flashing the update kdz through USB should fix it.

In any case, I could use the following information from someone in this situation: while in recovery, open an adb shell on the phone and type each of these:

echo "522 1" > /sys/kernel/kobject_lge_nvdata/static_nvdata_raw_read
cat /sys/kernel/kobject_lge_nvdata/static_nvdata_raw_read
echo "518 1" > /sys/kernel/kobject_lge_nvdata/static_nvdata_raw_read
cat /sys/kernel/kobject_lge_nvdata/static_nvdata_raw_read

echo "522 1" > /sys/kernel/kobject_lge_nvdata/dynamic_nvdata_raw_read
cat /sys/kernel/kobject_lge_nvdata/dynamic_nvdata_raw_read
echo "518 1" > /sys/kernel/kobject_lge_nvdata/dynamic_nvdata_raw_read
cat /sys/kernel/kobject_lge_nvdata/dynamic_nvdata_raw_read

I need the output of each of the "cat" commands.
[LG Optimus 3D] Renegade_Rulez:
It's impossible to use adb the phone only displays the updating firmware screen that's all... I can put it into recovery mode without battery and pressing power and up but flashing via LG update tool will get you back into the firmware update screen :(
[LG Optimus 3D] aremcee:
Vol-up+Power is download mode, not recovery. Still, that's strange. The LG Update tool should have installed the stock recovery, which wipes everything on the phone (including boot flags). Have you tried booting with Vol-down+Power to enter recovery?

And if that doesn't work, have you tried the KDZ Updater tool?
[LG Optimus 3D] Renegade_Rulez:
If you hold volume down + power it will power on and off again if you release power after LG logo I get firmware update screen, which kdz updater tool works on O3D?
[LG Optimus 3D] aremcee:
Try again: I run into that all the time, getting into recovery mode with the keys is tricky.

I think there is only one...
[LG Optimus 3D] Renegade_Rulez:
I tried loads if times before it almost worked everytime after U got that firmware update screen I never succeeded will have to call LG tomorrow to get it replaced, no programs like kdz upd fw or uptestex were successful in flashing any kdz... the official LG tool works but after flashing only the firmware update screen.
[LG Optimus 3D] deifel:
Yes, same here and i think for all that have this problem :(

Vol.down+Power etc... I tested ALL!! KDZ Updater, several times with LG Updater Tool etc... NO Chance!

Always the same and you cant get into adb shell...

So there is only one way: LG Repair Center :(

Or lets hope that a updater tool comes that works with our O3D...

Greez
[LG Optimus 3D] Renegade_Rulez:
So next time I will always remove clockwork mod before updating my phone! Really sucked not having my O3D all week to make my 3D holiday pictures and movies, main reason I bought it for. Updated to 10D and semi-bricked it just the night before I left for my holiday. Lucky I still had my Optimus 2x with cm7 to make some nice 1080p videos :)
[LG Optimus 3D] bnorontako:
i had done everything possible in this tread but nothing happend, so i used my last resources send it to lg repair, but they told me that it need around one mounth to fix it because of summer vacations (poor me)
[LG Optimus 3D] Renegade_Rulez:
That sound a bit strange one month? Which country are you in? Is the VIP support not available in all countries? In Belgium and Netherlands they promise a new phone within 24 hours!
[LG Optimus 3D] bnorontako:
i lived in south of italy (around 1000 km from milan) and they will send my phone to milan so what can i do is waiting and waiting
[LG Optimus 3D] byl233:
BTW, how can I remove clockwork recovery?
[LG Optimus 3D] lufc:
Questions or Problems Should Not Be Posted in the Development Forum

Please Post in the Correct Forums and Read THIS

Moving to General
[Galaxy S II Q&A, Help & Troubleshooting] stark_br:
Hi guys

Does Galaxy S2 has a tool to root it similar to unrevoked for HTC?

This would make things easier for us....

Regards

Marc
[Galaxy S II Q&A, Help & Troubleshooting] DjLegolas:
just use ODIN and flash a rooted kernel.

about 30 sec and u good to go.
[Galaxy S II Q&A, Help & Troubleshooting] safeelhd2:
There is also SuperOneClick root. Does it in 1 click!
[Galaxy S II Q&A, Help & Troubleshooting] inkyadrian:
Super1click is like unrevoked. The difference is that sgs2 must have an insecure kernel installed to be rooted in this way. XXDD kernel installed via Odin has worked for me. Install that kernel then run super1click via your computer.

Adrian.

SGS2 9100

Lite'nin rom

XDA Pro.
[Galaxy S II Q&A, Help & Troubleshooting] stark_br:
Tks bro, sorry to bother but u have any tuto for me?

Tks
[Galaxy S II Q&A, Help & Troubleshooting] killall:
http://xdaforums.com/showthread.php?t=1134290

or:

Google :rolleyes:
[Galaxy S II Q&A, Help & Troubleshooting] veyka:
Read this thread, its really really really easy
[Motorola Droid 3] edgan:
I think users need to rise up and demand source code from Motorola. The one has been out long enough, and there is nothing on their Sourceforge site about it. Also after it comes out, be sure to test what they updated. They have a bad habit of uploaded stuff that is either corrupted, or missing files.
[Motorola Droid 3] dpwhitty11:
If you get me an email to send something to, I can write something up that each of us can send.
[Motorola Droid 3] edgan:
If you want to do it officially you have to actually use snail mail. There is address mentioned somewhere.

They have somewhat responded on the forums of Sourceforge, though as I said there isn't a section for the Droid 3 yet. You could also try the Motorola Forums, and word might get through the grape vine.

A trick I have used once before with a cable company was to go through the press releases on their website, collect all the e-mail addresses, and e-mail them all the same message.
[Motorola Droid 3] edgan:
http://xdaforums.com/showthread.php?t=1181570
[Motorola Droid 3] nerdslogic:
I say we hire Lulzsec to hack Motorola and leak the boot loader keys and sbf files for all phones possible.:eek: did I just say that?:o

Either that or try to get them to crack the boot loader or obtain root.....

I'm just saying....they seem very good at this stuff.
[Motorola Droid 3] dpwhitty11:
That, sir, is some of the smartest dumb **** I have read on the internet in a long while.

lol seriously, that would be an awesome way to get source. It's just crazy enough to work....... If only we had someone with connections XD