yashsingh1/xdaforums huggingface dataset:
[Java for Android App Development] F'n noob:
I'm assuming you declared your activity in the Manifest?
[Java for Android App Development] rodentooth:
uhm I think so.

Edit: there are 2 activity-groups in my manifest, so I think they've been declared automatically?
[Java for Android App Development] F'n noob:
After looking at your code further, you are using onClick methods but aren't implenting an onClickListener. Are your buttons working at all?
[Java for Android App Development] rodentooth:
yes, they are working fine. I just dont know how to change the text.
[Java for Android App Development] nic0lette:
There are two ways I can think of to solve this one.

The first is to create an Application class, declare that in the manifest, and add a variable in there to save how many images have been seen. Just set it in the one activity and in the other read it, and if it's 0, show the start message, and if it's greater than 0 show the message you want.

The cooler way is to use startActivityForResult to go to the picture viewing activity. The picture viewing activity keeps track of how many the user saw and then, when they leave:

Intent returnData = new Intent();
returnData.putExtra("PICTURES_SEEN", count);
setResult(RESULT_OK, returnData);

Then, in the first activity:

@Override
protected void onActivityResult (int requestCode, int resultCode, Intent data) {
if (resultCode == RESULT_OK) {
int picturesSeen = data.getExtra("PICTURES_SEEN");
// do stuff
}
}

Hopefully that's helpful.

(There's a page in Google's API called "Getting a Result from an Activity" but I can't link to it because I'm a spammernew.)
[Off-topic] itesla:
Trying to figure out how to best set this up. At the moment we have these two older iOS devices:

(1) my old iphone 3gs (ios6 is up to date), has my apple ID logged in only. My ID has been used for all app/game purchases. I have a Samsung S4 for daily carry so this isn't used too much.

(2) kiddo1's ipod gen4 with ios5 I think. Created an email and apple ID for this ipod 3 years ago

I have been able to use both IDs on his ipod so I could buy games and they could download on both devices. Seems like I had to connect to PC sometimes to get purchased apps initially installed on his ipod (been a little while). This worked but was difficult; lately his ipod is having even more difficulty updating apps. It complains about wrong passwords (doesn't indicate which ID it needs password for). They also got Kindle Fires so a lot of their game buying/playing has been on kindle the past 2 years.

Now getting closer to my question :), my very generous mother-in-law is now getting the kiddos iPads for Christmas this year. So now we'll have:

(3) kiddo1 iPad - ios8

(4) kiddo2 iPad - ios8

So how do I set these up??? ios8 has Family Sharing which seems like it will resolve the sharing issues. They also have kid ID's/accounts now I think too. My concern is that my old iphone can't be updated to ios8 so I can't set up Family Sharing on it.

So do I have to log into one of the devices with my ID, I'd prefer not to. Doing some googling I couldn't figure out exactly how to create the kid account, does it have to be done on the ios8 device (further searching shows it has to be done on an ios8 device or Mac which I don't have)?

Should I use kiddo1's existing ID or create a new kid ID to gain some better features for sharing managing purchases? Seems like I want to create a new kid ID, we aren't losing anything from his old ID.

I'd appreciate some advice if anyone has gone through the pain and figured out best approach.Maybe it all boils down to... can I use my ID to create the kid IDs on the iPad then log my ID off?

Thanks!
[Off-topic] Archer:
This site doesn't do anything at all with Apple/iOS products. You're better off asking on our sister site...

http://forum.iphone-developers.com/

Good luck :)
[Hardware Hacking General] deadwolf666:
Hello,

I wanted to know how to connect to a device thorogh UART cable and send commands (wipe and so), also how can I learn the command set? (I think its AT commands )
[Hardware Hacking General] deadwolf666:
Thank you! You just gave me all the references I needed to start, btw great post (hope there is more to come).
[JASJAR, XDA Exec, MDA Pro General] clemsyn:
I have a jasjar recently and had problems turning off at 50 percent. It was working fine as long as power odesnt drop below 50 %. Then I bought a desktop charger (made in china) and started charging from there. That's when all this weird problems started.

When I put the fully charged battery inside sometimes it doesn't power on by pressing the power ubtton so I have to reset it to turn on. Sometimes it doesn't turn on with reset so I have to go to bootloader then reset just to turn it on. Sometimes it just won't turn on! If it does turn on sometimes the screen is white! When it does boot properly and go on standby. The lights blink but it won't wake up so I have to reset it. Sometimes while using it, the screen would just turn garbled white.

