making a remote controller - Windows Mobile Development and Hacking General

hi everyone,
i am a noob to this side of things, i need an app to work with a bluetooth remote that is wonderful, i need this because i cant remember what letters to press for what. what i would like is a media center remote to work like NiveusPocketRemote, i just need the interface mapped, is this easy to do? how can i?

you can make a program which use bluetooth com port
setup the comports on the pda and on the pc
then develeop a client frondend on the pda
and a "server" on the pc which interp the commands
from the pda client and do it's stuff using com or some
dll to talk to the program you want to remote

Related

is there a util for this ?

Hi,
Is there a App like Remote administrator for PC
for the XDA2 ?
something where i can see on my XDA2 LCD a Screen of my PC
desktop and interact with the PC from screen taps on the XDA2.
open folders, start programs, mebe even xfer files etc etc
yeah vncview.exe
works pretty much like normal vnc between 2 computers
One I use is Pocket Controller from SOTI, very good.
I use NetOp Remote Control. Super!!
why dont u just use the terminal services client that comes built in in your xdaII and remote desktops on your xp machine??
no need for 3rd party tools
ArcticCat said:
why dont u just use the terminal services client that comes built in in your xdaII and remote desktops on your xp machine??
no need for 3rd party tools
Click to expand...
Click to collapse
Hi ArticCat, would you mind to make a step buy step explanation on that?
:?:
Thanks in advance.
This works only on Windows XP Professional, NOT on XP Home.
Works with a Wifi card and in the USB cradle, didn't test it yet with an USB BT dongle since mine is in back-order or with GPRS.
PC
- make sure you have administrative rights
- Right-click "My Computer" and choose Properties
- Choose the tab Remote
- activate Remote Desktop (Allow users to connect remotely to this computer)
- the logged on user automatically has access to the pc. If you want to add additional users, click on "Select Remote Users" and add them.
XDA
- goto Programs->Terminal Services Client.
- fill in the name or ip-address of your pc and hit "Connect"
Works fine, but I find the resolution of the XDA II to low to be practical.
Think this would work much better on a Toshiba e800 with 640x480 res.
Enjoy,
Jos
Thanks a lot for the fast response.
Looks like there is something missing, I get a "Cannot connect with current connection settings. To change your connection setings, tap setting" message.
There is not very much to configure undet the settings tab, so it's a bit frustrating.
Any ideas?
:wink:
I have no connection configured, just the XDA II in the cradle and it works.
Thanks a lot!
To my surprise it worked as you mention once I tried again. Couldn't figure out what was wrong the first time.
i used the SOTI and yes i can see the XDA screen on the PC.
But i was looking for the same util but the other way round.
i wanna see the DeskTop screen on the PDA
You need this prog: http://www.microsoft.com/windowsmobile/resources/downloads/pocketpc/remotedsp_eula.mspx
Allows you to show the display of the pda on the pc-screen and control it with mouse and keyboard.
And it's for free!
yes thats wot the UTIL dose i have now.
but im looking to..
display of the pc-screen on the PDA and control it
This is what you want....
http://www.soti.net/bot.asp?Cmd=Products
http://www.handango.com/PlatformPro...onId=0&catalog=30&txtSearch=pocket+controller
Arthur,
Let's get things clear.
You want to control the pc from the XDA?
Just use terminal services client on the XDA in combination with the remote desktop feature of Windows XP Pro, as described in the earlier postings.
Or use VNC, you can download the client for the pocket pc here:
http://www.cs.utah.edu/~midgley/wince/vnc.html
and the server for the pc here:
http://www.realvnc.com/download.html
Jos
hi jos yes you got it
one problem i have is when trying to connect via GPRS i get the msg NO MODEM AT THE OTHER END ?
Arthur, did you get this sorted in the end.
I was already running the server program on my main pc and downloaded the pocket pc vnc veiwer. Cant get it to work so far tho, is there any settings you have to change on the XDA?

Using XDA as remote PC screen

