yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] tim687:
When optimizing onDraw of a custom view, I found alot of object allocations in the onDraw method of that library.

What I don't know is if it's more efficient to calculate the same calculation multiple times or allocate one calculation to an object an reuse that object?

I want to hear your opinion about this, since it will be allot of work to change this "property" of the code.

Thanks,

Tim
[Java for Android App Development] dvdmoo:
I tend to optimize the onDraw calls by avoiding any object allocation, eg. put Paint in member variables.
[Java for Android App Development] tim687:
With 'put Paint in member variables' you mean that you create a Paint object that is accessible to the class and has already been assigned to a value when the onDraw call is called?
[Java for Android App Development] dvdmoo:
Yes exactly.
[AT&T HTC One (M8)] JOE180360:
I am trying to flash back to stock lollipop but when i run the ruu i keep getting the error 132. this was never a problem before when i wanted to go back to stock but now it wont let me.

i did relock the bootloader before starting the Ruu.

please help (At&t Htc one m8)
[AT&T HTC One (M8)] redpoint73:
What RUU are you trying to run (exact file name)?

132 means wrong RUU.
[AT&T HTC One (M8)] JOE180360:
when i download it off htc website it gives the sense 7 version for the m9 idk why
[AT&T HTC One (M8)] redpoint73:
That RUU is for the M9 (codename HIMA).

For the M8, the RUUs are listed on my Index thead: http://xdaforums.com/showthread.php?t=2751432
[AT&T HTC One (M8)] JOE180360:
thanks

the Ruu was successful.

thanks
[AT&T HTC One (M8)] redpoint73:
You're welcome.

That was an easy one! :D
[Android Q&A, Help & Troubleshooting] itizmee:
set hotspot channel lolipop

how to set channel of wifi hotspot on lolipop

i am currently running moto e2 3g rooted phone
[ZenFone 2 Q&A, Help & Troubleshooting] subsector:
Hello!

My Zenfone 2 crashes whenever I try to uninstall an app. (see video) What could be the cause and would flashing a rom fix it? I've already tried doing a factory reset.

It's the same no matter which application it is (play store, factory app, standalone apk etc etc)

When it asks if I'm sure whether I wanna uninstall and I press OK the phone instantly goes to the boot screen.

youtube.com/watch?v=R-lO2ms6n8k

sorry its sideways
[ZenFone 2 Q&A, Help & Troubleshooting] Asus_USA:
If you haven't already done so, you may want to try performing a hardware reset including wipe cache partition.

http://www.asus.com/us/support/FAQ/1011956/

Sincerely,

ASUS_USA
[ZenFone 2 Q&A, Help & Troubleshooting] 903tex:
Which do you have? WW OR CN?
[ZenFone 2 Q&A, Help & Troubleshooting] SlaxXxX:
I have WW and the same Problem. Hardware reset or cache wipe didn't help.
[ZenFone 2 Q&A, Help & Troubleshooting] empratoor:
i have the same problem too, how can fix that?
[Galaxy Note 3 Android Development] dotancohen:
Hi all, I'm ROM-shopping for a Note 3, model SM-N900. I've gone up and down this forum, but I cannot seem to find a suitable ROM. Most ROMs are probably suitable if I could get more information, but in that case I would be posting tens of almost-identical questions to tens of threads. Perhaps someone could spare us that mess, and I'll ask here concisely?

I need a ROM with these features:

* Android 4.x preferably. I really do not like Lollipop, but I'll bite that bullet if I have to

* S-Pen support. Surprisingly few of the Note 3 ROMs mention if they support the S-Pen or not. I mostly use the S-Pen in Anki and LectureNotes.

* HD Voice support

* Hebrew support, as in Hebrew menus and keyboard. This could probably be an add-on after install, but I mention it as I'll need it.

* Call recording. I use the Galaxy Call Recorder on the stock ROM, but I've seen custom ROMs, such as the Omega ROM [1], that people have trouble with call recording.

Thank you! As you can see from the Omega link, I've gone through hundreds of pages or posts looking for the perfect ROM. Now I turn to those who actually know a thing about them! Thanks!

By the way, I do donate to the FOSS software projects that I use, including for Android apps. Any ROM that I wind up settling on will likely see a modest donation. Not financial support, mind you, but a "thank you" for the hard work. I usually donate $10 - $20.