This don't happen all the time, Im actually typing this post using my jasjar and even if I charge the battery using the phone, it exhibits the same problems once in awhile.

SOLUTION FOUND!!! READ THE LAST THREAD

Any ideas? Could the battery be doing this or is my jasjar messed up? Please help!
[JASJAR, XDA Exec, MDA Pro General] clemsyn:
I downgraded to wm 5 Helmi ROM and seems to work for now. I was using Helmi's wm6 so I don't know if that attributed to that. Will update.
[JASJAR, XDA Exec, MDA Pro General] clemsyn:
Still didn't help.. Any ideas? Is my jasjar dying? Please help!
[JASJAR, XDA Exec, MDA Pro General] gibhenry:
Battery issues

Here and elsewhere are postings which make it apparent that some after-market batteries don't work well with the Jasjar. Some electronic devices are relatively fussy about voltage and amperage levels, and some off-brand batteries are fairly wide of the mark in those regards. Not necessarily on the low side, either.

The problem is not limited just to computers. I had an electronic remote reading thermometer whose display went nuts; the manufacturer asked whether I was using EverReady or Duracell batteries. When I replied no, I was using Ikea batteries, they told me I had to use EverReady or Duracell batteries or I was likely to encounter the problem, and they're right: using those batteries fixed the problem. Not that the Ikea batteries were bad, mind you: their power level (voltage and amperage both) were actually too high, according to the manufacturer, and my VOM tester confirmed their assertion.

Somewhere on this forum is a link to an eBay supplier of batteries which work reliably in the Jasjar. Good hunting! Cheers,
[JASJAR, XDA Exec, MDA Pro General] clemsyn:
Thanks but I'm using the original battery. So do you think that the desktop charger did something to the battery?
[JASJAR, XDA Exec, MDA Pro General] cornelius:
may be it caused by a desktop charger. When i used a chaeger made in chine for my alpine, sometime the screen goes white, or ALL buttons seems die (All button didn't work). The most terrible is that charger make my dive hard reset 2 times (first time i din't realise if it cause by my charger, then i just install all progs but when i charge, it hard reset again).

Even for 5 days after i bought it run well, except the ringtone goes on silent every time i charging.

Now i throw away that thing.
[JASJAR, XDA Exec, MDA Pro General] clemsyn:
So its the charger!! GRRR...Anyways, even when I'm using the Jasjar to charge, everything is the same. Lockups from standby, white screen..You think I should try another battery? Any ideas?
[JASJAR, XDA Exec, MDA Pro General] XCube:
Weird stuff / battery related?

Hi there,

dont know if anyone is reading this thread coz it is kinda old, but i have the same probs mention as above. I have the orginal bat and charger which came with the device. I also uses a car charger sold from my phone provider.

now after 14 months i have the weirdest things like shutting down randomly when the bat is about 58 thru 50 percent. I can not start the device again coz it stops in the middle of the boot process. It only starts when i connect it to a laptop by usb or to the standalone charger...

I tried differnt roms found here and radio roms but it doesnt help...

