[Q] MS youtube plugin for non En-US locale - Windows Phone 7 Development and Hacking

Is there anybody who can open up the youtube xap and recompile it to make it work for embedded videos when the locale setting is not set to en-us, hope this was being fixed in nodo but its not...
Thanks a lot, i found some things about youtube in the registry as well.

Only Display Language, Region Format, and Browser & Search Language need to be set to En-US in order to make YouTube embeddings work in the browser (and it only works in actual IE, not any third party implementations).
System Locale can be set to anything, and as long as the above is set, it will work.

I know how it works and does not work, i ment regional format. Im sick and tired of manually reformatting every number i type in manually on my phone because its on US it just looks stupid... I hope someone can recompile it so it will work on all region formattings. I need the local settings for daily use. This issue should not exist in the first place and is terribly unprofessional.

Related

File association question/problem.

Hi all, not sure if this is really in the right section but I'll ask away regardless.
I recent installed Black onto my Imate (thanks for the ROM and awesome info provided in this forum!) and also installed a 3rd party video player. I have since removed the vid player (it was crap) but all of the files that it associated itself with (mp3,avi ect...) are now not associated with anything and wont open unless I manually open them in the default players.
Is there a way to re-associate files with specific programs in the Black ROM?
Cheers.
Droopz said:
Hi all, not sure if this is really in the right section but I'll ask away regardless.
I recent installed Black onto my Imate (thanks for the ROM and awesome info provided in this forum!) and also installed a 3rd party video player. I have since removed the vid player (it was crap) but all of the files that it associated itself with (mp3,avi ect...) are now not associated with anything and wont open unless I manually open them in the default players.
Is there a way to re-associate files with specific programs in the Black ROM?
Cheers.
Click to expand...
Click to collapse
Sktools allows you to change file associations. http://www.pocketgear.com/software_detail.asp?id=14288
Thanks mate. You don't know of a freeware program that might have that same bit of fuctionality at all?
OK now I feel really dumb. But the "File Types" Menu in that program only shows the "Backup Deleted Entries" option and nothing hat is listed in the help files.

Removing Bing as default search engine and back to Google

