yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] spirates:
Hi Im just starting to learn android code and I dont understand why this doesnt work. Just for as a test I wanted to create 2 pages (or 1 page and 1 popup page but i thought 2 pages would be easier to make), and a way to get from one to the other, which I thought could be solved easly with a button on each page which takes me to the other page.

So I started with this:

final ImageButton button = (ImageButton) findViewById(R.id.imageButton);
button.setOnClickListener(new View.OnClickListener() {
[MENTION=439709]override[/MENTION]
public void onClick(View v) {
setContentView(R.layout.layout2);
} });

Basicually I start in a layout called activity_my which has a button and when I press it I get to the next page called layout2. I thought I could just make a similiar function to get back to my original page:

final Button button2 = (Button) findViewById(R.id.button);
button2.setOnClickListener(new View.OnClickListener() {
[MENTION=439709]override[/MENTION]
public void onClick(View v) {
setContentView(R.layout.activity_my);
}
});

But now I get error for whatever reason :confused:
[Java for Android App Development] Yoplaboom:
Hi,

Basically in android, a 'page' is an Activity (class where you attach a XML layout).

So you must create 2 activity with 2 layout.

To switch activity use this foloowing code :

Intent intent = new Intent(this, YourSecondActivity.class);
startActivity(intent);
[AT&T Samsung Galaxy Note 4] Thermalwolf:
So I was in AT&T today getting ready to pre-order and setup my new contract when the sales associate told me they were getting the Note 4 in stock tomorrow. SO I hesitated and said should I just setup my new account tomorrow instead and he replied yes and set me up an appointment for when I get off work. Well paranoid me I am worried they will sell out before I get off work tomorrow so I called and talked to the manager, now she is saying she is pretty sure they are gonna get it tomorrow but told me it is not guaranteed but that if I call in the morning they will put one aside for me if they do arrive.

Has anyone been to an AT&T store lately and told this?
[AT&T Samsung Galaxy Note 4] americasteam:
Called 4 stores around me. 2 told me the 17th, one told me the 14th, the 4th one told me they would start receiving stock between tomorrow and the 17th and could sell them as they received them.
[AT&T Samsung Galaxy Note 4] MattMJB0188:
AT&T reps who work in stores don't know MODERATOR EDIT. What's funny is that they think they do. :cowboy:
[AT&T Samsung Galaxy Note 4] Hardcore73:
AT&T online says it will ship by the 14th. The reps are not allowed to hold any phones for customers so don't believe that BS haha.
[AT&T Samsung Galaxy Note 4] Thermalwolf:
Well that I know but I spoke with the manager of the store and she said technically she can't but she would since the guy jerked me around. Oh well, we will find out tomorrow :)

Update 1: Just woke up and getting ready for work, will call AT&T an hour after they open to see if they came in and to see if the manager will hold her word.
[AT&T Samsung Galaxy Note 4] ekerbuddyeker:
Good luck! We xda members

know how you feel!
[AT&T Samsung Galaxy Note 4] rfs830:
When I went and pre ordered it on monday, the ATT in Etown Ky said they will have them today. I went ahead and had the pre order shipped to my house though. I dont want them trying to sell my preorder just because I was at work.
[AT&T Samsung Galaxy Note 4] chrispyutec:
Although we should never trust what an AT&T rep says, from my past experience the stores do get the phones earlier than when pre-orders ship, but they do not put them out for sale until after pre-orders have already shipped. Makes since because why would they sell to a walk-in before those that have pre-ordered.....if they did this than where would the loyalty be!? Yeah I know, AT&T has no loyalty.
[AT&T Samsung Galaxy Note 4] ekerbuddyeker:
Both lstores I went to in nyc said 15th
[AT&T Samsung Galaxy Note 4] sonicsarah:
Not that I want this to happen, but I was a pre-order for the FitBit Flex. That launch was a nightmare!! Pre-order started literally months ahead of release. (4, if I remember right) Then, Best Buy started selling them 4 days before the actual launch, so all the pre-orders got screwed.
[AT&T Samsung Galaxy Note 4] Thermalwolf:
Sorry for the late update but surprise surprise, no Note 4 delivery... Oh well I was at least able to get my pre-order in so now it's back to the good old refresh the email like no tomorrow and pray for early shipments :)
[AT&T Samsung Galaxy Note 4] kyan~:
Not all reps.
[AT&T Samsung Galaxy Note 4] Thermalwolf:
Well the reps I talked to are nice and Ive dealt with them before when the S4 was about to be released. I was just bummed at how even the store manager told me it was coming, then I come in the next day saying I was told this to be questioned on who told me it and why.. Either way my pre-order is in and I'm hoping it ships early like my Galaxy S4 did.
[AT&T Samsung Galaxy Note 4] hypersonicx:
TMobile devices are shipping now.

