yashsingh1/xdaforums huggingface dataset:
[Windows Phone 7 Software Development] sayonical:
Hi all,

I am a student developer and finally on vacation so I started working a really simple app to try out visual studio and the wp7 dev environment. So far its been pretty great and I have most of the app working. However I'd like the ability to have the user tweet a photo to twitter. I know I can easily share links using the built in share api provided by Microsoft which lets users tweet using their built in accounts without me resorting to using twitter Oauth apis etc however with photos I would need a link.

Any ideas or guides on how to integrate twitpic or yfrog or similar photo service into wp7? I am looking around the web but most stuff I find is either outdated or overly complicated. I dont need to read tweets, mentions or any of the hard core stuff. Just have a user tweet a pic. Perhaps I can use an api to send the image up to twitpic and they return a url which i can then have the user share using their built in social networks....

Any help would be appreciated. Thanks.
[Fascinate General] mvmacd:
I have a Samsung Fascinate, it was just updated to Gingerbread.

I followed the instructions here:

h t t p:// wiki.cyanogenmod.com/wiki/Samsung_Fascinate:_Full_Update_Guide

I downloaded heimdall, downloaded the clockworkmod tar, I untar, then I flashed the recovery.bin to it in Download Mode with heimdall.

Then I boot up into cwm, select my fascinate cm7.1 zip file. It reboots after about 3 seconds, and it boots up, looks like it's in cwm, and takes about 30-45 seconds, then it reboots on its own. Then it shows the cyanogenmod animation, and then it boots up.

It was my first time booting cyanogenmod. Then I remembered I hadn't installed the gapps. So I reboot into cwm, and then I install from zip, and choose 'gapps-gb-20110828-signed.zip' so there's no errors whatsoever, and I reboot.. and I look for the Market.. and it is not there. And neither is Gmail, or anything else. It looks as if I didn't do anything after installing cm7.

I tried this twice already.. I tried downloading it in the Rom Manager, but rom manager doesn't work.

I really want to have the market and stuff..what should I do?

[edit]ok, I tried some stuff, like factory reset, and then flashing gapps, and I also installed a different version of cwm, and then it started working![/edit]
[General Questions and Answers] miniblue:
I tried to post a question about rooting the noot tablet and was told I have to have posted at least ten times here to be able to post there. Why do I see a junior member post with four posts over in the nook tablet thread. BTW not a rookie. I have rooted my Droid and played with ADB quite a bit.

Thanks
[General Questions and Answers] arrrghhh:
Depends on when they joined the forum. That rule isn't retroactive (IE if you joined before that rule, you don't need 10 posts to post in development sections).
[General Questions and Answers] miniblue:
Thanks for your response
[General Questions and Answers] quarlow:
The rule is meant to encourage people to post in the general section. Its a very widely held belief that the dev section is not for questions, its for dev work, and questions just clog the board and threads. There is no restriction to posting in any of the non-dev sections.

Sent from my Galaxy S II (i777)
[General Questions and Answers] josh36:
While I understand with the general point of having to weed out the newbies's (and I include myself in that!) general questions/queries, I disagree with the 10 posts cut-off rule entirely.

One example: I have quite a trivial problem with compiling/upgrading certain packages (i.e. compiling and preparing .apk file after altering the source code and patching it) and building the rootfs for my phone.

This is a query only the devs would be able to address, quite easily, as they have been doing this for ages and know this process like the back on their hands.

This query is well-suited to be posted in one of the devs forums in here, but since I have less than 10 posts I can't do it and I am, quite literally, stuck!

It is not very likely that the devs are reading all the Q&A forums as the traffic on these is quite high and single queries like the one above could easily get lost among all the other stuff.

One of the Q&A forums had a traffic of about 6-7 pages of new threads per day, so you can understand why a single message could get lost there quite easily.

I did post my query, but, unsurprisingly, this was not answered.

I know I could wait and "blagg" my way through with meaningless posts to reach that 10 post minimum count, but I don't think this is a proper way of addressing this issue.

My two pence worth, of course.
[General Questions and Answers] ScriptProdigy:
I agree much with this thread. I dont believe I should have to post 10 times somewhere else that I have no interest in. Im looking to dev on the kindle android builds but I cant do anything but watch what others are posting. I personally believe this is bologna.
[General Questions and Answers] Dark3n:
No, the dev forums are not there so you can ask the devs to answer your question.

