yashsingh1/xdaforums huggingface dataset:
[Android Studio] parax24:
Hi,

I have a problem with empty layout. Namely I just want to make a button (button2) to open another layout with image and when I click on the button show up empty layout.

MainActivity.java:

public class MainActivity extends AppCompatActivity {

Button button1;
Button button2;
Context context;

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);

context = getApplicationContext();
button1 = (Button)findViewById(R.id.button1);

button1.setText("sprawdz czy dziala");

button1.setOnClickListener(new View.OnClickListener() {

public void onClick(View v) {
Toast.makeText(context, "Przycisk działa!", Toast.LENGTH_LONG).show();
}

});

button2 = (Button) findViewById(R.id.button2);

button2.setOnClickListener(new OnClickListener() {
public void onClick(View arg0) {

Intent myIntent = new Intent(MainActivity.this, NewActivity.class);
startActivity(myIntent);
}
});
}
}

class NewActivity extends Activity {

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.frame);
}
}
[Android Studio] hell_lock:
What problem are you facing exactly?
[Android Studio] parax24:
On the second layout (frame) I have a image. I just want to open this layout with image when I click on the button (button2).

Promblem: When I press on the button show up layout without image.

frame.xml

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">

<ImageView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:srcCompat="@drawable/hol_airplane"
android:id="@+id/imageView21" />

</RelativeLayout>
[HTC 10 Questions & Answers] RockStar2005:
I have an unlocked HTC 10 that I use on T-Mobile's network here in the U.S. The phone works great, but I notice my 10 has the same issue that the LG V20 and sometimes Sony Xperia phones have...............every like 12-15th MMS (group and/or photo) message I send out to a bunch of ppl will show that it's loading but never go through until I close my texting app (Textra) out, activate it again, and then resend it (no need to reboot fortunately).

My cousin who has the LG V20 also has this issue, and he said other apps like stock and Google Messenger still have the same problem come up too.

Is ANYONE else having this issue? If so, any resolutions?! Don't understand why it's happening cuz the majority of the time it's fine.

Thanks!
[HTC 10 Questions & Answers] dottat:
Saw my wife having this same issue tonight on her Moto x with Google messenger. Switched to stock messages app and the problem stopped.
[HTC 10 Questions & Answers] RockStar2005:
I've tried using Stock before on other phones and it usually doesn't help.

Textra (my texting app) sent an update a few days ago with bug fixes included. Since then it hasn't happened. If it does though, I'll try Stock perhaps.

Thanks!
[HTC 10 Questions & Answers] RockStar2005:
Update: It happened again, so I switched to stock. Was fine for about a week or two, but it JUST happened again. So I'm gonna switch back to Textra. Oh well lol.............
[Android Q&A, Help & Troubleshooting] Sagz:
So Grandma got the my three kids this tablet and even though it has a sdcard slot you can't install anything to it. I'd like to use Appgr III or Move2SD anything to install more than a few games for the kids. I've tried Kingo root (both from google play and from a laptop) but no luck.

Anything else I can try?

Here are the details:

Model:

Y88X Plus

Processor type:

Quadcore-A23

Android version:

5.1.1

Firmware version:

v.3.3rc5

Kernel version:

3.4.39

inet-soft07@inet-server02 #3

Tue Mar 22 23:27:08 CST 2016

Build number:

A33_U70_U709HB2C_1605213.20160527

Any advise would be greatly appreciated.

Sagz
[Android Q&A, Help & Troubleshooting] tortugapaul:
Bright Tab V90-HD is the same