Hi,
Does anyone know some software that can make
the XDAII function as a remote screen for the PC ?
It would be great to use the XDAIIs touch screen
to control the PC - maybe via bluetooth ?
Cheers,
Johannes
Johannes,
Try using VNC .....
You'll need to install a server on you PC (TightVNC, RealVNC or [email protected])
Then use the Pocket PPC Viewer on the XDA
Regards
John
well you can use windows therminal services
or pocketVNC to get the screen from the pc to the pda
but it will clone not extend your desktop
and at least with therminal services (which is included in both the pocketpc and in windows) it logoff the pc user when the pocketpc connects
and at least with therminal services you need the vidcomm bluetooth stack to get the PAN profile
because if you use activesync to connect and then login from the pocketpc the desktop user gets log'd off and this disable activesync which breaks the connection to the pda

Setting up VNC or Remote Desktop

I've set up LogMeIn, but it's left me dissatisfied. I don't like the fact that it's website based, and it's a little slow for my tastes.
I've attempted VNC and Remote Desktop but, sadly, it's a little over my head. I'm by no means a noobie, but I've never dabbled in remote desktop type work before.
Is there a simple tutorial for setting up VNC or Remote Desktop clients for the Wizard? I could really use one. I've been trying to search for it for a few days, and I turned up absolute zilch.
Thanks!
both VNC and remote desktop would need to be enabled on your workstation / server / computer and make sure that either the required ports for VNC (port 5900+) and Remote Desktop Connection (port 3389) and open your firewall or the windows firewall is turned off.
if you are trying to use VNC / RDP, using your GPRS/EDGE connection then there's more tweaking which needs to be done ... this would entail you to go to your router/firewall and open ports 5900 (VNC) and 3389 (Terminal Services / Remote Desktop Connection) and point these ports to the right IP Address (which would be the IP address of your workstation).
if you have any questions about remote access just email me back ... i use my XDA Exec, Qtek 8500 and all the other PDA's i have to access my network at the office as well as at my clients all the time ... both through VNC and through Remote Desktop Connection ....
what program do you need on the wizard to do remote desktop?
right now i can remote desktop to my work computer from my laptop at home. is it similar? thank you.
There should be a remote desktop client already installed on your Wizard. Look in the Programs folder for "Terminal Services Client". It works pretty much the same as it does on big Windows.
As dumb as this is, I really need a step by step to help me out on this subject.
I'm unsure what is needed to get the Remote Desktop Client working. I have XP Pro. I have a "Remote" section under my home computers system properties. However, the one tutorial I could find asked me to go into Add/Remove Windows Devices and apply some sort of setting there. Upon doing so, I was asked to insert my Windows XP CD which . . . I don't have.
If I don't need that CD, I am open to doing either Remote Desktop or VNC. Whichever is preferable, I guess. I don't know which is more full-featured, which one is quicker, etc.
So I need help getting started. What do I do?
Hey Dr.Other
Okay here is a step by step to enable remote desktop on your computer ( much better then VNC in my book but I am sure others may disagree..so in the end its personal prefrence...I just like RD (remote desktop) better cause I can stream music if I wanted and its also encrypted (I think I read that some where) any way here it is for remote desktop.
Guessing you are useing Windows XP Pro
Right Click on MY COMPUTER ( on your desktop)
From the menu that opens up Click (Left click) on PROPERTIES
You will see a few tabs in a window called System Properties
Click on the REMOTEtab
Check the Box under the Remote desktop area that say ALL USEERS TO CONNECT REMOTELY TO THIS COMPUTER (its not in caps)
Next click on Select Remote User and click ADD
TYpe in the users name (what ever name you use to login with)
Hit Okay till your back to your desktop
Phone:
Start\Programs\Terminal services Client
under servers type in the IP address of your computer ( Hint try it locally 1st if you have wifi in your house and then click connect) its a bit difficult to naviagate and the colors are not the best ( which leads me toa question ...look at the bottem for the Q ) but it will do...I have hcked email looked at my fav places for a book name I had bookmarked but forgot etc. its really cumbersome but in teh end it may get the job done. Though Fair warning your icons and stuff will be bunched up on your desktop computer once you RD from your Phone
RD to your phone..... What ? can you remote desktop to your phone ?
I think so...if you enable terminal service port on the device you maybe able to connect to it from your computer ...but I am still trying to figure that one out
Question for every one: IS it possible to get better colors when connecting to your home computer via terminal services on your phone ? ...they look like 256 colors (eww)
geekserver said:
Question for every one: IS it possible to get better colors when connecting to your home computer via terminal services on your phone ? ...they look like 256 colors (eww)
Click to expand...
Click to collapse
Even if you could it would slow the process down so much it wouldnt be worth it. I wouldnt even have a background on as it slows to a crawl.

how to start a program on a PC from the PDA

Hi,
I need to start a program on my PC from my XDA (connected by ActiveSync 4.5). I'm running Windows Mobile 5. How could this be done?
Regards, Gerrit
therminal services
and vnc
are 2 ways to do it
I don't want to see the PC's screen on my PDA (will be very slow anyway). I just need to be able to start a program (for example "notepad.exe") on the PC. I don't have to see the program on my PDA. It just has to run on the PC. That's all!
Regards, Gerrit
I think it is only possible to start an application on the device
from desktop with RAPI. The other way is not possible with
ActiveSync. You can write your own server that runs on the desktop
and a client on the ppc. Then send commands from pda client
to the server that starts then your application.
Houser
Hello Hauser,
Problem is that the command has to be possible both with ActiveSync (cable) and when syncing with GPRS/UMTS (wireless). Could this be done with RAPI?
Regards, Gerrit
If you use GPRS then you cannot use ActiveSync.
ActiveSync is only possible if you connect via USB.
RAPI can only be used from a desktop application to communicate with
the pocket pc, copy files, start applications on the PPC,...
So what do you want to do exactly with your app?
Houser
when connected to the pc using activesync or wifi or bluetooth PEN
make a normal network connection
and it should be transparent for the applications as they just see the connection
Hi Houser,
1. My PDA application exports lines from a PDA database to .CSV files.
2. On my PC I have to run an import & conversion program to load the exported lines into a server database
3. My PDA has to import other (new) files into the PDA's relational database
With USB syncing this works fine. I now have to run the PC's program manually. I want to control the whole process now from my PDA.
That's all...
Regards, Gerrit
If I remember right, a drive symbol is mounted on "My Computer" when Active Sync connects the device, right? So has anyone already tried to use an autorun enrty (autorun.inf like on CDs) on the PocketPC?
broekhuis said:
Hi Houser,
1. My PDA application exports lines from a PDA database to .CSV files.
2. On my PC I have to run an import & conversion program to load the exported lines into a server database
3. My PDA has to import other (new) files into the PDA's relational database
With USB syncing this works fine. I now have to run the PC's program manually. I want to control the whole process now from my PDA.
That's all...
Regards, Gerrit
Click to expand...
Click to collapse
So ok.
I would do this as follows:
1) Write a desktop application that uses ActiveSync RAPI to start you PDA export application
2) Then in your desktop app use RAPI to copy the file from PDA to desktop
3) In your desktop app start the import & conversion program with the file from the pda
4) If you want to import a file to the PDA database you can copy with RAPI to pda and then start with RAPI the pda import application
So I would not go on searching how to start a app on desktop from pda. Let the desktop application handle it.
Houser
Hi,
Problem is that a technician on location (at a customer or at home) should be able to synchronise, without going to the office. In other words: the PDA is the device that starts the communication process, not the PC! This is also what is so problematic...
Regards, Gerrit
about autorun on the pda then i dont think it will work havent made the test
but modile devices like
gmail drive
digicams
and such dont get drive letters
and i think only devices which get drive letters can use
autostart because those other devices dont seem to be "really" connected untill one click on them
you could write a service for the pc which would be listening for a network connection from the pocketpc
you could make it so it would run any applications you told it
you could give it a parth and arguments
then as soon as you got a network connections by what ever means your pda could start sending commands to the pc which it would then execute as in start programs
of cause it does require you to code a bit of c++ or .net but not tooo complex stuff if one is a programmer
Two points:
The PDA is not mounted as a drive, ActiveSync controls all access to it (even though it is integrated in the explorer) so autorun.inf can not work.
Redugar is right, for you purpose - accessing the PC directly and by remote, you need a little server app on the PC. Just use windows sockets to listen to a connection.
On the PPC side you can use the constant ppp_pear when the device is synced to get the PC address and the regular IP (I assume you have a static IP) for access via GPRS.
I did something like this a couple of years back - a server on the PC that checks a page for updates and provides them to a device when it connects and asks for them.
salling software
You might want to look into this company http://www.salling.com/Clicker/windows/scripts.php
http://www.salling.com/forums/viewforum.php?f=15&sid=45e42aa57aeb994b7b02e8ab12dc1794
Their software controls programs such as PowerPoint, WMP etc, might be a script out there that you could modify to open any program. Connects via BT and WiFi. Works real nice with my wizard with my MCE Dell running Toshiba BT Software.
About Salling Clicker..
anothersmith said:
You might want to look into this company http://www.salling.com/Clicker/windows/scripts.php
http://www.salling.com/forums/viewforum.php?f=15&sid=45e42aa57aeb994b7b02e8ab12dc1794
Their software controls programs such as PowerPoint, WMP etc, might be a script out there that you could modify to open any program. Connects via BT and WiFi. Works real nice with my wizard with my MCE Dell running Toshiba BT Software.
Click to expand...
Click to collapse
Yeah. Salling Clicker is a great software for starting or ending programs on your pc using bluetooth or wifi! the first time i installed the software,i was amazed and i played a prank on my sister.she thought that there was something wrong with the computer because it started itunes/powerdvd on its own... and i was in the other room controlling my pc..hahaha...
i've Been looking for a "script" that'll allow you to open any file/program (so are a lot of people who use salling clicker)..been following it up and As far as i know, there is still no Salling Clicker "script" that allows you to open any program on your pc.. you have to make a "script" specific to the program you want to start/control/stop.
Houser said:
If you use GPRS then you cannot use ActiveSync.
ActiveSync is only possible if you connect via USB.
RAPI can only be used from a desktop application to communicate with
the pocket pc, copy files, start applications on the PPC,...
So what do you want to do exactly with your app?
Houser
Click to expand...
Click to collapse
What?
ActiveSync can work through Bluetooth or Infrared as well.
Also, why go through all of this trouble? Run an SSH server on the PC. SSH into the PC.
C:\Documents and Settings\Administrator> start "C:\Program Files\My Program Path\My Program.exe"
Doesn't this do what you want?

