yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Software Development] amfasis:
two errors

I also get the error about HandleAr

it happened at the end of a sync. I had a limit of 50 and it copied 49 sms to the send folder of my active sync gmail account. And it did not auto-sync.

I have .NET CF 3.5 on my htc artemis.

After I restarted the app, I set the schedule to 21:00 (after first chosing 8:00 and 9:00 I think) Now when the time came (21:00) it started copying the sms to the send folder but it did not stop at 50, it continued beyond 300, when I decided to reset the phone, because I also could not start SmsSyncUp to stop it or so.

I now think I will have to start over (delete the sms in gmail.com) and hope for the limit to work because I also deleted the messages from the send folder because otherwise I probably will not be able to use gmail on my phone for a while. So the id.txt has to be deleted...

a bit of a hussle...
[Windows Mobile Software Development] mohitsapru:
I have almost stopped working on it since i havent received any comments, well i am attaching one more cab that had some fixes done but i didnt upload that on first post. check if this one fixes your issues.

And combining sent and inbox in a single thread is somewhat a bigtask, and i am not ready for that.:o
[Windows Mobile Software Development] amfasis:
Installed the 0.6.2 version and did another try.

Got the same issues, only 49 messages copied and no automatic sync.

Here is the error log (the first part is dutch, it says about installing the messages-handler thing of .NET framework)

Maybe you have time to resolve the problem. I would appreciate because it is a nice concept for a program!

SMSSyncUp.exe
ArgumentException
Er is een foutmelding beschikbaar voor deze uitzondering,
maar deze kan niet worden weergegeven omdat deze berichten optioneel zijn,
en momenteel niet zijn geïnstalleerd op dit apparaat.
Installeer NETCFv35.Messages.EN.wm.cab voor Windows Mobile 5.0
en hoger of NETCFv35.Messages.EN.cab voor andere platforms.
Start de toepassing opnieuw om het bericht weer te geven.

bij Microsoft.AGL.Common.MISC.HandleAr(PAL_ERROR ar)
bij System.Windows.Forms.ProgressBar._SetInfo(AGL_PROGRESSINFO& progressinfo)
bij System.Windows.Forms.ProgressBar.set_Value(Int32 value)
bij GmailSMSBackup.IMAPSmsBackup.UpdateProgress()
bij GmailSMSBackup.IMAPSmsBackup.SendMail(String user, String subject, String message)
bij GmailSMSBackup.IMAPSmsBackup.SyncSMS()
bij GmailSMSBackup.IMAPSmsBackup.SetTargetFolderAndSync()
bij GmailSMSBackup.IMAPSmsBackup.menuSync_Click(Object sender, EventArgs e)
bij System.Windows.Forms.MenuItem.OnClick(EventArgs e)
bij System.Windows.Forms.Menu.ProcessMnuProc(Control ctlThis, WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Form.WnProc(WM wm, Int32 wParam, Int32 lParam)
bij System.Windows.Forms.Control._InternalWnProc(WM wm, Int32 wParam, Int32 lParam)
bij Microsoft.AGL.Forms.EVL.EnterMainLoop(IntPtr hwnMain)
bij System.Windows.Forms.Application.Run(Form fm)
bij GmailSMSBackup.Program.Main(String[] args)
[Windows Mobile Software Development] mohitsapru:
Cant promise that i will be fixing it... but i will take a look again
[Windows Mobile Software Development] #G#:
threaded mails - sent

Hello!

Do you think it will be possible to have threaded emails with the full sent and received smss?

This creates duplicates I suppose, I mean as time passes and sms with a person grow, would I find several emails with the full history?

I have collected a few thousand sms over the years and I'd be happy reducing the number of emails.

So if it works I could delete ID.txt, delete all mails with tagged subject :-)

Thanks!

Jo
[Windows Mobile Software Development] mohitsapru:
Sorry Jo,

I didnt get what exactly u are asking for...

If u were asking what threaded mode does then it merges all the sms from a single contact/number into one mail reducing the mails.

Also this will work only per folder, it wont combine sent and inbox folder

Let me know if this is not what u were asking.

Thanks,

Mohit
[Windows Mobile Software Development] golizza:
Could you possibly to make any version for window mobile standard?
[Windows Mobile Software Development] yu1302:
Thank yau for your work

but i also have the same problem with failure

reli want to use it

thank you;)

