yashsingh1/xdaforums huggingface dataset:
[XDA Assist] RodrigoDLPontes:
I'm not sure if this is the appropriate thread for this, I'm sorry if it's not.

I am trying to move multiple ImageViews attached to the WindowManager but after adding three views, the movement becomes very choppy.

After some investigation I think this is caused by calling updateViewLayout too many times and on different views.

The code below is a simplified version of what I am trying to do and illustrates the problem.

public class MainActivity extends AppCompatActivity {

WindowManager windowManager;
ArrayList<ImageView> imageViews = new ArrayList<>();

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
windowManager = (WindowManager)this.getSystemService(Context.WINDOW_SERVICE);
addImageView();
addImageView();
addImageView();
}

private void addImageView() {
final WindowManager.LayoutParams params = new WindowManager.LayoutParams(
WindowManager.LayoutParams.WRAP_CONTENT,
WindowManager.LayoutParams.WRAP_CONTENT,
WindowManager.LayoutParams.TYPE_PHONE,
WindowManager.LayoutParams.FLAG_NOT_FOCUSABLE,
PixelFormat.TRANSLUCENT);
params.gravity = Gravity.TOP | Gravity.START;
ImageView imageView = new ImageView(this);
imageView.setImageResource(R.mipmap.ic_launcher);
imageView.setOnTouchListener(new ImageViewTouchListener());
imageViews.add(imageView);
windowManager.addView(imageView, params);
}

private class ImageViewTouchListener implements View.OnTouchListener {

@Override
public boolean onTouch(View v, MotionEvent event) {
switch(event.getAction()) {
case MotionEvent.ACTION_MOVE:
for(ImageView imageView : imageViews) {
WindowManager.LayoutParams params = (WindowManager.LayoutParams)imageView.getLayoutParams();
params.x = (int)event.getRawX();
params.y = (int)event.getRawY();
windowManager.updateViewLayout(imageView, params);
}
return true;
}
return false;
}
}
}

As you can see, I am adding three ImageViews in onCreate, and each ImageView has a TouchListener that updates the layout of every bubble in ACTION_MOVE.

When adding one or two ImageViews, the movement is fluid, but three or more and it lags badly.

Anyone have any ideas? Thank you very much!
[Tilt, TyTN II, MDA Vario III General] jahnotto:
Everyone: please do NOT post in this thread. Post here instead: http://xdaforums.com/showthread.php?t=340227

I promised you some more candy... well, here it is!

There are a couple of bugfixes and a new feature: "Send my position". If you have a GPS receiver in your telephone (such as the HTC Kaiser), you can send your position to your contacts! FFF will track your position and generate a map in Google Maps that can be opened on a PC (mobile phone browsers typically don't support Google Maps. Perhaps Opera 9 will).

It will also create a short link, so your friend won't have to type a zillion-character long address.

Address is http://www.jotto.no/fff

Enjoy!

Edit: v1.0 alpha 3 is now available. Have fun! :-)
[Tilt, TyTN II, MDA Vario III General] arene:
wow,what a surprising feature. I'm gonna test it right away!!
[Tilt, TyTN II, MDA Vario III General] yoda6:
Wouldn't work on my Vario 3 unless I used Live Search to fix my GPS position first. Cool how it knows where I am with just that short link though. Nice app.
[Tilt, TyTN II, MDA Vario III General] jahnotto:
Did you get an error message? What's stated in the "Status" field?
[Tilt, TyTN II, MDA Vario III General] dash7869:
sweet and brilliant ideas!! downloading right now!!!
[Tilt, TyTN II, MDA Vario III General] Dwimmerlaik:
Looks like this is the new thread for FFF, so I'm going to copy what I posted in the original thread as my comments actually pertain to the most recent version of the software (downloaded Alpha 2 earlier and installed before making these comments in the original thread):
[Tilt, TyTN II, MDA Vario III General] dash7869:
hmmm need to get outdoors tmw to test the GPS function..

cant scroll down the list of contacts via dpad? and.. cant see all matches of more than certain number?
[Tilt, TyTN II, MDA Vario III General] roverman:
Jahnotto,

It froze a couple times, but I got it to work. I think it froze because I tried to exit out of it as it was searching for satellites. Constructively, I think the gps is kind of a neat feature but from a practical standpoint it's more of a "hey...look what my phone can do" more than a required feature. Some of the other suggestions listed would make this a serious go-to tool.

