yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] realgpp:
Hi I don't why this error happens very rarely in my phone. Btw I think I've figured it out what's the problem: the battery event receiving. How to solve it it's another story :(

I'm sorry for this but my first intention it wasn't to continue the developing, so I didn't pay attention to it. For now on if I gonna release another version I think I'll continue to use the "realgpp" version so in case of problem you can still use the original app.

I need this to write some unhandled exceptions message to the file /sdcard/Cpuspy.log because the debug ide doesn't show them sometimes.

However I attached an apk that doesn't use the BATTERY_CHANGED events to reset timers, try this and let me know if you still have any problem.
[Android Apps and Games] realgpp:
Hi everyone, I 've uploaded my last improvement.

As you can see in the attachment I've added a few items in the menu, each one self-explanatory. In case of problem of any kind you should try to disable the broadcaster receiver and try it again. Btw the threshold which active the timer after the charger is unplugged is 100%.

I've added even the time spent after setting the timer in the relative menu.

Besides I've tried to develop the dual-core-version of the app (and it's almost finished, in a sort of way) but the files time_in_state of the 2 core have the same content, so it's impossibile to distinguish active freq time for single core. (see out3.jpg)

After a few research it came out This info is stored in the sysfs file named "affected_cpus". It show the CPUs which can only change frequencies at the same time. (see out3.jpg)
[Android Apps and Games] hawkerpaul:
Hi realgpp. Thanks for updating this app.

With regards to your updates:

1. What is this Broadcast Receiver option? If I turn it on, the app hangs.

2. What is the Total State Time? This does not reset when you reset/restart. Is this intentional?

3. The recorded level for battery/juice lost/time spent I think should not update when the phone is charging. During charge (or when reset selected), battery% should be whatever the current %age is, and the juice lost/time spent should read zero. When disconnected from charger (or if reset selected AND not connected to charger), record battery percentage start calculating juice lost and start the timer.

4. How do I see the cpu1/cpu2 screen in your screenshot #3 above?

Thanks again mate. You've made great steps into improving this app.

:)
[Android Apps and Games] realgpp:
1) if the BR is active the app set the timer if the charger is unplugged and the level battery is equal to 100.

2) It's the time since the phone boot. And it's intentional. I'll fix the string :)

3) if the BR it's active that's what the app does. I've to figure a way to generate a log file that user can send to me so I can try to fix it. I'm using the app with this option activated for a day so long and I didn't noticed the bug :confused::confused:

4) the menu option is disabled because I added it only to easy verify the existance and the values of the 2 files without using file explorer and editors. I can leave it activated if you'd like to have in the menu ;)
[Android Apps and Games] hawkerpaul:
Thanks mate.

I still dont quite understand what the Broadcast Receiver is. Can you explain the difference having it on and off please?

When I plug in the charger, nothing happens to the initial level/juice lost/time spent values. They stay the same. They do not get reset. The only way I can get these values to reset is to perform a reset from the menu. I think it would be better to reset these values automatically when you disconnect the charger

If I turn BR on, then the initial level/lost juice/time spent values do not get displayed at all.

If my phone is charging and BR is on and I come out of the app and disconnect the charger, next time I go in, the app hangs and I have to clear data etc.

Also, getting some odd figures:

Thanks again.
[Android Apps and Games] realgpp:
Changelog

BroadcastReceiver receive the battery level change event. In other words:

- if a cable is puggled in the timer is automatically deleted.

- if a cable is puggled out and the battery level is 100% the timer is automatically set.

However I've changed the BroadcastReceiver string in a more understandable (maybe :confused:) "Listening for battery changes"

To different view for total state time and time since boot

Added "Cpu Files" menu item to see the content of the files: time_in_state and affected_cups.

If it's say that the two files doesn't exist for the cpu1 it means that the 2nd core has been switched off and the concerning files have been deleted.

I hope everything works well for everbody now;) :)
[Android Software Development] cyansmoker:
A bit surprised that I haven't seen this mentioned on XDA yet...

Stephen (Stericson,) Adam Shanks (ChainsDD) and I have been working on this new library for a few days.

You can find more about it here: http://code.google.com/p/roottools/

Several other people have already enrolled as committers so I expect to see even more activity shortly.

In a nutshell, this library currently:

checks whether you have root access

checks whether BusyBox is installed

Helps you install BusyBox if necessary

Runs series of arbitrary shell commands as root

