yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] jeb192004:
I did this:

male.setOnClickListener(new OnClickListener() { [MENTION=439709]override[/MENTION]
public void onClick(View v) {
String f = feet.getText().toString();
String i = inch.getText().toString();
String w = weight.getText().toString();
String a = age.getText().toString();

if(feet.getText().toString().equals("") ){
feet.setError("Please Fill Out Your Height");}
else if(inch.getText().toString().equals("") ){
inch.setError("Please Fill Out Your Height");}
else if(weight.getText().toString().equals("") ){
weight.setError("Please Fill Out Your weight");}
else if( age.getText().toString().equals(""))
{
age.setError("Please Fill Out Your Age");
}

else{
int feet = Integer.parseInt(f);
int inch = Integer.parseInt(i);
int weight = Integer.parseInt(w);
int age = Integer.parseInt(a);

double result = 66+(6.23*weight)+(12.7*(feet*12+inch))-(6.8*age);
result = Math.round(result*10.0)/10.0;
String res = String.valueOf(result);
bmr.setText(res);
}
}
});
[\CODE]

I did this a different way at first, using "||" between each if/else if statement instead of the if/else if between each one and it worked except for my "inch" edittext. That one still made the app crash. Doing it the way I have shown works but my error message doesn't always show up. Sometimes I have to click the edit text field for it to show up. The red dot does show up in the text field every time tho.

It took a bit of searching to figure out what you guys were talking about and how to get it to work. I'm really new to this and learning as I go. Doing this more as a hobby...
[Java for Android App Development] F'n noob:
I surround mine with a try/catch. Then if the edittext is blank, I prompt the user with a toast to input something, even a zero. Might not be the best way, but hey, I'm a F'n noob.... :D
[Nexus 7 (2013) Q&A] nordor:
I've rooted with Towelroot, but I still have stock ROM. Will I be able to OTA to Lollipop? If not, is it enough to uninstall Towelroot, or do I have to flash a factory ROM?
[Nexus 7 (2013) Q&A] Jhall8:
Unrooting alone won't allow you to install OTAs because Towelroot changes partitions. You will need to flash a stock ROM.
[Nexus 7 (2013) Q&A] donb1:
Towelroot won't work with lollipop either.
[Nexus 7 (2013) Q&A] nhizzat:
Time to unlock the bootloader
[Nexus 7 (2013) Q&A] nordor:
Solved

Seems like you were wrong about Towelroot stopping OTA. Just got the 5.0.2 OTA and updated without any problems. Just had to click on update.
[Nexus 7 (2013) Q&A] timbohobbs:
Me too. Just unrooted in super su, restored host file in adaway and ota worked fine [emoji4]
[Nexus 7 (2013) Q&A] JimmySiegel:
Did you lose root? Just curious. I flashed mine manually awhile back and have since moved on to CM12. Towelroot doesn't work on lollipop, I used Chainfires CF-Auto-root.
[LG G Pro 2] spymunna:
Thank you All devs for developing apps and ROMS etc for this amazingly underrated phone.

I wish the support is a bit more prompt and swift, and that we have faster development like the G2 or G3 etc.

If donation wise, support is needed please let me know, as i wanna rock this phone! :)
[LG G Pro 2] spymunna:
CM

Also, Somebody Please request to have CM lollipop for LG G pro 2 :D
[LG G Pro 2] enkhtwshn:
You are probably new in forums, roms etc . http://forum.cyanogenmod.org/topic/72611-can-i-get-cyanogenmod-on-my-device/ read this for your virgin mind
[LG G Pro 2] spymunna:
Thanks

Actually not new, but outdated, since a long time, as was busy, just got back, and felt amiss from my phone and its unlocked features :D
[LG G Pro 2] enkhtwshn:
Its hopeless to request until a developer really gets this phone to himself, herself and starts contributing for hours of work, blood sweat and tears lol. Lets say maybe some low range galaxy ace dev come and be the god of gpro2 CYANOGENMOD . One can still dream
[LG G Pro 2] spymunna:
AH! yes!