my guestion: does any one know if this prob is solved when I buy a new battery? or is it wise to thro out this universel suck device ( I have had so much probs with this device so neglect my tone...)
[JASJAR, XDA Exec, MDA Pro General] gibhenry:
I bought my Universal (Jasjar), used, almost a year ago and use it daily. To date, I haven't had this problem, but I'm anticipating it. Yeah, I'd say it's almost surely your battery (they don't live forever), just be careful to replace it from a reliable source.

Sorry you don't like the device; I've thoroughly enjoyed mine! Cheers,
[JASJAR, XDA Exec, MDA Pro General] XCube:
Hi,

I guess u r right, batteries will die. So I ordered a new one, I will let you guys know if it helps. I bought the qtek 35H00058-00M battery which is the orginal bat

The thing is, normally will a battery be faster drain so it would become faster 0 or 10 precent, instead this piece randomly shutting down or switches off in the middle of a phone call.

I have a Blue Angel as well, now for more then 2 years, which is charger daily just like mine unversal. The batt of the Blue Angel outruns the uni with bat life. Never had this weird stuff with the ba, like shuttingdown without a warning.

Well I will see if a new bat will fix the trouble, tomorrow my new bat will arrive.

cheers.
[JASJAR, XDA Exec, MDA Pro General] telthenipper:
I also have the same issue with the 02 Exec. It switches it's self off when the battery reaches below 50%. I have ordered a new battery. Will let you know if this still happens once it arrives.
[JASJAR, XDA Exec, MDA Pro General] XCube:
Well,

I already knew it but now its for sure at my end. HTC and ms together gives u pretty expansive CRAP.

Got my new battery which was carefully chosen because of other rumours of battery problems. I bought exactly the same battery from QTEK as the original.

Yesterday i got the battery, left it alone to get on room temp. this morning switch it with my old battery.

1. First thing what i found strange was that my **** device said it was at 100%

2. after 45 min I had the same bat prob as with my old battery

3. device can not be started on bat power, which would let u think that the bat would be ZERO procent. However turning the device on when on wall power this **** device says that the bat is 100%, but disconnecting it from the wall power it shutdowns right away.

conclusion:

the new battery is worse then the old bat. the only difference between them is the serial number. same type same manufacturer.

I was already think of buying a non HCT / Micro**** mobile device, but today after 14 months of trouble and losing important phone calls I am going to say good bye to this universal crap.

I wise u the best with our device but for me it ends here.
[JASJAR, XDA Exec, MDA Pro General] clemsyn:
UPDATE:

Used a 3800 mah battery from expansys, made in Taiwan by Dyna and still same problems...not battery related at all...Anybody got a mainboard they can sell me...even a broken miniusb.
[JASJAR, XDA Exec, MDA Pro General] clemsyn:
Problem and solution found

The Problem is a faulty voltage controller in the mainboard causing Bulverde CPU to hang and give funny colors to the screen

Solution is to disable Cpu scaling of Bulverde by using pocket hack master and setting speed at 312mhz before turning it of or closing the screen. You could always set it at 520 when using it but before turning it off make sure speed is 312. Hopefully this helps others with this problem.
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Hello, I have HTC One M7 with android revolution HD ROM. I would like to go back to stock via RUU and unroot.

Anyone got a 4.4.3 sense 6 RUU Link ? I only found this : http://www.htc1guru.com/dld/ruu_m7_...0-13_10-33-1150-01_release_311678_signed-exe/

Which is Sense 5.

My firmware is 2.24.707.1

And I'm HTC_044 CID

Another question, if i didn't find, should the RUU in the link work? I got H-Boot 1.54 not 1.44 but the firmware on the link is older so that should work right?

Plus, before I flash RUU I need to have the stock recovery, right? Anyone got a link?
[One (M7) Q&A, Help & Troubleshooting] majmoz:
If you are S-ON, then you can not run that RUU since it is a lower version than what is on your phone. I did not find a RUU after version 1.xx but I did find a Collection of ROMs & Firmware.

Go to Post #2 and download the following unmodified (stock) firmware and place in your adb/fastboot folder:

3.63.707.4

4.20.707.7

5.12.707.104

Flash each in sequence using this method:

After successfully flashing the last firmware then go to this site Stock Rom Reset 5.12.707.104 and follow the instructions in the OP. I checked the firmware and it has your CID in the android-info.txt. While at the site thank [MENTION=2044310]yatindroid[/MENTION] for providing this software.
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Some questions:

1) I should flash all 3 firmwares in the order you said? I see two flashes in your post for firmwares not 3, or do you mean i should flash each, twice?

2) This gets me back to stock rom but I want stock RUU To receive OTA Updates

3) I want to unroot my phone, will that stock rom you provided give me OTA Updates if i unroot? (Unlock bootloader and remove SuperSU)?

4) If I got to flash them in sequence, can you tell me why? (Just so I know for later:P)
[One (M7) Q&A, Help & Troubleshooting] majmoz:
You need to flash each firmware twice, the first flash sets it up and the second one finishes the flash.

The stock reset will get you back to stock rom and stock recovery. You need to select in Aroma that you want stock recovery and stock radio. This will allow you to get the next OTA for your phone. If there is no RUU then Stock Resets are the next best thing to getting you back to stock.

The first stock firmware will remove root. SuperSU may still be on your phone but it doesn't work in stock recovery which is in the stock firmware. You will need to unlock your bootloader to receive OTA since you are S-ON.

In some of the other varants flashing from 2.XX to 5.XX directly has caused some issues. Since, they are available I thought it would be safer to flash them than not.
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Okay, thank you so much but I got 1 more question: When willl I know when to do the command again to flash to firmware? I currently dont have the phone with me now, till tomorrow, so would appreciate if u answer this 1 more question
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Ahh I see thank you, btw i. The stock htc rom linm you provided there'a small firmware.zip file in there only 41 mb vs the 3 firmwares you want me to flash which are mo than 1 GB, can you explain if I can use that ZIP? And why do I need to flash 3 firmwares, why not go to the 5.x. . Immediately?
[One (M7) Q&A, Help & Troubleshooting] majmoz:
The firmware.zip are small files 30-50 mb each. The Stock Reset has the rom, firmware and associated files which can be quite large.

