yashsingh1/xdaforums huggingface dataset:
[Android Software Development] alienwolf426:
as some of the other users have said, android isn't same as windows or iphone ... its based on linux and unlike windows, the memory management is much different in linux

whereas in windows, it is better to have extra free memory and this actually speeds up applications etc, in linux it is the exact opposite ... linux will take care of memory management itself and likes to keep things in memory for longer in case you ever decide to open the same application again.

so in a nutshell, as you're new to android stay away from 'app killer' apps, as your'e doing more harm than good ... it might look nice having 300megs of free memory, but you'll notice a considerable decrease in speed as every time you will doing anything, the OS has to load that app into memory ... whereas if you leave it alone, you will only notice decreased performance once in a blue moon when you open up some ridiculously big app that the linux OS has to remove more than normal amounts of stuff from memory to make room for this obnoxious app ...

anyways, to answer your main question ... this is the main reason why you can't really exit an app ... and that is why multitasking is awesome ...
[Android Software Development] jetpack101:
Thanks for the advice. I have a much better understanding of it now.

I was looking at a task manager app but will avoid them now based on your explanation.

Sorry for the delay in getting back. Couldn't access xda.
[Android Software Development] psychomaniac189:
what about apps you dont want to use but are always active? like msn messenger or palringo ?
[Android Software Development] Beackman:
@Psycho

In this case you can use a taskmanager to kill a specific app, not all thing in the memory.

like a do.
[Android Software Development] Seuldieu:
I think it's been confirmed, that task killing applications aren't necessary--and infact, use more cpu/battery power; opening and closing an app is far more intensive, than reopening it from memory.

You're best bet is to just leave the phone the way it is, in regards to application/task management. My fascinate did however come stock with a task manager, to force close anything I don't want--I use it rarely.
[Android Software Development] alienwolf426:
even in this case, if the app was developed properly you can simply leave them alone. because the app would be running in 'background' mode it wouldn't be using negligible battery if any at all.

however, there is the rare case where the developers will act idiotic and force the app to run in 'foreground' mode even when its in the background, and in that case you can either use a task manager to only kill that specific app or go into the application settings and force close that app manually.

you can, on most occasions, figure out which app was developed with background and foreground running in mind when you check the battery usage. no one app should be higher than 1 or 2 percent over a long period of time, unless its an app that you're actually using exclusively for a long time, such as a game or maps app.

if you see any app that is higher than 5%, either simply get rid of it or use the task manager to kill it whenver you're done with it because thats a pretty good indicator that the developer didn't code it properly and is forcing the OS to keep the app running.

hope that helps :)
[Android Software Development] GinoAMelone:
I just uninstall such apps. I understand that Titanium Backup can uninstall "system" applications. I just use a shell script. But then, I've been a UNIX junkie for 20 years.
[Android Software Development] le3ky:
sign out of messenger apps, don't kill them..

Should I Use a Task Killer?
[Android Software Development] nebenezer:
@psycho.. and everybody else:

Check out an app in the market called autostarts. It's not an task killer, it's an task preventer. Once you set it up it just keeps the apps you specify from even running in the first place.

Android does a great job of managing the background but if I don't need an app but maybe once every week or two (gmaps) I'd prefer it didn't even start every time I boot my phone. Another example is that I love the photobucket app, but I don't actually need it to start up every time I take a picture.
[Android Software Development] pbarrett:
I don't kill apps with a task killer, but I still think all apps should have an Exit option.

There are times when you know you're done with an app, don't want the state preserved for next time, and want to make damn sure all its resources are released.

If you want to preserve the state and come back later, back out or hit Home.

If you don't, then use Exit.

Nothing to do with task killers, just a simple app design decision.

I'm seeing maybe 20% of apps have this.
[Android Software Development] Gene Poole:
The OS does a pretty good job of deciding which apps should possess which recourses. If an app is particularly hungry for resources and is of the type that is should relinquish those resources when able, the developer should take that into account. A wise developer will know this and develop his or her app accordingly. A foolish developer assumes his or her app is the only app in the universe and doesn't give a damn about the user. In an open environment like the android platform, where the user gets to decide what is best, the wise developer wins.
[XPERIA X10 General] jingkailim:
I saw iphone4 screen and is beautiful but i dun think x10 is half that bad.

So what you guys think about our screen =) i sure it look great but is it not as good as iphone4 and why?