-list and scroll through all the names feature

-operating d-pad scrolling

-corporate and/or middle name search ( I have a bunch of 'Z' entries that I can't look up, they are stored on my SIM...maybe that's why)

-when you get a name isolated to one name, ability to press send key and dial directly

Are these possibilities?

Again, just trying to help and be constructive.

Thank you.
[Tilt, TyTN II, MDA Vario III General] thomassster:
do you need a data plan to send position to a friend?
[Tilt, TyTN II, MDA Vario III General] jahnotto:
What do you mean? What's a data plan?
[Tilt, TyTN II, MDA Vario III General] jahnotto:
Update: Alpha 3 is now available! A mobile-friendly map link is generated in addition to the full-blown Google Maps map. I have also fixed a bug on the map link.

I have got lots of suggestions to improvements. I appreciate that, but I haven't had the time to reply you all! I'd better spend my time developing this, huh? ;-)

I will not add any additional features in this release. I will now concentrate on fixing bugs and improving general usablity (for example company name search, scrolling, etc, etc).
[Tilt, TyTN II, MDA Vario III General] roverman:
It's setup so that you are just sending the coordinates in an email with a link to googlemaps. No more data than sending an email.
[Tilt, TyTN II, MDA Vario III General] jahnotto:
I'm connecting to the url-shorten service at http://metamark.net/ to shorten the url. It's not much data, though - 100 bytes back and forth or so.
[Tilt, TyTN II, MDA Vario III General] grizzley:
Very Very Very COOL!

