yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam General] snowflynz:
Thanks Tytnguy, great piece of software!

However after using this a few days, I have noticed a couple of issues:

1. outlook no longer closes, even though I have the "Auto close outlook" ticked

I think this use to work, but the last few days, when I turn my screen on, outlook is still running (not automatically closed).

2. When using "Wi-fi or Default connection", the program failed to run at all at the scheduled times this morning.

I will retest this tomorrow with only using Default connection (gprs) and see if this works.

I am using a HTC Touch Pro 2, wm6.5, standard HTC rom, 1.86.707.4
[8525, TyTN, MDA Vario II, JasJam General] EJLT:
A I blind, or the download link isn't here?
[8525, TyTN, MDA Vario II, JasJam General] camro:
download time in outlook is not so easy - i know......because no sync-call of the pocket outlook API availibble...

in my application *SchedHandler* i do the checking process via counting the emails in pocket outlook, and if changed, then i know that the polling was successfully...

if wanted i can help you to implement also the email-checker.if the email items will be changed, then you know, that there is a new email ...and you can do then the next processes ...
[8525, TyTN, MDA Vario II, JasJam General] Pera55:
On my HD2 I get the message:

"Error initializing the application []"

at the end of sending / receiving.
[8525, TyTN, MDA Vario II, JasJam General] tursiops:
Yes, I get the same thing on my TP2. After the successful sync Now, the four little rotating color dots go for a while, then the

"Error initializing the application []" msg pops up.
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Since its happening at the end of sync, is it because of the fact that 'Close GPRS connection checked', See if that is the reason.

Sorry I do not have time to work on the issues as I am too busy these days

Hope you understand
[8525, TyTN, MDA Vario II, JasJam General] tursiops:
No, I do not have that checked.

It works fine when using "test" but only shows the error when using the Now option.
[8525, TyTN, MDA Vario II, JasJam General] tursiops:
Additional info: it appears to be rk-OSR itself that is trying to restart. Could this be due to Sense?
[8525, TyTN, MDA Vario II, JasJam General] ecb5:
thank you very much for this application.

How come i didn't know it existed until today...

I have tried this application for 2 hours.

Feedback:

-Icon for application and Now should be a bit different. I use both and i get confused between the 2.

-Why is it taking such a long time to turn down wifi after sync?

- Why soo long time in between account syncs (i have 2 accounts)?

-Hotmail pop3 server working

-Long time when docked to computer with sync center(win7) to try wifi, turn it off and try connection via sync center USB connection ( settings used= wifi and default)

thanks again
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Thanks ecb5

Regarding the 'long time' issue may be you have to adjust the settings 'Connection Wait time' and 'Wait time to sync'

Regards
[8525, TyTN, MDA Vario II, JasJam General] John Boy:
entered in error
[8525, TyTN, MDA Vario II, JasJam General] John Boy:
In the first post, just above the thumbnails, there are the words "Download from here". That is a link to the download site.

JB
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
hmm... i am not able to do that on my TyTn WM6 though.

I am not using the exchange..

How about your internet access using IE? does it connect using wifi and if not gprs automatically?
[8525, TyTN, MDA Vario II, JasJam General] stynos:
tytnguy; damase only uses exchange; the schedule for this is set in ActiveSync; not in Outlook. He doesn't need your app...
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Yes stynos I am aware that he is just using the Exchange to sync up.

But my question is ... Is it possible to setup pda to use wifi if exists if not use gprs?

I am not able to do that as it is. I remember my old pda 2003 used to do that. How about your device? I am thinking of building some interface so that if wifi is not available then to use gprs(based on the user settings)

I basically use wifi to sync up. Both my ISP and the Work locations pointing to my network in the configurations.

Thanks
[8525, TyTN, MDA Vario II, JasJam General] stynos:
Third-Party app

Sorry; I misunderstood...

I believe there is an app that does this (setting a "connection-group" like in Symbian). I used it before we (the company) switched to exchange. I tried to find it but I can't seem to remember the name...

