yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] coolbud012:
Sorry but didnt get you...I am calling it in onClick method..

@Override
public void onClick(View v) {

if (v.getId() == R.id.BCalcTDS){
int selectedRB = Rgbutton.getCheckedRadioButtonId();

if(Ettext1.getText().toString().equals("")) Ettext1.setText("0");
if(Ettext2.getText().toString().equals("")) Ettext2.setText("0");
if(Ettext3.getText().toString().equals("")) Ettext3.setText("0");

If I'm using

@Override
public void onClick(View v) {

if (v.getId() == R.id.BCalcTDS){
int selectedRB = Rgbutton.getCheckedRadioButtonId();

if(Ettext1.getText().toString().equals("")) Ettext1.setHint("Enter Text 1");
if(Ettext2.getText().toString().equals("")) Ettext2.setHint("Enter text 2");
if(Ettext3.getText().toString().equals("")) Ettext3.setHint("Enter Text 3");

I'm getting runtime exception :

ATAL EXCEPTION: main
java.lang.NumberFormatException: Invalid double: ""

Got why this error is happening...but how can I resolve this?
[Java for Android App Development] nikwen:
In which line does it crash? (In the logcat there should be line numbers.)
[Java for Android App Development] coolbud012:
E/AndroidRuntime: FATAL EXCEPTION: main
java.lang.NumberFormatException: Invalid double: ""
at java.lang.StringToReal.invalidReal(StringToReal.java:63)
at java.lang.StringToReal.parseDouble(StringToReal.java:248)
at java.lang.Double.parseDouble(Double.java:295)
at com.droidacid.calc.calc.onClick(calc.java:54)

Yeah its line 54 which is parsing double to take the input...For testing purposes I have changed to setHint from setText int first EditText only not for all...So getting error while parsing that edit text only...
[Java for Android App Development] nikwen:
That means that it is not related to your hint. What is the line which causes the trouble (code)?
[Java for Android App Development] coolbud012:
This is the code

if(Ettext1.getText().toString().equals("")) Ettext1.setHint("Enter time");
if(Ettext2.getText().toString().equals("")) Ettext2.setText("0");
if(Ettext3.getText().toString().equals("")) Ettext3.setText("0");

Double Text1 = Double.parseDouble(Ettext1.getText().toString());
Double Text2 = Double.parseDouble(Ettext2.getText().toString());
Double Text3 = Double.parseDouble(Ettext3.getText().toString());

Its related to hint only because if I revert it back to setText("0");

then its working fine...its giving error only for the Text1 value because if nothing is entered in it then its taking setHint value on which its giving error...if I change all setText to setHint then getting error on all...hope you understand what I mean to say because I'm not able to explain it clearly.
[Java for Android App Development] nikwen:
Don't worry. Got it. ;)

The problem is not related to the hint. There is another diffence between the two pieces of code. In the setText method you set the text "0". It can be parsed. However, you set the hint "Enter Text 1" in the setHint method. It consists of numbers AND characters. It needs to be numbers only.

That's it. :)
[Java for Android App Development] coolbud012:
Yeah I also got that thing by error, what I exactly meant is that the error is in the parsing part...it is not able to parse a string in double which ofcourse it cant...so any resolution?
[Java for Android App Development] nikwen:
Ah. When you set a hint, the text of the EditText is "".

You could do it this way:

Double Text1 = 0;
if(Ettext1.getText().toString().length() != 0) {
Text1 = Double.parseDouble(Ettext1.getText().toString());
}
...
[Java for Android App Development] coolbud012:
Will try it tomorrow...Gotta have some sleep now...its 3 AM here
[Java for Android App Development] Zatta:
Hee, you'll get there!
[T-Mobile Sidekick 4G] Junkyardspecial:
Ive called the customer service line many times and they cant even understand me let alone help me Ive been a SM customer for a while and have had no issues I recently switched from unlimited 3g to unlimited 4g and i havent noticed a speed upgrade and ive have speedtests confirm that. Is there something I can do in the APN settings?

Im on GO v5 But the rom didnt effect it as ive gone from stock to GO v2 to GO v5 all on 3g. Thanks for any help.
[T-Mobile Sidekick 4G] marathonjon:
4G LTE is available only in Houston, Kansas City, Las Vegas, Phoenix, San Jose, Baltimore, and Washington, D.C: http://t-mobile-coverage.t-mobile.com/ Did you check the T-Mo coverage map: http://www.t-mobile.com/coverage/pcc.aspx/.
[T-Mobile Sidekick 4G] ged92781:
First, what speeds are you getting?

Second, changing APNs almost certainly will do absolutely nothing to change your data speeds.

Third, the SK4G doesn't have LTE. It has HSPA 21 as its theoretical max. The best I've ever gotten on it is about 14Mbps on the download.
[T-Mobile Sidekick 4G] Junkyardspecial:
Is LTE the only 4g option they carry? I just wanted plain 4g not 4g LTE. My speeds are around 250kbps. Very slow. Upload is around 1mpbs.

Also I just checked and I am well within the 4g coverage area of tmobile. I live north of miami
[T-Mobile Sidekick 4G] ged92781:
They probably set maximum speeds based on your plan more than anything else. That being said, 250Kbps is a concern if your upload is 1Mbps. I'd call and complain. I know they weren't terribly helpful, but ask for a supervisor if you need to. You may get someone who speaks better English.
[T-Mobile Sidekick 4G] Junkyardspecial:
Thanks is that even 3g speed? There is nothing I can do on my end other than call?
[T-Mobile Sidekick 4G] demkantor:
That is crazy slow and I would for sure ***** to them, your getting edge speed, like when fake internet first showed up on nokias 10 years ago. Don't settle for less than 3mbs, anything less and they are ripping you off
[T-Mobile Sidekick 4G] Junkyardspecial:
Thanks for the heads up, ive never had issues like this til i started paying them MORE money
[G2 and Desire Z Q&A, Help & Troubleshooting] Receiver996:
Hey guys :)

I've just installed the JellyBaby ROM on my Desire Z, cause I'm really addicted to this rom. It is really smooth and so on. But something's bothering me: The Camera.

Before I've had the JellyBaby ROM, I got the TrickDroid ROM. Ok, I know it's a total difference between these Roms, cause the first one is AOSP and the second is a Sense ROM. But the Camera is really awesome..

Now to my question... Is there a way to extract the Camera and install it on the JellyBaby ROM? If this is not possible, is there a way to improve the camera?

I'll look forward to your answers :)

Yours,

Receiver996
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] izzuedotcom:
Hey everyone,

I recently flashed the new Cyanogenmod 10.1 RC ROM but it didn't occur to me that I needed to flash a matching GAPPS as well (I'm new to the whole modding thing and the download page for CM10.1 didn't include the GAPP). So now I have Cyanogenmod 10.1 but no google apps, and apparently no access to the Clockworkmod Recovery I used to flash the ROM either. I've tried downloading just the Google Play APK but the app always closes immediately after I try to open it. I've also tried booting into recovery by holding Volume Down+Home+Power but when I am presented with the Warning page and I press Volume Up to continue, the ROM just boots into Cyanogen as if I pressed cancel instead. Is there anyway to either get my Google Apps back, or someone access CWM Recovery so I can ref lash Gapps?

Thanks a lot in advance.

Brian
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] jayRokk:
Recovery is power+home+volume up

Just flash gapps once you're in recovery.

You should be fine :)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] izzuedotcom:
I tried holding Power+Home+Volume Up but it just boots into Cyanogenmod as if nothing happened :S
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] robert90262:
Make sure your completely powered down first then try the power+volup+home button make sure all 3 are pressed down
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] mrhaley30705:
Or, enable extended power menu under dev settings, then just hold down power, reboot, recovery
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] xBeerdroiDx:
If you're going to enter recovery mode via the button combo, the most successful way is to press Vol up + home + power. When your device vibrates and you see the blue text in the top left corner of the screen, release just the power button
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] izzuedotcom:
YES IT WORKED! THANK YOU SO MUCH you have no idea how hard I was contemplating crying in fetal position

