yashsingh1/xdaforums huggingface dataset:
[Other Tools & General Discussion] nnyerges:
Issue Found!

HAVE FOUND THE PROBLEM, but NEED HELP TO SOLVED IT!

(NOTE: This only occurs in full java code. It doesn’t happened using XML file, what is not the case)

Now I should call this topic like:

ANDROID 4.4.2 CREATES A BLACK MASK OUTSIDE VIEW OBJECT BOUNDARY, ONLY DURING FULL JAVA CODE ANIMATIONS?

Why?:

Take a look to this new example code:

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
common = new Common(this, this);
FrameLayout.LayoutParams framelayoutparameter = new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT);

/* I think that this is the line code (imageviewparamenter) were Android 4.4.2 FAILS during animation.*/

LayoutParams imageviewparamenter = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);

/* No matter the size of the screen, Android 4.4.2 creates a black hole outside the image size,
* just during animation (see attached picture). Thats why animation dont show up, if the
* initial position (setX or setY) of the image, is outside the image boundary.*/

fl = new FrameLayout(this);
ImageView iv = new ImageView(this);

/* Image is located in the ASSET and is 100x100 pixels (non dpi dependable)
* "common" method use AssetManager to read the image file */

iv.setImageBitmap(common.newImage("iv_image.png", ImageFormat.RGB565).getBitmap());
iv.setX(50); // position show in the example
iv.setY(0);

fl.addView(iv, imageviewparamenter);
this.setContentView(fl, framelayoutparameter);

AlphaAnimation animation = new AlphaAnimation(0,1);
animation.setDuration(5000);
animation.setAnimationListener(this);

/* Also, "setAnimation(animation)" must be present, in order that
* Android 4.4.2 animates without skipping frames*/

iv.setAnimation(animation);
iv.startAnimation(animation);
}

Create a frame layout with a ImageView and alpha animation using pure java code. During animation, Android 4.4.2 (API19) is creating a black mask outside the ImageView size boundary, starting at x/y coordinates (0 + imageWidth / 0 + imageHeight), so if you initially place the image outside that coordinate, you don’t see any animation, just the original image at the end of the animation....

To recreate the issue, i have place the image in x = 50 . You would see that the half right side of the image is BLACK during Android 4.4.2 animation. You can recreate using emulator with any size of screen setup that you prefer. Using API 16,17,18, have no problem, but using API19, the black mask will make you crazy!

NOW, ANY IDEAS? or is a big bug on Android 4.4.2? or I just don’t see it?
[Other Tools & General Discussion] nnyerges:
Anyone?
[Other Tools & General Discussion] nnyerges:
SOLVED

! SOLVED !

For some reason, API19 programmatically pure java animations doesnt play very well with absolut settings, like setX() or setY(). Experts may take a look on this. API19 preffers to work with margins on the layout parameter side.

The following procedure, apply's to android 4.4.2. Of cource, it works on the others versions down and up, but you must change your way of thinking. You must place a imagen programmatically using layout parameters, so change:

iv.setX(50);
iv.setY(0);

to

lparam.setMargins(50, 0, 0, 0);
iv.setLayoutParams(lparam);
iv.requestLayout();

You must call "requestLayout()" to ensure that the new changes on the layout, will be commited when adding the view to the parent (fl).

Finnally, by mistake, I use "LayoutParams" instead of "FrameLayout.LayoutParams". This nothing have to do with the issue and was not affecting it, but is the correct way to define it, so change:

LayoutParams lparam = new LayoutParams(LayoutParams.WRAP_CONTENT, LayoutParams.WRAP_CONTENT);

to

FrameLayout.LayoutParams lparam = new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT);

The complete working code for any API is:

protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);

Common common = new Common(this, this);
FrameLayout fl = new FrameLayout(this);
ImageView iv = new ImageView(this);

FrameLayout.LayoutParams flparam = new FrameLayout.LayoutParams(FrameLayout.LayoutParams.MATCH_PARENT, FrameLayout.LayoutParams.MATCH_PARENT);
FrameLayout.LayoutParams lparam = new FrameLayout.LayoutParams(FrameLayout.LayoutParams.WRAP_CONTENT, FrameLayout.LayoutParams.WRAP_CONTENT);

iv.setImageBitmap(common.newImage("100x100.png", ImageFormat.RGB565).getBitmap());
lparam.setMargins(50, 0, 0, 0);
iv.setLayoutParams(lparam);
iv.requestLayout();