And is it possible to make your app run in the background? So the screen stays off?
[8525, TyTN, MDA Vario II, JasJam General] damase:
Yes it does.
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
I will look in to it. But issue could be... Since device needs to connect WiFi , may be i just have to run the app but just keep the screen off(not the suspend/sleep mode). But i will try that next :)

Thanks
[8525, TyTN, MDA Vario II, JasJam General] stynos:
Wifi isn't that big a deal for me....

Perhaps only make the "connect to Wifi-part" in the foreground? I have one of those unlimited data-plans; And I'm rarely in the office or at home anyway... (who needs a personal life...)
[8525, TyTN, MDA Vario II, JasJam General] stynos:
Issues...

Hi tytnguy,

I had your app running today and in basics it's perfect!

But what fun is a perfect app for a developer... ;)

I was in my car before; running TomTom; and the device hoplessly crashed when a sync was started. I almost couldn't perform a soft reset; because halfway through the reset; your app would start attempting to sync.

Perhaps it would be better to dot the "background" thingy...

Anyway; good luck!
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Sorry to here your problem while running TomTom,

I do not have TomTom so I am not able to re-create what you experience:confused:

But, let me see if I can isolate the issue and have some fix

1) Is TomTom running as a full screen app? If so are you able to launch any other application such as oulook while TomTom running? Also if it is possible to run TomTom as not full screen and see if rk-OSR syncs?

2) Do you think its related to memory, I know TomTom would draw lot of cpu to run?

Just a workaround for the problem you reported, restart the device only after the schedule time is expired, once time expired the scheduled event does not occur.

I am trying to find a fix for this issue.:)
[8525, TyTN, MDA Vario II, JasJam General] stynos:
Full screen

Hi there tytnguy,

I must say I'm impressed: a reply on a Saturday morning at 7.25... You are either a very dedicated developer, or just not from my time-zone... ;)

TomTom is indeed a fullscreen application. And I am able to start other applications while TT is running; either by pressing the buttons, or "minimising" TT, by pressing the OK-button and use my plugins or start-button. (pressing the start-button in TT only shows the menu for a moment. However, using the down-arrows I can stuill scroll through the menu, only the highlighted item will show through TT).

And I don't think it is a memory-issue; I have almost no "memory-consuming" apps running. I still about 10 MB of free Program memory and 23 of storage memory left...

Ran into another issue: I was picking up some colleagues at the airport last night, and as I was sending them a text message, your app started. That meant I had to stop typing; because my Outlook "had a life of it's own". No crash this time; but it was inconvenient... I can imagine that, whatever you're doing at the time of a scheduled sync, one would have to stop doing that untill the sync is completed... I'm sounding like a drag, but I believe that running it in the background would solve a lot of issues (that is of course if you're not using WiFi...

If you need more feedback; let me know!
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Well 7:25 is 10:55 where I belong! So but that does not mean that I am not dedicated programmer!:cool:

Memory issue I pointed was, since the rk-OSR might* be consuming all the remaining memory while it is being loaded as well as TomTom already open. The applications developed with Visual Studio and dotnet have some issues with loading the assemblies for the ‘first time’. But I am suspecting the cause could be, since outlook tries to come in front of TomTom, is causing this issue. But that can be handled by keeping outlook minimized while sync.

I see other issue you encountered at airport, may be the sync should not happen automatically if outlook is already opened, may be a setting would help.

But running a program in the background looks not possible as of now, as to do GPRS connect it needs to be powered on. I know the scheduling on the outlook does connect while sleep mode, but Microsoft compact framework exposes very little of the core functions to the developer. But in any case I will keep that request in my mind and if any new idea flashes I will gladly update it. After all you are the only one used the application and replied back:D

Thank you.
[8525, TyTN, MDA Vario II, JasJam General] stynos:
No harm intended! ;) You are obviously interested in the feedback; so you just be a dedicated developer!

Are you sure? When I'm using Outlook's schedule to send/receive it does so even when device is sleeping. The device only wakes up when I have new email... My connection practically always on anyway, because of my "pushmail" connection through ActiveSync... Even when I'm not connected, my device doesn't wake up on connecting, only on notification of new email.