After checking my tracking number It shipped from KY which is where TMobile warehouse resides I guess and my phone is showing in the Nashville UPS hub since im located here in Nashville TN.

It has a delivery date of this Monday by 4PM.

That goes for allot of people who preorderd on TMobile. Getting devices way ahead of the 17th!.
[AT&T Samsung Galaxy Note 4] Krazzor:
Still no change on my pre-order status for the phone, but interesting enough on friday my sim-card they include in the pre-order changed from "preparing to ship" to "processing". Hoping for a speedy shipment.
[AT&T Samsung Galaxy Note 4] Thermalwolf:
I'm with AT&T and still sitting at preparing to ship between the 14th and 16th but I'm willing to bet this will change come monday. Not expecting much today since it's Sunday. Quite surprised your status changed so late on a Saturday, maybe they will at will at least get the devices to UPS today. They won't move obviously but if they have them then that means first thing Monday morning it's gonna get real :fingers-crossed::victory::fingers-crossed:
[AT&T Samsung Galaxy Note 4] falcons2:
My sim also has been changed to processing. But my note order is still sitting at preparing to ship
[AT&T Samsung Galaxy Note 4] Thermalwolf:
I wouldn't expect to see anything change unto the early morning Monday hours. It's Sunday, NOTHING moves on Sunday. I mean businesses can drop **** off sometimes but it just sits in a back room waiting for business hours.
[AT&T Samsung Galaxy Note 4] americasteam:
Etown has them in stock. Just purchased mine.
[Galaxy Note 3 Q&A, Help & Troubleshooting] MISFITZ:
Hi Guys and Girls..lol.

I have AT&T Note3 that is under contract and I want to be able to use it in India during my month long visit.

I have the phone rooted, with safetrap (Latest version) and ROM from here.

I also installed the Region Lock Away app (got it from here) and it sucessfully did its job and rebooted.

I still dont know if this phone is ready to be used in India.

I do not have any other SIIM to test it.

Would anyone have any idea as to how I can test the phone without SIM CARD to know if its unlocked to take any other SIM cARD?

What would I do to make it ready for use in INDIA.

Thanks for your time and help.

Regards,

Misfitz
[Galaxy Note 3 Q&A, Help & Troubleshooting] MISFITZ:
Bump!!..anyone?
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] LegoFarmer:
Currently have the S3 on Verizon. Upgrading to the Note 4 seems nice. Things I will miss include the unlocked bootloader that I highly doubt the Note 4 will ever get, and I doubt it will get safestrap either. My other concern is the current method of rooting the Note 4 (Yes, there is already a way. Unfortunately, it will trip knox and void warranty, where as on the S3 you could use Odin to flash stock image and fully reset it. Will there be evolved root exploits? Input needed, thank you.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] buhohitr:
My opinion, Note 4 is the best to date device. It's so fast that you probably can live without custom rom for awhile. By then, we should have root and able to enjoy more customization. To tell the truth, after a few years from now, I think custom rom will be obsolete or limited due to unbreakable locked bootloader.... unless some magical thing happened and they decided not to lock boot loader anymore.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] h3ck:
I understand the desire for custom roms and/root but custom Roms will no doubt impact one of the main reasons to have a note, the s pen. I say get it if you are okay having sick phone, but ultimately they will have at least a safe root for it. They did for Note 3.