PS i am using gsmart s1200 , WM6.5 NETCF 3.5
[Windows Mobile Software Development] computerjunkie:
I wrote a similar app that does true threaded mode. Thanks mohitsapru for his inspiration.

[URL="http://xdaforums.com/showthread.php?t=702390"]http://xdaforums.com/showthread.php?t=702390[/URL]
[Windows Mobile Software Development] TouchGig:
good application :)
[Windows Mobile Software Development] leaskovski:
Hi guys,

Got a silly question for you.... I am now starting to use Andriod on my HD2 and I want to be able to move SMS between the systems, so is this app compatible with the way http://code.google.com/p/android-sms/ works (which is a similar idea)?

E.g. If I backup my SMS to gmail using this, can I restore them in that, and vice versa? Has anyone tried this?

Edit:

Although the app doesnt officially support restoring yet, you can actually use abeta version that does include a restore version....

http://code.google.com/p/android-sms/issues/detail?id=3
[Windows Mobile Software Development] TouchGig:
hello,

i have done the synchronize once successfully to the phone's gmail but i deleted them..

then i do another time of synchronize...end up there's no messages in the gmail folder to save in to the gmail account.

can you please kindly advise? thanks
[Windows Mobile Software Development] mohitsapru:
if you want to synchronize ur old messages again please delete the id.txt file from the folder where it is installed and try again.

Thanks,

Mohit
[Windows Mobile Software Development] TouchGig:
yea, it is working great.

I have another question, will it be possible to block incoming messages, and allows only outgoing messages?
[Windows Mobile Software Development] mohitsapru:
nice to hear that ;)

well block incoming messages, in what? are you asking in general as this app wont do anything related to that... well but for your question i have an answer and applies to all phones... ;)

to disable incoming sms press *35*0000*16#

to enable again #35*0000*16#

give it a try and let me know if this works :)

Thanks,

Mohit
[Windows Mobile Software Development] missparker76:
Hi Mohit,

I've just tried your application and it worked very well with my HD2 !!

Thanks, this is definitely a useful software :)
[Windows Mobile Software Development] sunmoon1128:
hi...

wanna ask...

did the software able to restore sms to another phone?
[Windows Mobile Software Development] mohitsapru:
sorry it wont.
[Windows Mobile Software Development] leaskovski:
Hi there....

This app is written in Visual Studio yes? Do you mind me asking what IMAP code you are using? Is it something that you have constructed yourself, or is it a free library that I can find on the internet?

It would be handy for a freebie app I am trying to write.

Cheers
[Windows Mobile Software Development] mohitsapru:
yup this is written in C# but i am not using IMAP code... instead i am using the inbuilt outlook to send the messages to the mail address...lazy isnt it ;)
[Windows Mobile Software Development] leaskovski:
Interesting... So you are basically creating new messages in another pocket outlook account? Interesting! That might work....

Thanks
[Windows Mobile Software Development] cjatcti:
Bug with lots of SMS

Hello,

I have over 1000 messages on my TouchPro 2. With the limit set at 50 I press Sync SMS Folder & the bar moves to the end & I get an error screen telling me I need to install the update with error codes.

I set the limit to 1000 & the bar goes very slowly but I get the compleated message.

Both worked but you appear to have a bug with first sync when there are a lot of messages & the limit's too low.

All the best

Andrew CJ
[Windows Mobile Software Development] luscious.candyy:
i dont knw if it works..!!

but in case it does... m gonna be sooo thankful to u! :)

[edit] : it works but i can see only sent sms in my email.. :(
[Windows Mobile Software Development] afavtos:
Thanks for a great app! I installed without any problems v.0.6.2 and everything works smoothly.

Now, if I am not pushing my luck here, I have a suggestion/request that many would find very helpful... Is it possible to have a similar app to sync Android SMS with gmail? There are several Android apps that do this job, but they don't have a compatible format with yours in the way they translate SMS to/from gmail.

If you could make such an Android app, or if you know of any that does it already, then we'll be able to sync back-and-forward those of us that use dual booting (Android and WM). Calendar and Contacts is taken care from google, but SMS is the only thing we are still missing! Search the forum to see how many people are looking for something like that...

Thanks for a great job!
[Windows Mobile Software Development] manveruppd:
I'm also receiving an error on trying to run this. Also, I don't understand why the drop down options in "select Gmail account" only give you between "ActiveSync" and "SMS" to choose from. Neither is a Gmail account, I don't understand why I get these options and what the difference between them is.
[Windows Mobile Software Development] manveruppd:
OK, my last message was silly in retrospect, I only just figured out exactly what this app does! :) "Activesync" was only appearing in the dropdown box because for some reason ActiveSync sets up an email account when you pair a WinMo phone to your PC. It confused me as to what exactly you were selecting in that field. When I finally figured it out I set up a GMail IMAP account on my phone's Outlook and tried again.