Other than the processor being an A33 everything you say is the same as this worthless tab I have, I was trying to replace an Acer tab that was slowly dying and when I purchased this one I forgot the old saying "if it sounds too good to be true" you know the rest. After trying to research the tablet and the elusive 16GB that it shows but is inaccessible I have concluded that I just wasted $45 that would have been better invested in a better quality item. The only thing I can tell you is if you can afford it to buy a better tablet that looks the same (most of them do) and not say anything to Grandma about the switch this will save you a ton of frustration that I have already experienced trying to make this work, I wish I could give you a ray of hope but I can only save you the disappointment I have experienced. :(
[Android Q&A, Help & Troubleshooting] liladude:
Hello,

I have two of this very same tablets, that I bought for my girls.

Since it is only used for playing and videos, I removed and disabled all I could, and I even emailed to support in order to know how to move apps to an SD, since 5.1.1 was supposed to be able to do so. They kindly answered and it was like: sorry you cannot move apps to SD.

I must admit this is a huge problem when you have a couple of paid app (like Disney story central) that are ginormous.

So a few months ago I tried to root it with the Kingo Root from my pc and it did not worked properly (root lost after reboot).

Yesterday I was trying to do some updates with huge problems due to the lack of space and decided to give the Kingo Root apk a try. It took a couple of minutes, got the thing done and moved me to a splash screen that suggested me to buy the premium app (which I avoided, since it was about 50% of the cost of the device :eek: ). After that I checked everything and it seemed to work, I removed the cleaner that it installed together with the super user, rebooted twice and still Superuser app was showing the device as rooted. A few ads stated appearing on my device, which annoyed me a LOT.

Since I could not install Titan backup due to lack of space (there are several unwanted bloatware preinstalled) and I am a noob with no big rooting experiece, I decided I would study more, went to Superuser menu and removed the root, the apps and cleared system cache in order to gain enough space for CCleaner.

I will probably try again once the new U1 sd cards will arrive.

Obviously I am not worried about IMEI (no GSM or anything) or data, since the tablets usually run under a Kiddoware parental control interface.

I read about some people suggesting to get rid of the Kingroot/ Kingoroot apps and put Supersu, but I am a bit worried about the risk of bricking the device since it seem less supported and exploited than other major brands.

Any suggestion?
[XDA Assist] Folueadeux:
may someone explain the steps in this thread

"[ROM][7.1.1][Unofficially | LineageOS 14.1 For Huawei Ascend G760]"

& can i update my mob which on android 5.1 to lineagOs directly i.e without updating it to marshmallow 1st
[XDA Assist] xanthrax:
Hi !

The LineageOS has a different base than stock rom so , in order to flash a different rom base you must perform a factory reset .

Read the posts of that thread before proceeding , there is feedback available there ans also a "how to " on the last posts

Good luck !
[One (M7) Q&A, Help & Troubleshooting] Madclovvn:
hey im just a newbie about these stuff , i need help with my phone

everytime it boots in bootloader and when i try to open recovery or factory reset it just leads to fastboot

this happened after i tried to flash " Guru_Reset_M7_3.22.1540.1.zip "

thanks in advance
[One (M7) Q&A, Help & Troubleshooting] alray:
Post the output of "fastboot getvar all".
[MDA III, XDA III, PDA2k, 9090 Software Upgrading] rafabs20:
Hi there, i'm looking for some update for my Blue Angel but i'm having problems finding the corret ROM, the DeviceData information of my BA is:

Model No: PH20B

Minvor version Model No: 0 B

Language cod:PTB

Minor: B

Operator code: BSTAR502

ROM Version: 1.40.15 Minor:1 5

Extended ROM version: 1.40.224

Radio Version: 1.13.00

Minor: 13.00

Does anybody knows where i can find it ? Thanks!
[XDA Assist] izulshah96:
Firstly its says can't draw image '.jpg_draw_failed' then I google to solve it...then I found a way on Google.. I have to flash with OMAPF..after finished it start then stuck on Samsung logo...then I disconnect USB cable then trying to reboot after that suddenly I have black screen...won't even get on won't even get into recovery or download mode...I trying to flash using Odin but how to flash if my phone won't even getting into download mode...please help me....I have been googling for ages....help mee....I love my s2...and BTW 3 button won't work for me...pull the battery out and in doesn't work..using Omapf again also didn't work.... Thnks in advance.... and btw i already try that samsung 300K Tools but it seems doesnt repond and detect my phone....what else should i do next??:confused:
[XDA Assist] Sam Nakamura:
Hello & welcome to xda-assist,

please visit your device specific form for further information, especially the help section could be interesting to you...

https://xdaforums.com/galaxy-s2/help

Good luck
[LineageOS Questions & Answers] ghstudio:
I would like to upgrade to the latest nightly of LineageOS...just to stay current....but I don't want to lose one file.....a very important file to me.....my blocked/spam caller list. I have the last CM nightly installed as well as TWRP and I think SU (not sure).

Can I just put the copy the LineageOS sip to my phone and install using TWRP...or do I have to reload all the applications (and their files?). If I do this, what do I clear, if anything before or after installing the LineageOS nightly?
[LineageOS Questions & Answers] Ibuprophen:
If an Experimental version has been released for your device then using that to migrate from CM to LOS can be done without loosing anything.

Peace and Love!

Peace and Love!

~Ringo Starr~

Sent on my Communicator [SCH-I535] from the Bridge of the U.S.S. Enterprise...

********************************************

**IF I WAS HELPFUL IN ANY WAY THEN**

**PLZ THANK ME WITH A THUMBS UP!**

********************************************
[LineageOS Questions & Answers] Android_Lover_Zoey:
:o
[Nexus 5 Q&A, Help & Troubleshooting] danispal:
Hi, i have a broken power button, so, if the phone will be off, is possible to switch it on?

Maybe with any command adb?

Thank you
[Nexus 5 Q&A, Help & Troubleshooting] ILA:
Yes you can. In fact, it's pretty easy.

Just plug in the phone using USB into the PC while keeping the volume down button pressed. You will enter the bootloader.

At this point simply issue the

fastboot reboot

command and you are all set.
[Nexus 5 Q&A, Help & Troubleshooting] danispal:
Thank you, but this command i must do from CMD? Nave need some SDK or driver ?
[Nexus 5 Q&A, Help & Troubleshooting] ILA:
You don't need the entire SDK. Just the fastboot is enough. You can find it here:

For Windows: https://dl.google.com/android/repository/platform-tools-latest-windows.zip

For Linux: https://dl.google.com/android/repository/platform-tools-latest-linux.zip

For Mac: https://dl.google.com/android/repository/platform-tools-latest-darwin.zip

Just unpack it and go in terminal/cmd to the platform-tools directory and run the command above. You do however have to have the bootloader drivers installed.

They can be found here:

http://androidhost.org/jelry

Instructions on how to install them here:

http://www.android.gs/download-and-install-google-nexus-5-usb-drivers-adb-fastboot/
[General Questions and Answers] umashi1:
So i don't know if this has been asked or tried before but i always notice that when people flash new roms or go back to stock they sometimes lose root

or even custom recovery.

I could be wrong but before you reboot your phone,

after you just installed that rom couldn't you just flash the recovery.img and then flash the superuser.zip?

i mean shouldn't it at least work?

just curious.
[XDA Assist] XDA Visitor:
My phone started going slow, so I wanted to do a factory settings reset. Android recovery mode, I press on wipe data/factory reset and it says E: failed to mount /preload (No such file or directory). Read a bit about this issue and many people said to reinstall firmware. I downloaded latest firmware from the web and installed it using Odin, no issues with installation or anything and then when I go back to android recovery and press on wipe data/ factory reset I get the same thing: E: failed to mount /preload (No such file or directory). I don't know what to do, I'm desperate, my phone is a brick now.

Phone: Samsung Galaxy Note Edge N915T
[XDA Assist] engloa:
Hello and welcome to Assist

I cant find a solution for the note edge so please register an account and ask in your device thread below

https://xdaforums.com/note-edge/help

Good luck
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] Moodock:
Greetings all, thanks for any help!

