Can someone reproduce that? Built-in printing function in Windows mobile!? - Windows Mobile Development and Hacking General

Hi to all,
I just found out (at least I haven't found any other post on that matter yet) something interesting a few days ago. It seems that WinMo does indeed have rudimentary network printing support built-in.
Here is what I did: I was actually playing around with the network folder function in GSFinder+ and had the idea to try and see whether it's possible to mount a network printer as a network folder. It did work perfectly well and I was able to mount the HP OfficeJet (which is connected to a WinXp-laptop there) at my place in Germany on the phone. It shows up just as a normal folder.
Now, the interesting thing is that when you drop files into that folder (i.e. navigating into the folder and copy-pasting a file in there), they will actually be printed! After the file is printed sucessfully, the WinMo device shows a message saying something like "WinCE network: printing job in \\B\S\ is finished (size of the file)". As was to be expected I've only been able to print plain text on the printer, no images or formatted files. Also, the printing process was extremely slow (it took a few minutes for a less than 1kB file to be printed).
I've been trying to reproduce the same effect at my Austrian flat (with a Kyocera laser printer) but without success (a printjob shows up in the printing queue on the computer to which the printer is connected but it's not printed).
For both tests, I had the printers connected to a WinXP machine and made them accessible over the wifi network. Is anyone of you guys able to reproduce that effect and explain why it actually works?
Best Regards,
Ben

There is software that allows you to print