This is exactly what the 10 post rule is there to prevent.

People using dev forums as Q&A forum, because they think they will receive quicker answers there.

Post your question in the question&answer forums, and if a dev wants to answer your question, he will do so, if not, well tough luck!
[General Questions and Answers] josh36:
I disagree - a cursory look at the Android Software Development (Discussion about Android-specific software development) forum shows at least 6 threads on the first page alone started by various posters either describing a specific problem/bug/feature (asking for clarification/assistance) or placing a direct question - see for yourself, go and have a look.

The other point I've made was that all these questions get drowned in the sea with all the rest and the chances of someone seeing, let alone addressing a specific problem are slim-to-none.

One other thing - when I get to test/implement something I've seen in a given dev forum (a package, a specific update zip etc - you get the point) and find an issue/bug or simply wish to post a comment or give a feedback, I can't do that, but have to go and do it in a completely different place, together with all other (unrelated) queries/questions from all other users - do you honestly think that makes sense, because to me it doesn't - at all!
[General Questions and Answers] alzaq:
That are the rules that you agreed
[Epic 4G Q&A, Help & Troubleshooting] lostrudy:
After reading through the reviews of the gingerbread kernels and roms I want to go with the Shadow Kernel and the Marcusant Revival Rom. I noticed that the Revival Rom already comes with the Samurai Kernel though. Do I first flash the Rom and then flash Shadow Kernel? Or will it be a little bit more complicated than that?
[Epic 4G Q&A, Help & Troubleshooting] ÜBER™:
To do so after flashing your rom you just wipe cache partition and dalvik cache and then flash the shadowkernel and boot up.

Sent from my OG Epic
[Epic 4G Q&A, Help & Troubleshooting] ugothakd:
You don't even need to wipe cache or dalvik. Just flash the kernel. Make sure its for the right partition thingy though (mtd or bml)

sent from my always aosp epic
[Samsung Galaxy Nexus] zoetrope:
I will defer to the xda mods if they think this thread is redundant. I have been using my Galaxy Nexus now for ~3 weeks. During that time, I have seen my daily battery life improve from ~10 hours to a little over 24 hours before needing a charge. I have listed out the power saving strategies I've developed during these 3 weeks following the screenshot [PROOF]:

1.) Calibrate your battery using the following methods here: Battery Calibration.

2.) While on battery power, set your Nexus display's brightness level to ~30%. I've found that particular brightness level to be a sweet spot. Auto brightness does not work for me, so I hard set the level. I am able to get between ~4 to 5 hours total of screen time a day on battery power at that level. There are many Android Market apps/widgets that will allow you to set power profiles depending on your location and power draw and/or charge.

3.) Along with conservative display settings, I turn off cellular data entirely, or only use 2G (Edge) when connected to a WiFi hotspot. I have an unlocked I9250 Worldband GSM Galaxy Nexus, so I'm unable to address 4G LTE. But if I did have access to 4G LTE, I imagine the only time I would use it would be for tethering while the phone is plugged into a power source. Regardless, 3G (HSPA+) can be a significant power draw, and 4G doubly so. When on WiFi, 3G and/or cellular data is off entirely. My guesstimate is this saves me between 15 - 20% battery power throughout the day.

4.) I set application accounts to sync and updates only when on WiFi.

5.) Avoid rebooting or powering off the phone while on battery power. I've noticed a loss of between ~2 - 5% when rebooting the phone on battery.

6.) No live wallpapers, and the image I do use for a wallpaper is very dark. I set the homescreen widgets to nearly transparent and white text. I'm certain this conserves battery power, but by how much I can't say. [REFER]:

7.) During a typical day for me, I'm constantly using Twitter, Google+, Facebook, Gmail, the ICS Browser, TapTalk, and of course the homescreen widgets connected to network services. I would consider myself an average to heavy user depending on the day. All Gmail is pushed. My widgets update between 1 - 3 hour intervals. You can tell by the screenshot provided my WiFi signal is always on, my Awake and Screen On times are between 4 to 5 hours total of the 24 hours available. As you can see from the screenshot, during that 24 hour period I did not top off with a power charge during that time.

Any other tips for extending battery life are welcome. I hope this helps.
[Samsung Galaxy Nexus] spinkick:
Cool. I keep my phone plugged in when I am in the car or desk and that seems enough for me without having to compromise. 4G is a real killer
[Samsung Galaxy Nexus] Evostance:
Are you using Tasker to kill data when on wifi and enable it when not?