Checks partition space

Mount/unmount partitions

Installs binaries created from C/C++ for you

Anyone who wishes to pitch in is welcome!
[Android Software Development] alostpacket:
very cool, thanks
[Android Software Development] elgubbo:
Very interesting, i will keep an eye on that ;)
[Android Software Development] ramdroid77:
Interesting. Seen a couple things I could have done better in my own attempts. So for me it seems like a good reference for future projects.

One question though: in the installBinary() function you are creating a bogus file in order to get the /files directory created. may I ask if there's a particular reason why you're not just doing a mkdir?
[Android Software Development] cyansmoker:
Creation of files/ is delegated to the Android SDK itself; this way, we avoid as much as possible assuming the location of that directory.

I know we do not avoid it completely (when we need to invoke the newly created binary, for instance) but I have hope that in the future we can figure that one out as well.
[Android Software Development] Stericson:
Just Uploaded version 1.4

http://code.google.com/p/roottools/...ols-1.4-sdk3-generic.jar&can=2&q=#makechanges

Although the library has grown a lot since this post was made and now can handle a lot more for the developer.
[Android Software Development] AMSPeople:
Please compile the latest version 4.4.
[Xoom General] MvP77:
My wifi Xoom doesn't seem to be playing embedded videos. It plays ads fine though. I have tried all the settings in stock and opera browser with no luck. It just displays a image where the video should be-

Is anyone else having this problem
[Xoom General] Droid-Xer:
Go to settings/apps/manage apps/and select the adobe flash app and wipe data. Then try again
[Xoom General] MvP77:
Thanks for the response. I tried that. It doesn't show any data or cache. They are both greyed out. I uninstalled and reinstalled and still shows the same
[Xoom General] MvP77:
So I know flash is working with TV show stream, but it will not work in the browser...hmmm
[Xoom General] MvP77:
Ok I tried Dolphin and flash works with it. Still not working in stock or opera
[Xoom General] futuregerald:
Flash doesn't work in Opera for me either but it works fine in stock browser
[Xoom General] mobilehavoc:
That doesn't make sense. Dolphin Mini/HD are not standalone browsers, they are UI and tweaks but use the stock webview browser (same as stock). So if it works in Dolphin, it should work in stock unless something is really screwed up.

Go into your Browser settings and make sure Plug Ins are set to On Demand or On.
[Xoom General] LynnL:
In the stock browser, I'm able to load, say, Bejewled Blitz on Facebook. But when I went to hbo.com (I wanted to try HBOtoGo) it tells me that it's a flash site and I don't have flash installed.
[Xoom General] txcas:
I get the same message on HBO.com. Also, I am not able to watch videos on Hulu.com.
[Xoom General] mobilehavoc:
Try CNN. I think those sites block mobiles and tablets.
[Xoom General] Lare2:
Flash only works on the stock browser and not on Opera mobile on mine.

Sent from my Xoom
[Xoom General] treyatl2006:
Flash doesn't work in third party browsers... It only works in the stock browser. Also, some sites like Hulu block mobile devices from accessing their content for what ever reason.. It has nothing to do with the actual device. Hulu is working on an App for Android that will be released in the next couple months. We will probably see a Netflixs app even sooner.
[Xoom General] Divine_Madcat:
Huh? I apologize for bringing up a non-Xoom device in this forum, but that is just plain wrong. I have 10.2 on my Gingerbread running Nook, and Opera 11 works with flash just fine (videos and otherwise); and i don't think Opera is exactly stock.... ;)
[Xoom General] Bauxite:
Flash 10.2 for Android 3.0 is different from the 2.2+ version.
[Xoom General] MvP77:
It works fine with Dolphin. I have tried espn, gametrailers, worldstar, ign. It doesnt work in the stock browser for me for some reason. It works on ads, but doesnt work on videos. It just displays and image of the first frame of the video.
[Xoom General] MvP77:
I have already tried every plugin settings. I even factory reset the device. Still doesnt work.