Well, since you ask:

I can imagine there are other people in need of a more "customizable" send/receive schedule. I would actually be willing to pay for receiving my email, but not at 4 in the morning. Maybe you could look into only the schedule-part, set up a paypal-account and retire in the Bahamas?

No, thank YOU!
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Update Version 1.0.3

New connection option added so now you can connect using WIFI first if WiFi not available then the default (GPRS/Edge/3G) would be used. (Note: you need to configure the connection setting to this to work properly).

Another setting ‘Sync only while sleeping’ added, with this setting, as the name suggests the automatic synchronization occurs only if the device is sleeping. So if not sleeping it won’t interfere with your activities on the device.

Latest cab file is updated to the first post
[8525, TyTN, MDA Vario II, JasJam General] Andre Koster:
I would love to use this application for automatically synchronizing outlook (contacts and appointments, etc) over WiFi. But I see that's not possible with the current version, it's for email accounts only :( . If it's not too difficult to add it, it would be great!
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
You mean sych up with the 'exchange server' over wifi?

I know its not supported (donot know if its easy to do) but just making sure t o understand your request.:)
[8525, TyTN, MDA Vario II, JasJam General] Andre Koster:
Indeed, sync with a exchange server on the internet. In Activesync, the lowest setting is every 4 hours, and you can't say "wifi only". Sometimes I noticed it feels the need for sending all my contacts (it shouldn't, but still), which takes about 1 MB. When GPRS is used, it eats away too much of my dataplan. Synchronizing quietly over over WiFi once a night would be perfect.
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Noticed possible bug with version 1.0.3

"When the option *Sync only while sleeping* is selected, the *rk-OSR Now* shortcut would not perform a manual sync up of all configured email accounts."

If anyone needs a fix for this behavior let me know. Otherwise I will update it whenever I release the next version.
[8525, TyTN, MDA Vario II, JasJam General] feathers:
This could be just what I'm looking for!

My Aim:

I want to synchronise my (single) mail account periodically via WiFi under WM6.

My Problem:

Using WM6 alone, I see no way of doing this as the entire OS seems built on a foundation of cellular connections of some form. The Messaging app will use WiFi if it's available but it won't wait for a WiFi connection to form if one isn't already present. This is really annoying, particularly as My PPC2003 device sort of managed to do this...most of the time.

The Solution:

The solution looks to be this application. My requirement comes down to finding a piece of software that will hold off a Messaging synchronisation request until a WiFi connection has had a chance to form - 10s or similar.

From all that I read here, that looks to be exactly what this app offers. I'm looking forward to trying it!
[8525, TyTN, MDA Vario II, JasJam General] feathers:
OK, tried it and it just about does what I need. I have a couple of problems, however (or at least my Toshiba G900 does!).

1) It doesn't seem able to switch WiFi on or off on the G900. This in itself is not a problem to me since I switch WiFi by my profile software and leave it enabled when I'm at home but it may be a contributory factor to the second issue I have.

2) When unread mail is found, a notification is raised...and raised...and raised with the alert tone sounding continuously at 20(ish) second intervals until the Notification is dismissed. I'm wondering if this may be something to do with the inability to shut down WiFi (both my timers are set to the default 20s).

As I say, I don't actualy want it to shut down WiFi, so I'm happy with that behaviour (maybe if this is 'fixed', it could have an option of some sort to determine whether it should be shut down or not?) but whatever it does, the constant alerting makes it a bit of a problem to leave unattended about the house for any period of time.

That aside, this has answered a big problem (to me) with WM6 and I'm very pleased to get my automatic WiFi mail schedule capability back.

--------------

With reference to the discussion about fetching email while suspended, what WM does in its automatic mode is power up in what Microsoft terms 'unattended' mode (I believe) where everything is powered and available except for the screen. It doesn't do anything while suspended. Thus both the phone and WiFi radios are available for internet connection and mail fetching, but nothing is displayed.

