Cast a form/window/screen in VB.NET - Google Chromecast

hi all,
I want to use CC as a second monitor in my vb.net app. I want one form to show up on the PC monitor and another form to show up on whatever the CC is connected to. Is this possible? Any pointers, tips or source code you can point me to?
Sevvn

Related

TV Guide for PPC?

Hey all,
I'm after a TV Guide, similar to digiguide, that will utilise my WM6 standard calendar to alert me of tv shows/films/etc that are on. I'd obviously sync it every night or whatever. I'm Great Britain-ish so am after a UK version.
If anybody knows of one, I'd be grateful if you could share.
Cheers in advance!
bump.. Anybody?
Hi if you have Vista Ultimate or Home Premium or XP Media Center you can use:
http://www.asciiexpress.com/webguide/
Alternatively you could purchase: http://digiguide.com/
Dont think they would work with the calander though, just over the net.
I just bookmarked the TV Guide website....
If you are willing to do a little "dirty work" you could prolly use Orb's tv guide... there's an xml api for doing a lot of things and one of them is obtaining the tv guide for your area. I don't know if they have access to UK guides, but why not install Orb and check?
tv guide
noyz said:
I just bookmarked the TV Guide website....
Click to expand...
Click to collapse
that makes since. the also have a link at the bottom for Mobile for PPC and etc.
i use 2 apps that work really well. both free. the first is PocketTVGuide by Rob Williams which can get it's data over your phones data connection. the second is TV guide by Alex Egorov. if you set the first one not to delete it's downloaded xml you can use it for the second one.
They are both in a different layout but both are good.
http://www.robs-home.org.uk/software/PocketTVGuide.php
(PocketTVGuide)
http://www.bleb.org/tv/data/listings/0/
(List of channels to use with pockettvguide, add as required within pockettvguide note to get itv use the p_itv channels)
http://forum.brighthand.com/showthread.php?p=1329703
(TV Guide)

PS3 controller