Bad thing is that when you send your GPS position via email, it uses "Outlook Email". Problem is, I dont have Outlook Email, I only use Gmail so I cant send an email with my position since I cant seem to change it to use Gmail (or another account other than Outlook). :(
[Tilt, TyTN II, MDA Vario III General] jahnotto:
Same goes for the regular "send email" feature. I will let the user select the email account.
[Tilt, TyTN II, MDA Vario III General] grizzley:
True... However, if you choose "In Outlook" you can choose the account it is sent from. With the "Copy To Clipboard" not working yet, I have to just wish I could use it. :(
[Tilt, TyTN II, MDA Vario III General] arene:
I tested version 3 the last hour and found a bug.

When I get the message 'short link failed' (why??) I can't get rid of the error message.

when I did get that message and clicked it a several times away the buttons on the bottom halve don't work anymore.

Very nice program by the way and a great feature the GPS.

Would be nice if it was possible to let the FFF sent automatic every two minutes an email for example.

please continue developing. I like it very much!!
[Tilt, TyTN II, MDA Vario III General] laakness:
Mine is getting a fix just fine and reporting the position but I can't tap any of the links like "Send via email".
[Tilt, TyTN II, MDA Vario III General] PiotrM:
Hi thanks for a really great app!

Just one suggestion, is it possible to just post one thread for the applicaiton.

You can use the first post to attach new release. This way you will get all the feedback and suggestions in one place.

Another request is if you could just post a short version history list so we could find out what has happened to the application.

Again, thanks for the great work!

//Piotr
[Tilt, TyTN II, MDA Vario III General] jahnotto:
That's a good suggestion. I will ask the moderators to freeze this thread.

Everyone: please do not post in this thread. Post here instead: http://xdaforums.com/showthread.php?t=340227
[Tilt, TyTN II, MDA Vario III General] Flar:
thread will be closed as requested by author, please use: http://xdaforums.com/showthread.php?t=340227

Best regards,

Flar
[General Questions and Answers] alketas1971:
Hello gentlemen. I have a question for copy paste. When you have an article or a paper you want to keep it as a file. With the blue arrow turns blue article. Text and images together. But when you share in some application only see the text without pictures. Why is this happening? The blue arrows to copy paste do blue and images as well. Is there any way for this; With the copy paste to have text and images together in just such publication. Sorry for any mistakes in the text. Friendly greetings - Alkis. Samsung galaxy core 2 SM-G355HN.[emoji15]

Στάλθηκε από το SM-G355HN μου χρησιμοποιώντας Tapatalk
[Infinix HOT 2] demahrix:
hi, I try to flash my Infinix hot 2 with a ROM (ADPT) it did not work they put 7 error so I turn back to my old ROM (Ressurrection Remix) I found that my Infinix hot 2 did not detect my SIM cards, bluetooth and camera do not work, emei is null and baseband is unknown So I flash my Infinix using sp flash tool with Android marshollow but it did resolve anything. if they please help me to solve these problems where at least emei only
[Android Q&A, Help & Troubleshooting] olderfool:
I have a jiayu G3 with the needrom android 4.1.2 ROM, I wanted to give it to my son and thought factory reset is a good idea...I left the phone to it, it rebooted and the little robot was busy. When I cam back all that was on the screen was the JIAYU logo, the bootloop and the battery was close to empty although it was connected to a charger. I can get in to the factory settings by pressing the volume down and power button. I can switch between the different modes but I can not chose any of them, the power button just seems not to work. I tried all sorts, connected to a charger, to a computer (Mac) , makes no difference at all, can anybody give me a tip where to take it from here? 2 hours ago it was a (nearly) perfectly working phone, now just a paperweight....

Cheers

Jo
[Android Q&A, Help & Troubleshooting] MAERKEK:
I have Piranho Aristo Q tab with 3G connection but producer blocked voice calls and sms. İs it opened from the ROM setting ? This faeture thanks.
[Sony Xperia C5 Ultra] engnajjar:
hello everybody

after I rooted my xperia c4 dual using kingroot , the computer won't recognize my phone at all !

I restarted both computer and phone many times but no result !

also I tried another computer but no result .

please help me :(
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] hammaad5:
Hello, I have a Fire HD 6 with Fire OS 4.1.1. Can I use JMZ Bootloader Unlock method to unlock this bootloader?
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] nicedog:
just follow my guide in http://xdaforums.com/fire-hd/general/fire-hd-7-2014-fireos-4-1-1-to-fireos-5-t3421343
[Elephone P9000 Questions & Answers] Russell_S:
Hi, I have found a problem when my phone is connected to my car's bluetooth handsfree system and was wondering if anyone has any suggestions because I've tried everything I can think of.

Basically, when I initiate a call from the car the phone screen will light up and display the wake screen but the phone will not wake up and so the call is not made. If I manually wake the phone up first and then initiate the call from the car the call is made with no problems. Rather more bizarrely, if I initiate a call the screen lights up but the phone does not wake up or make the call. However, If I then immediately make the call again while the wake screen is still displayed then the call is made and everything is good.

It is almost as though it is not waiting long enough for the phone to fully wake up before giving up. My previous phone which was a Jiayu S3 did not have this problem.

Does anyone have any thoughts or suggestions on this.

Russell
[Note Edge General] The Radius Kid:
Funny thing about 6.0.1.

Some people say it works great and some hate it.

It also sounds like you've got a cloud app' or something similar trying to remotely connect online.

Check your gallery,notes apps' etc to see if they're set to cloud sync'.
[Note Edge General] vadimo:
Everything is cloud these days :) Your advise is relevant to wich particular comment of mine?
[Note Edge General] The Radius Kid:
Lagging and heating up.
[Note Edge General] shadovraven:
Most of the problems you have described, are not model specific and are propably caused by rogue app or something wrong going on with the software. There's nothing wrong with UI, it's done perfectly fine and it should be this way. Performance problem and ui lags are something i never had on this phone and I'm using it heavily and I'm a user who needs smooth and silky experience. So that's might be an app or lack of hard reset after updating. The only problem that's model specific (Note 4 has the same issue) is rebooting with fingerprint sensor enabled. It also seems that you have defect screen.
[Note Edge General] vadimo:
as i stated it was factory reset even with default apps phone performance didnt feel right and eventually it was loaded with same apps that i am running on Note 3.

I wish i had your experience as i really liked the phone and design (one of its kind) but might have to sell it and carry on with Note 3 till Note 7 release.
[LG G5 Questions & Answers] ridel0w:
Anyone experiencing vibration not working after a few weeks? Mine stopped working again, and is frustrating when you only use the vibrate profile. The only fix is to factory reset the phone, which leads me to believe it's a software bug.

