[Q] Youtube app redirection for HTC YouTube App - Windows Phone 7 Q&A, Help & Troubleshooting

Does anyone know how to redirect YouTube links to the HTC YouTube App versus the Microsoft YouTube app? Figure its sone file association in the reg but not sure where to look.
Sent from my Samsung Focus using XDA Windows Phone 7 App

It's pretty easy to change the redirect itself. The relevant key is HKCR\vnd.youtube, which defines a URI handler (the way the redirect works is that when YouTube's servers see the WP7 browser user-agent, they send links like "vnd.youtube:<video ID>" which WP7 then opens in the YouTube app). Changing two registry values under that key, replacing the App ID of the YouTube app with the ID of the HTC app, would make those links open in the HTC app.
The problem is that the HTC app doesn't expect to be opened this way, so it won't check for command line parameters. Instead, it'll just open as though you'd selected it from the app list. This probably isn't the behavior you're hoping for.

Sure isn't... makes me wonder why Microsoft force/locked the app to their default browser and then handicapped it to a poor and useless existance.... I assume we are stuck with this situation with all the YouTube apps including SuperTube?

GoodDayToDie said:
The problem is that the HTC app doesn't expect to be opened this way, so it won't check for command line parameters. Instead, it'll just open as though you'd selected it from the app list. This probably isn't the behavior you're hoping for.
Click to expand...
Click to collapse
Thanks for this explanation... so at the moment is quite impossible for us to make this association between the browser youtube links and htc youtube app... WP7 makes me angry sometimes, it's so nice in some aspects but makes you feel powerless when you try to do even basic stuff with it.
Sent from my HTC HD2 Gingerbread using XDA Premium App

GoodDayToDie said:
It's pretty easy to change the redirect itself. The relevant key is HKCR\vnd.youtube, which defines a URI handler (the way the redirect works is that when YouTube's servers see the WP7 browser user-agent, they send links like "vnd.youtube:<video ID>" which WP7 then opens in the YouTube app). Changing two registry values under that key, replacing the App ID of the YouTube app with the ID of the HTC app, would make those links open in the HTC app.
The problem is that the HTC app doesn't expect to be opened this way, so it won't check for command line parameters. Instead, it'll just open as though you'd selected it from the app list. This probably isn't the behavior you're hoping for.
Click to expand...
Click to collapse
Is this hackable to make it work with non-Us region settings? This will at least easy the pain a bit

how to find the id of youtube htc

Related

HTC Music app in HTC Hero