I was under the impression the OS did this automatically
[Samsung Galaxy Nexus] aohus:
FYI, the original poster is a HSPA+ user. Entirely different experience from a LTE user.
[Samsung Galaxy Nexus] sc4fpse:
Err... if there is anything I take away from this thread, its: "If you want 24 hours of battery life on your Google Nexus, don't use it."

It's hard to say for certain, but it sure doesn't look like you used your phone very much over 24 hours. :|
[Samsung Galaxy Nexus] zoetrope:
Total time the screen was on was between 4 to 5 hours total out of that particular 24 hour period. Depends on your definition of "use", but I've seen definitions of moderate to heavy smartphone use defined in various forum posts throughout XDA somewhere between 3 to 6 hours of screen time on a single charge. YMMV.
[Samsung Galaxy Nexus] wonshikee:
Based on that image, there's no way you got even 3 hours of screen on time.
[Samsung Galaxy Nexus] zoetrope:
I'm certain it was over 4 hours, I remember digging into the screen stats under the battery settings before taking a screenshot. I don't have a screenshot of the screen stat window during that 24 hour period.

Don't believe me? I don't really care. I have nothing to hide and nothing to prove. Just relaying my experience with the GN battery over a 3 week period.
[Samsung Galaxy Nexus] gogreenbay07:
I would rather keep 4g on and just charge throughout the day. Why pay a premium if you're not going to use it, but I suppose you don't have 4g so you don't care.
[Samsung Galaxy Nexus] @rbiter:
This. Doesnt look like 4-5 hours screen time because the phone isnt awake enough.
[Samsung Galaxy Nexus] white lie:
I don't see a problem with the battery life for the size of the phone.

I'm sure it would go a day and a half before needing a charge with my usage (which I consider 'normal') but I plug it in everynight while I sleep anyway.

The battery life definately improves after a few charge cycles.
[Samsung Galaxy Nexus] mysterioustko:
I agree with sc4, you basically are saying not to use the phone. You do not have to take such extreme measures just to get good battery life. I get pretty good battery life and I don't disable anything.
[Samsung Galaxy Nexus] smot13:
Well I thought it was a nice post. Jeez. Especially if you compare to most of the crap that comes up in the general section.

I couldn't find where he said "dont use 4g der". I believe the idea he presented was to turn off 3g/4g while you're on wifi. Do you need 4g AND wifi? Easy, common sense. Thumbs up. :cool:
[Samsung Galaxy Nexus] hotleadsingerguy:
Just so you know: WiFi uses the same amount of power to transmit/receive data as 3G. You're not saving anything by turning off the 3G radio while on WiFi since the only thing it's being used for is phone calls and text messages.

In addition, being in WiFi all day long can *really* improve your battery life. It's easily the biggest thing on your list. Why? Because the cell radio isn't constantly trying to maintain a data signal to the 3G towers. It maintains a connection but it doesn't have to negotiate for it almost at all...saves a lot of battery life.

Oh, and that Battery Calibration post is ridiculous. When you first get a phone just discard it fully then charge it up fully. Do it once every few months for the life of the phone and you'll find you maintain great battery life. Outside of that, keep it plugged in as *OFTEN* as you can to maintain longevity.

Also, according to your screenshot, your screen was on a *maximum* of 3 hours, but most likely around 2 1/2. That means the data connection most likely wasn't used much more than that, as well. That's very light use over a 24 hour period.

---------- Post added at 08:31 PM ---------- Previous post was at 08:31 PM ----------

Well, no, you wouldn't...but it turns off the LTE radio when on WiFi anyway...so that's a moot point.
[Samsung Galaxy Nexus] gogol:
One more tip:

If you use vibrate on keyboard, shorten it to as low as possible.

This is possible using SwiftKey :)
[Samsung Galaxy Nexus] zoetrope:
@ hotleadsingerguy

I'll leave 3G running for the next couple of days, see if there's any difference. Thanks for the info. Are you saying the screen on time reported by the OS is not reliable? If not, know of any apps that do report battery stats and usage reliably?

