yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] nikwen:
Of course, here you go: http://developer.android.com/sdk/installing/installing-adt.html

You say that it does not let you run the app. Can you install it? I guess that you cannot. Even if you could, there would be a bigger log output/stacktrace.

There should be errors shown in your IDE (Eclipse). Is there any red sign in your project code? (If there is one, there will be a red X in the Package Explorer view.)

I think that the problem is in your code.

Check this. ;)
[Java for Android App Development] TwilightLoz:
I just deleted everything apart from my project before reading your reply...

I'll download it again and run my project again. I didnt get any red x by the way.
[Java for Android App Development] MattMatt0240:
First of all, I would make the Button variables as a "Field" Rather than a 1-time instance of your onCreate() method. A Field is a variable defined at the root of your Class. Example:

package com.tarikh.thebasics;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class splash extends Activity{

[COLOR="Lime"]Button tut1;[/COLOR]

[MENTION=439709]override[/MENTION]
protected void onCreate(Bundle savedInstanceState) {
// TODO Auto-generated method stub
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

[COLOR="lime"]tut1 [/COLOR]= (Button) findViewById(R.id.button1);

tut1.setOnClickListener(new View.OnClickListener() {

[MENTION=439709]override[/MENTION]
public void onClick(View v) {

[COLOR="lime"] if (v.getId() == R.id.button1) {
startActivity(new Intent("com.tarikh.thebasics.TUTORIALONE"));
}[/COLOR]

}
});

}

The Lime-Green colored text is the only thing that needs to be change.

The 1st is now a Field, where that variable will be seen throughout the whole class, not just onCreate().

Then take away the Button declaration of tut1 in your onCreate() Method. this will make the tut1 Field (Button) = (your_id_here)

Edit: sorry, I misread. Disregard the "if " statement.

Cheers
[Java for Android App Development] out of ideas:
1. Try it on a device if you can. I never use AVDs because I can run and debug an app about 8 times before my AVD even loads. Plus yours seems buggy.

2. Does it force close or just not work? if it FCs make sure you declared the second activity in your manifest.

3. Does the main xml button have an id?-- android:id="@+id/button1" ?

EDIT. Wait, your button should be in the activity_main.xml, not tutorialone. if its in tutorial one it weould try to reload that same activity.

actually it wouldnt even do anything probably, because your calling a button that isnt where you are.
[Java for Android App Development] TwilightLoz:
Thanks for all your suggestions. I think I'm going to start fresh since Ive got more knowledge now. I'll take all your advices on board and if things go wrong, i'll post my problem here.
[Java for Android App Development] TwilightLoz:
Im going to download this as this has everything bundled together:

http://developer.android.com/sdk/index.html
[Java for Android App Development] TwilightLoz:
Thanks guys for your co-operation, I just created the splash page and linked the button to the other layout. Got error but fixed them. It was good practice.

Didn't know running the app from your device instead of the emulator would be soo easy!! And not to mention less laggy.
[HTC One S] SmoothOne13:
HELP !

My Phone's bricked when I tried to flash my kernel with Bulletproof.. and I can't install stock rom with RUU with my Hboot (my Hboot is 3.01) and I haven't found a method to downgrade for install a RUU !

When I try to turn on the phone, it goes immediatly on fastboot ..

Can somebody help ?
[HTC One S] F-L-Y-E-R:
Why you want to install a rom via RUU? Just flash boot recovery, then wipe everything and flash the rom via that recovery.

Simple as that.

I mean if I understood what the brick is, so I had my phone bricked 10 times then.
[HTC One S] SmoothOne13:
I'll try it, thanks for your reply.
[HTC One S] SmoothOne13:
Yeess my phone run normally ! Thanks bro

Envoyé depuis mon One S C2 avec Tapatalk
[HTC One S] F-L-Y-E-R:
Realy? So I was correct? Your welcome :)
[Galaxy S 4 Q&A, Help & Troubleshooting] Sanjaka9911:
Hello Everyone. I flashed the 4.3 Google Edition Rom and after about a day of use it crashed. I booted into TWRP and attempted to boot into the system to find that It would say the typical 'Samsung Galaxy S4 i9505 bla bla.' I then went back to TWRP and attempted to flash the backups of Stock TouchWiz via my 32gb SD Card (note my s4 is 16gb) and it would come up with failed and prompted me to wipe dalvic cache ect. Stressing out I went on to odin and flashed an Optus Carrier Stock Touchwiz Firmware. This did not work either making me still boot loop. I was however unrooted and did not have a custom recovery. And here we are now, I re-flashed root and TWRP attempting again to flash my backups and once again they fail on me.