You might notice that if we input wrong url in the default internet application, then it'll take us to Bing search.. Yess, its Bing, instead of Google
Do you have any idea how to change its default behaviour to use google as the default?
I'm using Desire bought in Germany.. Have made a search and all are directing to editing some sort of registry which I don't think that's apply for Android device...
Thanks in advance..
thats very strange, ive never heard of bing on an android phone as default as it should be google. If you have location enabled does ite ven change to bing.country or does it always default to bing.com not bing.it bing.co.uk etc?
I dont think there is a option anywhere in the settings to do this and if you wish to change it you will need to root.
If you root and install an unbranded non vodafone rom on i bet it will work.
Hi Alex, thanks for comment.
You can try this on u'r desire:
- Type wrong internet address on the url form
- It will bring you to Bing search (instead of google), which from there it will give lists of potentially correct url...
Mine is unbranded since I bought from amazon.de, so I'm very sure all Desire behaves like this..
Pity if its true that we can change it :-(
HTC Desire + XDA Inhouse App
Odd, if I do a URL wrong it just comes up with the Android "Web page not available" site.
It was baked into the ROM by your provider. The only way to remove it is to root your phone and install a generic ROM.

[XAP] [Source] IDswitch

Just picked up a request from the DEV IDEA POOL
danchar4 said:
I have a very simple app request to target unlocked phones. Basically a one button switch between primary LiveID accounts based on sensboston's work: http://forum.xda-developers.com/showthread.php?t=1335240
1. Launch app
2. app asks for email address
3. user types in email address or selects email from list of last-used addresses
4. app asks "Are you sure?" with suitable warning
5. app writes selected email address to following regkeys:
Code:
[HKCU\Software\Microsoft\ActiveSync\Partners\{B2830118-7BC6-4A74-8C9A-3D8B9CEF88E0}]
"Email"[email protected]
"User"[email protected]
[HKCU\Software\Microsoft\IdentityCRL\Environment\Production]
"DefaultID"[email protected]
6. app automatically reboots phone
Simple enough, right?
Click to expand...
Click to collapse
Here it is!
Because I made no test on myself please give me feedback if the registry values get applied
ne0cr0n, unfortunately, "my" method has some important cons (you should list 'em) - after that change you'll be not able to upload pictures to SkyDrive, also some accounts like Twitter will be non-functional I've tried to find some workaround but without success...
sensboston said:
ne0cr0n, unfortunately, "my" method has some important cons (you should list 'em) - after that change you'll be not able to upload pictures to SkyDrive, also some accounts like Twitter will be non-functional I've tried to find some workaround but without success...
Click to expand...
Click to collapse
but you can revert it back, right?
The new LiveID could be associated to a different market zone, which you could use to buy some apps with your correct credit card infos, then revert back to your main LiveID, and regain all regular functionalities like auto uploads to skydrive, twitter integration, etc.
Am I right?
http://forum.xda-developers.com/showthread.php?p=25500576#post25500576
kevyn82 said:
Am I right?
Click to expand...
Click to collapse
I'm so sorry but I can't confirm - just never tested this way. I've researched that hack 'cause damn Verizon blocked and deleted my very-very old email ( @verizon.net) what I've used during 11 years, and also as my LiveID email.
Wow dude thanks for writing the app so quickly. What is the etiquette for sharing apps? Are you supposed to share source code too? I don't want to be rude by asking you for the source
I don't use twitter, but I was able to upload a photo to skydrive just fine after swapping LiveID's. Steps:
reset my phone with my own liveID
download bunch of apps from appstore
dev unlock/interop, etc
manually edit registry and change to my wife's LiveID (she has zunepass on her ID which is why I wanted to swap to hers)
reboot phone
take picture
upload to skydrive
login to skydrive app and see that picture is there on *my* skydrive account, not my wife's
So skydrive integration with picture hub/camera obviously stored my liveID and credentials somewhere other than the regkeys I edited. Most likely Twitter is the same way.
I presume the credential data is stored encrypted in some weird GUID key with no obvious pattern. Too bad there is no regmon/procmon tool like on Big windows, otherwise I could figure it out in a few seconds... Although somehow I doubt that you can use provxml to import export those keys to re-write encrypted credentials. That would be a pretty bad exploit.
So I ran IDSwitch and it gave me the error "no root access". Hmm. So I went into WP7 Root tools and switched on "trusted" for the app.
So a pre-requisite for running the app is to have WP7 root tools? I'm kinda new at this so perhaps that is an assumption of any app that is going to do interop/native stuff? In order to get it to work you have to set it to "trusted"?
Anyway the app let me type in the new liveID and rebooted the phone, but upon booting up, it appears that the old LiveID is still there in the 3 registry settings. I ran it a second time and the app remembered the address I typed in so thats cool. BUt again after rebooting, it failed to modify the registry entries.
Can you post up a debug version with some breakpoints or console spew? I could try to attach a debugger on my end (not sure I know how to do that, but I can try to figure it out)
sensboston said:
ne0cr0n, unfortunately, "my" method has some important cons (you should list 'em) - after that change you'll be not able to upload pictures to SkyDrive, also some accounts like Twitter will be non-functional I've tried to find some workaround but without success...
Click to expand...
Click to collapse
Thanks for the info. I will add a warning and how to use message when launching the app for the first time.
danchar4 said:
Wow dude thanks for writing the app so quickly. What is the etiquette for sharing apps? Are you supposed to share source code too? I don't want to be rude by asking you for the source
Click to expand...
Click to collapse
I will do that, but the code is kind of ugly xD
danchar4 said:
Can you post up a debug version with some breakpoints or console spew? I could try to attach a debugger on my end (not sure I know how to do that, but I can try to figure it out)
Click to expand...
Click to collapse
I uploaded the source. Should make things much easier
I tried it on Samsung Focus Mango updated with WP7 Root Tools. Even though it reboots but it does not change the primary id. After reboot when I open the app again, it shows the primary id as the old id and not the id to which I wanted to switch.
Found the bug. I used the content from to current ID textbox not the new ID textbox -.-
I guess nobody tested it or I am getting a different result. Here is what happens :
1. ID A which is primary ID in my Account with No CC.
2. I switch from ID A to ID B. ID B does not have a CC.
3. When I access Marketplace, The region used is according to ID B.
4. Next I Move to buy an App and it asks me to signin with ID A instead of ID B.
5. For free apps, I can easily download it without going to login page ever which is pretty obvious.
Today Evening I will try out to buy app by signing with ID A when it sends me to login page of ID B by first sigining out and then signing again.
Few things I noticed :
1. Facebook, Twitter, Skydrive all was working.
2. It takes a while for the OS to realize the ID is new and hence may take around a minute or more to change marketplace.
3. I downloaded a free app with the swtched id and used it without any issues.
4. I even updated a free App which was bought using the primary ID with the new ID.
5. Email ID A stopped working. It did not show any email nor it gave an error of wrong password which is pretty odd.
My Thoughts :
1. This will be useful for parents who have kids carrying a Windows Phone who do not want to give them credit card access but using this they might buy apps for kids.
2. I still need to test but this will work for IDs which are in same region. For example I have a US id to which if I want to add a CC, the country is fixed and hence I cannot use an Indian CC with it.
wpxbox said:
1. Facebook, Twitter, Skydrive all was working.
Click to expand...
Click to collapse
Try to share pictures from camera to SkyDrive...
wpxbox said:
2. It takes a while for the OS to realize the ID is new and hence may take around a minute or more to change marketplace.
Click to expand...
Click to collapse
Try to reboot after LiveID change.
Just tried it out and it worked. The file was uploaded to Skydrive account of the primary Live id.
Wait... What "primary Live id" and what are you tried? New one or the old one? Have you tried:
- change LiveID to new one
- reboot handsets
- go to pictures hub and share picture to the SkyDrive ?
When I said Primary Live Id I mean the ID with which the phone was configured.
1.Phone configured with ID A
2. Change to ID B using the app, Reboot
3. Upload to Skydrive and it was stored in ID A Skydrive Account.
He-he, it's exactly what I mean by "not working". For example if you change first (original) LiveID email to the new one (as I had to do), you'll be not able to upload pictures to SkyDrive, and can't login to the Twitter account. So please do not confuse people.
sensboston said:
He-he, it's exactly what I mean by "not working". For example if you change first (original) LiveID email to the new one (as I had to do), you'll be not able to upload pictures to SkyDrive, and can't login to the Twitter account. So please do not confuse people.
Click to expand...
Click to collapse
Oh Ok I understand now what you said by breaking. The new ID cannot be used for Skydrive or Facebook or Twitter etc in short, anything connected with old Live id.
Basically its not a true switcher and can only be used to buy apps with the new account connected with CC
Hi all
The whole idea of this app is JUST to let you assign an account that will give u the ability to buy apps from marketplace using CC, if your original ID have problem with adding CC information. So it is not to change you ID permanently. You can read my thread if u want. Anyway thanks op for making the app.
I can confirm this works. Just bought an app using a different account and it works. Editing a video on this so will be up in couple of hours.
As promised, Here the link to the video we made http://youtu.be/2H7dr7ZzJZs

[Q] [WM6][SENSE]Accuweather data not available anymore ?

Hi guys,
I'm still happily using WM 6.5.3 and HTC Sense 2.5 on my HD2, but last week, my weather tab suddenly stopped updating anything.
Now I just get an "An error occured while trying to download weather Data. Retry ?" message (or it should read like that in English, provided I just freely translated it from French LOL )
Have Accuweather recently changed their communication protocol with portable devices or changed their server address, so the weather tab can't get data from them anymore ?
Does anyobody know what to look for, and what to replace it with ?
It could be anything, from a registry value to a an XML or SQL file, or maybe hardcoded inside an LUA script, DLL or even an exe program ?
If anybody has any hint about what I should look for (keyword, weather server address, etc.), please help !
Unless it's just my ROM going wrong... But all the rest is working OK otherwise, including the stocks tabs that still gets updated.
Thanks for any help !
same here. but the weather widget seems to work. time to investigate.
Same here
Hint : when selecting automatic location for the default city, then today's weather is showing on the Home tab and totday's weather only on the Weather tab, but it can't fetch data for the next days, and still displays the error message if you try to update.
So the server seems definitely still reachable, but probably just refuses to exchange information with the device.
Maybe it's related to the recent certificates obsolescence that has been reported ?
Another hint : I just received a cheap (very) used HD2 from the UK (with an extended battery and kickstand) and when selecting automatic city location, it's able to get the weather data for all the week to come (and to show today's weather on the Home tab), but is unable to download any other city data and displays the same error message if trying to update any city including the automatic current location, exactly as on mine. This one has a standard ROM (for now).
So yesterday I ticked auto-location for my default city (I generally avoid to do this, as it sometimes gives absurd results) and got only yesterday's weather.
This morning, the other days to come have updated as well.
Manual update is still impossible, same for other cities.
Now I'm beginning to think it's related to what's written inside the SQL Lite database.
Maybe the cities identifiers formats have changed, while automatically acquired data from the closest beacon is still delivered ?
AFAIK, GSM repeaters can be used to compute your location instead of the GPS (that's not always turned on, for battery consumption reasons), and weather data for that location can be transmitted even if it's not in the database (it actually contains only large cities - I was even annoyed in Australia last month, because it didn't contain ANY of Northern Territory nor South Australia city, except Adelaide, and the time zone isn't even correct ! - while you can get quite precise information about your current location, even small villages names).
So now I guess the automatic location data can be used to get information from the closest weather beacon, while pre-input cities data is probably obsolete somewhere and can't be used anymore to get weather data.
Do you know where to get the current cities codes list ? We'll probably have to type all of them differently inside 2330fc3c_manila...
Anyway, the list provided by HTC has always been terribly incorrect (my country time zone is completely fancy, and it's not alone in this case).
Maybe we could get a fresh one from a modern device ?
Actually, the data is provided by Accuweather.
If we rely upon information from here :
http://www.efferen.nl/2011/01/how-to-add-cities-to-htc-weather-widget-android/
... Each city code should be available from Accuweather website when selecting a city whose weather to display.
However, this kind of information seems now not to be displayed ; or maybe it's been replaced by a 5 digits number, as you can see at the end of my city's weather page address :
http://www.accuweather.com/en/nc/noumea/249098/weather-forecast/249098
Since all the information I could get from Accuweather related smarthones (including Android models) is dated from 2010 or 2011, anything could have occured in the meanwhile... Including some radical change in the way cities are coded, maybe replacing those "region|country|city" coding by a 5 digit number...
What do you think ?
Could anybody owning a 2015 updated device check what's inside his database, please ?
I see manual update works as long as have no other cities added which adds support to your theory on change with city coding.
I only use it for location weather manually updating so did not see this error but adding a city replicates the issue exactly :-/
Weather applications for other platforms would of needed updating so hopefully can find some info in it to see if looks fixable ...
Well I have found if add the following string value key it will work again (see attached weatherredirect.txt)
Also attached the custom weather city editor cab & have updated the registry key in the cab if anyone wants to use/try it .
Screen shots of location & 2 cities I added for testing via manual update with just registry key added.
Mister B said:
Well I have found if add the following string value key it will work again (see attached weatherredirect.txt)
Also attached the custom weather city editor cab & have updated the registry key in the cab if anyone wants to use/try it .
Screen shots of location & 2 cities I added for testing via manual update with just registry key added.
Click to expand...
Click to collapse
worked for me, just need to add http:// at beginning:
Code:
http://htc.accuweather.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode=%25ls&version=1&device=innovation%25ls
:good::good:
^ wrote my key without as believe not need application protocol in the value & works .
Main thing it works at present
Does look like accuweather have implemented new city codes structure & also have the 6 digit ID's too so original server would not deal with old city codes.
Expect the 2330fc3c_manila file could be edited with new details if needed in future but not a quick task & not seen a full list of new codes or proper details on it that would need to start editing.
EDIT: heres a mortscript to add the key if you lazy Just unzip & copy .mscr file to device & run it ...
expect most have mortscript on their WM6.5.x HD2's :-S if not also added .reg file so can import the key using a registry editor on your device or PC based one like linked in my signature or use Task Manager 3.5 inbuilt registry editor as has superb export/import support. just an .exe to run (2 older versions is in Windows directory on nrg ROMs)
Thanks a lot my friend, it works perfectly (even without the http:// prefix, btw). :good:
For quick testing registry modifications, I'm using Smartione : simple and easy to use, and you can import/export easily as well. You just have to modify the header and and file extention to turn the exported keys into standard regedit5 files.
So it was finally just a change in Accuweather server address...
We're lucky there was a registry key able to override the original address... Do you know inside which file it's hard coded ?
And how did you find this overridding registry key ? In a recent Windows CE device ?
While I'm enumerating useful tools, I use SQL Lite Admin to manually modify 2330fc3c_manila.
Lots of cities time zones (outside US and Europe) are compltely wrong in the files provided by HTC, and I could recently check they were still as wrong in recent Android devices !
This is one of the first information I had to fix, or all the other cities times were wrong in the world clock once I had set my local time !
You can also easily add more cities in the database with this tool. I was amazed not to find ANY Northern Territory city in the databse when I travelled to Australia last month, and the only available South Australia city was Adelaide, with a wrong time zone as well !
I had the override key in notes from few years back when people had problems with weather servers & also used with custom server at the time.
Quite common for reg key bypass & was very good practice by HTC & MS.
I was expecting the original server to be in the 2330fc3c_manila file.
Your theory on change of city codes was correct but the override server address feeds handset info & server supports the older city code format.
I expect manila can be updated & improved on weather data quite a bit but not looked into it yet myself but want to ...
Now I am having problems to sincronice gmail. For some reason it has been deconfigured and now it keeps asking to introduce the right password, and it does not recognize
^ do you have your Gmail setup as imap or pop3 mail or setup as GoogleSync through activesync via m.google.com server !?
activesync via m.google.com server
i did sync only gmail contacts and calendar without problems, but when i tried to add gmail account in email tab it mess. Now sync keep asking to introduce the password everytime.
^ First thing I would try is logging in to the Google account online & seeing if it blocked the device for security reason, have a look in settings/devices & will list devices used to connect to the account. Could also set a new password online if no issues found then try that on the HD2 !
verification in 2 steps (introducing code sent by sms) was making problems. Once unactivated it syncs again gamil contact and calendar. Now trying to add email tab ... done! I was mixing setup as imap and activesync via m.google.com server. Just need to tick on sync email in this last one. Thanks for support. Mr.B
^ No problem, thanks for all your input & themes etc over the years too
Quite amazing how much still works on WM6.5 mainly as very configurable, even IM+ works fine including facebook chat ...
Had a N97 mini I dug out the cupboard the other day & that was a right pain to get any worthwhile function, updated best I could & sold ...
Since two weeks AccuWeather MyLocation stopped working. Still working cities but not working MyLocation Weather (city #0)

[Help needed] Make Now Playing app show artists names in English

My phone suddenly started showing artists names in my local language (Hindi) suddenly. Also, it's not for all the songs. If you see the circled items in the attached screen Maroon 5 is once shown in the local language and another time in English.
How do I make it show in English all the time? I checked my languages also and it's set up to English UK.
My best guess is this is an issue with the Now Playing database Google downloads to the device. Other than downloading the database Now Playing works completely offline, thus if you're seeing both Hindi and English the database itself must have both languages within it. You can try clearing Now Playing and see if it downloads a different database, but other than that there isn't much you can do. Now Playing doesn't have any settings that I can recall.

Categories

Resources