As I stated in a previous post, on some variants of the M7 people have had issues jumping firmware version from say 3.XX to 5.XX. So to be on the safe side I provided you with the option.
[MENTION=2044310]yatindroid[/MENTION] What do you think about jumping firmware from 2.XX to 5.XX?
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Ahh okay I downloaded a firmwares now and will do that, btw I download the stock rom and paused then continued and now it's asking me for a username and password. The developer is [MENTION=2044310]yatindroid[/MENTION] , yatin what's the username and password so I continue downloading the file? Roudykk@gmail.com if you wanna send privately or something. Thank you!
[One (M7) Q&A, Help & Troubleshooting] majmoz:
Those files generally do not have a password requirement. Have you tried to download the file again? Just start the download over. Are you using a download manager?
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Yes I'm using DAP since obviously it's way faster than my chrome's downloader :P However yeah it's asking for username and password so they let me resume the download. being ca1.androidfilehost.com I'm not sure if they're asking for that mirror's username and password or the actual file's username and password so :p And yes I'm redownloading but I'm going to have to pause it again and I don't want this happening so if you know anyone who knows the ca1.androidfilehost.com username and password, it would be a blast, I'm searching the web but found nothing, tried my own AFH Username and password but didn't work XD
[One (M7) Q&A, Help & Troubleshooting] majmoz:
Sorry, I have no idea on what it could be. I have never had this come up before. Maybe if you used a different Mirror Site (QC1)?
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Ok so i rebooted RUU with fastboot oem rebootRUU but when i flash the zip it says modeil id error.. I searched and it says I have to put my model id in android-info.text so i changed the model id to the one of my phone and then flashed again and now it says signature error, any suggestions plz?? firmwares arent working
[One (M7) Q&A, Help & Troubleshooting] majmoz:
What is your MID? If the firmwares did not work, why did not you say something before? I just checked the firmware and the MID: PN0711000 if your MID is not this then that is the reason the firmware are not working. Could you post a fastboot getvar all except for the imei and serialno?
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Because I just tested and they didn't work and I immediately told you.

modelid: PN0714000

CID: HTC_044

version-main: 2.24.707.1

H-Boot: 1.54.0000

Radio-4A.17.3250.14

My phone is Android 4.4.2 and HTC Sense 6.
[One (M7) Q&A, Help & Troubleshooting] majmoz:
Here is the best that I have found a Stock Rom 2.24.707.1 just follow the instructions in the OP. Sorry I should have asked for your MID earlier and would have avoided all of the confusion.
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
It's okay but will this stock rom means I can use OTA Updates?
[One (M7) Q&A, Help & Troubleshooting] majmoz:
Yes, but you will need to also download the stock recovery and flash it to your phone. After that you will need to lock your bootloader.

Also, you will also find the stock firmware which will have the stock recovery in it as well.
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
WOOHOO Great ^^ Thank you so much ! Downloading and I'm really sorry this got this long.. I'll let you know if this work ! A Million thanks XD
[One (M7) Q&A, Help & Troubleshooting] PampaZiya:
Okay so i flashed the stock rom successfullt and flashed the stock recovery also successfully but Im stuck on this screen, it passed the boot htc logo so its not a boot problem. Any ideas? [MENTION=3070392]majmoz[/MENTION]
[Huawei MediaPad, T-Mobile SpringBoard] lvpl:
Hi,

The "Permission Manager" is missing in my recent 7D-501L firmware Kitkat B102.

In the 7D-503L chinese version, this "Permission Manager" is still and always present.

So, do you know a way to have and display this "Permission Manager" in my 7D-501L firmware ?

Thanks in advance for helping.
[Huawei MediaPad, T-Mobile SpringBoard] potatohead:
i believe 'Permission Manager' exists only in roms that are meant for use in China. B102 is for Germany / International use, thus it has been excluded.
[Huawei MediaPad, T-Mobile SpringBoard] omniphil:
I have a Chinese 503L and I downloaded the B102 rom from that German site. Yup, indeed permission manager is gone, which is great because that app was terrible and didn't seem to work right, maybe Huawei is starting remove the crap from their roms? I noticed all the preinstalled Bloatware games were in a folder that contain a "Deleteme" file, so I deleted the entire folder and all the junk games were removed, very nice!