Any other fixes that others recommend? Should I warranty out this phone?
[LG G5 Questions & Answers] Anarchist77:
No, no problems here.
[LG G5 Questions & Answers] ridel0w:
Thanks. Just a quick update, turns out my unit was defective. The replacement unit did not have any vibration issues since. Been running the replacement unit now for 4 months now. Working great.
[LG G5 Questions & Answers] enyfour5@gmail.com:
^^ weird because I actually had my LG G5 replaced for a new one because of the vibration issues, and it seemed to be working fine for a few months, but just yesterday, it stopped working, as I was receiving a phone call, the vibration just stopped working. I performed a factory reset, made sure my vibration settings were on, and even tried turning it off and back on and taking the battery out and putting it back in, but nothing. I am beyond upset, If they don't give me a brand new phone this time, I will make sure they hear from me.
[AT&T Samsung Galaxy S7 Questions & Answers] jerseyboy51:
since receiving the June security update a few days ago i am noticing significant improvement in battery life. At the end of my 8 hour shift I am at 70%. Anybody else noticing this?
[AT&T Samsung Galaxy S7 Questions & Answers] dirtyglacier:
What does the June security update consist of? I haven't updated yet in case we get root soon and requires to be on an older version. If it's not that important I'd rather not update.
[AT&T Samsung Galaxy S7 Questions & Answers] rogerchew:
still haven't received the June security patch. When did you get it?
[AT&T Samsung Galaxy S7 Questions & Answers] Tigersfan1982:
still waiting on this for my s7 Active...cmon ATT
[AT&T Samsung Galaxy S7 Questions & Answers] ezwalker63:
Are you still seeing great battery life or has it tailed off?
[General Topics] hcd2:
I didn't see an answer via Google of vBulletin search (maybe my terminology is wrong), so here is the question. Is it possible to change the resolution on-the-fly, or perhaps assign different resolution to different apps?
[General Topics] vlodeck:
You mean something like nyditot display?
[General Topics] hcd2:
nyditot display

yes, thanks. That looks exactly like what I was looking for. I'll let you know how it goes. Thanks again!
[General Topics] miligra5:
this sort of coding and correction assignment needs to be done on time as I do my assignment of writing with help of online service like https://edubirdie.net/ to make my things more prettier clear and getting high advantages.
[General Topics] galaxys:
You just awoke a 2007 thread :eek:
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] mossburg44:
http://xdaforums.com/tmobile-s7-edge/how-to/how-to-root-s7-edge-t3410470

I take no credit other than compiling info and making a guide. All credit goes to http://xdaforums.com/member.php?u=4911585 (br3w3r, Chainfire and Princecomsy)

http://xdaforums.com/att-...-root-t3410403

Well, root has been achieved on all of the variants. All the information is spread, therefore I will compile it.

It is confirmed working for the G935T/A/ (All firmwares so far) can anyone verify it works for Verizon?

DOWNLOAD LINKS

Complete Package with all needed files ( http://d-h.st/am7i - click the blue download link to avoids the ads. (Credit to billa)

ADB Files http://xdaforums.com/show....php?t=2588979

Samsung Device Drivers http://developer.samsung.com/technic...000000117#none

http://d-h.st/gsDA Modified ODIN

http://d-h.st/lQY8 EngBootIMG

https://download.chainfire.eu/968/Su....74-2-S7QC.zip Chainfire's SuperSU

MAKE SURE TO BACKUP YOUR PHONE, YOU MAY NEED TO FACTORY RESET AFTER FLASHING THE ENGBOOT FILE. ( MAY BE FOR THOSE WHO HAVE DISABLED SYSTEM APPS)

1- Put your device in to download mode ( Power off--- Hold Down arrow + Home + Power button)

2-Open the provided ODIN and where it says "AP" select and open the file "Samsung_G935x_QC_Rooted_BOOT.TAR" -- FLASH it--

3- The phone should now reboot

Installing SuperSU

easiest way to put it for flashing su.

https://www.youtube.com/watch?v=nLvRuzQMPLk

1- make sure you have the adb toolkit installed( place it in the root of the "C:/" drive. Mine is "C:/adb"

2- place the superuser folder you downloaded in to c:/adb and rename it "super" to make things easier

3- open the command prompt. Either search for it or press windows key + r and type in "cmd"

4- once cmd is open, navigate to the "super" folder. To do so type cd c:/ , then type cd adb and finally type cd super

5- type in root.bat

You should now be rooted.

To remove the security warning, use a package disabler like titanium backup and disable SecurityLogAgent

Stock AT&T Galaxy S7 Edge Firmware

http://www.idroidspace.com/download-official-stock-rom-for-samsung-galaxy-s7-edge/2/
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Clienterror:
Did this yesterday and now I have Xposed installed with zero issues. One thing you'll need to do is change the kernel governor to "On demand" or something similar because the engineering boot loader is set to "Performance" by default and caused the phone to be laggy because it was throttling.

Sent from my SM-G935A with the roots!
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] blkghost22:
is there a location (website or anything) to get the stock firmware for AT&T
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] mossburg44:
Link added above!!
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] blkghost22:
thank you
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] blkghost22:
my apologies i have not rooted for a while, can you direct me how you installed xposed on the att model? do i need to flash twrp? also which app did u use to change the kernel?
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Symphony0fLife:
And just for the novelty of it to those who may be interested - You can also install the SM-935U firmware, and root it with the same files and same method. Benefit to that if you wish it, is the U firmware is carrier independent and comes with zero carrier bloat, and most of the Samsung bloat can be uninstalled even without rooting. (Yes, uninstalled, not just disabled). With root it suffers from the same performance issues as the 935A root, but we're working on a method that doesn't require the engboot (source of most of the performance issues) to hopefully eliminate those.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Clienterror:
You Odin the Engineering kernel, install SU (root), install Flash Fire from the Android store, install the xposed app, then flash the correct xposed OTA through Flash Fire. Xposed works without a hitch on my G935a with the stock AT&T rom.