I would return it but the best buys in my area are sold out and i dont wanna wait anymore lol.
[Xoom General] csseale:
No..its the same...
[Xoom General] blackte4:
Works great on my xoom. Just watched tekzilla 10min ago. I will try other browsers. Hulu is not working on android or less you got the evo hack files. (That's just for the evo people) Coming soon...
[Xoom General] TreyDaPrince:
For me some flash sites work in the stock browser. And TV Show Stream works fine too.

Sent From My Xoom or Thunderbolt, pick one
[Xoom General] MvP77:
Thanks for the replies guys. Im at a lost as to why its not working in the stock browser. I also tried Miren and Skyfire and it doesnt work with those either. For some reason it only works with Dolphin.
[Xoom General] Coldheat1906:
Flash works fine for me in FireFox
[Xoom General] BlazinGTI:
C'mon this has to be trolling! Are you talking about the new build released today?
[Xoom General] mobilehavoc:
Trolling alright. Firefox doesn't support Flash. It's on their own website as an open item.
[Xoom General] Divine_Madcat:
What new build?
[Xoom General] z06mike:
Open up your browser, type about:debug. Then go to settings>debug>UA String and change it to desktop.

See if that helps you.
[Xoom General] MvP77:
Already tried that, didnt work.
[Xoom General] MvP77:
I got it to work. I Uninstalled Opera and It now works in the Stock Browser. I reinstalled Opera and It still works.

It seems something got borked with my first install of Opera.
[Droid Incredible Q&A, Help & Troubleshooting] poetzmij:
Alright so im making this thread to ask if anyone is interested in a tutorial that tells you how to get rid of the squeakiness of the back on the incredible, and give it a more solid feel without messing with the digitizer. I remember reading some people having problems from the pressure from tape in the casing, which would mess up or cause there digitizer to go funky (like it would type in certain places or type something else or it wouldn't respond in certain areas to touch)

im just asking first so i don't go in depth and all that for nothing and its like 12 am and i need some sleep for tonight.
[Droid Incredible Q&A, Help & Troubleshooting] refthemc:
Just got this Incredible and I thought I already broke the back casing because it was squeaking so much, lol, so yes I would love a tutorial
[Droid Incredible Q&A, Help & Troubleshooting] 1107963:
Me too...
[Droid Incredible Q&A, Help & Troubleshooting] poetzmij:
Alright then give me some time to get to a laptop so I can have some decent typeing speed and so I don't have to use the android browser on xda, and I will get right on it, might be later though but I promise I will get it up by tommarow, hopefully it doesn't slip my mind or I will look like an idiot but I will try my best to remember at the moment I must visit best buy to get my headphones replaced, left ear piece went out.
[Droid Incredible Q&A, Help & Troubleshooting] poetzmij:
Ok then. I can find the post I put up. I guess I have to write it again then :( ok I will have to later after school then

Oh wait nvm its in the wrong thread I can't fix this right now though
[Atrix 4G General] seh6183:
I have found that some apps that are location aware or ask me to pick local servers, often suggest servers on the east coast. I am on the west coast of the US. When I am on wifi this does not happen, it is only happening on 3g. When I toggle on wifi is suggests local servers. I have went into location settings and toggled on and off the settings for GPS as well as the "use wireless" option and it does nothing to help the issue.

The maps app as well as navigation work perfectly fine for locating me, this seems to be isolated to apps.
[Atrix 4G General] booty hater:
Thats usually an indication your gps is not working. When you use speedtest app with out wifi does it ask you to connect to kansas?
[Atrix 4G General] darkamikaze:
Speed test isn't a good way to find out as it will connect you sometimes to the least busiest server. Gps needs to lock first on a couple sats first time usage after that should be better.

Xda app via atrix
[Atrix 4G General] seh6183:
I wad able to get it calibrated correctly. I went outside and calibrated the compass first. I then did a gps lock from maps and then tapped lock again and let it sit for about 2 minutes. Everything is fine as of now.
[Atrix 4G General] gachiennuocmam:
GPS in Atrix locks the satellite very quick. It could be comparable to a standalone GPS.
[Atrix 4G General] fRenZy-_-:
I found out that when you flash the sbf and download facebook from the market then sign in it will then sync your contacts to the phone, now that all your friends are sync you can now install gingerblur. Once gingerblur is installed it will not sync new friends or new profile pictures of your friends. Its a little trick but hopefully kenneth fixes this issue. Hope this helps! :)

Btw you can link the contacts even after you install gingerblur.
[Atrix 4G General] Mr. Clown:
Moved as not andorid development
[Optimus One, P500, V General] alonerii:
i'm use cyanogen mod 7 on LG Optimus One

but i can play guerrilla bob :(
[Optimus One, P500, V General] joax11:
I cant even install! The phone reboots!
[Optimus One, P500, V General] Devil_Dude:
Uninstall it completely then reinstall it and start the game and do not download the sources and play it. if it restarts a few then its normal keep trying starting the game. Remember while uninstalling delete the sources.
[Optimus One, P500, V General] Takenover83:
I tried several times to install this game. Phone always rebooted.
[Optimus One, P500, V General] shivujagga:
Even i have tried soo many times on LG Optumus One, the phone always reboots. And i can't even install Modern combat 2: Black pegasus. I think there is a problem with our phones.
[Optimus One, P500, V General] Ruwin:
First be sure that your device supports the game resolution. You have 480x320 so the game must run in this resolution. Second, make sure that your device is supported. Many developers like Gameloft do not support LG Optimus One yet. If it doesn't work, it's not for your phone (though you can find hd games ported to hvga... google this)
[Optimus One, P500, V General] -DarkKnight-:
reported

no warez
[Android Software Development] generalamerica:
Is there a way for me to run shell script in an app without needing root?
[Android Software Development] Gene Poole:
Certainly. As long as the script doesn't do anything that needs elevated privileges (i.e. it can only run in the context of your app and only modify world-writable files, etc.)

What do you need your script to do?
[Android Software Development] smaskell:
Runtime.getRuntime().exec( "cmd" );
[Nexus S Q&A, Help & Troubleshooting] johnkim0011:
I'm starting to thinking that my battery is defect because I had Nexus S [sold] prior to purchasing another Nexus S, which I'm currently using.

It used to last me about a day, now it lasts about 5 hours.

I set it to auto brightness [which seems to use about 70% of my battery according to battery use on Settings].

I sync my school email every one hour, GMail, and few other SMS-alternative applications that pops up.

I have Live Wallpaper.

My settings were pretty much identical to my previous Nexus S so I'm not sure what exactly is wrong.

Any suggestions on improving battery life?

Is auto-brightness equal to better battery life or lowest (1) setting? I'm totally fine with auto brightness but I can't seem to see well outdoors when it's set to lowest brightness setting.
[Nexus S Q&A, Help & Troubleshooting] navlem:
Do you use setcpu? It can help extend your battery life to last you throughout the day.
[Nexus S Q&A, Help & Troubleshooting] johnkim0011:
I set my CPU below 1 GHz when battery is under 50% but I can see it lag and since the battery seem to go down to 50% pretty quickly, I'm not sure if that's a feasible option.
[Nexus S Q&A, Help & Troubleshooting] gogol:
16 hours, 55 minutes on battery ... and battery left = 69% ...

It was mostly on wifi, games, browsing, etc.
[Nexus S Q&A, Help & Troubleshooting] maltloaf:
Mine lasts about 12 hours with fairly heavy useage. MSN messenger via beejiveIM, texts, emails via gmail and loads of web.

I bought a second (genuine) battery and an external charger so I always have 2 available and charged.

I tend to leave setcpu at 800MHz max unless I particularly need the horsepower, in which case I can bump it up to 1.4GHz if I need it.
[Nexus S Q&A, Help & Troubleshooting] navlem:
The important part is to underclock your CPU to a very low clock when it's screen is off. That will boost your battery significantly :)
[Nexus S Q&A, Help & Troubleshooting] johnkim0011:
Yep, I checked my profile again and screen off is set to 800 max 100 min. Should I lower even more?

Temp > 50.0 C is 400 max 100 min

Charging is 1000 max 1000 min.

Battery < 50% is 1400 max 1000 min.
[HD2 Android Q&A, Help & Troubleshooting and Genera] tham33:
Hi mccmjoon76,

I have MMS send out issue on MCCM DS v4.0. I had searched for all the APN setting for Singapore Singtel and tried all the setting they had mentioned, and still cannot get this issue solve. I had tried on the MCCM HD V4.0 with out any error but it is laggy on my HD2. I tried on Winm 6.5 also ok. Further more I have alot of applications and games in this built. Any solution on this mms send out error : Generic network failure. Please help. Thanks:p

Using:

MCCM DS V4.0

2.15.50.14

Android version 2.2

build number: 2.10.405.2 CL226611 release-keys

Kernel version: 2.6.3215 r8.5.3-g51e39b5

Thanks
[Fascinate Q&A, Help & Troubleshooting] nxcow:
what clock widgit is that???

http://img.photobucket.com/albums/v326/devin22cbr/snap20101001_202514.png
[Fascinate Q&A, Help & Troubleshooting] xHoLyx:
I think it comes with Some ROM, which I'm not aware of.
[Fascinate Q&A, Help & Troubleshooting] jjcas15:
Dclock... you can find it in the android market for free.
[Droid X Themes and Apps] Ryebread2:
Can or does anyone have honeycomb ports?
[TG01 General] feropont:
Friends! I have a suspicion that the TG01 ****ty hardware playback and decoding of 720p movies. Big request reproduce my test video at different ROM, including official ROM. I need the stats, what people are able to open a test file. At the moment I am sure that TG01 hardware decoding 720p absent. While Snapdragon must fully supports hardware playback 720p. After collecting the statistics, I can have an idea how to open access to hardware features of the decoder.

Video test here

THX
[TG01 General] olyloh6696:
yeh snap dragon hardware can decode hd video, but the windows mobile software does not support it... :(
[TG01 General] feropont:
Restrictions Windows Mobile only that, a memory card with a fat 32 does not support the large size of video files, you can not throw a complete film, but it does not mean they do not support hardware decoding. I quietly look through videos anime in HD resolution. In the characteristics of the processor, chipset Snapdragon stated video playback h.264 quality up to 720p, and it is checked first.
[HTC Aria Q&A, Help & Troubleshooting] mos2003:
Dear All,

I need your help, Would you please give me any rom support Arabic with out any problem in rom because all of them has separate character.
[G2 and Desire Z General] Kevin001111:
I have a particular video I recorded in HD that when played in the correct orientation (vertical) it won't play. If I attempt to hold the phone vertically and play the video it will play the first couple seconds then say "sorry, this video cannot be played". I noticed that if I hold the phone horizontally (but half the screen turns blue because of the glitch in CM7) for a couple of seconds right when the video starts, then turn it vertical, I can continue watching the video fine all the way through. Just as long as I don't start the video holding the phone vertically.. and reasons as to why this is? I made sure it wasn't the file itself so I watched it on my desktop and it worked just fine.
[G2 and Desire Z General] Gwanatu:
It's a nightly bug, will probably get fixed within a few days at most.
[Sony Ericsson XPERIA X10 Mini] twins.7:
read this blog

http://blogs.sonyericsson.com/products/2011/03/25/update-on-xperia™-x10/

so happy coz they listening us

and soooooooooo sad, coz my device wont get the update

:mad::mad::mad::mad::mad:
[Sony Ericsson XPERIA X10 Mini] rccr:
Noticed this few days ago, sad that it's not coming to our Mini Pros. I don't like the way SE do their upgrades regarding their Android phones. HTC always releases updates quick and have their devices up do date. It took so long for SE to get from 1.6 to 2.1, when the mainstream at the time were all having 2.1. Now when everyone else is having 2.2, we will be stuck on 2.1 (officially) forever.
[Droid Incredible Q&A, Help & Troubleshooting] retsnom:
I recently got my Droid Incredible and while researching I came across many topics on google about the "battery bug" in which various sites and forum posts report that the dinc doesn't charge all the way when it is turned on. There have been many supposed workarounds to get around the issue, which you guys probably already know, mostly involves turning off the phone after the phone reports that it is charged to 100%.

In any case, I was searching around this board and didn't find to much topics about this here, granted I only searched up to February. Does the bug actually exist or is it the battery management function that drains that falsely reports the 100% that I read in another topic here?

But suppose that it is real, are there any permanent fixes to this issue, such as through custom roms and/or kernals?

Sorry if this has been asked (a million times) before. Thought I'd get the best answer by creating a new topic. Thanks for the read.
[Droid Incredible Q&A, Help & Troubleshooting] wildland:
Here's a big part of the info you're looking for...Your batter gauge is lying to you...
[Droid Incredible Q&A, Help & Troubleshooting] retsnom:
Ahhh, this is what I get for skimming. I didn't read the latter part of the post. Thank you for this. Now I will go hang my head in shame.
[Droid Incredible Q&A, Help & Troubleshooting] refthemc:
Thanks for the link, I will definitely sit down and read it next time I'm on the throne.
[Droid Incredible Q&A, Help & Troubleshooting] retsnom:
Just so I don't completely waste this topic, I'll ask my other question here: If I got a replacement for my dinc, how likely is it going to have some bad backlight bleeding? The one I have right now bleeds noticeably from the top and a little from the bottom.