Galaxy Nexus I9250
[Samsung Galaxy Nexus] republitarian:
Agreed that is not 4-5 hours of screen time. It is blatant in the graph u provided. Look at the screen and awake times. Here is mine with only 2 hours of screen time but over an hour of voice.
[Samsung Galaxy Nexus] gogol:
To push more, set the animation etc. to 0.5x in the developer options. This should reduce the cpu usage a little bit.

And turn off auto rotate as it consume quite a lot of cpu power. Most probably this is just a bug, there has been a report in the Google code bug yracking.
[Samsung Galaxy Nexus] @rbiter:
Qhen you go to battery stats tap on the screen percentage. It will tell you exactly how long screen has been on.
[Samsung Galaxy Nexus] zoetrope:
I agree. I did not get a screenshot of my screen time when I took the screen pic of the timeline graph. I was relying on memory, but after comparing republitarian's pic which has roughly the same timeline span, looks like my memory failed me. Mine is somewhere between 2 - 3 hours of screen time as well. My bad.

Galaxy Nexus I9250
[Samsung Galaxy Nexus] kristovaher:
It's great that you get a battery life that is that long. I am really impressed.

But I am totally unable to use the device like that. I want 24/7 3G with auto and background sync's and so on. I want to use the device the way it was intended to be used.

And, to be honest, I live in 24h cycle too. Except it is charging at night, so it is 15 hours on battery and 8 hours on charging. I don't need 24h charging, since by the time 24h is up, it would be morning and I would need to charge. Except at that point I'm already going to work.
[Samsung Galaxy Nexus] bongadadu:
Correct me if im wrong, but im pretty sure you are not meant to let the lithium battery die. It's bad for its health, best to keep it in the 20-80 % range.
[Samsung Galaxy Nexus] hbkmog:
I don't get this kind of tips as well as the juice defender app. If you want to save power, might as well not use it. It is not how a smartphone meant to be used.
[Samsung Galaxy Nexus] voxigenboy:
yeah letting the battery drain completely regularly will shorten its life.

also, I'd like to see 24 hours of normal use or for that matter, "constant use".

if I'm using the device constantly it lasts about 2 - 3 hours... and I'm talkingnon-stop usage, screen & data on the whole time.

if the phone's not in use then "battery" doesn't count.
[Samsung Galaxy Nexus] aimetti:
theres really no hidden secret to the phone battery life.

At its current state w/ the Android OS bug present , you are looking at 4-5 hours of screen time and thats it. Not that its horrid. Your battery life can be 24 hrs + or 6 hours or 4 hours, all depends on screen time.
[Samsung Galaxy Nexus] hbkmog:
The real fix should come from the OS itself. The battery life is much better with gingerbread. There's really something fishy about ICS power management at the moment .
[Samsung Galaxy Nexus] ajwho:
LOL at the OP getting mad and thinking people think he's a liar about the screen time. The data is all on the graph you posted. You're not being unjustly persecuted.
[Samsung Galaxy Nexus] mrcase:
For what it's worth, my Gnex is only using maybe 3-5% of it's battery per hour while I'm at the office, using it the same way I used my old OG Droid (which is considerably better than I got on the Droid). I burn through battery more like 10% an hour when I'm at home.

Here's my formula at work.

1. I'm in a 3G only area, so I set it to CDMA only.

2. I have NFC turned off because I'm not using it.

3. I keep bluetooth turned off because I'm not using it.

4. I have the screen at 50% brightness.

5. I have the screen time out after 30 seconds.

6. I have touch sounds and screen lock sounds turned off.

7. I have wifi turned off.

8. I don't typically use GPS.

I keep sync turned on and (between lunch and breaks) typically do maybe an hour-ish of either browsing, gaming, or youtube. And what I experienced was that I'd take the phone off the charger at 8am, leave it off all day, and be at 73% at the end of the day at 6pm.

Now, home is a different story. I keep the screen at 100% brightness set to timeout at 10 minutes wireless turned on and do more gaming, installing things, and general playing with the phone and can burn through 10% of battery an hour or more.

So, I'm not sure if the screen brightness is what's making the massive difference or the more constant use or both. But, as long as my work formula for success works when I'm out and about, I'm fine with that. I feel more free to drain it at home for obvious reasons so it doesn't but me that much. Plus, I know I'm using it more heavily than I likely will once I get settled in with the phone. I'm not normally going to sit there for hours gaming and installing and uninstalling apps.

I also did the battery conditioning thing the first couple of days.