Sent from my SM-G935A with the roots!
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] blkghost22:
is the xposed arm64 one?
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Clienterror:
The zip is 'xposed-v85.1-sdk23-arm64-custom-build-by-wanam-20160530.zip" and the apk is "XposedInstaller_3.0_alpha4".

Sent from my SM-G935A with the roots!
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] SinisterDev:
Ah thanks! Im so glad I came across this post! I had forgotten about needing to switch the kernel governor mode! I was wondering why my phone seemed a bit laggy after rooting and wiping the partition cache! That seems to have fixed it. Running nice and smooth now.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] sireniankyle:
padlock

sitting at the padlock screen. wondering if it is "optimizing apps", or if it is stuck. I'll wait, and update. May be a good idea to disable the pin, but I didn't think about it... :(

Tired of waiting. Just reset it.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] MysteryOfTime:
Well, I followed the steps...but my SuperSU keeps asking to install an updated binary, but fails to do so. FlashFire is also showing that my phone is not rooted. Any suggestions?
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] iTouch24:
https://youtu.be/Kqb-p2JO5I4

AnThOnY- S7 Edge
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] MysteryOfTime:
Yep, did exactly that. Still the same.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] netnerd:
i assumed after root, samsung pay, android pay wont work?
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Symphony0fLife:
While rooted, apparently not from what people have said. It can detect the root. Though restoring either to stock, or to the U firmware (as long as you don't root again after restoring) fixes it. Knox isn't tripped.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Must4ngGT:
Lag after getting root on s7 edge att someone help!
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] jabreu203:
Get a kernel editor and change your cpu governor from performance to ondemand
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Binary100100:
Android Pay still works for me. Not Samsung Pay though.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] vikes4life:
I was able to get tethering with root. There is a hack for the tethering provision that works
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] wizkid37:
Can you share how you did this or link it?
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] vikes4life:
Here is the link Where I put the apk

https://xdaforums.com/showthread.php?p=71449231
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] rbedell:
Ok so I got root back by rerunning the root adb, I seem to have lost the ability to break the market link. Supersu shows update available in the market, but does not appear in titanium backup. It does however show up in Rom Toolbox, but it appears to have no effect. Root is functional I have tested and all appears well. What if I use flash fire to flash the zipped supersu download I used to root it?
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] jshamlet:
Can you turn off auto-updates in the Play Store for SuperSU? That's what I do with apps that an auto-update could wreak havoc with.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] rbedell:
Yes, just makes it a hassle to update other apps. You have to do them one by one. Is there a way to manually break the market link?
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] Duckman5:
Y'all realize that you can turn off auto update for individual apps, right? Then the play store just asks you when you click "update all" but otherwise ignores the app.
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] rbedell:
Hell yeah, thanks a million!!!
[AT&T Samsung Galaxy S7 Edge Guides, News, & Discus] rbedell:
Why are there references to performance scheduler in boot? Maybe this is why it defaults to performance? Can I safely delete these scripts?