yashsingh1/xdaforums huggingface dataset:
[Android Software Development] Bandeiri:
Hello All,

I'm developing a C++ application for the android that needs to talk

with a server whenever there is an internet connection available. If

the internet connection is cut-off the application needs to "sleep" in

order to reduce the battery consumption. If the internet connection is

back the application should "awake".

I'm searching for any kind of event notification available for C++. I

don't want to use pooling.

I know that in java we receive these notifications from the

connectivity service.Can we trap them natively?

Thanks,

Carlos B.
[HD2 General] vagoxx:
Lo all.

got my hd2 wwe rom(don't want to change on ita), but i have a question

when i use the world card mobile app, soon after the caption, i have the possibility to change the recognition language , but only english (uk)(all) (american)

ther's a way to put italian too? or what can i do ?

sry for my bad english

tx

Vago
[Hero CDMA General] pitmanr2003:
it gets to writing signiture and says it cant update this rom. is there a newer ruu from sprint. it used to work till i got my replacement phone in.
[Hero CDMA General] tyrnight:
I had same issue..

what I did was (and this only worked cuz I had this already done) Rooted the phone with RA 1.5.2 recovery and flashed Fresh 1.0

once I got it to successfully load into fresh.. then I ran the RUU 1.29 and it worked..
[Hero CDMA General] pitmanr2003:
still cant get it to let me un root it. it says that it is the wrong rom to do it. is there a new ruu
[Hero CDMA General] flipzmode:
Have you tried flashing while in quick boot?
[Hero CDMA General] pitmanr2003:
sorry to be such a newb. but what is quick boot and how do i get to it
[Hero CDMA General] flipzmode:
Power your phone off. Hold the volume down button and power it on. You will get a menu and one of the options is quick boot (I think it's volume up but I'm not positive).

With it hooked up to your computer, check device manager in windows and make sure you don't have any missing phone drivers. If you don't then run the RUU.
[Hero CDMA General] pitmanr2003:
ok trying that now. and no errors with drivers
[Hero CDMA General] pitmanr2003:
still doesnt work as soon as it gets to updating signature it stops. i dont get it. i have done it a million times with no problems. now it wont work
[Hero CDMA General] FoxRacR17:
do you have "usb debugging" turn OFF?
[Hero CDMA General] datboy1212:
I can confirm testing it with debugging off it still doesn't work. I've tried a million times as well, same problem. I'm not sure if we have to flash the stock rom image before doing so, but in flashrec it only gives me the option of backing up image before actually flashing one and I get an error "Backup Failed: Could not run command" not sure if that has anything to do with it
[Hero CDMA General] mulcahyd:
RUU 1.29 CDMA Sprint

Here's how I got it to work. I reflashed mine couple weeks ago with stock sprint rom (orginal factory state). You need to have HTC sync connected first. Once you establish connection than run RUU 1.29. The hero will drp connection than automatically re-install drivers than it will continue to load the original rom from sprint.
[Hero CDMA General] flipzmode:
I was working with someone who was having an issue flashing the RUU (failing at checking license). I took him in to fastboot and we literally tried manually running the restore step by step. Basically what the RUU does but manually. And it would still fail at the license. It wasn't a driver issue.

But your fix will work for people whose RUU says it can't find the phone after it reboots it.
[Hero CDMA General] VinceOB:
So how do we get it to work? I get the same error, unfortunately. I was thinking about trying your hero ruu update that you put out...
[Hero CDMA General] flipzmode:
The one on ppcgeeks? Heh I need to pull that. I used it earlier and found that after using it I had no access to the /data folder. Not huge deal if you are using it to take your phone back to Sprint or something, but no good if you are wanting to use it. ;) I need to fix the script but am swamped right now.

What's your reason for wanting to RUU? Is your phone "with google" branded?
[Hero CDMA General] VinceOB:
I have the "With Google" branding. I wanted too revert back and get it swapped out. I also wanted to reflash Fresh to it...
[Hero CDMA General] flipzmode:
So of the people that have been having the issue where it fails at the licensing issue and gives you: Error[140]: Bootloader Version Error, all the ones I've talked to (only a couple of you) have had "with google" phones. Although all have said that they were able to RUU before and can't anymore.