For some bizarre reason it again didn't work even though I had all the settings for my GMail account down right, prompting lots of headscratching, but when I restarted the phone it did. However, it unfortunately only works with the default folders in the SMS account - a folder called "ARCHIVE" that I had created refuses to sync for love or for money, so I just copied them all back to my Inbox.

Also, it would be nice if instead of just prefixing the subject with "IMAPSMS|INBOX" etc. the app were to automatically create email labels for the messages instead! When I saw the emails queued up in my outbox I thought that was the intention, but if it was then it didn't work. :)

Anyway, brilliant little program here, all you need is to be a bit more verbose in your interface so that us dufuses can understand what each setting actually does - I was actually trying to sync up my SMSs through my SMS account yesterday! :p

EDIT: Spoke a bit too soon, seems it only wants to sync a couple dozen texts at a time, and I don't know why. Could it have something to do with "Upload limit"? I have it set to 99999, having assumed that it was for number of messages. Is it for bytes or KB instead?
[Windows Mobile Software Development] mohitsapru:
i am not sure what actually is the issue, there is no size limit it is the message limit in numbers secondly i would request you to search the thread also as some of similar issues as yours were discussed already.

this is from the first post

Update for v0.6

1. Added option to sync all folders

2. Added option to delete messages older than specified date after sync.

NOTE: Deletion part still under testing, works well but still in case you have some important messages... keep a backup

All these settings also will be applied to scheduled runs.

The messages already synced wont be synced again, incase you want to sync those also plz delete id.txt from installation folder.

Setting up and scheduling

1. Open the app.

2. Menu->Login

3. Select the Gmail account

4. Select the folder you want to sync messages from

5. Menu->Schedule->Set the time (if the time u set up is less than current it will set it up for next day else on the same day)

6. Click Set, if succeeded it will show the scheduled time else will show the error.

7. If you want to de-schedule it click de-schedule.

8. Schedule will run the app at that time upload the text in mail and will try to sync. Sync will be successful only if u are connected to internet, this app won't automatically do it.

9. Default limit of one time sync is 50 if you want to change it, after login select Menu->Message Limit and enter the number of messages u want to upload per sync. This will also be used in Scheduled sync

If you want to sync your old smses which u already have synced, u need to delete the id.txt file from the program folder.

Note. Please configure your Gmail account first...

Provide your inputs
[Windows Mobile Software Development] coolfire:
This option would be awesome! :D
[Windows Mobile Software Development] mr.bryce:
this i get
[Windows Mobile Software Development] mohitsapru:
thanks jolas for testing and confirming...
[Windows Mobile Software Development] Astronout:
Ty for this neat app!

I've been playing around with it for a while. I noticed that that it also works with an Exchange account, well, sort of that is.

Problem, however, is that in my case the initial sync sends over 4000 messages. And my Exchange server is capped at 1000 outgoing messages per day. So, I cannot send any more e-mails today :) Instead, I moved the remaining messages from the outbox to an inbox subfolder. With positive results.

Question: what exactly do you mean with 'sync'? As far as I can tell it is a one-way archive? Sync is bidirectional.

Chs,
[Windows Mobile Software Development] samvds:
Great!

Yes, man!

This is it! :-)

From the suggestion on the SMSFilterRule?

I'll try it ASAP!
[Windows Mobile Software Development] mohitsapru:
yes you got it right... :rolleyes:
[Windows Mobile Software Development] mohitsapru:
finally someone asked... it might sound funny but i started with sumthing else and ended up doing this... well i thought of making a proper sync but cudnt figure out how to create sms and save them back in inbox... so name stuck on and functionality didnt:D
[Windows Mobile Software Development] Robrecht:
* I'd be fine with automatic inbox and sent items syncing as a default. However, in that case you should make sure to get the correct name for non-english ROMs. For instance, my inbox is called 'POSTVAK IN' in Dutch. I don't know if that matters. You wouldn't get that problem if you let the user choose which folders to sync (more or less like it is now).