They have fixed a bunch of stuff in B102, Google play stuff is no longer blocked, All the app incompatibilities are gone (But still 400 DPI), The voicemail has been fixed.

All I had to do was root and use titanium backup, nice!

Now we have to see how the Wifi and 3G signal hold up over time and is app still shutdown in the background after a while.

Huawei is getting close!
[Huawei MediaPad, T-Mobile SpringBoard] aflatoon2874:
Dear Omniphil,

How did you root your X1? I have flashed B102 rom and tried rooting using Vroot but it fails everytime. Please help.

Thanks
[Huawei MediaPad, T-Mobile SpringBoard] omniphil:
I used the latest version of Vroot which should be 1.7.8
[Huawei MediaPad, T-Mobile SpringBoard] mru55:
V1.7.9 is the latest. Please get directly from mygun.com; there some version floating around with viruses.
[Huawei MediaPad, T-Mobile SpringBoard] aflatoon2874:
Thanks Omniphil. I was using 1.7.3, downloaded 1.7.8 and when I first ran, it offered to upgrade to 1.7.9.2. The root process went thru fine. Now my phone is rooted. :)

Is there a way to change DPI to 320? The build.prop does not have any prop that can be changed.

Thanks
[Huawei MediaPad, T-Mobile SpringBoard] realeze:
Also interested to know if the WiFi is improved. Good to know the app issues are mostly gone.
[Huawei MediaPad, T-Mobile SpringBoard] omniphil:
I haven't tried manually setting the DPI to 320, I suspect its not going to work like the rest of the X1 roms so far. It just messes with the built in theme engine and breaks alot of things.

Even though I would prefer 320DPI, 400 is workable because they fixed the app compatibility issues. (I really really wish Huawei would go back to 320DPI however)

Wifi for me is better than all the previous 4.4 builds, but It does not seems as good as the 4.2 build (B008). It doesn't seem to disconnect nearly as much as it did with the other 4.4 builds.

3G is also not as good as the 4.2 builds, but the 3G seems better than any other 4.4 build.

So basically signal issues are better in B102 than any other 4.4 build, but still not as good as the 4.2 build B008 (which wasn't perfect either, still worse than any other phone I have ever had but usable for the most part)
[Huawei MediaPad, T-Mobile SpringBoard] potatohead:
X1's wifi antenna is located at the bottom right corner, leave that portion unhindered for best reception.

Xposed 2.5.1 / 2.5.2 framework works in X1 4.4.2 China ROM B010 for 503L, together with AppSettings, this combi gives the end user the flexibility of configuring the DPI for individual apps. I actually prefer this arrangement as the main shell remains at 400 DPI for easy operation and certain apps like news readers, browsers or maps can be 320 or below to maximise screen real estate.

The above will break the theme engine (themes can be applied but there will not be changes to the icons), other than that everything works well and smoothly, no FCs.

YMMV on B102 international ROM.
[Huawei MediaPad, T-Mobile SpringBoard] lvpl:
Xposed 2.5.1

Hi potatohead,

1/ When i've installed Xposed 2.5.1 on My X1 4.4.2, it's ok BUT I can't open the Settings (app) of my device. The message displays "settings.app" is stopped.

What about ? have you managed to open the settings after installing the Xposed 2.5.1 ?

2/ YMMV ? What does that mean ? lol

Thanks for answering.
[Huawei MediaPad, T-Mobile SpringBoard] potatohead:
1) i guess xposed is not compatible with X1's international rom then; it works fine on China rom b010 (4.4.2 emui 2.3)

2) ymmv = your mileage may vary :)

I will be starting a thread on newest leaked rom (beta) for 503L - 4.4.2 / EMUI 2.3 / 320 DPI, initial feedback from Chinese users suggest it runs very smooth and free ram after boot is a whopping 1.4-1.5GB, u may want to try it out stay tuned :)
[Huawei MediaPad, T-Mobile SpringBoard] omniphil:
Wow, where do we get that rom! Kitkat and 320DPI yay!!!!!!

Is it an official Huawei rom? or something someone else made?
[Huawei MediaPad, T-Mobile SpringBoard] potatohead:
I have started the thread - http://xdaforums.com/huawei-mediapad/general/rom-kitkat-4-4-2-emui-2-3-320-dpi-t2923307 - enjoy!

It is official beta from Huawei, released to a closed group of testers, and of course, in this age and time, ultimately leaked. :)