[1] http://xdaforums.com/showpost.php?p=62159591&postcount=8646
[Galaxy Note 3 Android Development] Someguyfromhell:
Look in Development section (while we're on it, questions go into Q&A, Development section is only for showing off your work) for the ROM that you might like. Instead of waiting for replies, why not go digging for the one that suits you, try first one out, then another one etc. Works much better than waiting for hours doing nothing.

On a side note, you have completely misunderstood the purpose of xda-developers and the ROMs here. Why? Look in my signature. 3rd link.
[Galaxy Note 3 Android Development] dotancohen:
Thanks, Someguy. In fact I have gone digging quite a bit, as I show in the OP. I even provide a link that is on page 800+ in a thread, intended to show that I've put real effort into this. But I do understand you, lots of folks want help after putting in no effort at all. I assure you that I'm not one of them!

Can this thread be moved to the Q&A section?

Actually, I am trying to learn. I learn by doing, not by watching Youtube videos. And I'm trying to find the right ROM so that I can learn from it. I wish that I had a spare device to experiment on, in fact today I went to the stalls to find a used Android phone to experiment on but all the affordable devices were Android 2.x, not 4.x. But again, I thank you for making sure that I'm no riffraff and doing your best to keep the forums clean.
[Galaxy Note 3 Android Development] Clark Joseph Kent:
While going up and the down the Forums did you see or read the Forum Rules on posting....

Thread Closed.
[G4 Q&A, Help & Troubleshooting] TheFrankIAm:
Deleted stock keyboard

Hey guys, I accidentally deleted the stock keyboard without a backup and would like some assistance getting it back. Im on a rooted H815P running v10c.

Thanks in advance.
[Nexus 7 (2013) Q&A] jackveedhenrie:
Factory image staorage problems

I flashed a factory image on a 32gb Nexus 7 and now I have 12.9gb total space. I tried flashing again. And I didnt work, any suggestions?
[Nexus 7 (2013) Q&A] Telyx:
In a terminal emulator app, type restorecon -FR /data/media/0 and that should fix it.
[Nexus 7 (2013) Q&A] jackveedhenrie:
u0_a101@hammerhead:/ $ restorecon -FR /data/media/0

SELinux: Loaded file_contexts from /file_contexts

SELinux: Could not stat /data/media/0: Permission denied.

u0_a101@hammerhead:/ $

That is what I see
[Nexus 7 (2013) Q&A] jackveedhenrie:
Sorry im an idiont, I put that on my Nexus 5 not 7...
[Nexus 7 (2013) Q&A] Ja_som:
Do a factory reset...
[Galaxy Note5 Q&A, Help & Troubleshooting] kylejc86:
Help on importing a Note 5 to the UK

I was hoping I could get some advice on importing a Note 5 to the UK to use on the o2 network.

My sister is in Chicago for the next 2 weeks and I really want to buy the 64gb black note 5 but I need to know if there is a specific place I should buy it from. Can I buy an unlocked phone from any of the US network stores? Is there a particular version that won't work with the UK 4G network? Any help will be much appreciated.
[Galaxy Note5 Q&A, Help & Troubleshooting] chong67:
The T-mobile version their bootloader has always been unlock, not the AT&T version. You have to wait 1 month before you can call T-mobile to get it unlock. I think you might get a service to unlock on ebay soon.
[Galaxy Note5 Q&A, Help & Troubleshooting] kylejc86:
So can I just buy the phone outright from a tmobile store without a contract or anything? Also would samsung stores not sell them unlocked like apple stores do?

Thanks
[X Play General] elaurens:
I happened to have lost my Sony Z3 Compact in a cab in China last week and am on the hunt for a new phone .. I was for 90% sure that the Play was going to be my next, but they've just announced the pricing and availability in Australia. Here it comes, both the Play and Style will be released next month (regarding the Play, why is it so hard to release it worldwide on the same day??) and both will be only be available through Vodafone (Really?? Carrier-locked while the rest of the world gets it unlocked?!) , which has 5M subscribers out of 30M total mobile subscriptions (most at Telstra and Optus) and the worst coverage possible. The Play might be sold "later on" for the beautiful price of 569AU$ (to be confirmed, =378E, 420US$), making it a mid-range phone at the price of a Z3 and around 70AU$ more expensive than my lost Z3 Compact..

Source(s): http://www.cnet.com/au/news/motorola-moto-x-style-moto-x-playand-moto-g-australian-pricing-and-availability/

http://www.smh.com.au/digital-life/mobiles/motorolas-moto-x-style-moto-x-play-and-moto-g-smartphones-coming-to-australia-20150817-gj1bnx.html

Sorry for this little rant, but I could barely believe what I just read. It looks like Moto is not even trying to sell the phone over here..

Oh yeah, feel free to recommend me any Android phone :P I'm currently looking at the Xiaomi Redmi Note 2 or a HTC One M8/Samsung S5 (can find them refurbished for +- 345AU$). I highly dislike Touchwiz and never thought it'd be buying a Samsung device, but none of the other manufacturers have anything compelling to offer around that price (and I dislike the OP2's invite system even more than Touchwiz). Thanks! :)
[X Play General] Geordie Affy:
Yeah odd move by Motorola, I guess they aint too fond of Vegemite.

I think my logic makes the most sense lol

Sent from S3 via Tapatalk App.
[X Play General] Geordie Affy:
Flipping Heck! Vodafone have released off contract price.

AUS$792 ... When a phone costs more than the UK price you know thats bloody expensive!

Sent from S3 via Tapatalk App.
[X Play General] convolution:
nah, Canada sells it carrier locked too...
[X Play General] Brewtality:
Well... there's this one thing that doesn't suck about mobile phones in brazil: they sell it unlocked and even the contract binded ones are unlocked or easily unlockable.
[JAMin, XDA Neo, S200 ROM Development] harta:
Hi ,

Anyone know of the registry fix for the default Calulator so that it can show a seperator for thousands ? For example 1,000 instead of 1000.

I am using PDAVIET 4.0.0.05a

I do not want to d/l other calulator like 1-cal which is slow to open and wanted to use the default calculator cause it is fast to open.

Thanks
[Samsung Galaxy Nexus] Garridon:
Could someone make a .tar file for odin for the latest official rom for the galaxy nexus please? ive scoured the deep depths of the internet for one and all the links do not work.

Thanks in advance
[Samsung Galaxy Nexus] Zeinzu:
Download the stock image from Google. Unpack, then use Odin to flash each individual partition image. It's actually pretty simple. Pm me if you have questions.
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] CatHill:
need help for grand duos i9082 clone

the phone is dead and i need rom for mt6577.

help me

Type = DRAM

Size = 0x20000000 (512MB/4096Mb)

NAND Flash:

ERROR: NAND Flash was not detected!

EMMC:

EMMC_PART_BOOT1	Size = 0x0000000000200000(2MB)

EMMC_PART_BOOT2	Size = 0x0000000000200000(2MB)

EMMC_PART_RPMB	Size = 0x0000000000020000(0MB)

EMMC_PART_GP1	Size = 0x0000000000000000(0MB)

EMMC_PART_GP2	Size = 0x0000000000000000(0MB)

EMMC_PART_GP3	Size = 0x0000000000000000(0MB)

EMMC_PART_GP4	Size = 0x0000000000000000(0MB)

EMMC_PART_USER	Size = 0x00000000e2c00000(3628MB)
[Galaxy Grand Duos i9082 Q&A, Help & Troubleshootin] CatHill:
Help me please.....
[Galaxy S 5 Q&A, Help & Troubleshooting] mr2nr15:
sm-e500h Galaxy 5 from Thialand

Ok so we got an exchange student last week from Thailand and she has a Galaxy 5 sm-e500h I am digging for information on this model to see if it can support CDMA since it has a dual sim card reader. But I think its only GSM or WCDMA. Ugh because gsm coverage sucks around the lake. Can somebody please confirm this. I have seen xcdma mentioned also. Is there any way this phone could work on US CDMA towers? More specicly StarightTalks CDMA network? I am thinking I am a lost cause and might as well just welcome her to gsm or have to get her another phone but I just want to make sure before I pull the plug on this idea.
[Galaxy S6 Edge+ General] Galaxaster:
Samsung UK price is £749.00 - £829 for 64gb - Crazy prices!

http://www.samsung.com/uk/galaxys6/#
[Galaxy S6 Edge+ General] prashant.saraf:
I am paying 912$ for 64GB!! And that is crazy price too :(
[Galaxy S6 Edge+ General] apurva.giri:
Same here... $914.99 for 64 Gigs on AT&T. Can't be helped. We'll weep tears of blood when the price drops to $600 in next few months... :silly:
[Galaxy S6 Edge+ General] jthrasher47:
Did you read if AT&T ever get root.. the phone or just got black and say it has been rooted so there is absolutely no hope for AT&T or Verizon right now kind of sucks for you guys
[Galaxy S6 Edge+ General] apurva.giri:
We just have to make sure that doesn't happen in that case... :p
[Galaxy S6 Edge+ General] jthrasher47:
Yeah I kind of hope someone find a workaround for that luckily I'm on tmobile and don't have to worry about that
[Galaxy S6 Edge+ General] prashant.saraf:
I have my creditcard which says if price droped in next 60 days they will give back difference.. so I am good there :)
[Galaxy S6 Edge+ General] apurva.giri:
Heck of a credit card that is. Mind sharing the name ? :p
[Galaxy S6 Edge+ General] atuarre:
You are complaining because of the price differences because are currency isn't worth as much as theirs?
[Galaxy S6 Edge+ General] zounduser:
I can't wait to get this phone!
[Galaxy S6 Edge+ General] irzero:
In 3 months it will be £400 just like the s6. It won't sell at those prices. Samsung can't be trusted
[Galaxy S6 Edge+ General] barondebxl:
I won't pay those prices for any phone anymore. That is just ridiculous.
[Galaxy S6 Edge+ General] gohar3909:
Is his for real?

---------- Post added at 06:35 AM ---------- Previous post was at 06:31 AM ----------

It cost's really less in the area where I live...
[Galaxy S6 Edge+ General] misterzeno:
Its not worth it anymore, in 2 months the phones will be on craigslist. Android phones come out too fast and they don't hold their value.
[Galaxy S6 Edge+ General] Guitarfreak26:
They are much cheaper on handtec!
[Galaxy S6 Edge+ General] del1701:
[emoji15][emoji15][emoji15]

It's £679.99 for the 64Gig at CPW [emoji6]

http://www.carphonewarehouse.com/samsung/galaxy-s6-edge-plus
[Galaxy S6 Edge+ General] lawtq:
God damn it people!

You lot all buying this gives them the ammunition they need to keep on selling at these crazy flipping prices!! And who are we kidding, of course it'll sell.

But Iive in hope, Samsung are losing more market share due to these budget phones becoming more popular. But Samsung have never been good at hearing their customers
[Galaxy S6 Edge+ General] Ryland Johnson:
It would indeed be folly to write this mobile is not expensive, it is but so are most quality things in life?

Spend a little get a little back, Aston Martin are expensive as are numerous other uber cars. Consider the specifications and materials used with the Edge+. Again I am not suggesting its a cheap mobile but has Apple ever been cheap? Apple are the richest company on earth and though they do indeed make a superb product they are generally not so well specified as other flag ship mobiles.

I own the latest Apple iPhone and though it is a thing of beauty the actual specs are years behind the normal S6 that I also happen to own.

The micro engineering and development costs that go into the new generation of flagship Samsung are what bought me back to them after a long break, When I think how Samsung sold us plastic metal, plastic leather and plastic stitching I have no problem paying a premium price for a premium device. I sincerely doubt one could refer to the new flagship range of Samsung's as anything other than premium devices.

I think the S6 is a superb mobile and for the lower price is leagues ahead of its Apple counterpart. I dread to think what the cost of the new iPhone will be? Still they are again a premium mobile, heck they may even place a HD screen in the 6S?
[Galaxy S6 Edge+ General] ShyamSasi:
Personally I thought the device is expensive but after using it for a week I don't regret my purchase. In mobile world we can't really keep up with new technology in 6 months your device is outdated something new will and you if compare you'll always regret it. If the device and it's features makes you happy then that's all it matters. If you are worried about the price go for different one there a tons of devices that offers fairly good features with much less cost like One Plus etc.
[Galaxy S6 Edge+ General] Alex---1:
The good thing is that mobile technology has pretty much peaked over the last few years or so, so if you buy an edge+, you're probably good to go for the next 3 years.

Gone are the days of ground breaking new features and big leaps - It's just same sh*t different year - There's only so much you can shove in a phone.

I upgraded from a Note 3 to this as my contract ran out and to be honest, the screen is a bit better, sure it's a bit faster, not hugely though - The biggest change is the camera which is a lot better. I did a side by side comparison last night, clearing the ram of both handsets and launching things and there wasn't a massive amount in it at all. I don't understand why people buy outright then sell a few months later when the next thing comes out, such a waste of money when you're getting pretty much no improvement over the last model.

Had I not come to the end of my contract I certainly wouldn't have bothered. It's a bit better, but not £750 of better.
[Galaxy S6 Edge+ General] Ryland Johnson:
Hi Alex. I agree with you in principle. Mobiles have reached silly prices also silly specifications. Regarding the specification part being a technophile I cant help myself but keep up with the latest. :eek:

Your final paragraph I respectfully question though without being confrontational.

I paid, in September 2013, 799.00€ for the SG Note 3. Just paid the exact same amount for the SG S6 Edge+.

Regarding the specifications if you log into GSMArena and do a side by side comparison....well.....there isn't one. Screen resolution, RAM, ROM, PPI, Cores and speed, camera, video, finger print security, heart rate monitor, hey the list is endless. PLUS now lets take a look at the physical engineering side. The Note 3 all plastic, I need not go on. The Edge+, the body is made from aircraft industry alloy, Corning Gorilla glass 4 front and back.

Injection moulding plastics as in the Note 3 is simple in comparison to the engineering and machining process needed to produce each Edge+ frame. The cost in 2013 to produce the Note 3 would be well over half the cost of production of the Edge+.

I am NOT disagreeing with you when you write about the prices being high but the Note 3 both in terms of internal specifications and materials are chalk and cheese. Out of interest the Note 3 was the last Samsung I purchased due to the fact it was their flagship mobile yet was entirely made from plastics made to

look like

metal and leather? I went to Sony with the Xperia Z range and find those to be superbly crafted and engineered. The new Z 5 premium should be a demon of a mobile, it even sports a 4K screen (no idea why but?).

Todays flagship mobiles from top brands like Sony, Samsung, HTC and Apple are incredible micro engineering wonders both in terms of materials also specifications. With regards to specifications, like you, I do ponder where its going to end?

Kind regards, Ryland
[Galaxy S6 Edge+ General] Alex---1:
I see what you mean and I agree. It's just they keep getting beefed up so much, to the point where you just have to ask why? When it's just a phone...

The S6 Edge Plus does have awesome specs, but if you have both side by side and after clearing the ram on both the Note 3 and Edge+ and load up messaging and other apps, there really isn't enough in it to warrant the upgrade.

I guess, if you're on an older handset, it's probably worth the price, but I feel (and granted this is just my opninion), if you already had the latest before, is there just isn't enough of an increase in performance and well, anything really, to warrant an upgrade, hence my feelings on my Edge Plus. I love it. Those with a note 4 I guess will especially see just a minor upgrade.

I actually really liked the plastic backs on the Note 3, they weren't fancy, but they were replaceable - I cracked one of them by accident, £5 saw a brand new one and the phone looking as new again, I also loved that they didn't show finger prints (something I personally can't stand!). The back of my Edge Plus is going to look a mess in 2 years time when it's time to upgrade again, no matter how well I look after it! The Edge Plus feels very fragile, despite babying over the last 5 days I've noticed a very tiny scratch in the screen already and believe me, it's been looked after at no expense, my note 3's screen has only 5/6 small scratches after 2 years.

Saying all that I do love it, just need to get rid of my high standby battery drain and it'll be a good'n.
[Galaxy S6 Edge+ General] jordy787:
Lol i paid $550 USD for my 32gb T-Mobile S6 Edge plus fully paid off sealed in box.
[Galaxy S6 Edge+ General] Ryland Johnson:
Thats 489.50€. I paid 800.00 all but 10 cents! Its the same story with watches, that I also collect, they are much less expensive in the USA. You are lucky to have such luxury items at such low prices. :cool:
[Galaxy S6 Edge+ General] jordy787:
Haha i found mine on offerup which is a craigslist alternative. It was a tmobile rep selling it :p
[Galaxy S6 Edge+ General] Ryland Johnson:
Hi Alex. First thing I do is purchase a good quality glass screen protector also some sort of case. I have had a heck of a job finding either as the device is so new and I guess will only find a small niche market? I have bought a cheep plastic clear back and side cover that will protect it from scratches etc. Spigen will soon release their range and I will purchase one like that or similar. I never use a mobile this expensive without protection.

I agree with you the Edge+ does feel 'odd', Its anorexic thin and I found it very uncomfortable to hold without this plastic case. The sides of the device stuck into my hand and turned my fingers blue? Its like holding a blade. My SGS6 is THE most comfortable phone to hold and use I have ever owned. The SGS6 also feels better in the hand, more substantial? I shall keep them both to see after time what I will keep and sell. I must confess at present I prefer the S6! :eek:

Best wishes, Ryland
[Galaxy S6 Edge+ General] Alex---1:
I know you want you mean. My note 3 was never comfortable to hold, this actually feels a bit better due to it being slightly narrower. I can't stand cases unfortunately so I always have them naked. I don't understand why people buy a very nicely engineered phone then cover it up with rubber and double the thickness - Defeats the point IMO. Having said that, I was worried about the rear glass shattering so I got a clear Spigen case on amazon, which is about as lightweight as it gets but at the end of day, it stops finger prints and that's it - No thin bumper case is ever going to stop it from shattering if it gets dropped. I had the case on 5 minutes and took it off again haha.

Regards