* I'm testing the new version now. First sync (inbox and sent messages) went well; I then sent a text message to myself and tried to sync again. Inbox: perfect, only the one new message is sync'ed! Sent messages: same thing, only the one new message sync'ed, all works fine.

* I accidentally tried to sync the outbox (instead of sent messages) and it resulted in an error. Maybe you should remove this from the list of possible sms folders: who'd want to sync their outbox anyway, since messages only stay there for a couple of seconds before they're sent.

Looks like this is going to be one of my essential apps. Good luck with further development, I'm looking forward to seeing this grow!
[Windows Mobile Software Development] Riekr:
why not syncing via imap or http directly?

imap is a defined standard so finding out how to use it should be relatively simple. using http may lead to find out how gmail works and i don't know if there are some api to use.

both are using encription, i don't know if .net cf supports it but maybe there is some library for doing it.
[Windows Mobile Software Development] samvds:
Warning!!

I'm testing this great app also...

I tried to sync much SMS-messages but a blocked Gmail is the result :-)

http://mail.google.com/support/bin/answer.py?hl=en-GB&ctx=mail&answer=22839

Be careful :-)
[Windows Mobile Software Development] Robrecht:
Hm... Hope your account is unblocked soon.

Of course, this only happens when backing up a lot of accumulated messages; once those are done, it shouldn't be a problem for a daily sync of new messages.
[Windows Mobile Software Development] Sqoerk:
So you were able to sync your SMS to your Exchange Account? You had to configure something special? I'll try this today, but I will use a new account... just in case :)
[Windows Mobile Software Development] mohitsapru:
Nice!!! seems people have started experimenting... looks like a busy weekend for me...

Thank You Guys
[Windows Mobile Software Development] mohitsapru:
yes i have an IMAP lib ready but this options looked good as a user may want to send these messages at a later point of time or when ever a WIFI link is available for those with no data plan(like me:D). Also i dint use the IMAP, since i was not able to figure out how to save sms back to a device so... why to bloat my app.

Maybe when i figure out how to do it in that case I will use imap.
[Windows Mobile Software Development] mohitsapru:
Thanks Robrecht for the details,

Well i will keep the suggestions in mind for the next release.
[Windows Mobile Software Development] Soikiro:
is possible, sync the backup on gmail account with an iphone?
[Windows Mobile Software Development] mohitsapru:
no idea... don't have an iphone...:o
[Windows Mobile Software Development] Soikiro:
me too...but i buy soon....and i need to sync both device raphael and iphone...any idea?
[Windows Mobile Software Development] mohitsapru:
I tried searching but cudn't find any... was getting links to my app :D

Hope some one makes it...
[Windows Mobile Software Development] mrwangkai:
Hello there, we shared this with our readers on CareAce.net: http://bit.ly/cV2OHb
[Windows Mobile Software Development] mohitsapru:
Thanks a lot mrwangkai for spreading the app. ;)
[Windows Mobile Software Development] rjmjr69:
Thank you works good on TP2 6.5.1
[Windows Mobile Software Development] mohitsapru:
thanks for testing, should work fine as long as device has tmail.exe :D
[Windows Mobile Software Development] rjmjr69:
is it possoble to have all messages sent as one file/email or maybe to a folder on gmail? getting 100+ emails lol
[Windows Mobile Software Development] mohitsapru:
yes it is possible to organise these mails, thaz why i have given a subject "IMAPSMS and folder names" just create a label and a filter and everything should be sorted out. :) That should be an easy task...[Edit] in case anyone didnt guessed i am talking about doing all this through Gmail:D
[Windows Mobile Software Development] samvds:
Tested some more...

All messages I received did sync, the messages I sent, did not :-)

Note that they sow up with size "0 kb"...
[Windows Mobile Software Development] alipendier:
Palm Threaded Messaging?

Has this been tried to work for the Palm Threaded Messaging App? Thanks :cool:
[Windows Mobile Software Development] mohitsapru:
I am not sure about that...alipendier:confused:, hmm if you have one then why dont you tell us;) if palm works on Windows then it should otherwise no.
[Windows Mobile Software Development] mohitsapru:
Hi samvds,

what exactly happnd... i am a bit confused... do you mean it dint work for sent items?

Thanks,

Mohit
[Windows Mobile Software Development] samvds:
Indeed, I synced a folder with messages I received AND messages I sent. Only those I received where synced...
[Windows Mobile Software Development] mohitsapru:
So there no mails are getting generated for the sent items, well weired. u said mail were having 0 size. what does that meant? mails were created for sent items but were having no data??