I got my Xperia Z4 LTE (US Version) Tablet, after being a longtime owner of a Xperia Z2 LTE Tablet which I left on an airplane to never see again. :(

And now I'm on a replacement unit experiencing some odd behavior that I chalked up to being a defective unit, but getting the same behavior on the replacement.

My Z2 would always show full bars LTE here in Los Angeles, but the Z4 is showing LTE no-to-low bars sitting right next to my LG G4 showing 4GLTE with full bars.

The weird thing is if I go into the About/Signal strength in the settings it shows practically the same signal strength on both my LG G4 and the Xperia Z4.

If I do speed test and get similar results on both devices.

But, If I switch to WCDMA preferred I get full bars! Weird.

Anyone have an idea what I am seeing? Is this normal? I mean it seems to work ok, but my OCD can't handle looking at my tablet with no to low signal strength!

Any help greatly appreciated!

Thanks,

-ben
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] Limeybastard:
Bars on my Z4 shows one to no bars, but the db strength via LTE discovery is -100db which is better than my Samsung S7 edge which shows 4 bars but -105 db in the application LTE discovery.
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] Moodock:
Hmmm...that's an interesting app. Gave me some new information that may explain.

One thing I got from running that app is that the devices show frequencies they are using differently:

My TMobile LG G4 shows:

DL EARFCN 19500-2399

UL EARFCN 19950-20399

DL Freq: 2110mhz-2155mhz

UL Freq: 1710mhz-1755mhz

LTE BAND 4

My Xperia Z4 shows:

DL EARCFN: 2300

UL EARCFN: 20300

DL Freq: 2145.0mhz

UL Freq: 1745mhz

LTE BAND 4

It appears that the TMobile branded LG G4 is using a range, and Xperia Z4 is locked on a single frequency, which may explain the low signal bars issue.

Can anyone confirm this? Is there a way to update the frequency ranges on the Xperia Z4 Tablet?

Thank all for looking!

-b
[Xperia Z4 Tablet Q&A, Help & Troubleshooting] Limeybastard:
My z4 tablet shows the exact figures per what your G4 you listed above shows.