O ya i saw sgs screen is bright but i think is not as sharp as our=)
[XPERIA X10 General] chris_knows:
I like the iPhone screen, but would take a 4" screen with a couple less pixels over a 3.5" screen with more pixels. I haven't seen the SGS screen yet, but have heard that colours seem fake on it.
[XPERIA X10 General] Bwyan Benton:
The iphone 4 screen is super amoled...same as sgs....therefore they will be more crisp than our x10. Plus right now the x10 is only displaying 65000 + colors....when we get 2.1 we will get bumped to 16 million colors which will give us a very nice display. Id still take my x10 over iphone4 and sgs...even without 16 million color display.
[XPERIA X10 General] Daniel_GB:
Iphone4 : Display Type TFT capacitive touchscreen, 16M colors

http://www.gsmarena.com/apple_iphone_4-3275.php
[XPERIA X10 General] Bwyan Benton:
Right on...thanks for the info. I was thinking it was super amoled for whatever reason. Not an iphone/apple fan, so I don't really pay much attention to what they have....couldn't really care to be honest either lol.

It will be interesting to see what the X10 can do when we get 16 millions colors.
[XPERIA X10 General] applebook:
iPhone 4: IPS panel, superior color accuracy to other types, best viewing angles. The 4's display, as we all know, has the highest resolution (too high for my tastes) and true 16-bit color, around 1000:1 static contrast ratio (excellent).

X10: TN panel (most likely), at best 16.2 million dithered colors, decent viewing angles, decent contrast (nowhere near the iPhone 4).

Samsung Galaxy S: Pentile SAMOLED. Pentile is an awful technology that pretty much ruins most of the good in SAMOLED. The Galaxy S has outstanding contrast (50,000:1), insane blacks (as good as high end plasma TVs), and remarkable viewing angles (slightly better than the iPhone 4), but Pentile makes reading small text a headache for some. I kept seeing a slight "screen-door" effect with normal sized text too. Read up on the color inaccuracy of Pentile displays, and why the Galaxy S is not a TRUE 480x800 resolution phone.