THE DREAM!!!! :D
[LG G Pro 2] enkhtwshn:
By the way we have better chance of getting a custom rom in chinese , vietnam forums

Bbs.sonyue.com and lgviet.com
[LG G Pro 2] spymunna:
Thanks Bud!:)
[Ascend Mate 7 Q&A, Help & Troubleshooting] Evrett:
Hello,

I would like to by the mate 7 and for the moment it's in promotion to 424€ from 499€ and I would like to know when this promotion will finish. I'm in France.

Tank's very much.
[Sony Xperia P, U, Sola, Go] arbeenster:
My xperia sola is rooted with stock rom 6.1.1.B.1.54 and kernal 1.10. Not installed a recovery... it was working perfectly ... but 1 week before it starts showing acore process stopped . google gapps and so many applications closed.. now i can use only calls only , but not contacts or dialer works... can recieve calls and dial from direct dial contacts saved on homescreen. and sometimes can read sms... not accessible gallery ... but mx player is working .. root explorer is working

i tried to flash again with stock kernal.... but flashtool saying.......................

01/020/2015 14:20:13 - INFO - Flashtool Version 0.9.16.1 built on 06-16-2014 23:00:00

01/020/2015 14:20:13 - INFO - Executing search strategies to find proxy selector

01/020/2015 14:20:13 - INFO - No proxy found for IE. Trying next one

01/020/2015 14:20:13 - INFO - No proxy found for firefox. Trying next one

01/020/2015 14:20:13 - INFO - No proxy found for java. Trying next one

01/020/2015 14:20:14 - INFO - Syncing devices from github

01/020/2015 14:20:14 - INFO - Pulling changes

01/020/2015 14:20:16 - INFO - Devices sync finished.

01/020/2015 14:20:21 - INFO - Device disconnected

01/020/2015 14:20:22 - INFO - Device connected in flash mode

01/020/2015 14:20:41 - INFO - Selected Bundle for MT27. FW release : 6.1.1.B.1.54. Customization : Global

01/020/2015 14:20:41 - INFO - Preparing files for flashing

01/021/2015 14:21:15 - INFO - Please connect your device into flashmode.

01/021/2015 14:21:17 - INFO - Opening device for R/W

01/021/2015 14:21:17 - INFO - Reading device information

Then no movement on it........... i tried using command line from fastboot folder also.... when it says so many bad blocks .... fastboot boot.img failed

CAN U HELP ME ....... IS THIS PHONE IS BRICKED OR......
[Sony Xperia P, U, Sola, Go] Rey M.:
I also encounter this kind of problem when flashing my phone. Any fix for this issue.

The reason why I want to flash the phone, All services and apps from my Xperia sola keep on popping and stopped every minute.

My phone is useless as of this moment.

PLS. HELP...:crying:
[Sony Xperia Z Ultra] X0LARIUM:
So, if I get the Xperia model, NOT the Goole Stock Android version, can I still flash the Stock firmware? Or does it have some limitations in terms of hardware?

PS: In my current situation, I am considering to get one. I was thinking about the LG G Flex, but the 720 screen is a no-no. I would much rather have a Xperia than LG. I had the Nexus 4 once upon a time, and never developed a taste for LG's (rather cheap) hardware.

Thanks.
[Sony Xperia Z Ultra] wtfhax:
If you got a non GPE Z Ultra you could flash ported GPE version but not the stock firmware. There's already ported version for version 4.4.4 kitkat and version 5 lollipop for the non gpe z ultra. Vice versa, the gpe version can't flash the non-gpe firmwares as it will permanently destroy your device due to different partitioning in both gpe and non gpe version of z ultra.