fl.addView(iv);
this.setContentView(fl, flparam);

AlphaAnimation animation = new AlphaAnimation(0, 1);
animation.setDuration(3000);
iv.setAnimation(animation);
iv.startAnimation(animation);
}
[G2 Android Development] poudigne:
I managed to install TWRP and when I tried to flash Furnace Kernel for D803, the phone is stuck on the furnace logo doing nothing. I'd like to come back to the original kernel, but can't push file using ADB sideload cause my ADB don't detect the phone. And, download mode is doing nothing. Helpp !
[G2 Android Development] sbdz:
Have you tried this ?

http://xdaforums.com/showthread.php?t=2582142
[G2 Android Development] RenderBroken:
This is not the right forum for this fyi. But you should still be able to get right back into recovery just fine using the button press sequence. Turn off the phone with the power button, now press the power + Volume down button till the screen turns on then once it does, immediately release them both then press them both again til a white recover screen appears. Then just tap the power button two times and it will get you back into TWRP. From here you can flash the old Rom again and it should restore the original kernel. Regardless you should be able to take it from here.
[G2 Android Development] poudigne:
I was able to go in recovery, but not transfer file.

Anyway, i managed to transfer file into my phone, and tried to flash another kernel, and it just brick the phone. I went to the service company and they gave a me a new Phone (Galaxy S4) for free since i was still on warranty. So thanks for all your help anyway. I hated that phone, so it's good thing it bricked.
[G2 Android Development] RenderBroken:
I'm sorry you had a hard time. The S4 is a decent phone yet not as good as the G2. Hope it gives you less of a head ache.
[G2 Android Development] sbdz:
- You need OTG cable.

- Copy your ROm in flash disq

- Reboot into Recovery.

- Go to Mount.

- Choose Otg storage.

- Flash your ROM.

:good:
[G2 Android Development] HueyT:
Flashing is not without risks but you can lessen the risks by researching and learning before flashing blindly. If things go badly, 99% of the situations can be salvaged if you don't panick and research the fix before giving up. USB OTG is cheap and provides SD Card flexibility and allows you to back up your phone or rom off-site. Newegg has Kingston microDuo 32gb USB 3.0 right now for $16. http://www.newegg.com/Product/Product.aspx?Item=N82E16820239887

You can also buy a USB OTG cable and use any flashdrive with that cable for about $1 on Epay
[Galaxy S III Q&A, Help & Troubleshooting] ng1998:
I just started using nameless rom and is quite satisfied with the performance. Can anyone recommended me a good governor and io scheduler for performance? I care more about performance than battery
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] karmasblade:
When I use data to browse on, say Reddit, after about 5 minutes and becomes extremely laggy to the point where it doesn't respond and is so slow that it cannot even go to home page. It feels like a computer that has too many applications opened and stops responding. It also gets super hot I swear I can cook an egg on it. Anyone know why? It's been like 2 years with it, is it time for an upgrade?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Phantomhive:
Often times this happens to me on certain kernels. What kernel and ROM do you have?
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] karmasblade:
Slimkat latest weekly and their kernel that comes with it. Was using their August Official Stable version for a month or two though and it still happened. This problem persists with any rom and kernel that I've tried. (Quantum, AOKP, Pac-Man, LiquidSmooth but the lsat time I tried these were almost half a year ago.)
[AT&T, Rogers, Bell, Telus Samsung Galaxy S III] Phantomhive:
Are you still under warranty? My friend had a what was claimed to be "defective device" by AT&T. If you are under warranty I'd say reset that flash counter, if not it may be time for a new device
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] Coronado is dead:
It's almost like if I touch it, or it touching something on my desk, it clicks... like a one time rattle sound. I assume this is just because it is removable to get to the SIM.

Nitpicking for sure, just wanted to see if it was normal :) Wouldn't dare to trade for another for this, lol.
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] Jomama22:
Not for me. Mine are a bit stiff tbh. I actually find them not responsive enough and kind of hard to find the spot on each. May just be my short time with it, but i hate how there isnt atleast a little dimple over where each actuation point is.

And because of the way its designed with the sim behind the rocker...it doesn't really "rock". You have to change your thumb position to raise and lower volume.

I know im nit picking but it was one to the first things I noticed since I use it to play music in my car and finding the best output volume on my phone with my car setup.
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] civiksi:
Mine doesn't. Maybe yours isn't in right. Maybe remove it and re install it?
[Verizon Motorola Droid Turbo Q&A, Help & Troublesh] Coronado is dead:
Might try that.