Yup, I know (I've actually installed ActivePrint on my phone as well) but that's not my point.
I didn't request a printing solution but I pointed out the fact that it seems that Windows mobile has some kind of printing support on board - for the scientific interest if you wish to say so! I'd therefore like to hear from other users whether they are able to print text files that way.

Related

Webview.exe webview.dll tell me how to get this to work

Can anyone go to this site and download the webview.exe file launch the dll module and show the controls for my security cameras on their pda or pocket pc.
I have tried this on the 700wx and also on the 6800 mogul. I like the mogul much better so I took the treo back.
I can get to this site from a regular size desktop and also my laptop. When you go to the site it asks you to download the webview.exe file and run it. This puts the webview.dll file (module) in the same directory that you downloaded the webview.exe file to; with no problems. It then launches the web interface with a login screen. You login to the server and look at the 16 cameras in real time. When I try with my mogul I get a message that says webview.exe is "not a pocket pc application"
I tried copying and pasting the webview.dll file to my mogul but I don't know where to put it or how to launch the webview.dll module.
the compression I am using to show the live stream is h.264 or I can use mpeg4.
IP address: 70.63.106.214
Please help....
Greg
Hmmmmm
I 'm on the XDA's developers site;I just knew all my questions would be answered by now.
Look Guys, I don't want to come off sounding like a pompous idiot who thinks he can prod u guys into doing his homework for him. It's just that I got this 6800 on recomendations that I had read in the forums and I really do want to keep this one.
I have purchased three phones in the past week. I started out with the Treo 755p took it back because it had the Palm OS I was sure that was not going to work, but the Sprint sales guy assured me this was better than the 700wx because in his opinion Palm OS was better than WM5. I played with it for two days reboxed and took it back, I switched it for the 700wx because it has Windows OS the best and newest thing in Palm. He was right; it is, if you don't have a need to see streaming security cameras.
I took it back to another sprint store because the guy had gotten frustrated and says to me He can not switch phones more than once. Hmmmmmm
In the past few days I have been reading the forums; I think it was at Treocentral, or somewhere and I came across one of those articles' "which is better types" TREO or Mogul, I went to the Sprint store in our super mall and I found a working display of the Mogul.
I played with the thing for about two minutes and was blown away. I said to my self I have to get this to work for the security web cams; but not just for the camera's; I want to offer this as a turn key solution to my client...He has a treo 700w. I know he is going to be pleased with this. The size difference in the screen; the sliding keyboard, I am nuts about this thing already....
I'm not talking about jpeg's refreshing every 5 sec; I'm talking live streaming video from 16 cameras with the option to control PTZ's
All I Have to do is get the Internet explorer part on the Mogul, to work with the camera's software request to download and install webview.dll I don't know where to put this file on the Mogul, I don't know how to put it on the Mogul (yet). Ihave only had the Mogul for one day
go to the site, and please help
The Ip address is 70.63.106.214
if the exe was written for desktop windows its not going to run on windows mobile, simple as that, youll have to see if the company that makes the security cameras also makes a pocket pc app for them
gmboat1 said:
When I try with my mogul I get a message that says webview.exe is "not a pocket pc application"
Click to expand...
Click to collapse
And there is your answer.
It isn't a PocketPC application. And you are trying to run it on a PocketPC.
Won't work.
The only occasional exception is .net applications that sometimes work on a desktop and PDA.
What brand of camera are you connecting to? There are some apps out there for network cameras so I may be able to help you.
Good point!
defaultdotxbe said:
if the exe was written for desktop windows its not going to run on windows mobile, simple as that, youll have to see if the company that makes the security cameras also makes a pocket pc app for them
Click to expand...
Click to collapse
I guess I was thinking about installing the webview.dll and that would have solved the problem. I am not sure about the software for the camera maufacturer they are from China, and not much info to go on...
When I go to the site: HTTP://70.63.106.214/default.ht
I get this msg: "To enable control work: Tools-> Internet Options-> Security-> Custom Level Reset to: low or Download and Install it
When I download and install the file; (webview.exe) it is a executable that unpacks webview.dll ver. 2.0, in the same folder with webview.exe.
I did not realize or I am not sure if the webview.exe is the program interface for the application to work, but now that makes sense. I thought the httpsvr.exe that is running on the DVR PC was the app for the web interface and would allow all this to work on any platform.
I guess if there is a way to decompile the webview.exe and make the neccessary changes to include the pocket pc header information; recompile it, test it, fix it test it again. then this would probably work. There is not enough information on the software manufacturers to begin trying to find a solution for this.
I have absolutly no programming skills. I realize now, that this may be a question for the developer/hack forum.
I would like to give it a try though. So if you can point me in the right direction; or if the Mods would repost this thred in the Dev/hack forum; maybe those guys would probably know what tools I would need to get started in this.
I appreciate all your help and it has made me think about the resolution, and the approach to my problem in a different way. Thanks
Greg
PC based DVR
ScottC said:
And there is your answer.
It isn't a PocketPC application. And you are trying to run it on a PocketPC.
Won't work.
The only occasional exception is .net applications that sometimes work on a desktop and PDA.
What brand of camera are you connecting to? There are some apps out there for network cameras so I may be able to help you.
Click to expand...
Click to collapse
They are not Internet Cams; I have the regular BNC connectors that pigtale into a 15 pin video connector that attaches to a PCI camera card 8 cams, I have two of the camera cards installed in each pc. I also have an ATI radeon 9550 with wideo out for the hardware compression of the video signal to the PC monitor this works for NTSC and PAL signals.

Network Directories (for Music, etc)

Has anyone head of a way to trick the OS into thinking a directory is local when it's on the network?
The idea is to share a directory full of music for example, and be able to play any of the 3500 tracks from the popular music players over a 3G connection. Without having to deal with Orb or webpages or any of that nonsense. The interface is key...would be great to do this at the OS level.
There is no "trick" here.
When a directory is not on your actual hard drive the contents needs to be delivered by some protocol over the network.
This means that:
a) There has to be a server on the machine where the directory actually resides.
b) There has to be a matching client on the receiving device.
Presuming that your cell network does not limit ports and your PC has a static IP you can even use windows file sharing to access the content. Of course this would not be very secure over internet.
You could also use and FTP server.
As for "OS level" Win Mobile has the client for windows shares built in so that is about as native as you can go but like I said it is not something you want to use over the internet (unless you have not concerns what so ever about who is poking around your PC).
Thanks levenum. Any clue how one would map the windows share?
The question was aimed at seeing if anyone might know of a client-server application that existed which did the same or better job than WM natively, using windows shares. FTP rarely supports block-level reads, and I'm fairly certain the clients out there don't either (much less map).
Ports etc. would of course be forwarded, and the system would need to be secured. Or even read-only, it doesn't matter...it could just be a r/o samba share on a hardened box. Security can be a non-issue if done right.
At the moment I only see how I can "open path" from File Explorer. I don't see a way to map it though =/
(WM6)
Good point.
I am not sure about mapping, never tried it but here is what I did manage:
First, in Total Commander (PPC version) you can save links to shares.
Now when I open a share with TC I get two things:
1) The transfer is much faster than with the built in explorer (even though there is no change in the connection, the explorer just seems to pause to "think"
2) When I double click on a file which is associated with a program, say an MP3 TC knows to launch the program and give it access to the file without copying it to device first.
I have never tried opening a network file from "open dialog" of a player directly though.
Ahh, okay. Yeah, problem is when trying to open say, a playlist of files. I could see the possibilities of possibly streaming video this way ad-hoc, but without mapping, playing lots of music is pointless. Thanks though.
I found that Resco Explorer can map a file share. I will try it out when I get home and am able to temporarily open a hole in my firewall.