I did not like LG at first but i fell in love with the LG G3 korean version but with the price i would rather get z3 :)
[Sony Xperia Z Ultra] X0LARIUM:
Thanks for your reply. As I started off by saying, "in my current situation", I need a big device, with Movies+games+ Reading+ browsing capabilities that need to be top notch. Along with the hardware (inside as well as on the outside). And Z Ultra fits into all those categories well.

But, my concern was the OS. And since we had the same device out with a "gpe" which I assume is Google Play Edition, I thought flashing a GPE on an Xperia model would have been achieved.

But now that you are saying it will damage my device, I wonder what should I do?

Comments?
[Sony Xperia Z Ultra] x1123:
Z ultra is too thin. I think oldies Nexus 7 is good, the price should be a lot of cheaper today. I wish myself not to get brand new device anymore. The Price of smartphone went down so much within 9 months since released. Better get 1 year old device with half Price.... :D
[Sony Xperia Z Ultra] X0LARIUM:
Thanks. I have the old Nexus 7. Makes me want to tear my hear out every time I see it. It's one device I would never recommend to any Android first-timer. They would just never return.

Anyways, the fact that Z Ultra is thin is a plus for me.
[Sony Xperia Z Ultra] adfurgerson:
You can't cross flash the firmwares between the Sony ZU and the GPe devices due to differing sizes of partitions. However there are fully functioning ports of the GPe ROMs, it does not convert the phone nor will it receive OTA updates.
[Sony Xperia Z Ultra] X0LARIUM:
Oh cool. SO I assume the ports are just as close to the GPe ROMs as possible?
[Sony Xperia Z Ultra] adfurgerson:
I haven't used either one of these but they are both stable for daily use according to everything I have read.

http://xdaforums.com/xperia-z-ultra/development/scrubber-t2961315

http://xdaforums.com/showthread.php?t=2800414
[Sony Xperia Z Ultra] wtfhax:
As i've mentioned the ported version is exactly the same rom/firmware as GPE by google modified to fit the non gpe without breaking it. What i mean is you can't flash the official firmware provided directly from google without modification to the firmware hence the ported version.
[Sony Xperia Z Ultra] X0LARIUM:
Awesome man... You made my day.. Thanks a lot to everyone who replied...

BTW .. anything I need to be cautious about as a new user?
[Sony Xperia Z Ultra] adfurgerson:
The main thing I stress is the need to back up TA partition (which holds the DRM keys) after rooting, but BEFORE you unlock your bootloader.

Edit.... Should mention the 4.4.4 GPe port can be used with locked bootloader, not so for 5.0 port.
[Sony Xperia Z Ultra] X0LARIUM:
Thanks man but I meant in terms of the device ...any drawbacks..shortcomings ...?
[Sony Xperia Z Ultra] adfurgerson:
Camera.is poor and lacks flash. I have never carried it in a pants pocket out of fear of cracking screen or back glass. I

broke the charge port flap but it was my fault for forgetting to close it before slipping it into holster/case for carrying it on my belt. If you get a third party magnetic charging cord be sure to attach it in the right direction.
[Sony Xperia Z Ultra] theinspector:
Nothing you need to be cautious about. If you want the gpe experience, the ported gpe ROMs work great, we have several android lollipop based ROMs as well. It is a very good device, and if you have any trouble for some reason, I'm sure someone will be eager to help you out here. Its a very friendly community. The only down side is the flash for the camera, there is none.
[Sony Xperia Z Ultra] x1123:
If the thin were your wish. ZU is right choice. ZU is strong device with good waterproof feature. 5.0 gpe port rom work nicely on ZU. I put 4.4.4 on my ZU due to most banking apps Not work on L. For me "her" thiness is bit problem on holding it, made our palm tired to hold. 2nd all z series xperia will be better with dock ( magnetic charger ) otherwise we need to open charging port everytime to charge it will easily tearing the cover and loss the waterproofing. I used D48 dock magnetic charger for my ZU and Z3c.
[Sony Xperia Z Ultra] X0LARIUM:
http://uae.souq.com/ae-en/sony-dk31...ging-dock-charger-stand-pod-cradle-6594643/i/