Whether your development tools allow you access and control of such a mode, of course, is not a question I can answer, but if they did then running without lighting the screen up would be a great addition to the software.

(Sorting the mail events in time-order would be nice too.)
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
First of all thanks for such a detailed feedback, appreciate it.:)

rk-OSR does not do anything special to raise the new mail alerts. But since you said that they are raised somewhat for 20secs (=your timer setup) makes me wonder. What is the ‘Internet’ connection setting in the application?

If you have already established the connection then, try the option Exiting connection (USB) in this mode the application does not attempt to make any internet connection.

Happy to note that :)

That's a great tip, I will look in to that option..

Thanks again
[8525, TyTN, MDA Vario II, JasJam General] feathers:
I'm using WiFi only though the same happens in other modes.

No, the connection's not already established. What I mean is that WiFi is enabled but the device is off. Thus on power-up I need to hold off mail collection until the connection is established, but I don't actually need to do anything to establish the connection as it hapens automatically...if you see what I mean. (I'm using the 'Sync if Sleeping' option)
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Ok, You swich on the wifi then turn off the device... Next time when rk-OSR starts up... it connects to the wifi and then it checkes the mail...

Try increasing the 'Wait for connection' timeout to 45 sec or so. Hopefully it makes proper connection then.

Also check your sound notification settings in the system settings.

If you manually check the email using the rk-OSR application... Then what happpens? do you have the same notification issue?

Or... since it is trying to close the wifi connection... and not able to do so for some unknown reason... is causing the issue...In that case i could add a setting so that application will not auto close the wifi after sync..

But let me know
[8525, TyTN, MDA Vario II, JasJam General] feathers:
I've got proper connection going OK with suitable timeouts. As this is the main reason I wanted an application like this, I'm pretty happy about it too!

Not quite sure what I'm checking them for...but they look OK to me.

I haven't tried that yet (at work at the moment so no WiFi) but I did a run using the 'default connection' after which the notification bonged once and the device shut down after the appropriate timeout as every other notification does.

I'll try it manually via WiFi this afternoon (UK time) when I get in.

That's my ideal...but it's your application so the decision on such things is yours.
[8525, TyTN, MDA Vario II, JasJam General] feathers:
I haven't tried the 'Now' option (because I haven't figured out the editing of shortcuts!) but using the Test option from within the application elicits the same multiple alert result if that's an equivalent.

Assuming I figure the shortcuts out, is there a way to enable/disable th application via the command line? That would allow me to completely automate my email processing.
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Regarding the 'Now' option do not worry at the moment as i am working on it... Things going to change a bit there...

But regarding the the command line... yes its possible... Just wait till next release... You will have command line support!
[8525, TyTN, MDA Vario II, JasJam General] feathers:
Excellent news!

Assuming you go ahead with the Wifi switch disable option, is there anything I can do (or look up) to help actually switch WiFi on my device? Even though I don't want to do it personally, someone else might.
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Update 1.0.4

Hi guys here is the latest update on rk-OSR

Following new settings added

‘Wi-Fi’ manual on/off: This option added specifically for people whose network card is no detected by rk-OSR. So basically you would switch on your Wi-fi card manually and turn off the device. On scheuled time the device just turns power on internally so that sleeping Wi-Fi card would connect. Then once the connection is found it syncs up the email accounts and turns off power to the device.

Sync silent’: With this setup the auto synchronization would happen with the screen off.

Sleep device after sync: suspends the power after synchronization.

rk-OSR now the shortcut needs to be modified as ‘Now’ in place of ‘AppRunAtTime’.

Also you can manually synchronize the accounts with following command line

“\program files\rk-osr.exe” now
[8525, TyTN, MDA Vario II, JasJam General] feathers:
Thnks for this - installed and running OK, but it's giving me a few problems:

It seems to run OK with the new manual WiFi option, but that doesn't solve my multiple alert issue as I'd hoped it might.

The 'power down after Sync' option powers the device off even when new mail is found. In practice, this means that when notifications are enabled, the Notification alert doesn't sound until I power the device up again later on. Perhaps when notifications are enabled, the software should only power the device down if no unread mail is found but leave it on if a notification is being raised?