Here's another question: can any press vol up and vol down at the same time? I can't, and I noticed it because I booted into recovery to clear my cache and couldn't get past the no command screen.
[Galaxy Note 3 Q&A, Help & Troubleshooting] djnk954:
Hi all,

I got a SM-N900W8 from someone in Canada and I was hoping if it'll work on tmo in the US. I tried to flash a tmo rom using Odin 3.09, didnt work. Tried to flash the modem as well, didnt work. Got a "fail" message both times. I was hoping to find a manuel, or someone that has the majic solution.

HELP!!

Thank you guys
[Galaxy Note 3 Q&A, Help & Troubleshooting] djnk954:
Bump.

To further clarify, I'm just looking for a way to get my SM-N900W8 work on tmobile

Thank
[Galaxy Note 3 Q&A, Help & Troubleshooting] radicalisto:
If memory serves me correct, you can flash a T-Mo ROM (custom N900T only, not stock via ODIN) but you will need to flash a w8 kernel in order to boot it. Or at least you used to be able to. Not had an N3 for a while now so a bit out of the loop. But I wouldn't suggest this route unless someone can clarify for sure.

However, you should be able to pick up T-Mo service on the W8 using the correct APN but you won't be able to get LTE afaik. Most you'll get is H+ due to the radio being different. I think there was a guide to be able to get T-Mo LTE from one of the non T-Mo devices (T-Mo's is the N900T for the record)
[Fire TV Q&A, Help & Troubleshooting] Caillin:
I've recently just fired up my AFTV after about 4 months sitting to one side. It looks as though it's been auto-updated to the new version automatically (I never put in place any of the update blocks).

I went to start Netflix, and it says it needs to be updated. I then tried to update and it said that pricing was unavailable and there is no way to install it that I can see from the built-in app store. Assuming this is some type of enhanced geo blocking on Netflix's behalf, I found another user that mentioned deregistering and re-registering the device allows the new Netflix version to download and work. However, once I de-registered, it now won't let me register with my Amazon email address and password. I've confirmed that the credentials are definitely still working fine on Amazon web and 3 different device running Kindle, so I know it's not an account problem.

Has anybody else had issues not being able to re-register their device?
[Nexus 6 Q&A, Help & Troubleshooting] jcarlm:
Has anyone heard anything on the Nexus 6 at Best Buy? If this is an option, any one going this route?

I have a Best Buy card and I am considering getting the Nexus 6 from Best Buy if the option is there. I believe it's is 0% interest if you pay it off within a year's time from purchase. Plus you get rewards for using your Best Buy card.
[Nexus 6 Q&A, Help & Troubleshooting] oastjc:
Havent heard anything from them yet.

I want to go through best buy too since I am the elite plus member and I have some GC to use.

I assume they should get it on the 12th too though...
[Nexus 6 Q&A, Help & Troubleshooting] aiiee:
You can't ask B B either because they can only look at the same website you look at.....

I did see one of the Google pages that had the white Nexus 6 for sale showing a bunch of greyed out logos indicating where the phone would be available, one of which was Best Buy. Worth watching.:confused:
[Nexus 6 Q&A, Help & Troubleshooting] evolving:
My best buy said they probably wouldn't get any at all so we will see
[Nexus 6 Q&A, Help & Troubleshooting] TheJesus:
Quite a few rumors of them selling it, plus they sell for the big 3 carriers so I imagine they would have to. They already have the nexus 9 listed up, so I bet they'll get the 6 too.
[Nexus 6 Q&A, Help & Troubleshooting] jcarlm:
I'm currently with T-Mobile and they are only going to carry the Midnight Blue. I plan just to buy the white from Best Buy with my Best Buy card then take it to T-Mobile for their service. Best Buy has told me they will carry the phone but they do not have a date. Hope that Best Buy gets the Cloud White!
[Nexus 6 Q&A, Help & Troubleshooting] Dr Faustus:
You have to be careful on who to ask when it comes to stock on some devices at BB locations. A few of the ones I traveled to had Apple Product Salespeople hanging around the cellphone department acting as they work in the department but are simply trying to do whatever they can to pull you towards interest of an iPhone. They would tell me when I ask about the stock of the Nexus 5 and the coming stock of the Nexus 6 "We do not carry T-Mobile devices" in which I just walk away from them and try to get the attention of a proper employee of the department.

It amazes me the ignorance of some sales people considering that they sold the Nexus devices contract free. It makes me wonder where the hell they pull these people from.
[Nexus 6 Q&A, Help & Troubleshooting] Skripka:
They're underpaid workers who are not techies. Anyone who knows, really knows, anything about computers or electronics finds a much better job than BestBuy.

Always been that way.
[Nexus 6 Q&A, Help & Troubleshooting] Lw00d:
im on verizon unlimited everything.. i am going the BB rout too. pay with my BBcard.. i hope BB gets it on launch date. just like the N9
[Nexus 6 Q&A, Help & Troubleshooting] Dusty Rhodes:
Yep. That's like asking the guy stocking cough syrup at the grocery store about medicine...

Don't expect him to know anymore than you, and in reality he probably knows far less.

He's essentially the best warm body they could get for what they pay, which isn't much.
[Nexus 6 Q&A, Help & Troubleshooting] jcarlm:
I was just given this information. I can't provide source due to this person could be an employee of Best Buy. How much of this is a fact, I don't know.. I did cut out one line to help protect this person if it is legit.

This is what I was told;

""""I dug through some employee systems and found the nexus 6 listed on AT&T at full retail of $649.99 with a street date listed as 11/21. So it should be in stock there or shortly after.

No other carriers in best buy at the moment. I forgot the sku but I'll find it for you again when I work.""""
[Nexus 6 Q&A, Help & Troubleshooting] jcarlm:
and now its known.. http://www.androidauthority.com/nexus-6-best-buy-release-566428/
[Nexus 6 Q&A, Help & Troubleshooting] MisterRich:
Thank you for this. I've been calling maybe every other few days and asking their reps here and I've even gotten "I didn't even know there was Nexus 6". One even asked me if I ment the 9. We don't have a T-Mobile here in Alaska so options here are scarce...
[JASJAR, XDA Exec, MDA Pro Software Upgrading] poussin69:
Enjoy :

http://www.microsoft.com/downloads/...ea-9df9-4920-af33-3a0e2e4e7beb&DisplayLang=en
[JASJAR, XDA Exec, MDA Pro Software Upgrading] darkjedi:
Great, hopefully we can flash in Vista soon too :)
[JASJAR, XDA Exec, MDA Pro Software Upgrading] geovass:
Good one !!!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] dy2592:
Can someone please post alternative link or email me the program. I can't seem to download it directly from Microsoft. Thanks in advance
[JASJAR, XDA Exec, MDA Pro Software Upgrading] gothier:
I have done this

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