Would this one work?

Also, which other docking charging ports work in that case?

Thanks for the headsup BTW/...
[Sony Xperia Z Ultra] wtfhax:
I find it is hard to find a dock for Z Ultra. Z Ultra unable to fit in the Z1 dock, i've tried but maybe others have better luck. One more thing to be aware is if you ever gonna use magnetic charger please get a genuine sony magnetic charger. Reason being if you use it the opposite way, it will damage your device. With original sony magnetic charger it won't allow you to plug in if its the wrong way.
[Sony Xperia Z Ultra] X0LARIUM:
Hopefully there is no country variant i don't have to worry about. Some of the phones have a country variant (G Flex for example), where one version works better than another. Hopefully there is only one Z Ultra. I am in the UAE.
[Sony Xperia Z Ultra] Saikyo_San:
Had a Z Ultra, now a Z2 and it bugs me to get back to the Ultra. :D

Sony does have brazil country specific models and non-LTE variants for each of their device (or most of them)

What I know about the ZU variants is this:

LTE Model is C6833

Non-LTE is C6802

Hopefully I did not mess up the numbers here.
[Sony Xperia Z Ultra] X0LARIUM:
And how do they vary apart from the LTE bit? Hopefully everything else is the same....
[ONE Q&A, Help & Troubleshooting] nikeman513:
I like the phone, but I've had a lot of issues with stock and rooted apps. CS is a joke and won't give me a direct response. I need a warranty replacement. My battery is very bad, I have issues with the screen colors and delays when turning on. I have to admit I love reading web articles, but not with two hands. I don't understand, but a lot of women like that. I don't know how they actually use it, but maybe face time is just that popular now... I'm old school, I guess, I'm only 25 though. My favorite phone was the nexus S, and close was the galaxy nexus. I'm thinking about motoG, but I need 2 gigs min. I don't game, but OS eats a lot as it is, especially while using an app. What do you think? Is there a good alternative for me. 4-4.7 inch is what I'd like to have and a nice screen with good look. A good quad core is a must. Not to mention Dev support.
[ONE Q&A, Help & Troubleshooting] Heisenberg:
Wait, you're saying the phone is defective, but you intend on selling it? Who would buy a defective phone? Surely you need to disclose this information to potential buyers, or you're being dishonest. Problem is, if you are honest and disclose the appropriate information then nobody will buy it. How much have you actually done to troubleshoot the problems you're having?

Transmitted via Bacon
[ONE Q&A, Help & Troubleshooting] nikeman513:
Everything. Yeah, I'm not going to eat it all, because OPO gave me a bad phone and won't remedy it. I'm going to sell it cheap and buy something cheap, like a motoG. That's why I was asking...
[ONE Q&A, Help & Troubleshooting] primo14z:
if i were you i would persuade the company to give me a new phone, you can't get a better phone than OPO :)
[ONE Q&A, Help & Troubleshooting] nikeman513:
How, I've been trying to get them to talk to me and they keep asking for pictures... Im like seriously? My phone is my camera. They are such a holes
[ONE Q&A, Help & Troubleshooting] primo14z:
not really :) they just want proofs :)

like for battery you can post your battery stat's, and you can ask someone to take photos of your phone, to show them your screen issues
[ONE Q&A, Help & Troubleshooting] Heisenberg:
It's pretty standard practice that they want proof of what you're claiming is wrong with the device. In this day and age it's fair for them to assume that you know at least one person who owns a camera or camera-phone. Are they just meant to take your word for it? That isn't how business works.

Transmitted via Bacon
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Malik05:
ok this is wierd...i usually check my clock speed with TCPMP, and at first when i got this device, it said 400 like its supposed to, now i installed batterystatus( just for the battery status, not overclocking) and left it alone...i checked my clock speed, and it says its at 474 MHZ!!!! anyone else notice this?
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] jcespi2005:
What version of batterystatus?