Hi everyone,
I have started looking into using a PS3 controller as an input device for my Diamond.
I want the adility to play games using a PS3 contoller over bluetooth, as the device doesnt have good controls for games. I have managed to get my ps3 controller to work over usb on my pc Next step is to get my controller over blueooth to my pc, I will keep updating this thread
I have found some useful web pages
how get input from PS3 controller over wired with source code: http://www.codeproject.com/KB/mcpp/wiredps3axis.aspx
How to get ps3 controller over bluetooth on linux with source code: http://fedoraforum.org/forum/showthread.php?t=199246
I dont really know what Im doing when it comes to wm6 and making a device work with wm6. I dont know much about the bluetooth stack either. I will probably need to write some sort of a driver at some point. To catch the input from the controller and convert it into a command on my diamond.
So any help of any kind would be great. Any problems you can see with my plan?
Sorry not sure if this is the right place to put this thread so move if you want.
Well, that didnt go to well.
The controller is appearing in my bluetooth manager on my pc, but i cant connect or query its services.
Now Im really stuck
if someone could help me get some trace data from the connection, or enlighten me to a way of getting some information out of the bluetooth stack.
Thx,
Chris McNamee
Assuming that the PS3 doesn't use a proprietary communication protocol that can't be reverse engineered, this should be possible.
However, I suggest looking here first to get source and discussion re use of the Wii mote on the PPC first.
Then re implement the PS3's control mechanisms.
http://www.codeplex.com/WiiMoB/Thread/View.aspx?ThreadId=10953
There's further discussions here:
http://forum.xda-developers.com/showthread.php?t=335973
and here:
http://forums.neurostechnology.com/index.php?topic=9759.0
to get you started. Interesting project though!
V
Thanks
Cheers vijay555,
I will have a look as soon as I get a bit of free time
Hmmmm
Thanks vijay555
There is some excellent information on some of those links, but will need to get a wiimote. I cant tell if the drivers have been loaded by the wm6
but i was wondering, how does wm6 know which device its talking to over bluetooth?
It must be via a device serial or something, but what is the term for it?
like i said im a bit of a novice
Yeah, now we're cooking
I found an alternative, the wii remote/classic controller it uses bluetooth and there is lots of source code and examples
http://sourceforge.net/projects/wiiuse/
it comes with a libaray for windows and an example of how to use
all the source code is there to downloading
Now all I need is a wii remote
and to get it going on my pc, then port to PPC.
Then I need to write a frontend to control what action on the mote do on my PPC. Should be easy
sounds like an interesting project, keep us updated!
It has begun
Yesterday I bought a wii controller and got it talking to my pc using the wiiuse.
Wiiuse is open source and it has code already to interpret the controls of the wiimote, including the ir sensing, accelerometer, wii nunchuck, and the classic controller. Which we be very useful, as I dont need to work it out myself.
Also I have got wiimob, kind of working. It uses a library called bluetools to controller the bluetooth (which is pay for, so will need to find/make an alternative at some point but works for now). I have got to the point the author got stuck at (comment in the code says he never got passed), so Im kind of on my own now. Wiimob can search for wiimotes, then search it services but fails when trying to get a stream to the service. Im pretty sure this is because the RemoteService class returned by the bluetools doesnt have the correct GUID, which cause the connection to be refused by the remote device as it doesnt exist.
It is all looking very promising at the min
next steps:
get the bluetools talking to a service on my pc and see if I get the right GUID to determine if its the bluetools code which is failing to get the GUID or the wiimote not giving its GUID for the service.
Will post back with any news
Interesting
It seems that the library doesnt want to connect to a human input device, it wont connect to the wiimote or my bluetooth keyboard. It does seem to work to other services like Obex file transfer.
Hmmm, what?
Guess I found try and find some samples of people using this library and human input device or find a new library. Im not really up for trying to create my own at the min, as it would take a while
O dear
Its really not going well, either my knowledge isnt up to the job or it cant be done.
I have tried hard, but windows mobile is missing the all important hid.dll driver to get a listing of pair bluetooth hid devices so i can open a handle to the device. So I then looked into opening a connection myself and bypassing the hid driver, but from what I can work out it needs two l2cap connections open to the device, 1 on channel 11 for writing and another on channel 13 for reading data. But windows mobile doesnt have an api to access the l2cap layer of the bluetooth stack, the layer down (hci) can be extended but this would take along time to implement as I would then have to implement the l2cap layer myself.
Its turning into a losing battle, I really now doubting that I can do this.
The only idea left is how does the windows mobile use a bluetooth keybaord, does it use a generic driver which it extends or is it complete in its self. If it does uses a generic driver, i need to find some doc.
If anyone has any advice about how to implement l2cap connection or any thing about connecting to a hid device in windows mobile I would be very greatful.
Thanks guys,
But I think this is dead, like many other projects to try and get windows mobile work with a wiimote.
Things have taken a turn
Yeah,
A very helpful guy pointed me down a new line of throught,
I now beleive that I maybe able to do this
well, i need the win ce 6 platform builder
i owuld like to help but not got a clue about these things! keep up the good work
Well, any suggestions
Hmm, the wiimote uses bluetooth hid profile to communicate which talks over a l2cap connection. HID profile uses the universal serial bus (USB) architecture but send data over bluetooth
http://www.bluetooth.com/Bluetooth/Technology/Works/HID.htm
I have two options from what i can see
1. Well, I have found source for a sample keybaord device which I could rip off but cant get it to compile
2. Gain access to the L2CAP layer of the bluetooth stack by extending the stack with some of my own code. Then create my own connections to the wiimote and start sending and receiving reports to the device.
Any suggestions on the best approach?
both will take alot of time either way.
Hmm,
The L2CAP sample code requires some of the core dll for wm. These include coredll.dll and the btd.dll
during the build linking fails as I dont have the lib files, to get the lib files I need to build the os, as these files can change depending on the options specified during the build. I dont really want to do this, as it will limit the software to only one os version of wm, the one i build against.
Next question is can I do a library call and get the function points at runtime?
Well I think I may have to ask on a new thread. I hope so, as it would over come alot of problems, and it wouldnt limit the code to certain versions of the wm
Opened my mouth too quick
I using the wince 6 sdk,
But windows mobile 6 is based on wince 5. Hopefull I will have more luck with the wince 5 sdk
Well, that went a bit better.
Ive got pasted all compiling errors with the sample code I found. I have all the needed include and library files.
When trying to link the compiled code I get a single error now.
1>Compiling...
1>l2capdev.cpp
1>Compiling resources...
1>Microsoft (R) Windows (R) Resource Compiler Version 6.0.5724.0
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>Linking...
1>uafxcw.lib(dllmodul.obj) : error LNK2005: DllMain already defined in l2capdev.obj
1> Creating library Windows Mobile 6 Professional SDK (ARMV4I)\Release/l2capdev.lib and object Windows Mobile 6 Professional SDK (ARMV4I)\Release/l2capdev.exp
1>Windows Mobile 6 Professional SDK (ARMV4I)\Release/l2capdev.dll : fatal error LNK1169: one or more multiply defined symbols found
1>Build log was saved at "file://d:\Documents and Settings\Chris\My Documents\Visual Studio 2008\Projects\Bak new l2capdev\l2capdev\Windows Mobile 6 Professional SDK (ARMV4I)\Release\BuildLog.htm"
1>l2capdev - 2 error(s), 0 warning(s)
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========
If anyone can help with this error it would be great.
Sorry guys, but Ive got alot of coursework on at the min.
So it might go a bit quite on here for a bit, but done worry.
Im still working on this when I get some spare time, but I dont have much at the min
Any progress on this mcnamee?
No luck
Well, I have given up on this for awhile.
I would like to start working on this project again when I have some more time.
But for now this is dead.
Chris McNamee
If you are interested in alternatives to the MSI or Chainpus BGP100 bluetooth gamepad, google search "modded by bacteria" go to the "work in progress" section of his forums, and search for the thread "Re-housed Bluetooth controller". The creator of the site, Bacteria, will be transplanting the innards of the BGP100 into an SNES controller. Previously, he has transplanted it into a PS1 controller. It seams feasible to DIY into almost any controller housing.
PS3 for EVO?
I'd love to use the bluetooth connectivity for my Evo and playing ROMs. any ideas?
Apologies if this has been mentioned...