The silent mode hangs my device when I switch it on after a mail sync and requires a soft reset to get out of. (I know it's after the sync because the LED started flashing to indicate a new message once I turned it on but the screen never came up to let me see what it was. Bizarrely, the notification was then raised after the reset.)

Sorry, it's not all good news with respect to the new features from my perspective :(
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Check the sounds notification for any abnormality.

Are you using some kind of application to track emails? (Profile supported programs such as phone alarm etc) since they also have mechanism to announce new mail…*May be* multiple sound notifications are raised from different sources. Also try a non wifi connection to pda.. And simulate the auto sync on rk-OSR and see if the multiple notifications are raised. I do not know if any other device has this issue. So any one having the same issue please report

Agreed, next release

Try the auto sync feature. With existing connection or something else (with out wifi though) and (I know you will not get any mail, but that does not matter) then let the phone go to sleep mode by the application. See if the device hangs up now (just trying to see if the wifi card is the culprit)

We will try :)
[8525, TyTN, MDA Vario II, JasJam General] Bensat:
Thx a lot! Nice application. I'm gonna download and test this small app. Perhaps this is something for me.....:D
[8525, TyTN, MDA Vario II, JasJam General] feathers:
OK, my bad. I uninstalled my profile software and adjusted the notification settings manually. Guess what...single, sensible, notifications.

Thanks for the hints though, sorry for the red herrings.

Great.

I've done some tests in this area and I think I know where the problem lies.

To set up for this I did the following:

1. Soft reset (WiFi drivers are not loaded until WiFi is enabled on my device so a soft reset gets rid of them)

2. Selected 'Default' mode in place of WiFi (with the WiFi radio switched off.)

What I found:

1. With no new mail, the G900 switches on normally after a 'Silent' fetch.

2. With new mail (I manually marked a message as unread) the device failed to power up and needed a reset.

I then tried the same with WiFi switched on and achieved the same results. It look like it's the attempt to raise a notification in Silent mode that's causing the problem. Maybe the device needs waking up fully before a notification can be correctly handled?

Hope that helps!

Mike
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Wow thats great, I should thank you for feedback!

This is still better news for me, you did a wonderfull debugging for me... I will fix it next release.

Since I disable the notifications here while debugging.. I was not able to pinpoint that error.

Thank you for your help,
[8525, TyTN, MDA Vario II, JasJam General] tvachev:
Nice App

Very usefull app! Unfortunately it doesn't work properly on my ETEN x500 ...

It seems it doesn't see the WiFi card because it doesn't switch it on/off

I would like to see it working very much though :(

Nice work!

Thanks
[8525, TyTN, MDA Vario II, JasJam General] feathers:
As I understand it, there may be 2 possible issues here:

1. rk-OSR simply doesn't switch your WiFi (it doesn't with my G900 either)

2. On some devices, apparently, third party software can't switch WiFi until it's been manually enabled by the 'built-in' software. This is apparently due to the fact that the WiFi drivers are only loaded when WiFi is enabled and can only be switched when loaded. (The G900 does this one too - I've proved that with PhoneWeaver from SBSH).

To make sure you have problem 1 (and not problem 2), make sure you've tried this software after switching WiFi on and off manually. If it still won't switch, then you have problem 1 (like me).
[8525, TyTN, MDA Vario II, JasJam General] feathers:
No problem - I have a personal interest in seeing you getting this working as well as possible :)

Could I make one more feature request please?

I would like to see the ability to do the following via the command line:

"\Program Files\rk-OSR\rk-OSR.exe" Enable

"\Program Files\rk-OSR\rk-OSR.exe" Disable

That would allow me to use PhoneWeaver to automatically switch rk-OSR mail facilities on and off automatically on a profile switch.
[8525, TyTN, MDA Vario II, JasJam General] tytnguy:
Sorry to hear that you are not able to switch on your wifi card.

Are you able to switch on the wifi card using any other 3rd party software?