And thanks a lot for everyone else that helped too! Much MUCH appreciated! :)
[MDA II, XDA II, 2060 General] marconi72:
Can anyone help ?????

I have a XDA II and I'm trying to get it paired with my NAVMAN 4410.

When I try to bond the 2 units my XDA asks for a pin number, but the bluetooth gps doesn't have a pin.

Can anyone help with this

Thanks

marconi72
[MDA II, XDA II, 2060 General] David Young:
try entering 4 zeros.

if that doesnt work then have a look through the documentation that came with the gps unit.

if the makers set one, there will be a note of it in there somewhere

good luck
[MDA II, XDA II, 2060 General] cruisin-thru:
You will need the navman patch software and also you will most likely need bluetooth tools. make sure you delete the bonding before installing the new software then rediscover and rebond.

Do a search in this forum for "Navman"
[MDA II, XDA II, 2060 General] Camstech:
Connecting the Navman 4400 series has been pretty well covered under the "Stocking up for it forum".

The biggest pain about the Navman is that the PIN is "NAVMAN" and the MS BT stack will not accept non numeric PIN's. Fortunately a wonderful guy called TOWA has released some fixes.

You need to install the enablechar.exe onto your machine to be able to key in the alphabetical PIN (Grrrr NAVMAN!).

If you run the latest ROM (I have the excellent 02 Asia 1.60 ROM) it has a BT Serial port built in. If you run earlier ROMS you may need TOWA's Bluetooth Tools.

