yashsingh1/xdaforums huggingface dataset:
[Android Software Development] bncplix:
So, I wrote this block of code:

ContentValues values = new ContentValues();
values.put(BookmarkColumns.BOOKMARK, "1");
values.put(BookmarkColumns.CREATED, "1311170108");
values.put(BookmarkColumns.DATE, "1311170708");
values.put(BookmarkColumns.FAVICON, "favicon");
values.put(BookmarkColumns.TITLE, "XDA");
values.put(BookmarkColumns.URL, "http://xdaforums.com");
values.put(BookmarkColumns.VISITS, "1");
getContentResolver().insert(Browser.BOOKMARKS_URI, values);

When executed, I get no errors. Looking in the browser bookmarks section, the book mark is not there. If i click the Most Visited tab, this shows up and also has the yellow bookmark star next to it, indicating that it is a bookmark. If i click the star to unbook mark it, and click it again, then view the Bookmarks tab, it shows up.

If I use another piece of code to print out all the bookmarks found after I add it, mine shows up

Even with rebooting, they are not showing.

So I ask, why is it that they are not showing up in the bookmarks page of the browser?

I have tried everything and looked around everywhere, and nothing

Thanks!
[Android Software Development] killersnowman:
there is no sanctioned way of adding a bookmark without user input. the normal way would be a call to android.provider.Browser.saveBookmark()

public static final void saveBookmark(Context c, String title, String url) {
Intent i = new Intent(Intent.ACTION_INSERT, Browser.BOOKMARKS_URI);
i.putExtra("title", title);
i.putExtra("url", url);
c.startActivity(i);
}

other than that dealing with the DB directly would be the only way to add one. try to follow that startActivity to the dialog and see if there is an intent sent to the Browser telling it the DB was updated
[Android Software Development] bncplix:
But, even with restarting the device the book marks are not there. Surely the browser updates the database at that point.

But it also dosnt make sense because if the page was shown in the history, it has the bookmarked indicator next to it

I must do all of this in a fully transparent way. Showing that popup for each one will not do :/
[Android Software Development] killersnowman:
there are a few other columns that are interesting. 'user_entered' which can be '0' or '1'

But I think your best bet is to find the dialog that saveBookmark() calls and analyze its src
[Android Software Development] killersnowman:
Here it is addBookmark()

http://www.java2s.com/Open-Source/A...rowser/com/android/browser/Bookmarks.java.htm

It appears to be static. Why not just call this method?

static void addBookmark(Context context, ContentResolver cr, String url, String name, Bitmap thumbnail, boolean retainIcon)

------nvm i think its package restricted

From something awesome
[HD2 General] Cyber Akuma:
So, I am going to installing Android for someone on their HD2, and while I have contacts and media covered (synced with both g-mail and myphone, and all media is stored on the sdcard), I figured I will probably need to test out several roms and see how they perform, how buggy they are, etc until I find a good one.

Yes I know there are guides here for that, those are what I am using.

HOWEVER, if it doesn't work out and we decide to switch back to Windows Mobile, while I know there are stock roms to do that too, is there any way I can sort of capture an image of the contents of the phone and directly just restore that? So I don't need to restore windows mobile and THEN start restoring it to the way it was?
[HD2 General] T-Macgnolia:
I can only think of one thing that might do what you are wanting to do and that is SPB Backup.(Google it to find it)

Maybe someone else knows of something else too.
[HD2 General] Robbie P:
why not go for an SD ROM, see if you like android first, and keep WM 6.5 as is?
[HD2 General] Moon2:
+1

I agree with this, it won't affect your wm os by doing this, and you can get a feel for how it works.
[HD2 General] Cyber Akuma:
Android runs unusably slowly when off if stock sdcards
[HD2 General] Moon2:
That depends entirely on the sd card you are using.
[HD2 General] p107r0:
and also on the build used - generally Sense-ROMs tend to be slower than the non-Sense ones,