Hello all,
I developed an app called Instant Lyrics. May be, some of you are familiar. It is in the Market. Mainly, it captures the song information from the default Music Player and brings the lyric instantly.
Everything works very well. But, I am getting complaints from HTC Hero users. Because, HTC Hero does not use the default music player. And to be able to get the java name of HTC Music and the service it is using, I need to install HTC Hero ROM. However; my time is limited.
I would appreciate, If one person has HTC Hero could help me to get the needed information.
the only information I need is the java names of the app and the service it is using.
For example, the default music app is like
com.android.music
com.android.music.MediaPlaybackService
You can get this information by using Package Manager in Dev Tools app. The Services are listed at the end of the result page.
Thank you very much,
Omer
osaatcioglu said:
Hello all,
I developed an app called Instant Lyrics. May be, some of you are familiar. It is in the Market. Mainly, it captures the song information from the default Music Player and brings the lyric instantly.
Everything works very well. But, I am getting complaints from HTC Hero users. Because, HTC Hero does not use the default music player. And to be able to get the java name of HTC Music and the service it is using, I need to install HTC Hero ROM. However; my time is limited.
I would appreciate, If one person has HTC Hero could help me to get the needed information.
the only information I need is the java names of the app and the service it is using.
For example, the default music app is like
com.android.music
com.android.music.MediaPlaybackService
You can get this information by using Package Manager in Dev Tools app. The Services are listed at the end of the result page.
Thank you very much,
Omer
Click to expand...
Click to collapse
Uh....i think the java name is com.htc.music or com.android.htc.music (don't. Have dev tools on hero...)
If I could get a "fixed" version of your app...i could test and see if it works.
otto888 said:
Uh....i think the java name is com.htc.music or com.android.htc.music (don't. Have dev tools on hero...)
If I could get a "fixed" version of your app...i could test and see if it works.
Click to expand...
Click to collapse
Sure, I can send the fixed version. Thank you.
The attached is the development.apk provided by Google. If you could install and follow the following steps, we would have much accurate information.
1. Download and install the attached app. It is an app provided by
Google to the developers. It has no side effect to your phone.
2. Open the app.
3. Click Package Browser in the list
4. Find the music player from the list. Its name should be like "HTC
Music" or "com something htc something music" but not "Music" or
"com.android.music" (this is the default music app) and Click.
5. note what is written in the Process headline
6. go to the end of the page and note the name listed in the Services head line
7. and send me the names you noted.
Pleas note that the names are case sensitive. So, it is very important
to write exactly the same name with the correct case character.
I was right.... it was "com.htc.music" I just hope the ui goes along with the app too.
otto888 said:
I was right.... it was "com.htc.music" I just hope the ui goes along with the app too.
Click to expand...
Click to collapse
Thank for the tip Otto. I assumed that the Service is the same as "MediaPlaybackService" and compiled the code. The attached is the app.
Please tell me how it works after you test it. Thanks a lot.

new youtube app

when i go to download it from m.youtube.com/app it says my device is not supported, can anyone find a cab for it? really want ti becuase the new one now has profle support, favourites, subscribers etc
Maybe a stupid question, but did you opened that link on your device or on your computer because when I open the link in opera mobile it gives me a download link.
Anyway, I attached the .cab
have u had a look in my thread... link is in my signature...
whats the current version?
tomylee79 said:
whats the current version?
Click to expand...
Click to collapse
and whats the changelog?
hebbe said:
and whats the changelog?
Click to expand...
Click to collapse
May be this can help
Cheers
niels_90 said:
Maybe a stupid question, but did you opened that link on your device or on your computer because when I open the link in opera mobile it gives me a download link.
Anyway, I attached the .cab
Click to expand...
Click to collapse
is this youtube cab better then built in versin
The new version of the YouTube app is better in lots of ways. It adds the ability to actually use your account, so you've got your videos, subscriptions, faves etc., which was always an annoyance of the original version.
Unfortunately, they've made it look really crap. I really liked the way the original version looked, but the new one looks like a WM5 app. It's terrible!
Why they felt the need to redesign a decent designed app is beyond me. It just needed extra guts thrown in.
It's still worth it for the extra functionality.
Anyway, in answer to the OP (despite the fact that he's had links to cab files posted already), it says your device is unsupported if you visit the app page in Opera. If you use IE then it works.
Mainly because the built in app is made by HTC, while this newer version is made by Google. The HTC made version requests a higher quality versions of the videos from Youtube, thus the obvious visual differences.
Anyway it should replace the original HTC Youtube app in the start menu, but the old one is still there in the Windows directory, you just need to create a shortcut for it.
kenkiller said:
Mainly because the built in app is made by HTC, while this newer version is made by Google. The HTC made version requests a higher quality versions of the videos from Youtube, thus the obvious visual differences.
Anyway it should replace the original HTC Youtube app in the start menu, but the old one is still there in the Windows directory, you just need to create a shortcut for it.
Click to expand...
Click to collapse
Thank God that it is, because after installing the new version, I'll stick with the old one.
Besides the lower resolution video already mentioned, the ugly UI, it also rotates the video in the wrong direction.
Sad that it can't have all the greatness of the HTC version plus the account features. That would be great!
cheers guys and yeh i was viewing it on my device lol but in opera
please, a little help...I have unistalled the google youtube but I cannot find the executable in windows folder to make a shortcut in order to have the preinstalled version of youtube on my HD2!
donalgodon said:
Thank God that it is, because after installing the new version, I'll stick with the old one.
Besides the lower resolution video already mentioned, the ugly UI, it also rotates the video in the wrong direction.
Sad that it can't have all the greatness of the HTC version plus the account features. That would be great!
Click to expand...
Click to collapse
u just have to set the app to rotated, make sure that u are in landscape mode before clicking on a video, and it will be rotated in the right way.
N3M3SYS said:
please, a little help...I have unistalled the google youtube but I cannot find the executable in windows folder to make a shortcut in order to have the preinstalled version of youtube on my HD2!
Click to expand...
Click to collapse
it's right there in the windows directory....youtube.exe
96edwy said:
when i go to download it from m.youtube.com/app it says my device is not supported, can anyone find a cab for it? really want ti becuase the new one now has profle support, favourites, subscribers etc
Click to expand...
Click to collapse
Use Internet Explorer and it will download.
This app has a great interface, but video quality is shocking...I would advise against installing it.
I've found all sorts of things that annoy me with the shipped HTC youtube app that i wish could be fixed,
1, the quality isn't the quality you get from your desktop, the vids look much lower res on the phone.
2, If you pause and let the video buffer and it gets to the end then you've missed your chance to view the video and have to start over, why it can't just buffer then let you click back to the start is beyond me, this little fact had me pulling my hair out, either watch it play,buffer,play,buffer all the way through or waste your bandwidth limit redownloading the vid you just downloaded...priceless.

Text based browser, like Lynx, for Android?

Hey guys - I know this has been asked before, but I've been unable to find a decent answer:
Is there any Lynx-like browser for Android? I don't mind if it runs in the terminal or whatever, but I reckon it would do my limited data quota a massive favour.
Sent from my CM6.1 HTC Dream using XDA App
why don't you just disable the downloading of images?
NEUR0M4NCER said:
Hey guys - I know this has been asked before, but I've been unable to find a decent answer:
Is there any Lynx-like browser for Android? I don't mind if it runs in the terminal or whatever, but I reckon it would do my limited data quota a massive favour.
Sent from my CM6.1 HTC Dream using XDA App
Click to expand...
Click to collapse
Have you tried Opera Mini? If you are worried about your data usage, I think you'll love its server-side compression technology. Well, depending in what are your feelings about your browsing privacy.
I know I can disable images, and yes, I tried a couple of browsers with server-side compression, but I was really hoping for the plain simplicity of a Lynx-like app. Thanks for the replies so far!
Sent from my CM6.1 HTC Dream using XDA App
i second this
lynx it's so cool for reading some heavy news websites that i ssh to home and use lynx from there
Hm, SSH to your home pc eh? Tell me more.
Sent from my CM6.1 Dream using XDA App
The other thing you might consider is RSS. I read a lot of websites like this. Most major news websites now support RSS. Good luck. Lynx is hard to read and manage as it was designed for an earlier implementation of the web.
I wonder if it isn't easy to do since 1) it's all open source and 2) it should be a textbook JNI port...
xaffron said:
I wonder if it isn't easy to do since 1) it's all open source and 2) it should be a textbook JNI port...
Click to expand...
Click to collapse
There are some instructions here, in chinese. If anyone does get a working binary, let us know;
http://www.embedu.org/Column/Column294.htm
Update: I followed the instructions, and it works. Here are the results:
http://forum.xda-developers.com/showthread.php?p=16050683
I read through the instructions... Very nice and detailed directions there! However, they're not even using the NDK, they're compiling an ARM executable for Lynx (so if we go that route, the result would be a binary that has to be run from terminal emulator).
Food for thought...
Binary compiled successfully!
Done it!
I just followed the instruction from the chinese professor, and it works fine for me. I have created a tread for it at:
http://forum.xda-developers.com/showthread.php?p=16050683
The zip file is there, along with the instructions. Enjoy!
You can also try this one
TextOnly browser for android which displays only content from the article by stripping ads,scripts and images
https://market.android.com/details?id=com.spacenext.textonly
There was something i used to do when i was browsing using an old Nokia dumbphone that might help.
Type the following into your address bar:
http://www.google.com/xhtml
Now search for the site you want to visit, i.e xda-developers, and click on the link. You should now be seeing it in a low data format. It's not pretty but it works pretty well on a mobile browser.
If you want you can then bookmark the site as it is, so that it will still have that formatting when you return to it next. Obviously, for every site you want to visit you have to go through the above, but if you also bookmark the xhtml version of google you can always start your browsing session from there and just bookmark all your reformatted favourites as you go.
For that mobile view you can just use the "mobile view (GWT)" option in Dolphin Browser HD
new android browser "Lynx Browser"
You may also want to have a look at the new android browser "Lynx Browser" at
https://play.google.com/store/apps/details?id=com.weejim.app.lynx&hl=en
v0.1.16 now comes with "Light" theme support
singa76 said:
You may also want to have a look at the new android browser "Lynx Browser" at
https://play.google.com/store/apps/details?id=com.weejim.app.lynx&hl=en
Click to expand...
Click to collapse
[email protected]:/ $ /data/local/lynx
Error opening terminal: screen.
1|[email protected]:/$
Wrong terminal app?
All Text Browser
NEUR0M4NCER said:
Hey guys - I know this has been asked before, but I've been unable to find a decent answer:
Is there any Lynx-like browser for Android? I don't mind if it runs in the terminal or whatever, but I reckon it would do my limited data quota a massive favour.
Sent from my CM6.1 HTC Dream using XDA App
Click to expand...
Click to collapse
​
NEUR0M4NCER said:
Hey guys - I know this has been asked before, but I've been unable to find a decent answer:
Is there any Lynx-like browser for Android? I don't mind if it runs in the terminal or whatever, but I reckon it would do my limited data quota a massive favour.
Sent from my CM6.1 HTC Dream using XDA App
Click to expand...
Click to collapse
Little Web Browser is pretty similar to Lynx. Free, but a HUGE fee if you want to get rid of the ads.
It is amazing how you'll always have at least one idiot in almost every forum who has no clue to what the correct answer might be but instead of shutting his ugly mug he tries to be a smart-ass and suggest a retarded "solution" that the OP had already discarded even before he asked. "Eh, why don't you disable images on Opera? (monkey squeaks)" ... well no ****tard, that's not a solution not even a proper answer to the question.

[Q] Google doc app in Market

Can Somebody try the app out on the transformer? And is it optimized for honeycomb?
Sent from my HTC Vision using XDA Premium App
Ive read in reviews there is alread an app on the tablet pre installed that is compatible with google docs
It is not optimised for tablets, essentially it's just the website in a browser window.
greetz
Thanks for the notice on this new application. From the comments on the market it doesn't look like it is optimized for tablets, but I'm interested to hear from current Transformer owners on how it functions.
Talks about the pre installed one here http://www.anandtech.com/show/4277/asus-eee-pad-transformer-review/8
m1ket said:
Talks about the pre installed one here http://www.anandtech.com/show/4277/asus-eee-pad-transformer-review/8
Click to expand...
Click to collapse
"If you supply your Google login credentials you can edit/save documents stored in the cloud."
Excellent.
I wouldn't say excellent. Google Docs is much more than storage. I hope Google will fix the Android browser to be able to work with Google Docs without any apps. Dual booting Google Chrome OS would be great too.
frysee said:
It is not optimised for tablets, essentially it's just the website in a browser window.
Click to expand...
Click to collapse
What? No it isn't.
Kermode said:
What? No it isn't.
Click to expand...
Click to collapse
It is indeed just opening the docs up in a browser. At first I had a login issue because it hadn't passed authentication yet and I briefly saw the Google Docs mobile login site on it. It has the exact same functionality as if you had opened the Doc up in the browser. It's just a pretty interface to the Google Docs site
Just tried it on my eee pad. It works fine but as stated before it's not optimised layout-wise for honeycomb. Does what its meant to do though.
With the Google Docs app, you can take pictures of text and have it converted to an editable document. My question if anyone has tried it yet is this.......If you take a picture with text AND a picture, does it import the pic also?
I get my Transformer in the a.m. tomorrow, and if no one can answer this, I will try it when I get a chance and follow-up, in case anyone else is interested.
deleted deleted
Most of these guys are kind of slow. There is an actual app that is not via the browser. I'm not sure if its optimized for HC but my guess is yes, why wouldn't they make it for all platforms. I used it today on my EVO so I'm positive it works on HC.
Yea it's a application in the market. I hope that's what people are responding about. Also the app works well on my g2 for whatever that's worth.
Sent from my HTC Vision using XDA Premium App
Could not find a way to edit existing docs - no edit button, while newly created and saved document can be edited. Also was able to edit spreadsheet loaded before
Sent from my Nexus One using XDA App
qhinton said:
Most of these guys are kind of slow. There is an actual app that is not via the browser. I'm not sure if its optimized for HC but my guess is yes, why wouldn't they make it for all platforms. I used it today on my EVO so I'm positive it works on HC.
Click to expand...
Click to collapse
I think the confusion is that the front end of the Google docs app where you browse your docs is NOT from the web, it's an actual UI from the app itself. However, once you start viewing a doc or editing it, you are then basically thrown back into the mobile Google Docs webpage, which has very limited functionality.
What I'm saying is, don't expect it to replace a dedicated Office suite anytime soon...
I think on tablets Google Docs should work without problems in browser. That it does not right now shows that the browsers are very limited and similar web apps won't work neither.

YouTube videos hack for non-mobile content

Sorry if you were looking for an answer, but I am getting immensely frustrated while using my Android when it seems every 5th YouTube video says either "it is not available for mobile" or "content owner has not made this available for mobile".
I have tried the obvious, like changing useragents and fiddling with the http request, but it remains simply a fact that if my phone is providing information which enables it to be determined that it is a in fact a phone, then this can be changed so it does not provide such information.
I am using my home wifi, so some Telco IP address is not the issue.
Come on... This issue seems to be getting more prevalent, and as the vanguard of Android users, if we cannot figure this out, it will break my spirit.
But the above is true. To wit: how is my phone telling YouTube it is a phone, irrespective of what browser i use, what video player I choose, and how the user-agent is set?
Where could this trigger be coming from?
Thanks!
Sent from my HTC Glacier using xda premium
There is a button at the bottom of the YouTube page that says desktop. This requires flash to view though.
Sent from my LG-P999 using xda premium

Categories

Resources