I'm actually comparing the z4 tablet on T Mobile and a ZTE ZMAX pro right now. I don't know what most these figures mean.

I did notice however under the section neighbor cells the ZTE switches between 1 and 5 cells whereby the z tablet is only showing 2 neighbor cells.

Also more differences under the show advanced data section. Both devices locked onto band 4 LTE.
[Google Pixel Questions & Answers] bush911:
Here in China, sometimes need to edit hosts file to overcome the Great Fire Wall of the country to access Google services and others.

Tried several apps, they all work not well with Android 7.X.
[Xiaomi Mi Max Questions & Answers] jlou0918:
I dropped my phone, screen cracked but still usable, i put a clear tape.. where and how can i buy a replacement as im living in qatar? Any legitimate sites i can order? Thanks
[Xiaomi Mi Max Questions & Answers] IndDoc:
Aliexpress has lots of aftermarket (not original) parts - https://m.aliexpress.com/search.htm?keywords=mi+max+screen+replace#/

They take time to deliver (around 1 month), but if you don't get it, they refund the money. Other option is to go for you local ebay.
[Xiaomi Mi Max Questions & Answers] filtragem:
I ordered this one https://www.aliexpress.com/item/100...-for-Xiaomi-Mi-Max-Pro-Mimax/32737289760.html

The seller have also a not "original" one with cost about half.

I install it but have a problem with the back light, don't know yet if I have a problem unit.
[Samsung Galaxy S7 Questions and Answers] vinnyjr:
Can't figure out how to add shortcut phrases to stock keyboard. I had it set up on previous build but cant find the setting. HELP PLEASE, Vinny
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Arceeuuss:
Hello everyone ! So first of all its my first time posting on XDA, i never posted on a forum before because i always got things figured out somehow but this time its been more than a week since i got my brand new L720T and it was sim unlocked somehow with stock 4.4.2 android, i installed twrp then decided to upgrade it to OctOs N 7.1 (https://xdaforums.com/galaxy-s4-sprint/orig-development/rom-team-octos-oct-n-t3537546 ) and it went well even tho that's a L720 and not a L720T i thought that what the hell ( because it was the only 7.1 that i could find that time ), then i got my new sim card ( Moroccan Orange [ like the one in France ] ) and put it in getting the " no service " message it sometimes change rapidly to " Searching for service " then it goes " no service " again, i went to configuration -> Cellular Networks -> Carrier settings, bam crashed com.android.phone then settings has stopped. i thought that maybe my modem was obsolete ( in case u were wondering i had NC6 ) so i updated it to OK3 ( https://xdaforums.com/galaxy-s4-sprint/general/modem-ok3-l720-l720t-t3313843/p ) the update went alright and the same problem. I really need help or an idea of what's happening i'll really be grateful to you for the rest of my life <3 thanks and one more last thing is that when i took the phone for the first time i tried my sister's sim and it worked perfectly so i guess it's something with the OctOs update i did ... Anyway Thanks again and have a good day !
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] mrmistermr:
I installed OctOS' Lineage 7.1.1 last night and have had the same problem with a sprint MVNO since. the L720 cannot successfully connect to the network provider and keeps cycling. I've successfully sent a text message while its cycling, but then it's also sent it 4+ times. No calls, no data connection, so I'm rolling back to another ROM.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Clipless:
I had the exact same thing happen to me when I flashed Oct-OS M. Here is what I did and now everything works:

Not sure if anyone is still using a S4 L720T (not the L720) like me but I was able to get the Oct-OS M [R3] working with full LTE, SMS and Call. At first I clean flashed Oct-OS M, then flashed GPApps, then MVNO Slayer APN. LTE would not work and the Cell Network "APN Names" was glitching in and out bad. I went back to TWRP, wiped, flashed "SprintS5_1_.zip" for APN configuration and it works flawlessly. In "About Phone" it says "L720" without the "T" but it works perfectly.
[Sprint Samsung Galaxy S 4 Q&A, Help & Troubleshoot] Mokz5:
can you link all the files you use thank you..
[Windows Mobile Development and Hacking General] PaNa-S:
any ideas ?
[Windows Mobile Development and Hacking General] megatough:
for what purpose?

if it is to disable the touch screen during a phone call then just push the power button.:)
[Windows Mobile Development and Hacking General] PaNa-S:
it is for TomTom and kompass (geocaching)

thanks
[Windows Mobile Development and Hacking General] baselsw:
If ur a programmer then take a look at this.. http://msdn2.microsoft.com/en-us/library/system.windows.forms.application.addmessagefilter.aspx