for the last 3 months I've been running AmeriCanDroid (port of CyanogenMod made especially for HD2) from painfully slow 32gB card with no problems/lags/slowdown whatsoever...
[HD2 General] vm54:
The advantage of testing Android on SD cart before to pass to Nand is you can even have more than one build installed on the card at the same time.

you just have to change the name of the android directory (without space character) and edit the config file of the build to indicate the file path.
[HTC Desire S] DJGurth:
Just got an update off HTC for update software, very small update

UK desire s
[HTC Desire S] null_815:
I have updated but see no differences,

my stock rom from 1.28.401 to 1.47.401.4 have changed hboot from 098.000 to 098.002 S-ON

Maybe(!??) the DOCKMODUS is new
[HTC Desire S] Phillmitchell:
my stock has stayed the same 1.28.401.1
[HTC Desire S] DJGurth:
Nothing has changed on mine LOL must be some prep work for a bigger update
[HTC Desire S] jortheo:
I rooted and S-off but it can't update.
[HTC Desire S] Elcs:
UK T-Mobile with unbranded Desire S.

No updates here... unless I'm being dopey/new Android user.
[HTC Desire S] korenisko:
Got it. Slovakia, orange
[HTC Desire S] ben_pyett:
Hang on a second, if the update upgrades your HBOOT to 098.002, why apply it as that version can't be S-OFF'd with AlphaRevx???:confused:
[HTC Desire S] DJGurth:
That might be the point LOL but nothing changed here
[HTC Desire S] null_815:
OF Course if i know that before.....

that this OTA-update will upgrade the HBOOT.....then i will revoke this update,

but now it is to late,...

therefore i have written that thist OTA update will upgrade HBOOT to 098.002
[HTC Desire S] slugger09:
Nothing here Orange UK branded
[HTC Desire S] bronx:
Just updated - still rooted. ;)

It's good to be up to date. :)
[HTC Desire S] craig1965:
Since this update I can't send sms messages anybody else have this problem
[HTC Desire S] bronx:
Everything is ok here. Unbranded stock desire S on three UK.

Only thing that makes me laugh is that there was a guy in here, who claimed that when You're rooted and s-offed You cannot and even shouldn't try to ota update. Lol... Some guys are clueless... :rolleyes:
[HTC Desire S] craig1965:
Lol makes me laugh too ha ha I'm using same Rom as you I can receive sms but can't send them strange
[HTC Desire S] bronx:
Sorry to hear that mate... Have You tried to send it to other number? Maybe try to send it to Yourself?
[HTC Desire S] bronx:
... or maybe You should top up Your credit :D (joke)
[HTC Desire S] korenisko:
There is probably new app (in slovakian) Režim doku, in english, "Dock mode" and from htc hub two plugins: LinkedIn and viewing Picasa albums from Gallery.

Kernel made date is June 8, 2011, before march 11.
[HTC Desire S] bronx:
Hm... No dock mode on mine also kernel is from march 12, update was two part about 700 kb in total. :/
[HTC Desire S] ben_pyett:
Stupid question? but, I'm guessing that you tried a reboot. Trying adding yourself back onto your mobile network, it could be a provider issue?

If you phone is not network unlocked you could try someone else SIM from another network, just to rule your provider out!?
[HTC Desire S] craig1965:
Ha ha I'm on contract I've fixed it now with reboot what I did notice this morning though was sms messages would only show numbers not contacts but all good now :)
[HTC Desire S] courghan:
Stock HTC Desire S on Meteor (IRL) got the update but can't see any difference.
[HTC Desire S] korenisko:
Bronx and courghan,

update is comming with 2 steps.

1. It updates only update manager

2. Check updates manualy and you get system update (35mb).

There you go... :)
[HTC Desire S] alalca:
Hi, i've the desire s rooted and -off with Alpharev, how can i update it?