Overall, in my view, the Droid/Droid X (haven't seen it in person though) and iPhone 4 have the best display with the LEAST compromises. The Galaxy S' blacks are sick though --too bad black isn't a color!
[XPERIA X10 General] lt iibad:
I have both an sgs and an x10. And the sgs display is way ahead of the x10.

The contrast makes a crap load of difference and the extra colours are very distinct. I have to stick to greyish wallpapers so i dont get colour bands on the x10.

Haven't seen the iphone 4 not available yet in south Africa.

Looking forward to seeing the x10 in 16m though. Should be interesting to compare
[XPERIA X10 General] naplesbill:
I have had both and I would agree that the Captivate is better when viewing photos or video. When viewing text though, I disagree. I much prefer the X10 for text (email, sms, web browsing, etc.).
[XPERIA X10 General] Nankov:
I played with a Vibrant today at a Bell store what i noticed was that the blacks are indeed very good, the thing is though that the whites suck they are kind of blue not really white, in matter of fact there is quite a bit blueish tint going on.. The colors are very colorful lol but not real at all they are way oversaturated if thats the word. Also i can see the pixels from a mile away lol. Anyway the screen is nice to look at but its unrealistic and is bad for reading any kind of text wich i do quite a bit more than watching videos. Also the X10 screen looks bigger because the Vibrant's screen is a little wider and i dont really like that. My overall thought on the Vibrant is that it felt kind of cheap in my hand and also ugly. If it wasnt for the screen that pops out at you i doubt anyone wouldve paid attention to this phone even with the hummingbird cpu and the 512ram.
[Windows Mobile Software Development] alto:
Hello,

I'm looking for where the win mo save the email accounts details, any ideas?

Thanks, A
[HD2 Android Q&A, Help & Troubleshooting and Genera] gomezjfk:
Hi thanks to all the devs for working on all these ports.

I purchased this app off the marketplace, size is 20mb.

It won't install and after a few tries it shows error 18.

Can anyone please advice on this?

Thanks in advance.
[HD2 Android Q&A, Help & Troubleshooting and Genera] mr_billionaire:
Try this.

Go to Settings > SD card & phone storage > Unmount SD card > OK

then go to the market, redownload and install the app, once it installs, do the same as above but select "Mount SD card"
[HD2 Android Q&A, Help & Troubleshooting and Genera] gomezjfk:
Thanks so much it worked like a charm!!!!!!!
[Windows Mobile Apps and Games] kadettilac89:
Hi all,

I use energy rom "cookie hometab". I tried also energy rom "max sense". I know in max sense are some additionally toggle functions. Is it also possible to toggle "auto rotation" and "backlight" without max sense?

I want to set a shortcut (directlink) to switch on and off the automatic rotation. I dont mean a shortcut to rotate the screen manually. It would also be nice if there is also a possibility to do same for backlight.

Thx a lot!
[General Questions and Answers] vanilladeke:
Newbie here... with a question that has confounded alot of tech support people at various companies for the last few weeks.

Here's my situation.

I recently purchased an HTC Touch Pro 2 from Telus. I love the phone except for ONE thing.

When I pair the handset to my vehicle (a 2009 GMC Acadia, with Navigation) via Bluetooth, I am able to use the phone to place calls via the phonebook that is stored in the vehicle (ie., if I say, "call X" and "X"'s name is stored in the car's library, then the phone will call "X".

HOWEVER, if I try to physically dial "X"'s number with the handset while the device and the vehicle are paired, the keypad on the phone becomes essentially unresponsive and it takes the handset about 10 seconds to recognize each keypress inputted on the handset. (i.e. it would take me about 2 minutes to dial a 10 digit phone number while the handset and the vehicle are paired. BUT ONLY while they are PAIRED. When I unpair the device and the vehicle the handset's functionality returns to normal.

After many hours of conversation with Telus, GM and HTC advanced tech support it was concluded by HTC (after I sent them a log of the handset during the "paired" condition) that the issue is:

"The telus touch pro 2 that you currently have never received a software update to enable the Bluetooth stack in the device to work with your particular vehicle. This is also the reason why GMC says the verizon touch pro 2 will work as the verizon touch pro 2 has received 2 software updates".

I contacted Telus to ask them if they would make these software updates available, and, I suppose because the handset has been discontinued, they don't see any reason to.

So my question is:

Is there some other way to update the bluetooth stack for the Telus TP2?

(I have tried downloading the software updates available for some US CDMA carriers on the HTC website, to no avail.)

Any help would be appreciated.

Thanks.
[Galaxy S I9000 General] Fr4gg0r:
Patched Stock Browser with UserAgent Settings! <persistent> <zipaligned> [root]

Check this out... (pics)

For any 2.2 firmware.

Based on Browser from JPO.

TheVisitorX from the android-hilfe.de forum succesfully followed my instructions: :D

-Download JPO and push it to /system/app/ , before make a backup of Browser.apk and Browser.odex and then remove them

or

- download my app (SGSTools.apk) and select last menu item.

(progress bar is fixed)

PS: It's the normal stock browser, but it has the useragent preference from the debug menu, in addition the useragent is always checked! Not only when debug is enabled.
[Galaxy S I9000 General] XlAfbk:
could you please repatch the JPH browser? md5 is different
[Galaxy S I9000 General] Fr4gg0r:
The 2.2 (taken from JPC) is not working under JPH?

I'll patch the JPH browser when I flashed to JPH ;)
[Galaxy S I9000 General] XlAfbk:
it is working, but the JPH one performs a lot better on flash sites
[Galaxy S I9000 General] Fr4gg0r:
Here it is from JPH

You can install it manually like the instructions above, or push the .zip to /sdcard/sgstools and run the script with my app. (You will need version 3.6 or higher! The version is displayed in the menu) :)

Edit: now zipaligned
[Galaxy S I9000 General] XlAfbk:
thx for the JPH!
[Galaxy S I9000 General] tazman171:
Thank you for this.
[Galaxy S I9000 General] dcarr622:
Is there a fix for JPK? I would love to be able to change user agent in JPK, thanks!
[Galaxy S I9000 General] dcarr622:
Also when I try to uninstall or install anything over adb, I get the "read-only file system" error, permission denied, etc. I can't seem to make these changes over ADB. I am lag fixed, does that have anything to do with it? How can I get adb to work correctly?
[Galaxy S I9000 General] Fr4gg0r:
I think, JPK comes with the same browser as JPH, so simply take the JPH version.

You have to mount /system rw before you can change the browser, use this command:

busybox mount -o remount,rw /system
[Galaxy S I9000 General] dcarr622:
Thanks working very well. Nice to be able to view full flash sites instead of being dumped on mobile ones when I don't want it!

For the learning of everyone, can you please tell us what you did to the browser to enable the UA String setting? It would be useful as new builds come out and you aren't around to fix it for us :D
[Galaxy S I9000 General] RA017:
Thank you so much, you save my day !
[Galaxy S I9000 General] Fr4gg0r:
I decompiled the sourcecode of Browser.apk and added a few code lines, so that the user agent is always checked, not only when debug is activated.

Next step is adding a useragent setting to the preferences. :)