Can Windows Mobile Remote Desktop work over Bluetooth?

Hi there,
I was wondering if Windows Mobile Remote Desktop (with WM6.1) can possibly work over Bluetooth. I have my computer and mobile connected via Bluetooth ActiveSync, and I have my computer configured to allow remote desktop, however, I can't seem to get the two to connect.
Does anyone have any thoughts?
Thanks!
aad4321 said:
highly doubt it, RDP runs on a tcp/ip based network. i dont think that htc phones are capable of that over bluetooth
Click to expand...
Click to collapse
Yes they are.
remote desktop over bluetooth works fine, i prefer to use realvnc for remote desktop connections though and mocha vnc client software on the PPC , in my opinion its much better than MS remote desktop software
I wish I could figure out why it isn't working then. All the settings seem to be correct. I'll need to try and hunt down a guide somewhere, or I will fiddle and get it working and write one
HI JADEL,
You can use app like BTREMOTE it's a client/server based application allowing you to control most of your apps on the PC.
Try it.
scousemartin said:
remote desktop over bluetooth works fine, i prefer to use realvnc for remote desktop connections though and mocha vnc client software on the PPC , in my opinion its much better than MS remote desktop software
Click to expand...
Click to collapse
Hi there, I own a HTC TUCH HD, and I want to be able to get remote desktop over bluetooth!
I see you know how to do that, so if you would not mind giving me a short tutorial on what should I do?
thx
it works just fine over bluetooth but not over activesync connection you need to use PAN
when you connect it log out the user disconnecting the activesync connection
thats not the case with bluetooth PAN and wifi
how you set it up is not really a wm question all the setup required is on the pc
and the same setup that you need if using remote desktop from another computer
so google got piles of guides how you turn on remote desktop on the pc and open the ports it require in the firewall
thank you very much for the answer!

Categories

Resources