;)
[HTC Desire S] DJGurth:
I can't get the 35mb one LOL
[HTC Desire S] korenisko:
:O maybe later?
[HTC Desire S] courghan:
I got 2 application updates after a manual "check now". Now it seems that HTC keyboard changed, now predictions are shown underneath the word being typed...And I can't use swiftkey at the moment
[HTC Desire S] poppy8x:
Me too. And i think my ds have gone :( have icon "!" inside triangular with robo android on monitor. :(
[HTC Desire S] alalca:
just remove the battery and power on the phone

;)
[HTC Desire S] poppy8x:
Thank you so much. It's ok :) but nothing updated on my phone rooted with S-OFF :(
[HTC Desire S] det66:
Yeah My update the phone seems to have disappeared
[HTC Desire S] jortheo:
I came to the conclusion that S-off and Clockwork means no update.
[HTC Desire S] mx5_white:
Same here... update done but no dock mode and the same kernel version. Build number is: 1.28.401.1
[HTC Desire S] PeejPeej:
the first update is around 700kb. the update following is about 35mb. Mine did show the second update automatically. maybe search manually?
[HTC Desire S] bronx:
Ooops... Maybe I am a jackass and You cannot update rooted phones then.... :D

Oh well... ;)
[HTC Desire S] Adidas108:
u can but not in that way ;)

check this

http://xdaforums.com/showpost.php?p=15800407&postcount=151

hope so that AlphaRev or some other devs can find a way to root phones with any hboot version...now only works with 0.98.0000
[HTC Desire S] poppy8x:
My phone (rooted and S-off AlphaRev) updated to hboot 0.98.1002 via OTA, but didnt update anything :)
[HTC Desire S] :
Updated to new version with no problems, evereything works, and even faster therefore :)

Unbranded Desire S with TMobile NL sim.
[HTC Desire S] Vladislavb92:
Same probleme here. Have got through two small upates till 35MB large one. Hangs on android icon with no status bar while updating. My Desire S ir S-OFFed and rooted.

I tryed to unroot the phone, get back to S-ON with ADB with on HBOOT, but nothing worked.

So it appears if you root your phone, you can forget about official FOTA forever?
[HTC Desire S] ems328i:
Did it change your Hboot? What do you have now?
[HTC Desire S] yungyeh:
After updating hboot to 0.98.1002, is it still s-off? Can you still use recovery?
[HTC Desire S] poppy8x:
Yes. Still s-off and recovery. But it cant update anything via OTA.
[HTC Desire S] GideonB234:
I have HBOOT 0.98.0002

Vodafone UK update just added bloatware.

So I regretted installing that update
[HTC Desire S] igalan:
I got the update as well. I can't see any difference. My Desire is unbranded, stock.
[HTC Desire S] ems328i:
So your hboot is unchanged?
[HTC Desire S] Elcs:
Yeah, got mine overnight and updated.

I have no idea what HBOOT is, what it was before and what it is now. I also don't know how to check :D
[HTC Desire S] DJGurth:
No

Mine hasn't no change what so ever.

it just said it was updating the update software when i went to detail view????
[HTC Desire S] courghan:
I could only get the 2 small updates so far...no sign of the larger 35mb one. I have been checking manually since last night but still all quiet.

A I mentioned I noticed that my HTC keyboard changed slightly and had to reinstall swiftkey X to et it working again.
[HTC Desire S] therecluse:
Is there a way to download the update to a PC and have a look what's in it before deciding to install it?
[HTC Desire S] acida_adica:
Power off. Volume down+power once.

HBOOT 0.98.0002 now
[HTC Desire S] heavyhms:
you can download original ota here
[HTC Desire S] igalan:
Sorry, I don't know what it was before. I haven't messed with it anyway, stock is fine for me (besides changing launcher).
[HTC Desire S] daddyh:
I couldn't update OTA neither.

Have the 98.000 HBoot and don't realy want to loose my s-off.