Check out:

http://www.angeltowns.com/town/bluetooth

or at

http://bluetooth.i-networx.de

If you do use this software, think about sending TOWA a donation. It is great guys like him that help us to get the best from our XDA's

Cheers from Oz.
[MDA II, XDA II, 2060 General] inigomorales:
Navamn GPS

I have a Navamn GPS 4100 and a XDA Pocket PC but I can not make the link between them, The XDA does not allow me to write the PIN "NAVMAN ", it does only allow to write numbers. Can anyone send me the papatch to allow writting letters?

Thanks
[MDA II, XDA II, 2060 General] cbrow51:
Hi Inigomorales

Sounds like you have an XDA 1 and a wired Navman, correct? I have xda 2 and bluetooth Navman 4400 and use the enablecharacterpin program. Not sure if it works with your config, but don't see why it would not. Here it is!

Hope this helps

Chris
[Samsung Galaxy Nexus] JAM DROID:
It's been like this for almost 2 months now. I assumed it was a fault with UCCW but they would have surely updated it by now. What's the deal? Thanks
[Samsung Galaxy Nexus] stefanybaez:
I'm having the same problem on a Note II.
[RAZR i Q&A, Help & Troubleshooting] 4evaNooB:
I have a s3 mini and I have been offered a swap with a razr I what should I do what is better? Please help lol
[RAZR i Q&A, Help & Troubleshooting] xtr3m3:
These links should help:

Comparing Samsung Galaxy S3 Mini vs. Motorola RAZR i XT890 - Seven Reasons for the Samsung Galaxy S3 Mini - VERSUS IO

Motorola RAZR i Details vs Samsung Galaxy S3 Mini Details in Smartphones
[RAZR i Q&A, Help & Troubleshooting] Remcotjuuh:
I would definitely take the Razr ( I don't know both too well so excuse me if something isn't right):

The Razr has a larger screen with a good ppi,

The Razr has the better processor as far as I know (2GHz x1 vs 1GHz x2)

The Razr luckily doesn't have Touchwiz, although this is subjective,

The Razr isn't made all out of plastic
[RAZR i Q&A, Help & Troubleshooting] 4evaNooB:
I have posted a similar post on both razr forum and s3 mini forum and the only thing the s3 people had to say was the razr is hard to root and only a couple of roms?
[RAZR i Q&A, Help & Troubleshooting] Remcotjuuh:
I'm not familiar with the device but that could be true. But even if that is true the Razr will be the better choice. You could check out the dev section at the Razr I forums.
[RAZR i Q&A, Help & Troubleshooting] highflights:
It really depends on what U r looking in the phone. If U like to play with the roms and themes s3 mini is better.

If you looking fast stylish phone for dialy use with lots of futures i would pick razr i

Just make sure razr I is unlocked because it is dificult to sim unlock in some cases.(depends on network)

My personal pick was razr and I am glad... best of my phones so far.

---------- Post added at 01:38 PM ---------- Previous post was at 01:37 PM ----------

Good luck ;)
[RAZR i Q&A, Help & Troubleshooting] dara85:
My colleague has S3 mini and when I was playing with it it felt like a toy because of cheap plastic. For me the reason why I like motorola is size vs display. There isn't much more phones on the market which offer relatively big display in relatively small case - thin edges.

But what makes razr i better phone is undoubtly battery. Even if both phones are on stock roms the razr last much longer. Just check few screens in this thread and compare it with logs from your phone...
[RAZR i Q&A, Help & Troubleshooting] 4evaNooB:
Wow!!! Just shy of 2 days... mine last like 13-15 hours normal and 4-6 high use!!
[RAZR i Q&A, Help & Troubleshooting] cupioscire:
The RAZR i isn't hard to root. But it's true that we haven't many ROMs because the RAZR have a Intel processor (x86). That means we can't simply port from other devices. We have to build from source and that's hard work. So atm no AOSP, no CM nothing else. Only modded stock ROMs, but with great performance.

Furthermore I can say that the RAZR i looks and feels more quality and have definitely better battery life.

gesendet von meinem Motorola RAZR i rooted+unlocked
[RAZR i Q&A, Help & Troubleshooting] HSD-Pilot:
An Blog here in Germany stated about the S3 Mini > It's an Phone 4 Girls