Sent from my HTC M8
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] bucknerspc:
Yeah. I am getting this phone because of the features. I was impressed with the S5 but couldn't go without the note 3 screen size. Now I get the best of both worlds. Between the water proof and an otterbox that makes the phone a little more ruggid for my line of work. I will miss my Xposed modules until there is root!
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] –NigthFury–:
wait man.note4 has just arrived.it takes time to do other method.wait till some days.will be there someone who migth be working on it
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] mchief298:
Droid Turbo seems promising. It's all on you. I want the Note 4. I've owned the Note 3 twice, and got rid of it cuz of how sluggish it was. (Bit of a perfectionist) The demo Note 4 seems responsive enough for me and Touchwiz looks a bit better this time around.
[Verizon Galaxy Note 4 Q&A, Help & Troubleshooting] LegoFarmer:
I read that the turbo won't have expandable storage, which is so close to a deal-breaker for me
[Xperia Z3 Q&A, Help & Troubleshooting] acefromnj2:
Hey guys, i bought a z3 D6653. it supports lte band 1800mhz and 2100mhz.....the iphone 6 uses the same bands to connect to lte on tmo but with the z3 i only get hspa. i was told by the tmobile rep that i need 1700mhz and 2100mhz . can anyone confirm that my model doent work with lte tmo or maybe my apn settings are wrong?
[Xperia Z3 Q&A, Help & Troubleshooting] paperWastage:
http://dl-developer.sonymobile.com/...ria_Z3_D6603_D6633_D6643_D6653_D6616_WP_1.pdf

your model will not work at all on T-mobile LTE (which needs band 2, 4, 12)

your model will only get 3G in refarmed 1900mhz areas

your model will get 2G/ EDGE

you should return/sell that model, and get another model (wait for D6616 official model with band 12 / wifi callin gsupport), or get D6603/D6633/D6643
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] cerbyd:
Just got the new kindle fire hd 6". Is it rootable?

Checking the system device, its running Fire OS 4.1.1 which is weird because my 7" says its running 11.3.1.0 but i think this kindle is the last generation and this 6" is the newer one.

The older one is rooted. Can i root the 6" yet or do i need to wait?
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] mycousinbenny:
Unfortunately not, and I wouldn't expect to be able to anytime soon, if ever.
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] SMikeS:
You can't.
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] SafinWasi:
I have requested this thread to be moved. And no,so far you can't
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] SoundSquare:
does anyone knows if some work is being done on that hd6/7 rooting ?

if it's a no forever i might sell mine then. :rolleyes:
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] powerpoint45:
I tried doing some minor tests in fastboot mode trying to boot up a version of TWRP but the screen never turned on. Not sure if anyone is working on it. Too bad we do not have [MENTION=4243514]Hashcode[/MENTION] to help
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] SoundSquare:
It seems Amazon released the kernel source files for HD6 and HD7

sorry for the very naive question but can it be of any help in getting it rooted ?
[Fire HD 6 and 7 Q&A, Help & Troubleshooting] z50king:
Just to let you know, this is not a Kindle Fire HD series. This is the board For the Fire HD series
[Galaxy S III Mini Q&A, Help & Troubleshooting] capili01:
Anyone can help me how to install cwm or twrp to my samsung s3 mini gt-i8200

help me great developers here ...

plss thanks in advance
[Galaxy S III Mini Q&A, Help & Troubleshooting] tobi-19777:
For this phone there is no custom recovery!! Use the search function and you will see!

sent from Hell with my GT I8190
[General Topics] khurr:
When I use Real One player to stream I get this error:

Connecting....

loading...

Error: "Response or data from server timed out"

I have HTC P3300.

This happend on every site.

I've tried with wlan and edge.