[ ]Video Security - Can i be a remote spy???

so i have been thinking about my homes security and i have some questions...
i have collected quite a few expensive gadgets and they need protection!
So, i have been tinkering with my **** logitech orb web cam and it now supports motion detection. now call me crazy but i would like to be able to receive on my diamond, the video that has been recorded by a motion detection enabled web cam set up in my home. i'm trying to get my logitech web cam to save on my HP media smart server, running windows home server, not default on my laptop, and be notified by either sms that there is new video on my server or the video itself sent to my diamond. i would also like to be able to connect remotely to my laptop and be able to activate the camera software from a desktop link or something like that.
now i swear this is diamond related in the fact that i would like to use the device as a controller.
i have not used remote desktop on my diamond yet, i could not get it working.
i'm not sure if this is a app request, idea, or util so ill follow the forum template rules once this thread takes shape.
please shed some light on how one could make this happen. i think it could be useful to all of us, at home or place of business or your just want to bust your stupid parents snooping around your room.
so you are looking for an app that does the following:
act as webcam streaming server, but only when motion is detected, and when it does detect motion, it must notify you via sms, plus: you need a simple app for youre diamond to vie the stream..
i dont think I would be able to do this, but if you can clarify exacly what you want thinking WITH you is more easy...
on the other hand, i am sure the pc part has already some usefull apliactions wich are able to act as a server. but im not sure about the notification sms..
it would be ideal if that sms contained a link that you follow to open youre browser to view the stream...
what i know what is possible, there are apps for the pc that record video and send it via e-mail...
just use google for webcam security..
maybe there are pplz around here that can adapt software for u...
but i u seach im sure there are apps out there wich can do that... the only app you need is a browser capable of viewing video streams..
Would be good an app who detect movement, and then make several actions:
- Upload a photo/video on an FTP
- Save photo/video
- Play an AUDIO alarm
- Send an mms with the photo/video
- Send a warning sms
- Make a call (and let you listen what's happening)
....all when Movement is detected via the pda camera
Improvise
What you are trying to accomplish is mostly already possible. You'll need to do some research and some creative thinking to get it to work though. You will most likely not get an all-in-one solution to this issue.
It sounds to me like the motion detection and subsequent video capture is already taking place via the software you have installed for your web cam.
Basically you need two things: A way to be notified of a new video file and a way to view it.
I'm not aware of any existing application which will send an email (which can arrive as an SMS) based on a new file being created in a directory, but as a programmer I can asure you there's not much to it.
There are however many solutions which would allow you to view a video file on your WM device from you computer at home and remote desktop is not the way to go here. Your best bet is probably good old http since most video applications will handle "streaming" to file to you as you watch. You'll need to familiarize yourself with IIS (Internet Information Server; I'm assuming you're using Windows) and create a "virtual directory" pointing at the folder where the video files arrive. You'll also need to take the necessary steps to open port 80 so that your computer at home can host via http (this means configuring your router and your computer's firewall). Once this is done just pick your favorite video player and choose "open URL" or something similar and type in http://YourExternalIP/YourVirtualDirectory/YourVideoFile.
I'll leave it up to you to figure out how to best make yourself aware of new files.
As LucidObscurity says there already are several solutions available to this through the combination of existing discrete applications, although .
My setup does does what you desire although goes quite a bit further so it may be overkill for your requirements. However, as food for thought it may still be of interest. It consists of:
- A series of Panasonic BL-C1 IP cameras distributed around my house (running on the wired house network, although wireless versions are available) - these are quite discrete cameras and don't have the typical 'camera look' hence are aesthetically compatible with partners, guests etc (most people I've pointed them out to hadn't noticed them and then didn't believe they were cameras)
- The motion detection/analysis software ZoneMinder - the 'brains' - this monitors the cameras, detects motion (in zoned areas) and records the events as required (it buffers the images so you can capture what happened before the trigger too)
- The SMS tool MercurySMS (and VGSMail gateway) used to alert me via text when motion has been detected (the texts contain various event-related details/stats and a link to the recording)
- A handful of other scripts used for small housekeeping tasks e.g. scheduling the starting/stopping of the system, realtime offsite backup of recorded material (there's no point me capturing a thief on video if he then goes an nicks my PC!), etc
- My Diamond, or any other device with a web browser, used to interface with the system - controlling/configuring it, accessing live/recorded video etc. A web front end is essential in my opinion - you don't want to tie access down to a single platform/device.
Whilst it's not a setup that is up-and-running out of the box now that's it's fully configured it works well - very well. False alarms are practically nill and it doesn't miss a thing. Remote access via the web is powerful and as simple/complicated as you want - on holiday my girlfriend regularly fires up the quick 'snapshot' montage to keep an eye on our cats (we do have a dedicated 'catcam' monitoring the catflap so we can see the history of who came in/out and when).
I'm sure there are some all-in-one solutions available but they likely come at a cost and perhaps do not have the power and flexibility of a modularised solution - it'd be worth seeing what's available though.
Mathew
thanks for all your replies. great read.
i just want all my systems, Windows Home Server, Vista Home Pro and WM6.1 to come together. i will take a look into the apps you have linked to and see whats what.
i already have the ability to record with motion detection. when a new file is created in a folder on my home server, i want to be notified and linked to or streamed. i have remote access to my file via browser [ blazeitup123.homeserver.com ]. i can't get the logitech software to actually save to the server because it says i dont have the rights. i'll try and fix that tonight after dinner, but saving to the server is very improtant because my laptop could be stolen and then the whole setup was pointless. i want to incorperate my diamond into this process as much as possible, like with the remote activation and so on.
Wooow this is one of the coolest threads I read in a long time.
Although I'm not as advanced as some of the members regarding computing, I was thinking:
-Cam software streaming to remote address.
-When motion is detected, cam starts recording, thus creating movement in the remote address.
-When new connection(movement) is detected, you activate a new RSS feed.
-You get RSS notification on phone.
-Connect to remote address and check the stream.
What about:
A spy cam on the Diamond, I mean that you could hide your phone somewhere and point it at a certain spot you want to view. Then remotely access the phone and view the live stream?
Since the phone is so small its an easy hide.
Greetings to all and luck in all your great projects!
you should actually look here...
http://www.incax.com/
Looks good. I've also found Wapcam
(Seems to alert via e-mail to you could use either push e-mail or an email-to-SMS gateway for instant alerts)
Mathew
shogunmark said:
you should actually look here...
http://www.incax.com/
Click to expand...
Click to collapse
looks like great software. ill try the trail and it only 20 dollars to buy . seems very simple to. i want something more server based because my laptop would be the first thing out the door.
Security
Blazeitup123 said:
looks like great software. ill try the trail and it only 20 dollars to buy . seems very simple to. i want something more server based because my laptop would be the first thing out the door.
Click to expand...
Click to collapse
Perhaps you should invest in a big dog.
I m using this one:
http://www.accordiva.com/
U have there SecuRanger 2 Support 4 video channels
or one Camera only: SecuExpress 2
SecuExpress 2
both come with WM application for remote / viewing etc..
Take a look at orb.com. It has the ability to sms or email you if it detects movement. You could then connect to your home webcam through the phone's' browser.
...a good spy, like a 007 , should be able to SPY also without his PC
The only one that i've found is Invisible Shooter... for symbian os there are a lot of those apps (no pc needed), but for the pda there aren't many... (see the post #3)

[Q] What is an old/broken blackstone good for?

Hello,
Today I found my old broken (digitizer not working) touch HD sleeping in a dusty box... and I kind of felt sad for it.
All the hardware on the phone is working just fine except for the touch pannel
So I was thinking, is it possible to make some good use of it without investing any money for repair (it's just not worth it, as I have the brilliant HD2 since the day it got realeased)?
Having a non-working digitizer doesn't leave a lot of options but here is an idea:
Car tracking device? - have it installed in my car, constantly charging from the car battery, listening to GPS and sending coordinates over gsm data to my PC/server.
1. The blackstone have a GPS and you can install a simple data only SIM card from your provider, allowing your device to connect to a remote server over the internet and send important data - like gps coordinates.
2. It's still possible to install any custom rom you like.
3. There is a way to skip initial touch calibration screen: make an empty text file and rename it to "welcome.not" and place it in the root ot your sd card. (Thanks to Chef_Tony for pointing that out!)
4. There is a way to control the device via PC and a USB cable: after hard reset your device default usb connection mode will be ActiveSync. Then run the free MyMobiler application on the PC and it will automatically install on the usb connected device, allowing you to fully control it via your PC mouse and keyboard. (Thanks to Chef_Tony for pointing that out!)
I'm sure that I'm not the first nor the only one that came up with an idea like this, but I couldn't find any topic on it. I also know there are many brilliant developers in XDA that make loads of awesome apps for our HTC devices.
So, any ideas?
Shouts to:
Chef_Tony
Best wishes,
Xeno
new digitizer is about $8.. buy it, fix it at home and sell it for $100
yes, you can always replace the digitizer and have a fine phone.
but anyways, since your plan seems pretty interesting, here is some basic input to help you:
3. you can bypass the OOBE. all you need to do is, create an empty txt file on your pc, "untitled.txt" and rename it to "Welcome.not", (yes, change the extension to "not") and put it in the root of the sd card, then the welcome wizard should be skipped after a hard reset, and so you don't need to align the screen.
4. after a hard reset, the default option for a usb connection is activesync. then you can run MyMobiler on your pc, it will install on the device automatically and you can control the device on your pc's screen with keyboard and mouse.
so you can still use it for anything you like, if you control it over the pc and preconfigure it to meet your needs.
sleby said:
new digitizer is about $8.. buy it, fix it at home and sell it for $100
Click to expand...
Click to collapse
I gave it a shot few months ago and I failed The problem was that the digitizer is literally glued to the lcd panel, and detaching it is a REAL pain the butt (I almost broke it). Anyway, after reassembly the new touch screen didn't work and I gave up. I cursed myself later on when I found the topic here in XDA forums that the best way is to buy a digitizer+lcd combo...
Chef_Tony said:
yes, you can always replace the digitizer and have a fine phone.
but anyways, since your plan seems pretty interesting, here is some basic input to help you:
3. you can bypass the OOBE. all you need to do is, create an empty txt file on your pc, "untitled.txt" and rename it to "Welcome.not", (yes, change the extension to "not") and put it in the root of the sd card, then the welcome wizard should be skipped after a hard reset, and so you don't need to align the screen.
4. after a hard reset, the default option for a usb connection is activesync. then you can run MyMobiler on your pc, it will install on the device automatically and you can control the device on your pc's screen with keyboard and mouse.
so you can still use it for anything you like, if you control it over the pc and preconfigure it to meet your needs.
Click to expand...
Click to collapse
Thank you fine sir for the light on the topic. I'll make sure to add this in the first post
Every new idea/info will be of great value reaching the goals of this thread
Ok, putting a welcome.not file on the root of the sd card did the trick as promised. I conneced the device to my PC via usb and as expected it connected via ActiveSync by default.
Unfortunatelly MyMobiler was unable to install the mobile part of the app automatically - it poped a message on the phone "This program is from an unknown publisher..." and it's now waiting for confirmation to continue the execution of the app... and it's pretty impossible to confirm this with a broken touch pannel
I believe there is a registry workaround for this, but it should be set by default in a cooked rom? I'm using the latest WWE rom from HTC.com.
It will be great if some good chef could mod this rom and make this annoying message go away
1. i just had an idea on how to get mymobiler running. i cannot promise, that it'll work, but it certainly doesn't hurt.
having the latest mymobiler on your pc, you see different files there, some of which are named:
remote.exe
remote.exe.40
remote.exe.50
when you connect the device in activesync mode, and set it up for syncing (at least notes or browser favorites, something that does not actually mess with your pim data), you will see the blackstone in "My Computer". entering it, you have the storage home drive and the storage card. by enabling "Show hidden files" and disabling "Hide system files" in your windows explorer, you should be able to access the windows folder of the device. then you can copy the file remote.exe.50 there, rename it to remote.exe (the .40 file is for wm2003, the .50 file for wm5 or greater, but you need to remove the extension to make it executable).
and then, since you cannot make shortcuts yet, copy the file again to \Windows\StartUp\
thereby making it run automaticly, when the device boots. then soft reset, and i am fairly certain, you should be able to run mymobiler.
from there on, you could disable the signature warning for future programs.
EDIT: apparently, the startup folder is victim to the certification warning as well. still i leave this paragraph, as i find it interesting as to how mymobiler works.
2. another idea would be to just flash any cooked rom found here on the forum. all of them have this stupid signature warning disabled and are ready to run mymobiler out of the box.
3. my third idea to get it running is trying to modify the responsible reg key:
\HKEY_LOCAL_MACHINE\\Security\Policies\Policies\0000101a
it is a dword key, where the value '0' is activated warning, and '1' means, the warning is disabled.
in the 2577.zip in the attachment, you will find a reg key, that changes this value and also a cab file to do the same thing.
on a device with an ARM cpu, the folder 2577\ on the storage card will be monitored for autorun.exe and execute it, when the card is inserted. i also packed 3 different autorun.exe files in there, one by me, one by navigon, and one by igo, hoping at least one of them would work with a proper certificate. what you'd need to do, is extract it, and copy it to the storage card, so the path is \Storage Card\2577\Autorun.exe
autorun classic works with the CFG.txt, which is also included and changed to work, as long as your rom is WWE and the storage card is actually named \Storage Card\, if not, edit the path.
until now, i was unable to run it, because the autorun.exe files aren't signed with a trusted certificate either, but i'll give other people time to post ideas, and rethink the thing, maybe i can make it work for you.
still i think, if you are gonna use the device for a few little features, you are not required to use the stock rom, so flashing another rom, which then does not have the certification warning would be the easiest way to go for everyone involved.
Connect it to your PC and use it as a monitoring tool!
Can come handy when benchmarking.
http://forum.xda-developers.com/showthread.php?t=695298

Mounting the Acer as a network drive or letter

Hi,
I've got a set up of multiple machines using a piece of sync software. It works exceptionally well, except I'm having trouble getting the A500 to play nice with the set up.
When I plug the A500 in via USB, it shows up as a mobile device, but doesn't appear to integrate itself as an actual windows drive. As such, the software that I use won't see it.
I know there are overly complicated solutions that involve setting up network shares and FTP servers, but the simplest solution would come from mounting the ACER as a drive letter or a network share in order to trick the software I'm already set up with into seeing it. Even if it were only a single directory on the tablet.
Is anyone familiar with a way of doing this under windows 7? I've searched on the subject, but no one seems to have the solution I'm looking for.

Categories

Resources