and I can flash my Universal with Vista.

My Vista installation is an Upgrade from XP Sp2.
[JASJAR, XDA Exec, MDA Pro Software Upgrading] darkjedi:
Oh really? I'll have to try that :) Thanks!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] JayRayMee.NL:
Hi,

Just installed the final of the WMDC and it works.

Here's the problem (ofcourse, there always is a problem ;)) I had the beta 3 of the WMDC installed before, which held two partnerships of two different devices.

I didn't end these partnerships and I didn't uninstall the beta 3 before I installed the final version as provided in the link in the first post above.

Now the new WM Device Center is installed and none of the previous two partnerships is there. Not a big deal, just connect your device and set one up again. But then WMDC says that the device name I'd like to choose already exists and so can not be used. Same goes for the other device.

So, the partnerships are still there in a way, but I can't locate them and delete them. How can I bypass this situation and delete the old partnerships to start them from scratch again? I think it's a matter of (hidden) folders and files somewhere...

Thanks!!
[JASJAR, XDA Exec, MDA Pro Software Upgrading] xqizit:
I havent used WMDC, but in Activesync they are located under C:\Documents and Settings\<username>\Application Data\Microsoft\ActiveSync\Profiles.

Just delete the files/dir in there and try resyncing again.

I would imagine WMDC would have a similar sort of dir structure for profiles. I hope this helps you to find them.
[JASJAR, XDA Exec, MDA Pro Software Upgrading] JayRayMee.NL:
Hi! Thanks for helping, but in Vista there's no more "Documents and Settings", but only "Users" and an entirely new folder structure. And I went through all the files and folder it contains, but nothing there. A search through the computer, looking for files containing the used device names didn't help either.

So here's what I did then: I just forced Vista to go "System Recovery" back to the point where the new WMDC was never installed. The old one (beta 3) was there again, just like it was never been overwritten. I could just start it and manage all the partnerships again, so I killed them all.