I downloaded the file from http://www.pocketpcfreewares.com/en/index.php?soft=825

Any ideas??
[General Topics] khurr:
I also tried to put my mobile device in DMZ after reading this article:

http://www.pocketpcmag.com/blogs/index.php?blog=3&p=343&more=1

But didnt help :(
[General Topics] shogunmark:
change your network settings in realplayer to show wifi instead of gprs, etc
[General Topics] khurr:
I've tried that also.(802.11B/11 mbps)

But me network is 54 mbps, is that why Im not getting connected ??
[General Topics] shogunmark:
wait.. i think i know whats wrong.. go into settings, then connections, go to my connections and change your connection to "my isp"
[General Topics] khurr:
I had that settings allready.

When I try to connect, and the file is loading, I can choose "clip info" and it tells me the length of file, bitrate and server type.

But it will not play the file.
[General Topics] kulmayu:
Same problem

Hi,

I am also facing same problem. it says "response or data from server timed out".

Pls help.

few months back it used to work excellently from the same setup file.

I dont know what to do, I am so desperate to listen bbc on my ppc.

Thanks in advance.

-Mak
[General Questions and Answers] Deovera:
I mocked up the new screen on my N7 and everything worked. I immediately uninstalled the screen to return to sender after I saw it was a knockoff replacement. I went to reinstall to see if I should just suck it up and keep it, but I got no display. I popped off the ribbon cable to check connection and saw a TINY droplet of water (hand sweat?) on the pins. I attempted to dry it out with microfiber but I still get no display. Did I fry the ribbon or the display circuits on the board itself? Is it also possible I just need to give it more time to dry out? :crying:
[Nexus 5 Q&A, Help & Troubleshooting] javiwankenobi:
I'd like to be able to restrict apps based on the radio. For instance:

-Dont let Instagram run unless on wifi

-Allow Fenix for twitter only on mobile data but not wifi

-Allow Whatsapp on all radios, etc Anybody know an app that does this?
[Nexus 5 Q&A, Help & Troubleshooting] bblzd:
Try IFTTT or Tasker.
[Nexus 5 Q&A, Help & Troubleshooting] Wakamatsu:
Take a look at this:

http://xdaforums.com/showthread.php?t=1957231
[Wear OS Q&A, Help & Troubleshooting] Droidriven:
I read recent posts about installing google now on any android device, I have a galaxy centura running ARC 1.3 from Androidarea51 and im trying to find working links so I can download and install. Thanks in advance to anyone that can point me in the right direction.
[Galaxy S5 Mini Q&A, Help & Troubleshooting] cleary:
Hi Folks,

I recently picked up a Galaxy S5 mini for testing as a company handset, and found an interesting issue where it seems to be particularly finicky about the charger used. I haven't seen any discussion about this yet so I figured I'd post my results.

I used the OEM Samsung micro-usb cable where possible (all tests, except yum cha wall charger), and I retested with an oem motorola cable and replicated all results (ie the cable does not make a difference).

I had a Galaxy S5 (full) with me for all the tests, and all these devices charged it correctly.

Galaxy S5 Mini charger compatibility results:

Wall Chargers

Motorola	FMP5512A 850mA	Works

Samsung	ETA0U83EWE (OEM) 1.0A	Works

HTC	TC U250 1.0A Works

Sprout	SACDUSB34AWE 1.0A/2.4A	Doesn't Work (both ports)

Yum Cha	Doesn't Work

Car Chargers

Motorola	CHR-0291 (P513) 950mA	Works

Sprout	3.4A Dual USB Universal 1.0A/2.4A	Doesn't Work (both ports)

Does anyone have any extra results, or info on why the S5 mini is so particular vs the S5 (full size)?
[Galaxy S5 Mini Q&A, Help & Troubleshooting] hrussy:
Galaxy s5 mini SM-G800H charging problems

Hi! I just bought 2 units of the SM-G800H. To my disappointment, I also found out that those won't charge almost with anything other than the wall charger. I used 3 of my car chargers that work fine with my many other phones, and also tried with external batteries with no luck. Also, one of the units seems to have trouble with the GPS not being able to lock in the position frequently. The onl workaraound that I have found is to turn off the phone, connect it to the charger and they turn it back on... it contnues charging but a slow rate. Any help or sugestion regarding this topic will be appreciated.

Finally. I was wondering if the car charger that you mention is this:

Motorola Vehicle Power Adapter micro-USB Rapid Rate

Thanks!!
[Galaxy S5 Mini Q&A, Help & Troubleshooting] dragone26:
my experience

Hi, for what I've found, I'm in the strange situation as I can't charge my s5 mini with this pocket battery

Mophie Powerstation XL

Compatibility: Smartphones, Tablets & USB Devices

Battery Capacity: 12,000mAh

Warranty: 1 Year Warranty

whether I can charge Ipad, S3, Nokia Lumia, etc

So looks like they limited on purpose this phone to charge with specific parameters (which I'd really like to know)
[Galaxy S5 Mini Q&A, Help & Troubleshooting] Schema64:
Confirmed that the Motorola CHR-0291 works. Many thanks for doing the test! I was also going crazy trying to find a charger that worked.
[HTC Pico (Explorer)] novapower03:
when i flash above output_26_Jul_2014-gd1d5d81 kernel i can't boot my device and when i boot on the 26_jul kernel i can't overclock to 800 or higher

here is the pastie.org link /9635956

i have tried to flash on the cm11 rc3 and on the weekly build#6 on two rom's don't work to boot with cody kernel

i hope anyone can help me

and sorry for my bad english
[HTC Pico (Explorer)] grifone72:
Same problem for me! I tried to flash Cody Kernel on CM11 rc3 (TWRP 2.7.0.0). System doesn't boot and stucks in HTC logo screen.

Something wrong?:confused:

Thank you in advance!
[HTC Pico (Explorer)] thewisenerd:
Sorry, but I've forgot to mention that you need the latest awesom3 recovery before flashing, and an init.d script before the first boot.
[HTC Pico (Explorer)] grifone72:
Do you say this one? http://xdaforums.com/showpost.php?p=55685051&postcount=108

Do I have to wipe anything and flash again the rom (CM 11 RC3) using TWRP 2.8.0.0?

Which is the init.d script you're talking about?

Thank you again!
[HTC Pico (Explorer)] thewisenerd:
precisely.
[HTC Pico (Explorer)] S#@DY:
Can you please explain the script init.d concept. I am also facing the same problem.

On falshing kernel with 2.8.0.0 it stuck at boot animation.:crying:
[HTC Pico (Explorer)] bleachftl:
I have same problem,

Tried everything. :P still not able to boot it.

Tried on both recovery with and without init.d script.

or can anyone make RC3 zip with latest kernel and new recovery compatible.?

with /data without init script.
[HTC Pico (Explorer)] grifone72:
So I got my pico working properly in this way:

1 Flashed this recovery: http://xdaforums.com/showpost.php?p=55685051&postcount=108

2 Wiped system

3 Flashed this rom http://xdaforums.com/showpost.php?p=55436524&postcount=2201 (first I moved int2ext script in the init.d folder of the zip file)

4 Flashed this kernel http://www.mediafire.com/download/xvuoq1msbk0e10i/output_28_Sep_2014-g2eeadbd-dirty.zip

5 Flashed GAPPS https://docs.google.com/file/d/0B-W0zjAtOcMtUmE3d0RGMlgwU1U
[HTC Pico (Explorer)] S#@DY:
Please clarify few points.

1. In CM 11 thread, it's already specified that we must use the old awesom3 recovery i.w 2.7.0.0

2. you just moved the file '40int2ext' in init.d folder, or you deleted the 2 files which were already in the zip?

There is something wrong with awesom3 2.8.0.0 MTP doesn't work properly in recovery mode.

Using HTC a130e.

---------- Post added at 09:22 PM ---------- Previous post was at 08:43 PM ----------

Okay here is what I did.

Installed awesom3 2.8.0.0,Made a sd partition of 384mb , wiped system,moved int2ext script in rom zip and flashed, flashed kernel(28 sep), flashed gapps and then rebooted system(first boot).

Again stuck at cynogenmod boot animation.
[HTC Pico (Explorer)] grifone72:
1. In CM 11 thread, it's already specified that we must use the old awesom3 recovery i.w 2.7.0.0

I know, but instaling the linked recovery I completed precisely the installation of CM11 RC3

2. you just moved the file '40int2ext' in init.d folder, or you deleted the 2 files which were already in the zip?

Before flashing the rom I copied and pasted "40int2ext" from etc folder to init.d folder (Into the zip file)

Be careful to follow the sequence I wrote!
[HTC Pico (Explorer)] bleachftl:
As grifone said,

I followed steps.

firstly, I encountered a weird forced close on com.android.phone.

later I again tried,

and on third time I'm able to boot it.

Bugs ->

After successful booting.

1. If logged into recovery and again tried to normal boot. it get stucked into bootloops.

2. Weird thing -> sometimes Carrier signal just went off. Even tried manual searching of carrier network it shows nothing. had to reboot phone

3. Unable to install MX PLAYER or any other player. says -> Unable to install on USB/SD Storage.
[HTC Pico (Explorer)] S#@DY:
1. I tried using twrp 2.8.0.0 for flashing cm11. After flashing, rebooting option, I'm stuck at boot loops. or the phone doesn't boots after HTC logo.

2. '40int2ext' is already in init.d folder of zip(I transferred), I just transferred and packed the rom and flashed, still in bootloops. Seems 2.8.0.0 is not for cm11 or the 'older version' part was not needed specially to be mentioned.

---------- Post added at 06:45 PM ---------- Previous post was at 06:42 PM ----------

How did your phone booted after flashing from 2.8.0.0? What different you did on the third time?
[HTC Pico (Explorer)] bleachftl:
firstly,

I was on TWRP 2.7.0.0 as mention in RC3 section

1. Wiped all partition using superwipe.zip

2. flashed TWRP 2.8.0.0

3. Wiped only System partition.

4. Created new zip file [moving ext script into init.d folder]

5. flashed RC3 zip

6. flashed Kernel.

7. flashed gapps.

8. reboot system [Power Option -> reboot system]

9. waited till it get boot.

Note: - Do not get back to recovery as I got into bootloops.
[HTC Pico (Explorer)] S#@DY:
wipe system means, going on wipe> advance wipe and then wiping system?
[HTC Pico (Explorer)] bleachftl:
yes.
[Acer Iconia A500] Jr750:
Hey guys, NOOB here, I know I'm going to get some heat here but what can I do when I don't know where to go. So I have an A500 in witch the power button broke, so I picked up another motherboard. My old one was up to date on the software but this new board has 3.1 Android and I'm would like to update to newer version. I'm stuck to where to go, I have look around this forum and did find lots of stuff but cant figure this out, I try to do a root but since I don't know what im doing it came up with and error, any help on getting this tablet updated will be greatly appreciated, THANKS!
[Acer Iconia A500] dibb_nz:
See the guides in my Sig...U need yr cpuid so do that first
[ONE Q&A, Help & Troubleshooting] hgpot:
I keep accidentally pressing the Home key when typing a message, and I would like to find a way to move the keyboard up on the screen just a bit to avoid this. Or to disable the home key when keyboard is up, either way. I am open to third-party keyboards, but I don't want Swipe-style.
[Sprint HTC One (M8)] djpabz23:
I was checking out ARHD's thread and realized the newest version has been upgraded to 4.4.4. Sadly, it requires the 3.28.401.6 firmware. Would it be safe enough to flash the firmware even though it hasn't been officially released for the Sprint variant?

EDIT: BTW, I do have S-Off and SuperCID