If you strictly want to return to stock so that you can return the phone then I can help you. PM me.
[Hero CDMA General] VinceOB:
I just dont understand why its sluggish. It was never sluggish before. I figure by reverting back to stock and then re-freshing it, it should be ok.
[Hero CDMA General] flipzmode:
You can try just clearing your cache (my app installer in my sig can help you do that) and then flashing fresh on top of itself to see if that helps the speed issue.
[Hero CDMA General] VinceOB:
I'll give it a shot. I do have a nand backup of my original install before I installed Fresh...I did that prior and then I installed Fresh again...
[Hero CDMA General] VinceOB:
Didnt work, still sluggish. I did a wipe through the recovery menu so we'll see what happens.
[General Questions and Answers] devilman_396:
Who can say me how to make a wm 6.5 rom?
[General Questions and Answers] inselstaat:
I'm sorry, but use the search function...

You need a kitchen, e.g. "Ervius visual kitchen". There are some tutorials here so you can learn how to use it.
[General Questions and Answers] devilman_396:
Ok, thank you.
[General Questions and Answers] inselstaat:
Maybe you could tell me for which device and in which language you want to create a rom.. Starting without any information is (i think) not so easy.

My device is a topaz, so i could help you if you have a topaz or rhodium..

Inselstaat
[myTouch 3G, Magic General] Preeat:
Hi everyone,

I'm going to be flashing the myHero or Cyanognen ROM on my HTC Magic (32A) soon and I was wondering, before I do that, how would I backup the default ringtones/alerts/alarms on the original ROM that came on my phone? I'd like to keep all my sound notifications to be the same whenever I flash the new ROM, just because I've grown used to them now and like them.
[myTouch 3G, Magic General] nhvoltagenh:
your answer Sashimi

it saves or can save tons of settings.

if you need more help with this send me a PM
[myTouch 3G, Magic General] st0kes:
Create a folder structure like this in your SD card:

\media\audio\ringtones

Copy the ringtones in there, and they will automatically be availble when you flash another rom.

You can do the same thing for \media\audio\notifications and \media\audio\alarms.

You can get the stock ones from \system\media\audio\ringtones. I would use Astro to do the file copy (from Android Market)
[myTouch 3G, Magic General] Preeat:
Thanks guys! Appreciate the help a lot.
[Android Software Development] gwydionwaters:
so i think this should be the right area of the forums, if not correct me.

i am interested in androids power management, i am trying out the rom sensehero 1.4. using one kernel version, as there are various kernel patches available, upon pressing the menu key while the display is asleep there is significant lag waking up. probably anywhere from 4 - 10 seconds depending on circumstances i am unaware of. i do notice that when the device is plugged in to usb power there is no lag at all waking the display. so i am wondering if there is some cpu downscaling in effect on battery perhaps?

as i mentioned the kernel patches, using a different kernel patch, bfs 230 - the one i'm using is bfs 304, there is no lag on battery or usb. the reason i don't just use that one is due to issues with wifi/gps/and more with that kernel on the dream. i think it is for mytouch perhaps. is there somewhere i can look in the boot image or system files somewhere? on my pc hal is used, but i am sure android uses something else.
[HD2 General] ReX83:
I've 1.43 ROM WWE.

When I want to "Update"/refresh my Facebook account in Manila (from Contact -> All People -> "Update and Events") my Leo freezes with a never ending "Updating..." status.

Manila become too slow and the only way to use the phone is to make a restart.

So I must disable auto-update elsewhere I had to restart my phone every time it updates.

The strange thing is that the update works because on next restart I can see new profiles photos and new friends updates.

Do 1.48 and 1.61 ROM solve this bug?