I've try a weeks ago, and suppoprt for overclock was disabled (and can't actiovate) cause batterystatus dosn't support the TyTN processor.

Regards.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Malik05:
agreed, its not supposed to support it, the option is also disabled, but it automatically does it, batterystatus shows its clocked at 400mhz, but tcpmp shows 474...im using batterystatusExt 1.04 beta
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] jcespi2005:
Same version i tested before.... so TCPMP perhaps gives a bad Mhz value.

Think the TyTN processor can change the clock frecuency when has more work to do, so probably TCPMP gives the higest value for TyTN (i'm not sure in this).

as i know, no overclock soft for Hermes is working today.

PD: Coming from Wizard too, and love baterystatus...very ussefull soft.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Malik05:
yeah that is possible...too bad batterystatus doesn't give exact percentage of battery instead it does the 10% increments
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Centurion:
That's actually the case with all battery indicator software for the Hermes.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Malik05:
yeah i know =( hopefully there will be a solution to this madness

in the meantime... heres an update on the overclock situation...i left my device on standby and idle for 30 min, and now its clocked at 100 mhz, i had no idea that the cpu fluctuates its clock speed depending on how heavily the cpu is being used...very impressive
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] sinmae:
hmm I think if you want to be sure, if CPU is really overclocked you must do some benchmarks, and compare results...
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] Wam7:
Yeah can you do some benchmarks with say TCPMP or even SKTools to verify there is actually a difference. XCPUScalar would also report the higher MHz speed but in actuality there was no difference.
[8525, TyTN, MDA Vario II, JasJam Software Upgradin] SL:
installed Batterystatus. did benchmark with Sk Tools. Benchmark is the same
[G3 Q&A, Help & Troubleshooting] PeterGeorgiou:
Hi guys, I downloaded google now launcher from the play store but i cant for the life of me figure out how to get google now!

I have tried all the tricks online, sign in sign out, location faking, but nothing seems to work. The error i am receiving is that my google account is not eligible for google now.

If someone knows how to fix it I would be very grateful!
[G3 Q&A, Help & Troubleshooting] raptor2003:
A quick look on Google sadly tells me that it looks like Google Now is not available in your country.

Have you tried using a VPN ?
[G3 Q&A, Help & Troubleshooting] PeterGeorgiou:
Yes i tried and unfortunately i got the same result :(
[Samsung Galaxy S II Plus] lukas_ita:
My gf GS2 Plus is not run smoothly anymore (Android 4.2 stock). I want to install a custom rom. Can you suggest me a stable rom and with good performance and not bugs? I prefer someone with Android 4.4

Sent from my Ativ S with Tapatalk 2
[Samsung Galaxy S II Plus] cracker12:
Try the last pacman rom, is very good and has a new device tree :) but all depends because all roms has different features...
[Samsung Galaxy S II Plus] SmzAmir:
I tried most of the custom rom for this phone and I think PAC (the 4.4 version) was the best. I didn't see any bug with that.

Worth to try!
[Samsung Galaxy S II Plus] lukas_ita:
Thanks guys! I am away from Android mod world since 2 years (i am on WP now)...can you link me a guide to root it and install CWM? PacMan rom run on latest 4.2 stock kernel, rigth?
[Samsung Galaxy S II Plus] SmzAmir:
use this link:

http://xdaforums.com/galaxy-s2-plus/development

you can find the PAC 4.4 forum.

Custom roms are pre rooted, you don't need to root it again.

For installation, first download and copy the rom and gapps to your SD card.

Then,

Download a custom recovery, use this link:

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

I recommend CWM 6.0.4.5.

Then put your phone to downloading mode by press and holding the "volume down + home button + power button", then press volume up to continue.

Open "Odin" and add custom recovery too "PDA" part and press start.

Wait till your phone reboot.

Then power off it again and put it into recovery press and holding the "volume up + home button + power button"