Not sure if this helps anyone at all, but thought I'd share.
[Samsung Galaxy Nexus] McCadi:
I have trouble believing any of this! :P I get 6 1/2 hours of medium usage every day. 15% brightness, no background apps (no Facebook or syncing email) 3 maximum background processes in dev options. So frustrating coming from an iPhone. But I really want to keep this phone. With and without juice defender I get the same results. I have done a few battery cycles too and have owned ut for a month. How come everyone is having so much luck? Lol. I get a max of 2 hours of screen time.
[Samsung Galaxy Nexus] mrcase:
My gut suspicion is that it's largely location, location, location. I live and work in a place with pretty solid 3G, but I haven't been tempted by the lure of 4G because my area doesn't even pretend to have it yet. So, my phone isn't fighting to get a signal all the time.

I'm thinking that this weekend will be acid tested this weekend because I have a 7 hour drive home through the Ozarks. I'm actually planning on bringing my OG Droid in case this goes horribly wrong. Frankly, the phone's performance on this trip will probably decide if I'm keeping it or if I'm going to have to switch to a Razr (which will probably suck after having such a beautiful week with my Gnex).
[Samsung Galaxy Nexus] KneeDragr:
This is basically my battery strategy with my Samsung Fascinate, but I get 5-7 days out of a charge. No I am not kidding.

This battery issue is the only reason I am not getting a Galaxy Nexus. I could tolerate 50% of my current battery performance, but I read about people with the LTE version getting 6-8 hours using a similar gameplan as above. Thats just not going to work for me.
[Samsung Galaxy Nexus] hotleadsingerguy:
lol if you have trouble with the battery life on this phone...stay the heck away from the RAZR. The battery life is rubbish and the battery isn't user-replaceable. Bad idea.

Correct. The higher the % of the battery the better for the overall battery life. Keep it fully charged at all times for the best longevity.

Going to respond to both of these at once. The "Android OS bug" doesn't affect most people, it's a select audience and nobody knows for sure why. Reset the phone and there's a good chance it'll be fixed (or even install from the Google image). For a vast majority of people, the battery life in ICS is far better than previous iterations. Don't forget: You're using a 4.65" HD screen...it eats up a *LOT* more battery than other screens (even other large screens).

There's something wrong with your phone, then. At 15% brightness and no background apps with light usage your phone should easily hit 18+ hours of battery life per charge. There's either something wrong with the way you configured it or there's something wrong with your phone. If it's the Android OS bug that people are talking about Reset the phone and it should fix the problem.
[Samsung Galaxy Nexus] mrcase:
The battery won't be what would do me in. It's going to be if the GPS performs and if I can respectably hold signal (any signal). That's been the whole thing I've been wondering this whole time. If the people with the problems (battery life, signal, all of it) had bad phones or if it's per location. I'm thinking my drive through the boondocks should be telling because I've had one of the phones that's worked great all this time. I'm going to be curious to see how it holds up compared to how my old droid did on this drive since I know I'm going to be in and out of signal.
[LG Nitro HD] SolusCado:
Has anyone been able to get any density changer apps working on their Nitro HD? I've tried all of the following, and none seem to work. It's possible there is a problem with my su access, so if anyone HAS gotten any of these to work, please let me know. That at least tells me I definitely have an su problem...

DPI Changer

LCD Resolution

LCDDensity

Root Tools
[LG Nitro HD] SolusCado:
Never mind; my build.prop file was set to read only.
[LG Nitro HD] V@no:
Excuse my ignorance, but what exactly are they for? Does the density changes only the size of text or everything including graphic become bigger/smaller?
[LG Nitro HD] aquariuz23:
wondering the same thing as well.
[LG Nitro HD] SolusCado:
For the most part, yes. Decreasing the LCD Density is like increasing your desktop's resolution. Icons and text become smaller, though apps that are written to scale to any resolution will usually appear the same.
[LG Nitro HD] V@no:
Hmmm...I do see some issues with current density, for instance the avatars in Talk don't stretch to fit the square.

So witch tool would you suggest?
[LG Nitro HD] Namuna:
I tried DPI Changer the other and couldn't get it to work, thanks for the heads-up about the build.prop!

The Nitro also already has the "Screen Optimization" util (Settings > Display > Screen Optimization) that resizes checked apps to the Nitro's display. It helped with a few games, but some games just won't work (like Asphalt 5)...But now with the Density changer, maybe I'll give it another try.