I hope ppl could come up to test this and confirm.
[Windows Mobile Software Development] samvds:
Hi,

No, it's not the mail that shows 0kb, but sent SMS-messages. But, forget this, it was just an addition.

This is what I did:

- moved 5 SMS-messages I received from my "Inbox" to folder "TEST"

- moved 5 SMS-messages I sent from my "Sent Items" to folder "TEST"

--> In total there where 10 messages in my folder "TEST"

- Synced the folder "TEST"

--> Result: only 5 messages where generated in my "OUTBOX" of my Gmail: the messages I received...
[Windows Mobile Software Development] mohitsapru:
By any chance were those 5 sms synced already before copying??
[Windows Mobile Software Development] samvds:
Don't remember...

How to "reset" messages that where already synced?
[Windows Mobile Software Development] mohitsapru:
delete the id.txt file in the installation dir ;)
[Windows Mobile Software Development] samvds:
Thanks, will try it ASAP...
[Windows Mobile Software Development] samvds:
Indeed, that was it!

Works like it should be!

:-)

Thanks!
[Windows Mobile Software Development] mohitsapru:
woooosh... thank God!!:rolleyes:

well by any chance did u try the new exe for smsrules...(i am posting out of post messages in my post lol):p
[Windows Mobile Software Development] afv:
Hi!

Thanks for making this useful app, although I didn't manage to make it work as it should.

I first installed it on my device's internal memory and after some time making the email files the memory became full and the program crashed. I then removed it and tried to run it again, this time with it installed on the memory card, but without success.

Maybe the files are written always on the main memory regardless where the app is installed? And where are they stored so I can remove them now? :p

Another question/suggestion: isn't it possible to use IMAP to transfer (copy) the messages instead of sending emails? Because Google doesn't allow sending more than 500 messages and it would be excellent if we could create emails with the time and date of the sms instead of the time it was synced (I didn't sync but I guess, if it sends the emails instead of copying, that it would come with the current time, right?). :)
[Windows Mobile Software Development] mohitsapru:
so bythe way how many smses you are trying to backup??
[Windows Mobile Software Development] afv:
Around 7500… :rolleyes:
[Windows Mobile Software Development] samvds:
I suggested this also, but it seems that the messages are removed if they are created and stored in a folder...

Syncing instead of sending would be the best, but when that isn't possible; another suggestion is the set a maximum number of messages sent by a run. If Mohit will add a scheduled run, this app can run daily, sync f.e. 100 messages a day, next day again 100 until every message is synced :-)
[Windows Mobile Software Development] mohitsapru:
for the time being i am not trying my hands on IMAP. Second suggestion was also there in my mind...that will be good in case a user wants to limit the mails.This shouldn't be big deal.

What so you think about a feature that syncs back the messages? :cool:

Thanks to daddy2k i have got some hints to create SMSes in poutlook folders "still playing around with it:p". once i am done with it i might integrate the feature.
[Windows Mobile Software Development] neo237:
Good job, nice tool.

Here some ideas to improve it:

- use imap to store mails (one per sms) on an IMAP account instead of sending a new message (the benefit is that the created emails could have the date when the sms was received or send)

- while syncing my "SENT SMS Folder", the mails have my own number in the subject and "Sender: <own number>" in the body. Here the receiver of the message would be better.
[Windows Mobile Software Development] mohitsapru:
thanks for the suggestions, i am really not sure how to use IMAP currently if any of you guys have some idea that can help, u are most welcome. the second suggestion i have already fixed but havnt updated it, need to add some more features before i upload it.
[Windows Mobile Software Development] b.mann:
How can I set this up to sync my sent and received messages?

As of now it only syncs my received msg.

thanks!
[Windows Mobile Software Development] mohitsapru:
are you not able to choose from the dropdowns???

or you are getting some errors??
[Windows Mobile Software Development] mohitsapru:
v0.3B Out

Updates for v0.3Beta

1. Added scheduler

2. Added limit of messages to be synced up, default is 50(no reason).

3. Modified the message text when it was sent by you.(Sent items)

Further inst. at first post ;)

NOTE:

Only one folder can be set up for scheduled backup right now.
[Windows Mobile Software Development] samvds:
Great!

Downloaded...

Up to testing! Keep you posted!