Do "Wipe both dalvik cache and cache and data (factory reset) ".

find "install zip" option, go to SD card then flash rom and then gapps.

Do "Wipe both dalvik cache and cache" again.

Reboot

Enjoy!
[G3 Q&A, Help & Troubleshooting] DiGiTY:
When playing music via Bluetooth audio the LG G3 eventually stops responding to the pause, previous, skip buttons on the Bluetooth audio device. Sometimes it randomly, but rarely, starts working again, but only very briefly before not responding again (I can get a skip in). This occurs with all types of Bluetooth devices: portable Bluetooth speaker, cars with builtin Bluetooth audio, bluetooth audio dongle receivers for cars, etc. This happens in any music app (Spotify, Pandora, Songza, doubletwist, etc.).

Any ideas?
[G3 Q&A, Help & Troubleshooting] suljo94:
I have an d855 with jabra rox and I can't say I ezncountered this yet try repairing the device and deleting al apps that coud intervine (musicplayers, sound improvers...)
[G3 Q&A, Help & Troubleshooting] DiGiTY:
hmmm... I know that built-in music app tends to be the default app when I press play on BT devices so I disabled that app...
[G3 Q&A, Help & Troubleshooting] marhodges:
Bump

Did you ever figure this out? I am having this issue on my Note 4 running FireKat V13x.
[G3 Q&A, Help & Troubleshooting] DiGiTY:
Kind of. The problem was the launcher, Aviate, I was using. It has a built in music controller (or player or something) which was probably interfering with Bluetooth. Once I switched to the default LG launcher Bluetooth audio control was functioning a hundred times better. Only problem now is sometimes there's a delay of a minute or so before the player responds to a skip or previous press. I'm just going to live with this issue since its much better than before.

So, in summary, I'd check to to see if your launcher or some other app has some music playback control function and disable it.
[ONE Themes and Apps] geowolf1000:
i made as a theme apk the new bootanimation of cyanogenmod12

should work and with cm11

test made with new theme engine
[ONE Themes and Apps] msri3here:
Screenshots pls
[XDA Assist] XDA Visitor:
Please help me I want to copy those music files.
[XDA Assist] Razvan:
Hi there,

I'm sorry but I don't understand what exactly do you want to know. Did you try it to see where is folder of that app located? Is your device rooted?

Do you use any file explorer ?

Thanks
[Android Q&A, Help & Troubleshooting] snorrski:
I use the Jaybird Bluebuds X Bluetooth headset with my android phone, which, when running,, goes over the ear, and when speaking, goes I under the ear. This mean that the stereo gets reversed when in running mode.

Do an l any of you know of a way to temporarily reverse the stereo output (preferably through a tasker plugin, but 3td party app is also acceptable)?
[XDA Assist] Aether Skyborn:
I'm not too sure where to post this, or if I'll receive help on this one, but I need assistance from someone experienced with these kind of attacks.

What I'm looking to do is to prevent attacks from apps like dSploit that involve things such as session hijacking and password sniffing. The reason being is my brother is using his rooted Android phone to perform attacks on my devices (another Android phone and Windows 8 PC), and has been able to access my Facebook messages, etc.

I've installed an app on my Android phone called WiFi Protector, which seems to work for the most part, yet I'm still unsure if it fully prevents his attacks. I have yet to find a way to prevent these attacks on my Windows 8 PC.

I also cannot kick him off from the WiFi connection, meaning unless I can find a way to prevent his attacks, he will always be able to snoop on or attack everyone connected to our router.

If anyone can help in this area as soon as possible it would be greatly appreciated!
[Micromax A116] Preet_:
Hello,

I was searching for Drivers of Micromax Canvas HD(A116) on Micromax website. But I cannot find a driver on A116 model. I found a driver on A116i. I want to know if it is okay if I use A116i's driver because I want to flash a ROM on my Canvas HD(A116). Any helpful response would be good.

Thanks.