So here's the right Theme 4 it

http://xdaforums.com/showthread.php?p=40913699

Nothing more to say :D

Gesendet von meinem XT890
[Galaxy Note 10.1 General] zacks2art:
Just a shout out to request the greatest ROM to date for the Galaxy Note series device. I am so hooked on JellyBeans and the new information that came out recently about the Verizon Note 10.1 bootloader unlock has me VERY excited. Beanstown if you can find it in your heart, and your schedule, I know a few folks (myslef included) that would be eternally grateful for JellyBeans on Note 10.1 VZW.

Sorry for the thread specifically for this but maybe with some feedback it will get attention. I would have posted it elsewhere, but my rating is too low. I would contribute more but I am very much out of my league in this crowd. I am on XDA at least twice a day, but I find myself sponging info most of the time and not really having much of value to give back.
[Galaxy Note 10.1 General] *Madmoose*:
+20
[Galaxy Note 10.1 General] Gordo1603:
+100
[Verizon Samsung Galaxy S III] putney1477:
My daughter was playing a game and somehow deleted the icon on my dock that opens my app drawer. Any clue as to how I get it back? Lol thanks.
[Verizon Samsung Galaxy S III] joshua5683:
That's odd I don't think that's possible on touchwiz... try restarting your phone if you haven't already
[Verizon Samsung Galaxy S III] Casper34:
Its not part of your rom... your not lost. Its part of your launcher. Just add the icon back by holding anywhere on the screen, launcher icons or launchers apps, and you should be able to find it. You may even find a different icon you like better!

Sent from my PACmaned SCH-I535
[Verizon Samsung Galaxy S III] SlimSnoopOS:
Long press an empty space on the home screen and add it back as a shortcut?
[Verizon Samsung Galaxy S III] putney1477:
You guys are great. Boy do I feel stupid!!! Thanks again for all your help!
[AT&T, Rogers HTC One X, Telstra One XL] eoraptor:
Some of you know I have been using a pre-paid Sim Chip in my cell phone for my phone/internet service.

These past three days, my crippled data speeds have become unbearable. Time-outs caused notes to both Google Drive and Evernote to disappear into the digital ether, never to be seen or heard from again. After searching terms such as "HTC One X speeds straight talk" and "straight talk sim speeds" I began to see a pattern. People complaining of arbitrary throttling, and conflicting press releases by Tracfone Wireless and América Móvil, the parent copany of tracfone, straight talk, net10, Assure wireless, and others.