Not helpful maybe but a clue..

Cheers
[Windows Mobile Development and Hacking General] PaNa-S:
:)

sorry, i cant
[Windows Mobile Development and Hacking General] mrpotter:
try this

http://wstart.cn/bbs/upload/disabletouch.exe

run once lock touch screen,run twice unlock

support args:

lock: disabletouch.exe 1

unlock: disabletouch.exe 0
[Windows Mobile Development and Hacking General] PaNa-S:
great, thanks a lot :cool:
[X Style (Pure) Q&A, Help & Troubleshooting] dkeepitabuck:
I really don't like that the December update stops substratum from working for using themes. Is it possible to go back two updates prior?

Using XT1575 24.49-18-16 /w Systemless Root, Systemless Xposed, & Frankenclark 0.14
[XDA Assist] nouraldeen85:
how can I remove pattern from s7 sm-g935f when FRP ON IS IT POSSIBLE OR NOT AND HOW
[XDA Assist] xanthrax:
Hi !

There are plenty of threads on xda about this FRP

One of them is here https://xdaforums.com/galaxy-s7/how-to/frp-removal-galaxy-s7-s7-edge-s6-s6-t3402721 and also more can be found on Google using search

Cheers !
[Sprint Samsung Galaxy S7 Edge Questions & Answers] 92MarineVet96:
Anyone have any ideas in regards to unblocking an IMEI for a Sprint Samsung Galaxy S7 Edge?

Or can I root it?

Sprint terminated my service, just because I was friendly, 2- way street, & the Associate was friendly back.
[Sprint Samsung Galaxy S7 Edge Questions & Answers] FlowingAway:
Pics or it didn't happen
[Sprint Samsung Galaxy S7 Edge Questions & Answers] kennypow3rs:
Lol what? You were friendly? What did you do, walk into a sprint store, grab an associate and fornicate in the sprint restroom? I'm confused here
[Sprint Samsung Galaxy S7 Edge Questions & Answers] eurominican:
LOL curious to know the story too (insert popcorn emoji here)
[Sprint Samsung Galaxy S7 Edge Questions & Answers] piscesjoey:
http://cloud.tapatalk.com/s/58acc1d95b37e/IMG_0086.JPG
[Sprint Samsung Galaxy S7 Edge Questions & Answers] meyerweb:
Sprint isn't going to terminate your service because you got too friendly with a clerk. I suspect the OP bought a stolen phone.
[AT&T LG G5 Guides, News, & Discussion] Danny1976:
Here is the article from Android Police.

https://goo.gl/Cr4dOM

AT&T has finally started rolling out the long-awaited Android 7.0 Nougat update to its variant of the LG G5.
[AT&T LG G5 Guides, News, & Discussion] pcorchary:
LG G5 US AT&T here. Did the OTA update about 28 hrs ago now, and it went very smoothly. So far, I'm super pleased with the update. My phone feels faster and smoother all around, and while it's too early to tell for certain, it seems initially like battery life is noticeably improved.
[AT&T LG G5 Guides, News, & Discussion] ChiefWilNel:
anyone have the file, I am not on att network right now
[AT&T LG G5 Guides, News, & Discussion] Danny1976:
The OTA file gets deleted after the update is installed. Hopefully someone will back it up before they install the update.
[AT&T LG G5 Guides, News, & Discussion] Nitro1max1:
I don't think its possible to back it up without root. Its stored in the system and we can't access it
[XDA Assist] jxalero123:
Hello XDA

I need help with rooting a Wileyfox Spark X;

I have googled for methods but nothing has come up on XDA and I only trust this site not to brick another phone! :( lol.

Any ideas?

Cheers

Edit: I see XDA offers root options such as Kingroot and Framaroot, are these safe to just try?
[XDA Assist] xanthrax:
Hi !

Every device is different and the methods above may be risky indeed , unfortunately not all devices can be classically rooted via supersu

Read the threads you`ve found and draw yourself a conclusion , as there is a possibility to not work , we can`t say they are safe

Cheers !
[Samsung Galaxy S7 Questions and Answers] edurjbr:
Thanks in advance for anyone that happens to read and/or respond this thread.

So, my S7 slipped and fell to the floor last sunday. It didn't fall a great distance, neither did it hit the floor with violence. But on the bottom of the screen something appeared, seeming like "a bubble of air".

[IMG="Here's the image."]http://i.imgur.com/WJ0tzjm.jpg?1[/IMG]

Should I send it to Samsung? Did I lose my water/dust resistance? And, most important, should I worry about it?

Thanks again.