Another strange thing is that I can see my friends Facebook album through Manila Album software (it's fast and work very well) but I can't see my albums with this utility...

Also when I upload my photos via Manila Album I can't add a label/caption to them and the only way to do this is to use m.facebook.com from Opera. Really annoying...

Thank you.
[Android Software Development] binarybulge:
Does anyone know how to partition the sdcard.img used by the Android SDK emulator? You can't get a lot of ROMs running without Ext and Swap partitions. I've been fussing around with Yaffs2 on Ubuntu and had some success, but I'm not sure exactly how to accomplish this.
[HD2 General] Highl1:
After I added my GMail account, I noticed very slow boot time. Sense needs around minute-two to boot, and the device is slow for another few minutes, and during that time it's almost unusable. I setup both Exchange and GMail to store their attachments on microSD card, but that didn't help speed up the process. When there is only Exchange account present, booting is fast, and device is usable after 30-45 secs.

Does anyone have similar problem? I need both Exchange and GMail for my work, and on both I have a lot of e-mails (around 2-3 thousand) so downloading only last e-mails is not a solution for me.

If someone figured out how to put all e-mails on microSD card, that would be great.

Thanks in advance
[Hero, G2 Touch General] rolltrain:
My gmail account won't show attachments that I receive on my hero? Anyone have any advice on how to fix this? Thanks in advance for your help.

-Roll
[General Questions and Answers] xxSAKISxx:
Hi people.nice to become a member of this cool comunity.i have a question.i download before some time the TF3D Beta 2 to my X1 and i have to say that is pretty cool.and very easy to install.is just 1 cab.file.

I have see the new HTC HD 2 and i like the interface to mutch with the weather wiget under the cloak and the color command line.

My question is if there is a cab file with this new HTC HD 2 interface that i can download and install to my X1 so i an have it?

And something else.With the TF3D bETA 2 when i turn in landscape mode the screen is half and not full.

I hope someone give me some elp here and i hope to understand my question.tnx guys. and keep the good work.
[Touch Pro2, Tilt 2 Windows Mobile General] dahauss:
Does anyone know if there is a fix for bluetooth where when I press HANGUP on EITHER of my 2 bluetooth devices (I have a garmin nuvi with bluetooth speakerphone and also a new bluetooth earpiece) the phone doesnt hang up? I have to press hangup on my phone....

HELP!

also are there any fixes for getting the phone book transferring properly for devices that support it? IE my NUVI will read the phonebook but not 100% correct...
[Hero, G2 Touch Android Development] screw-you-guys:
i watched lots of videos about x10 and i want somethin like xperia x10 interface on my hero! does anybody know something about X10's ROM on hero? or some applications (like diler)?
[Hero, G2 Touch Android Development] kendong2:
i'd guess you have to wait at least until the x10 is on the market...
[Hero, G2 Touch Android Development] RaiderX303:
the hero will definitelly not have the processing power for the X10 ui, the X10 is running a snapdragon cpu
[Hero, G2 Touch Android Development] gyounut:
i think it will work they can develop maybe a lite version of this interface :DD
[Hero, G2 Touch Android Development] craig0r:
i wouldn't hold my breath.
[Hero, G2 Touch Android Development] tbaker077:
I just want the music player and maybe the dialer app and that is it. Could those work on the Hero or any device without Snapdragon?
[Hero, G2 Touch Android Development] saf100792:
i doubt it...were most likely gonna need that cpu to power that ui
[Hero, G2 Touch Android Development] tbaker077:
Again what about for the music player?
[Hero, G2 Touch Android Development] knightnz:
Someone would need to get the source for the proprietary Sony/Ericsson application(s) (good luck with that!) and spend the time adapting it to the Hero hardware (incl. screen res, 480 x 854 Vs 320x480, and Qualcomm 528Mhz Vs Snapdragon 1Ghz). Don't hold your breath. Try Meridian or something. Or buy an X10 when it turns up.
[Hero, G2 Touch Android Development] tbaker077:
I thought this was going to be a bit easier than what you mentioned, but thanks.
[Hero, G2 Touch Android Development] mancsoulja:
Thats wot all the noobs said when people wanted sence 2.5 on the older devices lol now its as stable as on the HD 2, the biggest problem i can see is that the x10 has a slightly diff resolution ...... :rolleyes:
[Hero, G2 Touch Android Development] LeeDroid:
X10 Launch

The

X10

looks set to launch at the end of

Q1 (March) 2010

on

Orange UK!

;)

By then Android roms should be fairly universal and "portable", as far as i know there is no excessive memory or hardware spec demand from the X10 version of android but the 1Ghz Snapdragon processor will give it a hell of a boost.... Only time will tell!! :D
[Hero, G2 Touch Android Development] RaiderX303:
the difference this time is that the X10 uses the 1GHz snapdragon whereas both the hero and the g1 use the MSM720X ARM6 cpu so the X10 has around 3x more cpu power.
[Hero, G2 Touch Android Development] tbaker077:
Well isn't the HD2 the only device so far with Sense 2.5, and doesn't that also have a 1ghz snapdragon cpu? Unless HTC has the intention for Sense to run their non 1ghz device, I don't see how this is too much different?
[Hero, G2 Touch Android Development] CitizenLee:
Hmm, surely the x3 more cpu power isn't going to be used soley to run a few more UI bells and whistles?

Give it time for the X10 ROM to come out and I'm sure someone will be able to cook something special up for us ;)