(I could simply copy that from the 2.1 debug preferences :D )
[Galaxy S I9000 General] dcarr622:
Any chance you could whipped up a fixed version of the browser from ZUJP2? IMO this is a way better ROM with a much better-performing browser and TouchWiz just flies instead of being a mess like JPK. If you could make the fixed one that would be amazing, if not I suppose I could experiment doing my own although I wouldn't know where to start =P

EDIT: SEE NEWER POST BELOW
[Galaxy S I9000 General] huxflux2003:
Anyone tested with eclair?
[Galaxy S I9000 General] Fr4gg0r:
I tested it before when I was on JM8, works like the JPH version.

Currently I'm trying to add a fullscreen setting..
[Galaxy S I9000 General] dcarr622:
Now that JPM/JP6 are out, do you think you could make a new version of the fixed browser? Thanks!
[Galaxy S I9000 General] poupouneroot:
yes please, update fix for jpm, thanks
[Galaxy S I9000 General] dcarr622:
Now that full source is out for JPM will it be easier to make this change? Forgive my noobishness but I am willing to do this myself I just have no idea how
[Galaxy S I9000 General] silverstorm:
Thanks for your efforts. I tried the ' newbrowser.apk' (614kb) from this post on the official JP6 from kies and it works beautifully!
[Galaxy S I9000 General] Fr4gg0r:
no, the browser sourcecode ist not included in that package.

Samsung only releases kernel, drivers etc. but no sourcecode of apps.

JP6 propably coming tomorroy. :)
[Galaxy S I9000 General] rob151515:
Seems that some sites are now blocking the 'Desktop' UA String setting. Does anyone know where the actual UA strings are stored so we can alter them?
[Galaxy S I9000 General] dcarr622:
Are you totally sure? (restarted phone, verified settings, etc.). I thought that this was the case at one point but I cleared cache/history/etc. and double checked everything and then it was okay.

The UA String for Desktop is supposed to mimic that of Mac OS X so it really shouldn't get blocked.
[Galaxy S I9000 General] rob151515:
Yeah I tried rebooting the phone, clearing and resetting every setting I could in the phone. I was verifying that the ua string was being correctly set by going to http://whatsmyuseragent.com/ and when I changed it to 'Desktop' it was showing the Mac OSX ua string. The site I was trying was a porn site and it didn't seem to matter which ua string I had set (including the 'Desktop' string) it would send me to the mobile version of the site everytime.
[Galaxy S I9000 General] dcarr622:
I don't know if you'll get much help with that bud, we have better things to do around here.
[Galaxy S I9000 General] rob151515:
whatever.......
[Galaxy S I9000 General] Fr4gg0r:
cookies cleared?