After trying the suggestions found on reputable android websites like XDA Developers and Droid FOrums I had no reliefe, and so sent an email to the corproate resolutions team at Straight talk (not the first time I've had to do this, as they tried to **** me out of at least $32 earlier this year with false advertising.)

You'll notice the specific proxy and port called out by the APN when android 2.1 or newer can easily auto-propegate these fields. It has been determined by people more knowledgable than myself that that combination of proxy and port specifically funnels SIM users to a pre-throttled branch of the network when compared with people using branded straight-talk phones.

TL:DR if you

ever

even

once

go over the

undisclosed

cap of 1.5 gb... your connection will be throttled to >222 kbps. PERMANENTLY.

Since all of the Tracfone services under all the different names utilize the same back end, this will likely also be true of any other smart phone on a tracfone wireless service.

when I first signed up for the service in january, I purchased a $30 limited airtime card. when I tried to activate it, I learnd that it was "illegal" to use on the smart phone program. even though I had prior written confrimation from Straight Talk customer service that I could do just that. They then tried to keep my money for THAT card as; well as make me either eat the $14.99 I had paid for the sim card, or pay another $45 plus tax and fees for the "unlimited" card.

In fact, it's only been in the last month, after numerous complaints like mine, that they began marking on their websites and packaging that smartphones MUST use the $45 unlimited plan or higher.

So, as per my promise to this company I am passing along my experience as a warning and cautionary tale. do NOT do business with TracFone, NET10 Wireless, Straight Talk, SafeLink Wireless, Telcel América and Simple Mobile. You will be bond for nothing but tears and trouble when you need their service most and they decide you're no longer profitable enough.
[AT&T, Rogers HTC One X, Telstra One XL] Digital_Cameltoe:
Sorry to hear about all the trouble your having. I've got a BYOP StraightTalk sim too but I'm on T-Mobile's network. I've abused the heck out of my data so far but haven't noticed reduced speeds and I'm pretty sure I've gone way beyond 1.5 GB. Could this just be the case for folks on an AT&T sim?
[AT&T, Rogers HTC One X, Telstra One XL] ImagioX1:
For some reason you have just had bad service with straight talk. I've been running straight talk for the past 6 months and have never had ANY problems. One month I used about 7 gigs of data ( a rogue app) and they did throttle me for the rest of that service month to 25kbps but the minute I refilled my account the throttle was lifted and I was regularly seeing 7mbps HPSA+ again. Since then I have used 2 and 2.5 gigs and have not got any texts or calls telling me I was using too much data and I have not been throttled.

Furthermore they have advertissed that the $30 card cant be used with smartphone before last month. I knew it six month ago when I first got my sim.

And you dont even have to enter the proxy into the apn for the service to work. Been using my phone since the beginning of this year with no proxy just fine. Oh and by the way I'm extremely satisfied with the service I get. I got about a 2 dollar discount for using auto refill so for unlimited text, unlimited talk, the best coverage in the nation, and a soft limited of somewhere around 3-4 gigs of data, I would say $42.50 a month is a deal that cant be beat by ANY OTHER service provider today.
[AT&T, Rogers HTC One X, Telstra One XL] jasonwojo75:
Ha, pretty funny we keep winding up in the same places. I've been with straight talk for about the same amount of time also without trouble, although slow data speeds today. Other than that I have absolutely no complaints.
[AT&T, Rogers HTC One X, Telstra One XL] ImagioX1:
Stalker!! LOL!

Sent from Xparent Red using my Venomized Evita
[AT&T, Rogers HTC One X, Telstra One XL] jasonwojo75:
Cyber stalker, get it right:D

---------- Post added at 09:44 PM ---------- Previous post was at 09:42 PM ----------

You get anywhere yet? I just got home from kids May fair and going to bed
[AT&T, Rogers HTC One X, Telstra One XL] ImagioX1:
Ill take this the proper thread. We''re getting off topic here.

Sent from Xparent Red using my Venomized Evita
[AT&T, Rogers HTC One X, Telstra One XL] sacosta115:
sorry to hear about your troubles but I can say this least

For the past 2 to 2 and a half months I have currently been using a net10 SIM before I got my HTC One. I first jumped on the band wagon of Net10 SIM when I got Samsung Galaxy Note ( Orignal) for $200 dollars. I found the net10 sim package at my local game stop for around $15 dollars. In that package there is three SIM options : One for AT&T branded or unlocked phones; One for a T-Mobile Branded or unlocked phones; and one micro SIM for AT&T branded or unlocked phones. I paid a small fee and had my Note unlocked and used the full sized AT&T sim. Got great speeds on HSPA+ ( between 4 and 8 mbps). However when I activated the SIM on their website they notified me, albeit in the small print , that if I used an AT&T sim that at 1.5 gb of use they WOULD throttle the speed down the snail ass slow. But on the left side of the screen they announced that if the AT&T SIM users want to switch to T-Moblie service instead that they would send them a free SIM card to do so. T-Mobile blows in my town as they have no 3g ony their EDGE service which isnt worth a damn with a 4g phone. So I'm limited on the service as far as GSM is concerned . With AT&T I get the back haul 4g its not LTE but still pretty snappy. The first month my 5 year old blew threw the 1.5 gb and instead of throttling me they just cut data out completely. Then they proceed to say that if you do that and add a service card before your service end date then then it does nothing for you data speed. it has to be on or after the service end date. I waited till the day my service ended and add an "unlimited" service card. However that did nothing. It was three DAYS before I had ANY data the two more days till my speeds were on par with what they were at the begaining. So all I can say is really RESEARCH the service you want and as always learn first hand. I am currently using the micro SIM in my OneX

and so far so good. I just use wifi when and wherever I can and keep and eye on my data usage. Other than the BS at first its pretty good for what you pay.
[AT&T, Rogers HTC One X, Telstra One XL] CrazyEye:
I've personally noticed network speed decreasing with the ownership of any prepaid GMS sim card.that I've tried (h20, straight talk, simple mobile)
[AT&T, Rogers HTC One X, Telstra One XL] New2ThaDroid:
Straight Talk completely turned off my data. Data does not work at all, Mms doesn't work. Which is why I'm switching service providers at the end of the month. I've had no problems for about the first 2 months. Then I pay for this month's and my data is cut off. I'm not going to keep paying for something that doesn't work. My little sister has an iPhone 4 on straight talk and her data is constantly off one day then on the next.
[AT&T, Rogers HTC One X, Telstra One XL] 31ken31:
Same thing here.. I did get throttled once... 13 gb in 3 weeks, cable modem died and I tethered to my laptop, Netflix, Pandora, 1channel... Gotta love mhl adapter. They dropped me to like 25k a second, pure horror. After next payment boom full speed again.. sounds like the op just had a bad run