Until then we can only speculate on will it / won't it work.
[Hero, G2 Touch Android Development] RaiderX303:
the sense 2.5 on the HD2 is winmo and is already running on non-1GHz phones as its designed to be universal, the X10 interface is designed specifically for the X10 and if noone has seen the videos of the X10, its rather sluggish already with the 1GHz cpu
[Hero, G2 Touch Android Development] tbaker077:
Valid point, but you also have to remember that the X10 in those videos are still at a beta stage and they are still trying to improve it more, at least that what I keep reading.
[Hero, G2 Touch Android Development] ignorance587:
Google has an something called an open handset alliance that all the companies making google phones(ie htc samsung sony...) had to sign stating that the software versions are open and portlable to developers. I mean my rom on my touch pro 2 is an hd2 rom thats a snapdragon phone and my tp2 isn't. We'll see the sony interface eventually on other phones the question is will we ever see a smooth one without a snapdragon to back it.
[G1 General] big_d093:
RA Recovery image has an option Nandroid back + ext back up..if i wipe my extension..does anyone know how to restore your extension after full wipe?? Is that even possible??
[G1 General] AdrianK:
You can back up your ext partition yourself:

mkdir /sdcard/ext

cp /system/sd/* /sdcard/ext/

and to restore (do this in the recovery console btw..)

mount -o rw /dev/block/mmcblk0p2 /system/sd

rm -r /system/sd/*

mount /sdcard

cp /sdcard/ext/* /system/sd/

Then all you need to do is reboot :)
[G1 General] big_d093:
Thanks for the help
[G1 General] big_d093:
BTW the "*"..what would i put in to replace the *
[G1 General] jamesrdorn:
The asterisk (*) is used as a wildcard in Unix/Linux (Android was built on Linux), so in this case it means "Anything"

cp /source/directory/* /destination/directory/

This command would simply copy "Anything" within the source directory to the destination directory.
[HD2 General] DAMIEN123_666:
hi all in the registry can some one list all the "P?" files for me, i.e.

p1

p2

p3 = panoramic

p4

p5

p6 = Burst mode (i think)**

p7 =

p8 = Sports mode (i think)**

p9 = Video Share

p10 = GPS Photo

what are the rest?

please confirm ** ones
[HD2 General] pdgpereira:
P7=Picture theme

If you go to HKLM\Software\HTC\Camera\P7 and change Enable dword from 0 to 1, you will get an extra icon on Camera capture Mode named "Picture Theme". If you select it you get this error message "Unable to switch to Picture Theme Capture mode. Unable to load the default template."

In my opinion, if some HD device has this mode enabled and working, would probably be just a matter of copying the files to the correct folder.
[HD2 General] pdgpereira:
P8=Sports

Use the above method to enable this mode. you get an extra "speedy guy" icon on the "Capture Mode" menu.

You can actually use this mode but can't take any pictures. You can choose capture speed - slow, moderate, fast - and how many snapshots you want - 3,5,7,10 - but the camera doesn't really take more than one at a time. there is no option to change resolution.
[HD2 General] pdgpereira:
P6=Burst.

Similar to sports but is supposed to take 30 shots in a row (shows a 1/30 on the lower right side of the photo frame). You get this message if you try to take a pic: "Unable to capture photo. File access was denied."
[HD2 General] meegulthwarp:
1=Photo (default)

2=Video (default)

3=Panorama (default)

4=MMS Video (default, can't seem to disable it on my phone. ok, found how now)

5=Contacts Picture (default)

6=Burst (not working)

7=Picture Theme (not working)

8=Sports Mode (not working)

9=Video Share

10=GPS Photo
[HD2 General] DAMIEN123_666:
where's the camera config or ini file,
[HD2 General] meegulthwarp:
config.ini in the Windows dir.
[HD2 General] pdgpereira:
Might have to uncheck "hide system files" on your explorer.
[HD2 General] DAMIEN123_666:
what is the exact Name of the file

thank you
[HD2 General] meegulthwarp:
config.ini in the Windows directory.
[HD2 General] warnold007:
Bump up this topic!

We need a way to take continuous shots.

Anyone found a way to make burst mode or sports mode to work on our HD2?

They were able to make this work by setting enable=1 in registry for older HTC phones. Why not HD2?
[HD2 General] warnold007:
No news on this one?
[HD2 General] Phenomenon:
Anything new on this? I just made a post thinking this was suppose to work and it obviously doesn't look like it does. So why is the option there?
[HD2 General] fazi78:
still nothing?
[HD2 General] unque1:
did anyone find out if they can get this working
[HD2 General] ivanobich:
What I've done is to load Leon ROM and all these modes are working, so there is no a hardware problem :)

I copied the registry HTC\Camera and the templates directory, but after reloading the rom I need (Beast 5), I'm not able to fix it.

I did recorded the new registry, used the leo camera 6_26_20121425.cab and the same results, the anoying message :mad:

Keep investigating ...
[HD2 General] sumflipnol:
Maybe that "Leon ROM" was using the Holy Grail of Camera Drivers.:confused::p

I have yet to see the HD2 use continuous capture (which is quite sad) and I hope HTC fixes its camera drivers et all so we can finally use it to its full capabilities!
[HD2 General] arkon1:
Hello boys and girls

for the templates i have a solution.

1. you enable the theme in the registry

2. you rename 1 (any kind you want) from the templates in "Default-Template.gif" (without quote ;) ) and

copy it to the \windows folder.

3. copy the gifs to the folder my documents\templates or Storage Card\my documents\templates (if the folder doesn't exits please create it).

3a. in germany is the name of the folder "vorlagen".

(Please be sure when you don't have a www- or ge-rom that you move it to the correct folder.)

4. enable in the camera

a) the theme

and

b) if you move the gifs to the storage card activate it in the camera-options last side.

But remember only 16 themes are visible.

The resolution is only 640x480.

mfg

Arkon1
[HD2 General] Smartphoner:
Does that mean that if u add these registry codes; optional icons will appear in the camera mode for more settings?
[HD2 General] arkon1:
Of course sevoflurane

You'll get 16 themes for our HD2

1. You edit with a reg-editor to HKLM\Software\HTC\Camera\P7 and change Enable dword from 0 to 1

2. you rename 1 (any kind you want) from the templates in "Default-Template.gif" (without quotes ) and copy it to the \windows folder.

3. copy the gifs to the folder my documents\templates or Storage Card\my documents\templates (if the folder doesn't exits please create it).

3a. in germany is the name of the folder "vorlagen".

(Please be sure when you don't have a www- or ge-rom that you move it to the correct folder.)

4. enable in the camera

a) the theme

and

b) if you move the gifs to the storage card activate it in the camera-options last page.

But remember only 16 themes are visible.

The resolution is only 640x480.

here is the place in the registry

you receive a new item in the menu from the camera

also a new item... :)

or .....

when you klick in camera options

in action

in action the second

here are all the new themes

Have fun with this new themes

My girlfriend loves it.

mfg

Arkon1
[HD2 General] arkon1:
I made 2 cab files for the themes

One for German HD2s

and

One for WWW HD2s

Please be sure after you install the cab-file that you reset your device.

Also when you place your themes to the storage card that you activate it in the

camera options last page templates folder main + card.

At this page you will see some photos and tips

And don't forget only 16 themes are visible in the menue.

That's means you have to decide which from the 25 themes you want.

mfg

Arkon1
[HD2 General] bobannesley:
That was a wonderful thing works great

Thank you
[HD2 General] arkon1:
I was pleased that's work.

bobannesley which rom do you have?

Language?

romimage?

And don't forget only 16 themes are visible in the menue.

That's means you have to decide which from the 25 themes you want.

mfg

Arkon1
[Touch HD Windows Mobile ROM Development] almshary:
hi

Please help me to get the official ROM for htc HD any build (28008 or 28009 or 28014, because this ROM included the arabic.

Thanks
[Touch HD Windows Mobile ROM Development] xmsnx:
All official roms here: http://wiki.xda-developers.com/index.php?pagename=HTC_Blackstone_Ship_exe

There are no Official WM6.5 roms for the HD, yet.
[Touch HD Windows Mobile ROM Development] Fallen Spartan:
As stated above, follow link for stock roms. HTC have stated that wm6.5 will not be released for the HD, so I'm not sure what official rom your talking about
[Touch HD Windows Mobile ROM Development] tanzi:
I am new and have just bought an unlocked HD running windows 6.1 and really want to have windows 6.5 on it with one of the Roms from here, I have searched and searched on instructions how to do this from scratch but I have read so much that I just don't know where to start, could someone please point me in the right direction, as I really don't know where to start, sorry if I appear to be stupid but everything I have read seems so technical and I would like to understand what I am reading, thank you so much... :confused:
[Touch HD Windows Mobile ROM Development] krs360:
Welcome to the wonderful world of Blackstone!

Have a read of the Dummies Guide:- http://xdaforums.com/showthread.php?t=505377

Once you get passed all the technical mumbo jumbo, it's really not that complicated. Good luck!
[Touch HD Windows Mobile ROM Development] ClydeB1:
As krs360 says, it sounds very technical but it is really straight forward. Just read and follow each step.

You can also get more information regarding the various components of the flash files here