needing a different APP for remote access

Hello guys, I have searched for some apps to get the Remote Control, by my fuze to PC, I found remote control, remote pc, remote desktop mobile, and others of them.
The problem is that my home's IP changes every time, so the best app I found was z2remote2PC, becaus this you choose your username and password, and it is all necessary to log in, do not need the system IP, the problem was that I didint achieve the registration for it, I would like to know an APP like this without registration or with the crack/serial, anybody know?
thanks
basmareck said:
Hello guys, I have searched for some apps to get the Remote Control, by my fuze to PC, I found remote control, remote pc, remote desktop mobile, and others of them.
The problem is that my home's IP changes every time, so the best app I found was z2remote2PC, becaus this you choose your username and password, and it is all necessary to log in, do not need the system IP, the problem was that I didint achieve the registration for it, I would like to know an APP like this without registration or with the crack/serial, anybody know?
thanks
Click to expand...
Click to collapse
Can't you use a free dynamic DNS service like no-IP, or something?
Cheers,
Steve.
yes, I can.
But, How can I obtain it?
just registred on my-ip.com
what should I do now?
I dont know how to do
basmareck said:
just registred on my-ip.com
what should I do now?
I dont know how to do
Click to expand...
Click to collapse
Now you have to forward port 3389 to the internal ip address of you computer (192.168.1.X or similar) within your router. This website should help you out www.portforward.com . Once that is done, go into system properties ---> remote ---> and enable remote desktop. Download and install no-ip DUC (dynamic update client) and let it startup with your PC (this allows your external ip to be constantly mapped to XXXXXX.no-ip.org)
To access your remote desktop. type in XXXXXX.no-ip.org within the remote desktop window.
If you need any help. Feel free to ask!
make your life easier, just use logmein. all you gotta do is install the client on your phone and desktop and log in from your phone and you can access your desktop anywhere in the world.

To all developers: Simple video sender tutorial?