After downloading it hang with the triangle-sign and I had to pull out the battery.
[HTC Desire S] therecluse:
Thanks, very helpful :)
[HTC Desire S] Mankio:
I had to check manually for the update, and got all the files donwloaded and installed correctly.

The only difference I noticed is that the soft touch keys fade-in/fade-out is slower than before :p
[HTC Desire S] det66:
Is the manual install a matter of putting onto sd card and then installing zip from recovery ?
[HTC Desire S] slugger09:
Is this only for unbranded phones? Not showing anything for my Orange handset
[HTC Desire S] acida_adica:
Make a manual search
[HTC Desire S] courghan:
On my Meteor branded phone the 35mb update still doesn't show up, not even with manual "check now". I guess we just have to wait ;)
[HTC Desire S] ste_vlad:
I updated my phone, at first glance it seems the WiFi grip of death issue is fixed. Signal still drops if hand is placed on the back but doesn't seem to disconnect. Did anyone else noticed this?
[HTC Desire S] korenisko:
before a while, I copied some files from sd card to pc via wifi.

transfer speed was 1300-1450Kb. Before update: 500-900Kb.

Before update, if I was on table, wifi drops - now it not drop signal...

But, after this update, my batt lasts less. Battery drain is too big.
[HTC Desire S] slugger09:
"YOUR PHONE IS UP TO DATE, There are no updates available for your phone"

I wondering if this has to go through the operator or if its direct from HTC? If its going through Orange UK I might be lucky and get it this time next year they are so slow.
[HTC Desire S] yungyeh:
This is interesting.

Maybe we should ask HTC tech to release an update change log so we can decide if we need to update or not.

Wifi fix is good, but less battery life is terrible.

My phone is rooted so i cannot apply OTA update.

I will wait a moment now and see if anyone will create a image file to apply these update without getting the drawback in the update.
[HTC Desire S] croy25:
Got the updates today.

WiFi death grip is gone. I have to try really hard now for the signal to drop and no more disconnects. Before signal dropped like crazy.

Also, SwiftKey is working fine.

I just wish HTC would push faster the update that unlocks the phone.
[HTC Desire S] al89nut:
I'd be surprised if this has fixed the Grip of Death and they didn't say so.
[HTC Desire S] Vladislavb92:
Hey, i managed to update mine Desire S with stock RUU through PC, and i'm back with s-on. That is what i tried to achieve for a weak. Yeeeah!
[HTC Desire S] croy25:
Don't know about that, but in my case, the difference is very noticeable.
[HTC Desire S] youagain:
got the first small update. now for the 35mb one
[HTC Desire S] JasonTJC:
Gingerbreak

can anyone use gingerbreak after the update? mine seems like cant =/
[HTC Desire S] kartikk:
will it be possible for you to use the wifi analyzer app & tell me how much the signal drops if you put a hand on it?
[HTC Desire S] det66:
Notice my hboot : 6.98.1002 but no other update that I can see
[HTC Desire S] acida_adica:
I see ...the battery life is very short, the battery drain is too big :'(
[HTC Desire S] ems328i:
I am using the Saga LBC mod (S-off with AlphaRevX), if I use the recovery and flash the backup of my original rom, will I be able to get the update even though the phone will still be S-off? Is the update worth it?
[HTC Desire S] bilalovic1234:
root is dad f..ck update ... what now
[HTC Desire S] kartikk:
would it be possible for to someone tell me if this update solves or improves the wifi issue?

if it does seem to can you tell me how much the signal falls when covered with a hand?(using wifi analyzer or a similar app)
[HTC Desire S] croy25:
The lowest I got it to was -79 dBm, but I had to really try (phone lanscape, left hand wrapped around the bottom of the phone and right hand wrapped around the top of the phone).

Using it as I normally do (tried both landscape and portrait) it didn't got lower than -65 dbm.

Hope this helps you.
[HTC Desire S] kartikk:
thank you for that

so i guess the wifi problem really is solved with this update