If you refer to y***, I had tried it out once and it worked ;)
[Galaxy S I9000 General] rewrew2:
fr4gg0r i tried to re put the original backuped browser.apk/odex files (JP6 is my rom) in the system/app dir but when done in the menu browser icon doesn't exist so i'm without original browser...your old JPH patched works but i want my original JP6 how to?! or can you patch the latest JP6?! thanks
[Galaxy S I9000 General] rob151515:
This could be just me, but i'm using stock jp6 browser and I can change my user agent string to the desktop one by doing about:debug then opening/closing the settings menu...
[Galaxy S I9000 General] Fr4gg0r:
yes you can, but after reboot or even after closing the browser, the useragent will be resetted (that's not true, the useragent setting will be ignored until you activate debug, my version never ignores the setting.)
[Galaxy S I9000 General] Fr4gg0r:
Remove the browser.apk and .odex from /system/app/ (yes they are still there, but android ignores it)

Then wait some seconds, so that android "uninstalls" the app.

Then push them again to /system/app/

btw: jpm version downloadable now
[Galaxy S I9000 General] jona29:
anyone got a back up of the original jp6 ?

cant even access ebay with this modded browser
[Galaxy S I9000 General] yadayada01:
Hey didyou guys know that the phone also sends out a http header called HTTP_X_WAP_PROFILE:http://wap.samsungmobile.com/uaprof/GT-i9000.xml

http://en.wikipedia.org/wiki/UAProf

I realized that some sites seems to use this unfortunately. Thats why some sites still redirect you to the mobile version :(

Hopefully this is patchable too.:confused:
[Galaxy S I9000 General] dcarr622:
Thanks for the JPM version I've been using it!

I just made the jump to JPO/XWJPA and the browser is absolutely great compared to old ones, very smooth.

Any chance you could whip up a fixed UAString version of that?

Also could you briefly explain what you use to decompile the browser? What file is it inside the APK? Once I know that I'm sure I could make it myself just by comparing the changes and copy/pasting.
[Galaxy S I9000 General] dcarr622:
I did try JPM/JP6 browser in JPO but the progress bar is messed up and scrolling/navigation isn't smooth like JPO.

Also for some reason after replacing the APK it disappeared from the bottom 4 icons in TouchWiz. Any way to get the icon back?

I eagerly await your latest Browser.apk =P
[Galaxy S I9000 General] RA017:
I also just tested the JPA browser, and I feel it's around 20% faster than JP6 when reviewing pages with lots of photo & some flash.

Please kindly patch the JPA browser as well. You can find the JPA Browser.apk here
[Galaxy S I9000 General] Medel-Silver:
Can you do this with JPO browser??? I try to change UA with about:useragent but it doesn't work
[Galaxy S I9000 General] Fr4gg0r:
HowTo:

1.Decompile the browser.apk (must be deodexed) (I'm using apktool, but I think you can also use apkmanager)

2. Open smali/com/android/browser/BrowserSettings.java

3. Copy this

const-string v5, "user_agent"
#v5=(Reference);
const-string v6, "0"
#v6=(Reference);
invoke-interface {p1, v5, v6}, Landroid/content/SharedPreferences;->getString(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v5
invoke-static {v5}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
move-result v5
#v5=(Integer);
iput v5, p0, Lcom/android/browser/BrowserSettings;->userAgent:I

and paste it into line 2236 (behind "iput-object v5, p0, Lcom/android/browser/BrowserSettings;->jsFlags:Ljava/lang/String;")

4. Save that.

5. Open res/xml/browser_preferences.xml

6. Copy this

<ListPreference android:entries="@array/pref_development_ua_choices" android:title="@string/pref_development_uastring" android:key="user_agent" android:defaultValue="0" android:entryValues="@array/pref_development_ua_values" />

behind the yes-no preference at the bottom.

7. Save.

8. If you want to enable fullscreen mode copy this

android:theme="@android:style/NoTitleBar.Fullscreen"

into the AndroidManifest.xml into the <application ...> tag. (I couldn't get it running when applying in code -.-)

9. Save.

10. Compile, run zipalign and sign.
[Galaxy S I9000 General] Medel-Silver:
Thanks, I will try it this night.

Fullscreen don't work???
[Galaxy S I9000 General] Fr4gg0r:
should work if you apply it in the AndroidManifest.xml.
[Galaxy S I9000 General] dcarr622:
When I decompile with apktool I get a bunch of .smali files, not .java, and the BrowserSettings.smali has the wrong number of lines. What did I do wrong? I'm using the browser.apk for JPO from Doc's 7.5 (I extracted the zip and then pulled the apk and then extracted using apktool d [apk file] [output directory]. Thanks for your help!
[Galaxy S I9000 General] Fr4gg0r:
mhh, apktool should "convert" them to .java files..

Maybe you opened BrowserSettings$1.java instead of BrowserSettings.java?

Whether the files are .java or .smali is not important..
[Galaxy S I9000 General] dcarr622:
Okay I have the changes made, and using apk manager, I created a zipped, and signed it, but now it's over 2000kb and it was only 600kb. So what's up?
[Galaxy S I9000 General] Medel-Silver:
I've tried but I can not do that

Thanks anyway
[Galaxy S I9000 General] Fr4gg0r:
TheVisitorX from the android-hilfe.de forum succesfully followed my instructions: :D

Download JPO

(progress bar is fixed)
[Galaxy S I9000 General] zhelloz:
I've tried and it's work for me on XWJPA

Thanks so much!
[Galaxy S I9000 General] ciaomare:
sorry for my be noob.. but how can i install that browser.apk?? i use appinstallar but it didn't work.. thanks for the help!
[Galaxy S I9000 General] dcarr622:
Use root explorer or ADB to replace your existing Browser.apk in /system/app with the new one.
[Galaxy S I9000 General] Fr4gg0r:
You can also use the newest version of my sgstools app (SGSTools_dev.apk, not in market yet).

The app downloads the browser from VisitorX and pushes it to /system/app/ for you. :)
[Galaxy S I9000 General] ciaomare:
ty so muchhh:D:D

even a noob like me now had a perfect Samsung Galaxy S!!!;););) thank you to all!
[Galaxy S I9000 General] dcarr622:
Wow that's awesome, great addition! I love SGS tools I use it every time I flash a new ROM and the shortcodes are handy too.