The hello world from https://github.com/pjjanak/chromecast-hello-world was good, I was wondering if anyone know of any similar thing for video. I am trying to understand Fling (the receiver HTML part, I sort of get). However his Java and the Ramp protocol is a bit beyond me in the Sender portion. Anyone know of any simple HTML sender/reciever app that I could take a look at?
I realized that it is a lot to ask, but if anyone could help me I would appreciate it. I just want to learn on how to send a simple URL of video to the chromecast, no server hosting, no transcoding. Simple so my little brain could understand and learn.
I am getting my WhiteList, so I am looking for the official way.
Once your device is whitelisted, you can make use of your AppID in the receiver and sender (also make sure to note the namespace you give your project/app).
For the receiver, have a look at this example provided by google: https://github.com/googlecast/cast-android-sample/blob/master/receiver/receiver.html
This is a basic media player handler. This will suffice for what you've requested.
You will need to replace the sections 'YOUR_APP_ID_HERE', and [cast.receiver.RemoteMedia.NAMESPACE] with your AppID and Namespace. Otherwise, it is ready to use "as-is".
The sender is a completely different story.
You mention you want to have an HTML sender (as apposed to an android app or ios app as the sender). This will require a hosted scenario (which, with a little configuration, you can make your local PC be the HTML host - AKA local web server software to HOST the html/js/css. Or if you already have a host for your receiver, you may place these sender items on it as well).
I'll continue this post in a little while. Have to continue working my "real job" then come back to this lol. Sorry.
Thank you, Unholyfire, looking forward to your next post. And thank you for your help on the other post as well. I now have somewhere to host my file online. Just waiting on Google. And yep Sender is harder. I played around with the original sender from google (which doesn't work now), I used mongoose and whitelisted Localhost already so I am familiar with the hosting concept.
Unholyfire said:
Once your device is whitelisted, you can make use of your AppID in the receiver and sender (also make sure to note the namespace you give your project/app).
For the receiver, have a look at this example provided by google: https://github.com/googlecast/cast-android-sample/blob/master/receiver/receiver.html
This is a basic media player handler. This will suffice for what you've requested.
You will need to replace the sections 'YOUR_APP_ID_HERE', and [cast.receiver.RemoteMedia.NAMESPACE] with your AppID and Namespace. Otherwise, it is ready to use "as-is".
The sender is a completely different story.
You mention you want to have an HTML sender (as apposed to an android app or ios app as the sender). This will require a hosted scenario (which, with a little configuration, you can make your local PC be the HTML host - AKA local web server software to HOST the html/js/css. Or if you already have a host for your receiver, you may place these sender items on it as well).
I'll continue this post in a little while. Have to continue working my "real job" then come back to this lol. Sorry.
Click to expand...
Click to collapse
Try to Keep the post visible, I hope you have a good holiday weekend and please post the sender part whenever you can. Thank you.
Unholyfire said:
Once your device is whitelisted, you can make use of your AppID in the receiver and sender (also make sure to note the namespace you give your project/app).
For the receiver, have a look at this example provided by google: https://github.com/googlecast/cast-android-sample/blob/master/receiver/receiver.html
This is a basic media player handler. This will suffice for what you've requested.
You will need to replace the sections 'YOUR_APP_ID_HERE', and [cast.receiver.RemoteMedia.NAMESPACE] with your AppID and Namespace. Otherwise, it is ready to use "as-is".
The sender is a completely different story.
You mention you want to have an HTML sender (as apposed to an android app or ios app as the sender). This will require a hosted scenario (which, with a little configuration, you can make your local PC be the HTML host - AKA local web server software to HOST the html/js/css. Or if you already have a host for your receiver, you may place these sender items on it as well).
I'll continue this post in a little while. Have to continue working my "real job" then come back to this lol. Sorry.
Click to expand...
Click to collapse

Communicate with Microcontroller through TCP/IP

I am trying to figure out how I can light an LED with my NodeMCU V2 via the use of WiFi and a phone application I create via Android Studio but I don't know where to start nor can I find any information on how I can do it, I've seen tutorials where they make me use their 3rd party tools to achieve this and I've seen it done on a web server but I'd like it to be on a phone application. Is there any way this can be done? Bluetooth is not an option because I want it to be accessed from anywhere as I plan to port-forward the IP in the future.
This is a very interesting idea. I do not have a specific answer. I did some programming of 68HC11 about 20 years ago. The chip was mounted on a system board and connected to my desktop computer using a serial cable. I would develop the program on the desktop then download to the `11 over the serial cable. There was a small program in the `11 that would receive the program and load it into the `11 memory.
Structurally you need similar components: a software development system that run in your phone [a small Android Studio], an electronic communication link [Bluetooth, http, whatever], a system board, and software in the system board to receive commands and a data stream from the phone and load the stream of machine language into the 68HC11.
I still have the system board: CME11E9-EVBU AXM-0199 REV.C Axiom Manufacturing. For more info do a Google search for that ID, or just click here...
https://canada.newark.com/axiom/cme-11e9-evbu-ed/spi-sci-rs232-lcd-dev-board/dp/13C2791
I am not familiar with what is going on in that section of technology these days, but much of what you need should be available and findable. If such a system does not yet exist then it is a business opportunity waiting for someone like yourself.
All the best to you

Categories

Resources