Then I reinstalled the new, final WMDC again and a succesfull partnership was soon to be made. :)
[JASJAR, XDA Exec, MDA Pro Software Upgrading] sandrobber:
Hidden folders

Noticed some folders dissapeared also, Make sure that you unhide system files under folder options and you can see all folders in explorer
[Galaxy Note II Q&A, Help & Troubleshooting] ehl.ey14:
Guys, can i ask? i have a note II (SHV-E250L), the touch screen is not working fine if i used my fingers, but when i use s-pen, the touch is working fine? thanks!
[Galaxy Note II Q&A, Help & Troubleshooting] nitol:
If your device is rooted, try a custom kernel which has touch sensitivity boost option. Actually the problem you are facing is very un usual, try

custom rom

Or

Custom kernel

Or

Take it to service center.
[Galaxy Note II Q&A, Help & Troubleshooting] ehl.ey14:
can i ask what custom kernel and custom rom you recommend? im on stock 4.4.2 now and rooted
[Galaxy Note II Q&A, Help & Troubleshooting] nitol:
go to the device model specific forum and check their, you should find some custom kernels/roms. choose one and be sure that is Sammy based, not AOSP, CM etc.
[Galaxy Note II Q&A, Help & Troubleshooting] ehl.ey14:
i think its a hardware problem my touch is being crazy now :3
[Galaxy Note 3 Q&A, Help & Troubleshooting] timecop79:
Hi,

I try to root my new Note 3 n900, I use first unlockroot :didn't work, kingroot :also not working, at last I try with chain fire auto-root, the phone still blocked on cache for few minutes then display "fail"

In odin and the phone display the picture in the link, help plz

Thanks a lot

Envoyé depuis mon SM-N9005 avec Tapatalk
[Galaxy Note 3 Q&A, Help & Troubleshooting] radicalisto:
Make sure you're using the correct CF-Autoroot.
[Motorola Droid Bionic] QA Bot:
Q&A for [ROM] [JB] Blurry 2.4 (Official 5/6/13)

Some developers prefer that questions remain separate from their main development thread to help keep things organized. Placing your question within this thread will increase its chances of being answered by a member of the community or by the developer.

Before posting, please use the forum search and read through the discussion thread for [ROM] [JB] Blurry 2.4 (Official 5/6/13). If you can't find an answer, post it here, being sure to give as much information as possible (firmware version, steps to reproduce, logcat if available) so that you can get help.

Thanks for understanding and for helping to keep XDA neat and tidy! :)
[Motorola Droid Bionic] Jiro Rosales:
Can i install this using cwm??

Is this rom can run for all kind of phone??

Im using cherry mobile cosmos s :)

..

Sorry for the question xD
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] wizzlewizzle:
View attachment 2993630

I was amazed at this phone on verizon.

-Wizzle
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] grrump:
You got me beat. I was amazed at the 24-26 I got in the Cincinnati-day ohio area. Coming from a galaxy s3 I was use to 6-8 on average.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jmacdonald19:
This is the best I've gotten so far. Northwest Minneapolis suburbs.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] usmaak:
I don't get higher than 9 down where I am. I'm actually sort of disappointed in this. I was hoping that my area was on XLTE. On regular LTE, the network is so saturated and crappy. I have 50/5 internet through Centurylink, with a Netgear Nighthawk router. My wifi speed tops out at 12 down. I get 26 down on my macbook, and 46 down on a wired connection.

I really was hoping for better results. I mean I know that the LTE situation in my area is a sad joke, but I have some pretty good speeds through CL.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] le0.br4zuc4:
I'm pretty happy
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jayochs:
my area used to get horrible speeds of like 1mbps. I complained a lot. I think they finally fixed the towers here, and my g2 started getting like 10 to 15...ny note 4 gets 20 to 30. it's pretty awesome.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] tu3218:
You guys still on "global" or did you switch to "LTE/CDMA"? Trying to decide if I should switch. Not really noticing any problems with Global but I haven't really ran much tests. Will do some today and post back.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] masri1987:
I got 25mpbs where my g2 couldn't pull 10
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] hdhuntr:
http://xdaforums.com/attachment.php?attachmentid=2994571&stc=1&d=1414863121

Also Verizon.

37027
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jayochs:
switched to LTE/CDMA and noticed no difference.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] h3ck:
Did this one just yesterday morning. Super happy.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] brentsten:
Took this right after getting the phone.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] jack584:
The was on my Note 3, but the Note 4 would have gotten the exact same thing.

http://www.speedtest.net/my-result/a/1003729876