Please. Any help would be highly appreciated. I currently have a phone with stock touchwiz (which doesnt boot), TWRP and Root flashed aswell. Thats It. Once again please. Ive checked plenty of other threads however they were all fixed some way or another.

Thanks for your Help Everyone..!:laugh:
[Galaxy S 4 Q&A, Help & Troubleshooting] chrisknife:
just flash any original firmware via odin! :)

for example I9505XXUBMF8_I9505OXABMF8_I9505XXUBMF8

after that boot into stock recovery and wipe/delete data.

this should help.

also i wouldn't use any ge firmware until it's official released.

there are some bugs like you can't enter sim code or very heavy battery usage

good luck
[Galaxy S 4 Q&A, Help & Troubleshooting] spamtrash:
if you've already tried standard ROM for i9505 and it did not helped - your bootloader was changed during the flash of Google ROM.

What do you need now: full ROM which would include bootloader, pit etc., and flash it with repartition.

P.S. ask any mod to move this thread to Q&A section, where it shall be...
[Galaxy S 4 Q&A, Help & Troubleshooting] Sanjaka9911:
DONE!

Guys, thanks for all your replies! I found a solution. I used an older version of odin and did a factory reset with the stock recovery. thx for all ur help again. I was just really stressed at the time so..! haha
[Galaxy S 4 Q&A, Help & Troubleshooting] Rekhter:
Have the same problem with my Galaxy S4 Google Edition