i get a drop of 25-30dBm if i cover the phone(before update)
[HTC Desire S] slugger09:
Still nothing for Orange UK, I can only assume its the operators rolling ths out.
[HTC Desire S] croy25:
Weird! Don't think Orange RO will push an update faster than UK.
[HTC Desire S] youagain:
I have an unbranded device which was factory unlocked. Only managed to get the small update for the OTA system but not the actual system update as of yet. Been 3 days since the first one happened. I wouldn't expect Vodafone (my provider) to have control over that as I didn't obtain a network branded device from them.
[HTC Desire S] TonyLeMesmer:
I'm in the same situation.
[HTC Desire S] therecluse:
Since I don't want to loose the S-OFF hboot, I removed the firmware.zip (which contains new hboot, recovery and radio images) from the OTA update file, tweaked the updater-script to remove the firmware update, resigned the file with zipsigner and updated my device.

However, although the update worked, in so far as my device booted and started the UI, Wi-Fi wouldn't work, just showed 'error' in the settings, so I had to restore a backup.

My guess is that maybe the new radio image is expected by some of the other updated software?

In any case, this certainly suggests that some work has been done on the wi-fi, possibly to address the 'death-grip' issue.
[HTC Desire S] al89nut:
I've had an update, but how would I know if I am in this incomplete condition too? For instance, did your phone re-boot after the update?
[HTC Desire S] youagain:
It did reboot itself. The update was really small though. A couple of KB in terms of size.
[HTC Desire S] al89nut:
Again I'm too stupid to know how to tell. How do you know that, how do I check?
[HTC Desire S] youagain:
Well I don't know if there is a way to check. I just noticed the update size when I was agreeing to install it. I think the new software version which is the large update is something like 1.4.....
[HTC Desire S] slugger09:
Same name but different companies though, Orange UK are very slow with updates, Ask any previous Hero owners.
[HTC Desire S] Numline1:
Only small updates here so far...
[HTC Desire S] mjemec:
From my experience Wi-fi works better and battery drainage is smaller.
[HTC Desire S] llision:
this update is to relock the hboot???
[HTC Desire S] Phillmitchell:
This update disappears after you do a factory reset so it does not lock anything.
[HTC Desire S] PeejPeej:
Same here! so far so good
[HTC Desire S] veef13:
No update here, UK tmobile
[HTC Desire S] croy25:
Does it also revert the hboot version?
[HTC Desire S] holysniper:
Mine too, s-offed already and when tried installing the update, it hangs with a white triangle and exclaimation mark with a blue droid. :(

omg my Hboot have changed to 6.98.1002 ! but i am still s-offed. hmm..
[HTC Desire S] slugger09:
No I am thinking Everything Everywhere are holding it back, no sign of it on Orange either. Probably gonna add more crap to it.
[HTC Desire S] heavyhms:
6.98.1002 is Alpharev Hboot: you must to delete from memorycard/download the OTA update and reeboot your phone. If you want to update you must install manually radio rom and the 1.47 pre rooted firmware from rom thread
[HTC Desire S] teddy_irish:
I have after update:

SAGA PVT SHIP S-OFF RL

HBOOT-6.98.1002

RADIO-3805.06.02.03_M

eMMC-boot

Mar 10 2011, 14:58:38

Migrated from RUU_Saga_HTC_Europe_1.28.401.1_Radio_20.28b.30.080 5U_38.03.02.11_M_release (alpharevx to S-OFF and Gingerbreak 1.2 to root).

First flashed the stock ROM to enable update and lost the root.

So my phone is S-OFFed but not rooted anymore. Gingerbreak is not working anymore. Probably I will stay with this current stock ROM because I was using rooting before only to achieve an ad hoc wi-fi support. Hope that HTC wil do something about the ad hoc support in the future...
[HTC Desire S] bilalovic1234:
how can i delete this update is possible or not
[HTC Desire S] teddy_irish:
I don't think so. But have a look here - it's a quite an easy solving of the problem without a risk if you have a time to play from scratch.
[HTC Desire S] mjemec:
This is amazing.
[HTC Desire S] ben_pyett:
Wow....that is impressive.....do you have mobile data on? auto sync? stock battery?
[HTC Desire S] mjemec:
Stock battery, mobile data is on most of the time. With the same usage I had 25% left after 2 days before the update.
[HTC Desire S] chris5s:
Why? This is a result of the update?

Sent from my HTC Desire S
[HTC Desire S] al89nut:
Kittens are amazing too.

What do they have to do with the update? What does this have to do with the update? Help us out.
[HTC Desire S] _z_:
Wifi death grip is still there for me but i don't loose all of the signal as often as before the update.
[HTC Desire S] holysniper:
so is it worth the effort to do the update? :p
[HTC Desire S] djkac:
Hello could you tell me how to upgrade this soft? I have stock soft branded with 3ireland, no root, everything original. Previously I had Samsung galaxy spica and that phone didn't have any secrets for me but with this one I'm beginer. Thank you, Cheers!
[HTC Desire S] faraaz:
I got the update three days ago. Unbranded Desire S in the Netherlands. The first update was for updating some apps & the second changed the hboot...
[HTC Desire S] yungyeh:
OK then, it is really amazing. Now I am kinda eager to get that update.

Unfortunately I can't use OTA because I've s-off and rooted my phone.

Is there anyone who kindly teach me how to manually get the update on a s-off, rooted stock ROM (I have Europe 1.28) without wiping all data? i.e. apply update only without losing data?

Thanks in advance!
[HTC Desire S] craig1965:
If you look here

http://xdaforums.com/showthread.php?t=1183684

There is a list of prerooted stock roms
[HTC Desire S] yungyeh:
Yes I've looked into that thread but I don't think it answers my question.

I believe that flashing these pre-rooted ROM would require fully wiping my data out unless I misunderstand something. If the OTA update can do such without affecting my data (apps, account settings, etc.), why don't we look for an solution to apply the update in an easier way?
[HTC Desire S] kartikk:
you can backup your data & apps using titanium backup & then add your accounts manualy
[HTC Desire S] harryjan:
Hi all,

I had an OTA update this morning on my Orange Branded Desire S,

It's been updated to version 1.47.61.1 but I can't seem to find any mention of this version anywhere else, any ideas?
[HTC Desire S] looktall:
i've been checking for OTA updates since this thread began and tonight there was finally an update available (on telstra).

the update details:

so next to useless.
[HTC Desire S] holysniper:
there is 1 more update, 30+++mb ;)
[HTC Desire S] djkac:
3ireland still no update... ;(
[HTC Desire S] looktall:
so i've heard, but nothing here yet.
[HTC Desire S] click9666:
I just got official software update from HTC server today.it update from v1.3.... to 1.4..... And I can feel what different.Google + just working in my county (Cambodia) and gps faster...

Sent from my HTC Desire S
[HTC Desire S] click9666:
Yes it is 36mb.

Sent from my HTC Desire S
[HTC Desire S] al89nut:
I had the first update, but not the second. Mysterious. UK unbranded.
[HTC Desire S] marsexpress:
When's this gonna come to O2 UK Desire S :-(
[HTC Desire S] podycust:
Same here!
[HTC Desire S] Marble UK:
Ditto, UK unbranded with 3. Doesn't seem to be released in the UK at all.
[HTC Desire S] youagain:
Same here. UK unbranded with Voda
[HTC Desire S] pompil:
update

i got 2 small update today

and then the 35mb one

when try to install i got android with yellow exclamation mark

there is a way to save the update to the computer ?
[HTC Desire S] al89nut:
Can't help, but where are you located that you got both updates? In the UK?
[HTC Desire S] hifigecko:
me too. Is there anyone know how to fix this?
[HTC Desire S] pompil:
im in israel but i dont know from where the phon form i think for india