I just bought a Google Ediion Galaxy S4 from the play store, and I followed the instructions in this thread (http://xdaforums.com/showthread.php?t=2341162). And my phone is screwed, it is stuck with the black screen and the Google Logo in the background. I can get into download and recovery mode, but only when I take the battery out first then reboot it in either mode. Can anyone help me please?
[Galaxy S 4 Q&A, Help & Troubleshooting] gee2012:
Go in recovery mode and clear the caches and optionaly do a data factory reset.
[Galaxy S 4 Q&A, Help & Troubleshooting] im4eversmart:
Please search the forums first for a solution to your problem ,there is plenty of bootloop threads.
[Galaxy S 4 Q&A, Help & Troubleshooting] Rekhter:
I already did that, and it did not work, also I did search through the boot loop sections in the forum and I could not find good solutions, if any of you can direct me to a certain thread I would highly appreciate it.
[Sprint LG Optimus G] MrSemiFunny:
i need a kdz to unbrick my phone yo. and also i don't know my serial number :(
[Sprint LG Optimus G] engine95:
Is it a kdz or LGNPST? I don't think Sprint uses kdz. But if you need it, look here. http://xdaforums.com/showthread.php?p=34558759
[Sprint LG Optimus G] Xtazy305:
I get stuck extracting file :(

13:02:53 : Launching SW update

13:02:53 : Unpacking KDZ

13:03:02 : KDZ file extraced

13:03:02 : Extract file error

13:03:04 : ===FINISHED==
[Sprint LG Optimus G] javskies:
use lgnpst its better and faster
[Desire Q&A, Help & Troubleshooting] Stian42:
The menu-button on my desire has started bringing up "recent apps" whenever I click the menu-button (even when clicking it just to get the menu up). Is there a wat to disable the long/double-press on that button altogether?

I think it started doing this after I ran in the rain with the phone, so it might be a water damage.
[Desire Q&A, Help & Troubleshooting] erklat:
I have a similar issue with home and back buttons. Probably a dust buildup underneath? Try disassembling it and repacking it back after you clean it. The desire components are somewhat modular under the hood, last week my speaker stopped working and I repacked it and now it works as brand new. Might help if you do the same.
[Desire Q&A, Help & Troubleshooting] Stian42:
I tried that for the second time just before posting without success, but thanks!
[Sony Ericsson Xperia Mini, Mini Pro, Xperia Pro, A] XDynamite:
Hi, is it possible to change the font and its position in the incoming call screen? I would move it in lower position e change it to bold font, because the words and the photo caller are mixed up. Look the screen (there's no photo in this case, but when it is present the words are unreadable).
[One (M7) Q&A, Help & Troubleshooting] konman795:
Hi everyone, I was wondering if there was anyway to increase touchscreen sensitivity on the HTC One. I just recently installed a MIME tempered glass screen cover and I've noticed it is a little less sensitive now. For example, pulling down the notification bar or scrolling in general is slightly less responsive. Thanks!

I just realized this should probably go in the Q/A Troubleshooting section. Can a mod move this for me?
[One (M7) Q&A, Help & Troubleshooting] Gr8man001:
Same here. I also tried a different brand (Xtreme Guard) and felt the same. Ironically, the same screen protector was installed on my wife's Galaxy S4 with almost no difference in screen sensitivity. I would be interested to know too how to increase the screen response/senstivity. Thanks.
[One (M7) Q&A, Help & Troubleshooting] bobsie41:
The latest published firmware 2.17 has updated touchscreen drivers http://xdaforums.com/showpost.php?p=39225672&postcount=2

This may help.
[One (M7) Q&A, Help & Troubleshooting] konman795:
Hi, how do I see what firmware version I have? I don't see software number or anything similar. I'm running Cyanogenmod latest nightly right now.
[One (M7) Q&A, Help & Troubleshooting] syaoran68:
if your running CM currently your not compatible with the new TP firmware. its included in the updated hboot firmware 2.19
[One (M7) Q&A, Help & Troubleshooting] mpa927:
So i think i bricked my phone...started downloading the new venom rom and didnt have all of the files i think...i kept wiping the device because i saw in videos your supposed to before hand....i can no longer get past the htc start up screen and at the bottom it says the devoloper stuff...i can still get into TWRP and wondered if anyone could help me sideload SuperSu or something....it says super SU isnt there and i have to install it but when i swipe to install i get stuck at that first screen...it says i have no Operating system chosen but for that i think i need root (superSu) first? PLEASE HELP. ITS MY SECOND HTC ONE ALREADY...:(

*EDIT* I AM ALL SET!! IM LEAVCING THIS OPEN BECAUSE SOMEONE SEEMS TO BE HAVING THE SAME PROBLEM. A HUUUUGE THANK YOU TO MEMBER: a box of kittens
[One (M7) Q&A, Help & Troubleshooting] Mashkawizii:
I can help, first I need to know which HTC One you have, what carrier.

Once youve found out which carrier head over to the sticky with all the stock RUUs and download the one for your phone and carrier (if youre soff then just download anyone) then hold power and vol down to get into bootloader, press fastboot. Plug in your phone and dont touch it... Open up command prompt (assuming youre on windows) and go to your fastboot location... Type in "fastboot oem lock" wait for it to relock youe bootloader... Then type "fastboot rebootRUU" then wait til your phone shows a different screen, the RUU one. Now open up the RUU .exe and run it. Your phone will now be at stock.

That should work if you have fastboot working.
[One (M7) Q&A, Help & Troubleshooting] a box of kittens:
This is why you shpuldnt root your phone if you have no knowledge of adb and fastboot...
[One (M7) Q&A, Help & Troubleshooting] mpa927:
Black HTC One 32GB AT&T Variant....i do have windows.....and im a BIG NOOB when it comes to this and dont know if i'll be able to find and do what you said...i know how to open the command prompt but idk what to really do...ill try and look for those RUU's i guess. i will literally send you some money if you can help me stop this nightmare.
[One (M7) Q&A, Help & Troubleshooting] a box of kittens:
Can you just message me on gtalk or email me this will be easier

Omario8484@gmail.com I don't want your money too

---------- Post added at 05:38 PM ---------- Previous post was at 05:36 PM ----------

Actually this is very easy... Adb push a Rom then flash it
[One (M7) Q&A, Help & Troubleshooting] Mashkawizii:
Do you have sdk installed?
[One (M7) Q&A, Help & Troubleshooting] a box of kittens:
I got him up and running
[One (M7) Q&A, Help & Troubleshooting] Islandsnapper:
I don't suppose you could do the same for me?, I'm in exactly the same boat, Factory unlocked HTC One, can only get into bootloader and TWRP, no OS installed, can't get mass storage or HTC MTP drivers installed so not way to get a new OS on...:(... I'm an idiot., If anyone can help I would appreciate., tried the steps in post 2 but command prompt just says waiting for device.

Sorry for the thread hijack, its just that its virtually exactly the same as whats happened to me.
[One (M7) Q&A, Help & Troubleshooting] a box of kittens:
I'm at work right now ...you can email me at 540 pacific time
[One (M7) Q&A, Help & Troubleshooting] Islandsnapper:
Thank you, thats about 3 hours away?.. Sorry Im in the UK so guessing.

Nice to see you are a red, I was born in Liverpool and a red too. :good:

Im not sure what info you want?... much appreciated anyway, thank you.
[JAM, MDA Compact, S100 General] dNuOs:
Hello everybody,

i just replaced my old MDA 2 with a MDA COMPACT.

I noticed that close to signal level the GPRS icon (squared G) is always on, while in the MDA 2 it was on for only a few seconds after switching on radio (telephone function) and then disappeaed.

Is this normal? I do not use often GPRS function and i was told GPRS makes battery go down faster...

How can i switch GPRS function off in MDA compact?

Thanks in advance
[JAM, MDA Compact, S100 General] walshie_au:
It just shows that you are in a GPRS capable zone, the icon will change when you actually connect GPRS like when you connect the MDA compact to the computer. You can disconnect from GPRS by holding the hang up button for 3 seconds.
[JAM, MDA Compact, S100 General] dNuOs:
walshie

thanks for your quick reply.

I assume then, that the G signal icon was used in a different way by MDA 2 because i never saw it (same provider Voda ita) except when switching on the phone.

I shouldn't been worried then about battery life?

thanks
[JAM, MDA Compact, S100 General] walshie_au:
nah nothing to worry about, its just an indication that you are in a GPRS zone, from memory the XdaIIs shows this icon when you click on the signal strength icon, i think HTC moved it from the signal strength window because the screen on the xda ii mini is not as big and cannot fit as much information as the IIs can.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Tried to OTA and keep root and not factory reset(had to re-root and install recovery but no factory reset!) and went through a interesting process and thought maybe someone could improve on it to save time and keep apps and data.. Ok so I decided to update my tab via ota and try and save root and recovery(currently using CWM). I got voodoo ota rootkeeper and I backed up superSU, then did temp un-root, backed up apps and data through titanium backup, well sorry backed up then temp un rooted with voodoo, did all my other backing up and started download of 4.1.2 update, tablet did normal download and shut off and went to Android screen, loaded some then went to CWM automatically and asked i wanted to flash un-trusted zip, to say the least I was nervous but ok'd it and it loaded and then poped up again in CWM after it finished flashing zip and said ROM may flash stock recovery on boot but this can be undone! ! I was reluctant once again but I ok'd it and WALLA it rebooted normally with new 4.1.2 except it said update failed or interrupted I closed that screen opened voodoo rootkeeper restored rood and again WALLA root. I haven't tried to reboot to recovery yet but root seems fine and tablet is same as before update, exact same as if nothing ever happened. Need input because I'm not a developer just a flashaholic! :D
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sernzrevenge:
Sooooo? Is this a question...or?
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
No, just did it!
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Screenshot
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Ran this test with Got Root app and says no busybox, any suggestions?
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Didn't keep, well wouldnt boot to recovery but turned back on like normal? I believe because its a different android version.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Ok flashed TWRP recovery and superSU and busybox from here http://xdaforums.com/showthread.php?p=43045886 using Odin 1.85 unchecking F.Reset Time. Works fine and and never had to factory reset during update process. All of this was done by just trying I guess, don't know if or how close I was to bricking so any info would be great. Just thought this whole process was interesting. Thanks goes to all the hardworking developers.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Skazzy3:
Wrong forum.

Als your tab seems fine then no need to post about it.

Also lol 1024 posts.
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Maybe some can improve on process I was going to delete .. :confused:
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Q&A forum?
[Galaxy Tab 2 Q&A, Help & Troubleshooting] Skazzy3:
Yes. I already reported this thread so a mod can remove it.

Also instead of making double triple quadruple posts just use the edit button!
[Galaxy Tab 2 Q&A, Help & Troubleshooting] focussoft:
I already posted a howto how to upgrade and root the i495 earlyer this week

Its way less complicated then this whole story

But its in the galaxy tab 2 forums where it belongs
[Galaxy Tab 2 Q&A, Help & Troubleshooting] sohood317:
Less complicated yes but I didn't have to factory reset either, and the OTA went through without having to un-root, Odin and Kies factory reset and sometimes OTA will not go through when rooted so I figured it was worth a look! Sorry for wrong forum! And thanks focussoft for instructions and links!
[One (M7) Q&A, Help & Troubleshooting] nativesmiley:
is there like any tweaks or mods for the sense camera for better picture taking or anything like that?
[General Questions and Answers] satanax21:
Hello, I have a problem with the mobile phone, the phone does not work and is not included at all the only thing that lets you know that he is alive at all, is that my computer picks it up but nothing but the error does not occur drivers (I found the driver under MTS 962 and AiO from Roddie (phone picks them up, but the recovery mode, and so do not grab the phone)
[General Questions and Answers] satanax21:
up

up:crying:
[One (M7) Q&A, Help & Troubleshooting] istoyanow:
Hi guys. Does any body notice the spot from One`s display in the below picture ?

https://www.dropbox.com/s/psxjbf5g3o9d9la/Screenshot_2013-06-29-18-54-04.png
[One (M7) Q&A, Help & Troubleshooting] Tinderbox (UK):
hi.

How did you get the picture, if it was a screen shot, then it`s not a faulty display, maybe it`s a dodgy notification bar icon, have you tried a restart.

I have checked that wallpaper on my one and their is no mark on mine.

John.
[One (M7) Q&A, Help & Troubleshooting] istoyanow:
HI. Yes, it was a screecnshot. So nothing to affraid for. :)

No, I did not restart the phone. Just cleared the notification that screenshow was captured and the icon disappeared from it. It make sense if it is a faulty display to not be captured.

Thank you very much ! I think this can be locked.
[One (M7) Q&A, Help & Troubleshooting] Tinderbox (UK):
I though i had a stuck white pixel on my notification bar, so i took a screen-shot and it was in the photo, so it look like it is fault in the photo, or the only star i can see. :)

It`s an htc one stock wallpaper try it and see.
[One (M7) Q&A, Help & Troubleshooting] lets_zock:
It's the Google Now notification I think.

Send from my blazing fast Nexus⁴
[One (M7) Q&A, Help & Troubleshooting] istoyanow:
It seems is not fault display ! :)

Yes, I have the same dot at same place ! :) :good:
[One (M7) Q&A, Help & Troubleshooting] knightofdenmark:
It's a notification from google now, it means that you have new cards
[Nexus 4 Q&A, Help & Troubleshooting] faddyie:
The stock android 4.2.2 freqs are 102 min 1512 max...

I works liquid smooth and gives love battery life.

My question: does cpu freqs not have any impact the n battery and heat..?
[Nexus 4 Q&A, Help & Troubleshooting] -JFK-:
Hi,

Higher the CPU freq is, higher the electrical consumption will be, higher the temperature too :)

So higher freq finally mean lower battery.
[Nexus 4 Q&A, Help & Troubleshooting] younix258:
Technically, high frequency will use more current as well as often requiring a higher voltage to the cpu to maintain stability. Both of those would increase battery consumption and heat. However....

When the cpu is working at a higher frequency, it finishes whatever its doing sooner and therefore has more time to idle, thereby countering some of the higher consumption/heat. Another thing to keep in mind is that on a smartphone, the LCD screen takes up alot more power than the cpu, so that an increase of a few 100 MHz and mV will have a negligible effect on the battery. However, because the heat increases with the square of the voltage, a higher frequency with higher voltage will result in a possibly noticeable increase in temperature.

Hope thats thorough enough for you.
[Nexus 4 Q&A, Help & Troubleshooting] gravitysandwich:
Get Franco kernel, and undervolt some to get rid of heat, and the battery is super++++.
[General Questions and Answers] z0rr01983:
(Sorry for my english)

Hi people, Help, where I can buy parts for repair near of Mexico.

I have a Samsung GT-S7562 and the port or bay for sim card only recognizes a sim.

Thanks a Lot
[Xperia Z Q&A, Help & Troubleshooting] alfiabraham:
Hi I just updated my phone to 4.2.2. I need to know if my files in the internal storage are stored in "/storage/emulated/0/" or "storage/sdcard0" or all files being stored in two locations in XZ 4.2.2? is it safe if i delete "/storage/emulated/0/" and continue to use "storage/sdcard0" like how it was in 4.1.2??? :confused:
[Xperia Z Q&A, Help & Troubleshooting] kingvortex:
Your files have not been duplicated. I would imagine that one of the locations is just a symlink and is there for a reason. I wouldn't mess with it if I were you.
[Galaxy S 4 Q&A, Help & Troubleshooting] bubu23:
hey guys!!!

its very strange always when im flashing new rom

the phone act very fresh and fast but after around few days the phone become very slower???
[Samsung Galaxy Mini] NiceIceDice96:
Hi for all I like to share for all of you something I like it S4 and HTC one Google edition Stock Live Wallpaper and bootanimation flash able zip and normal install for lwp

screenshot from my device

Here is the link for it : http://db.tt/WRMzohCB

And I can't take screenshots for boot animation so here is the flashable zip via cwm: http://db.tt/iww0D1YL

Cm10.1 stock bootanimation http://db.tt/xcN1UOI6

I hope everybody enjoy them :)

If you like it press thanks
[Samsung Galaxy Mini] blurhns:
Looks cool.

:fingers-crossed: Bootanimation works on cm10.1?

EDIT: I flash this on cm 10.1 06.11 and don't work . same bootanimation .