nombCrypt - beta - Windows Mobile Development and Hacking General

Hello Everyone,
I just got my 8525 in the mail yesterday and upgraded the boot loader, radio, and WM6. I had a little trouble but in the end, all that I can't get working right is the internet for Cingular. I really appreciate all the hard work everyone puts into this. Here is my thank you, this is my first app so go easy on me.
nomb
nombCrypt
nombCrypt is an encryption program I originally made for the desktop but then decide to port it over. It uses a password you provide and encrypts either a block of text or files using 256bit Rijndael (AES). This level of encryption was given the ok to encrypt Top Secret documents. It can of course decrypt as well. This is for Windows Mobile 6. Please enjoy and every developer of course likes to get back feedback.
Planned/Requested Improvements
Truecrypt like encrypted containers
Implement Encrypted Backups (P)
Get File Encrypt Status Bar Working (P/R) <-- I'm dreading writing the working class :'(
Use Device ID As Salt Option (P)
Randomize Salt More (P)
Add More Encryption Algorithms (P)
Change File Open Dialog To Open Less (R) completed - now initially looks for *.nen (nombCrypt Enc. Files)
Encryption Password Confirmation (R) completed
Clipboard Paste Button (R) completed
Clipboard Clear Button (R) completed
Take Off Start Menu Icon (R) completed
Change Icon (R) completed
Add Exit To The Menu (R) completed
Add Time Out Feature (R) completed - (see page two for details)
Integrate nombCrypt Into WM6 More (P)
I. Encrypt MS Certificate Store (R)
Other Fixes
Improved Text Encryption So The End TextBox Is Opened Less
Added file error checking to the file decryption process
Two screenshots and the cab file are attached.
I hope you guys enjoy...
nomb

Hey! I wanted to do the same thing too! Just that I use my own XOR method (One Time Pad-like) instead. Of all the thing, it works alright, except that I can't get it to do a Copy-Paste. (see here http://forum.xda-developers.com/showthread.php?t=321014)
Also, from what it seems, I would presume that (since you uses AES), the end result would be in 'relatively' binary format (right?), which may not be very program friendly.
I was going to do about the same thing, except that I'll have my end result Base64 encoded, such that I can have them pasted to Notes and have it sycned to outlook. And I have my PC based software to do the job there (if required).
Previously, I used a software called Ccrryyppttoo, which did quite alright, but it seems that my PC is doing some coding, when synced, that makes it goes funny (i.e. cannot be decrypted anymore).
I'll PM you a demo of what I did (in Java web), of which I intended to do it in PPC

With Rijnael the resulting encrypted string/file gets encoded into base64 as well because if it didn't, all the characters wouldn't be represented. You can paste this into notes just fine.
Mine is programmed in c# so there is a clipboard function which works relatively well. If you'd like to help with this your more than welcome to. Or if you want to join your project with mine that would be cool too. I plan to support all major and a lot of minor encryption algorithms that I can find. Plus people were complaining about how the encrypted backup on the ppc should use the device id to encrypt instead of the randomly generated key so I plan to implement that as well.
I'm looking forward to seeing your demo.
nomb

Hmm.. so it is b64 encoded.. niicceee. Hmmm. . I should try out C# soon.
Anyway, there is a suggestion, I'm not sure if you have the library for it. After my symmetric cipher program, I'm in thinking about a asymmetric-public-private key cipher, which people can exchange short messages in secret (e.g. via email, IM, SMS) without the need to exchange the key/password. It is relatively done now, I'll show you the web base version once it is done. It runs on the Java security class, which I'm not sure if C# has those library or not.
The idea is, Alice go to my page, generate a pair of keys. Alice then send Bob her pub key. Bob use pub key, go to my page, encrypt the message. Send it to Alice. Alice decrypt message at my page. No software to install, no secret key exchanged.

Yup c# has the ability to do that built into its cryptography namespace.
That is a cool idea, but instead of having Alice send the key to him. You should just make a db to keep track of the keys and then have him answer a question about Alice or something like that to use the pub key. that way thats even one less step they have to worry about. Or have Alice put in his email address and have your site auto email him the pub key. That would be good too.
But sweet idea, maybe I'll make my program talk to your site.
Have you tried mine yet?
nomb

I dont like the "answer a question" method, as in that case, you might as well use the answer as the password?
Anyway, the emailing the pub key is an idea
I'm not in my own PC yet, can't send it to my phone from this PC. Will try it out later tonight.

hanmin said:
I dont like the "answer a question" method, as in that case, you might as well use the answer as the password?
Click to expand...
Click to collapse
Ya I'm at work and was hungry so I wasn't thinking strait. I don't like that idea either. ^^
I think my next step in mine is to build the background worker class to update the progress bar when you encrypt/decrypt a file.
If you just point your phone to the cab above it will install it for you. You don't need a comp unless u don't have a dataplan.
nomb

I dont have data in my plan.. although O2 gives me 1MB+ a month free.. I'm not using it.
Anyway, I've tested your software, a few comments.
Slightly major problems:
[1] It is not wise to do a 'All folders' and 'All Files' upon browsing (for file to be de/encrypt). People (e.g. me) has gazillion files around and it may take ages to load the list.
[2] You may want to pop up a Window, asking the user to confirm his/her password upon encryption (one of the thing I intended to add on mine )
[3] I'm not able to paste any data onto the 'start text' area. E.g., I have encrypted my stuff, saved it into Notes. Later, I wanted to get it back, I copy the encrypted code from my Notes, and no way of pasting it into the 'Start text'
[4] You already knew this, but, good to have some kind of progress bar to indicate the progress
[5] Hmmm.. on the browsing, there doesn't seems to have a way to find files on my Storage Card's root directory
[6] For security reason, probably it is good for you to add a 'Clear Clipboard' button?
Minor:
[1] I find it annoying that once I had the software installed, it is on my Start menu
[2] You could use a better icon, I just see a black square on my not so bright screen. I can help you on this.
[3] Add an "Exit" on the menus below?
Other possible suggestions:
[1] Have a time out on your software, such that, e.g. if there is no activity on software after a certain amount of time, it will do one/some/all of these (a) close itself (b) clear the password, input, output (c) clear the clipboard

Good suggestions, I'll have those done by tomorrow. I can't play with the storage card aspect yet because I don't have one. :'( Soon though I'm hoping to get a 4gb. And ya, i can't make icons worth any.
Oh, to past it back I always did ctrl+v from the keyboard. But I'll throw a button up there to do that. And I'll make sure to take it off of the start menu.
1 good comment would have been nice. Altho criticism is good.
nomb

Haha.. sorry for the lack of good comments, I was trying to think of something to suggest. But come to think of it my post on top are good comments (e.g. niiiiccceee Base 64 encoded), and the fact that it has the simple string->string encryption.
I did googling a bit, and found these
http://www.entity.cc/ICONS/security-icons.php
http://www.hscripts.com/freeimages/icons/computer/lock-icon.php
http://icons.qarchive.org/
which you may want to use as your icons?

Ya I was just teasing you. The icon I have now I got off of your last link at somepoint I just don't remember when. But I think I will probably use one of the others. But ya, I'll work on those fixes and then attach the updated program. Then once I get those fixes done, I'll work on adding the differnt encryption algorithms and the encrypted backups.
nomb

Did you wrote any backup software before for the PPC? I'm not really sure, but it seems that backup-ing can have a lot of issues. You have the "Copy everything" backup, the PIM only backup, etc. Some backups are ROM-flashing/upgrading friendly, some are not. You can have a backup software all standalone by itself. I would recommend you to have the backup software seperated and have encryption onto it as a plugin. Take a look at PIM-backup, it is very popular here.

Hi,
This is a very interesting thread. Thanks for your efforts so far (is there a donation link anywhere?)
A basic question...I understood that to carry out really secure encryption it would be necessary to write a filter driver that worked within the core ROM Image. Is this not the case?
Can I encrypt the MS certificate store too? The crypto protection on this store could be beefed up...
Once again I am very pleased that this thread has appeared and will be testing your software with interest,
Well done for your work so far,
Sam.

Hey there PianoSam,
First I just want to make it clear I'm not doing this to make money. If anyone donates I want it to be because they like the software. I am at work so PayPal is blocked but I'll put my donation link on the front page later today.
Also, I am going to try and incorporate the encryption as much as possible. If that is a feature you'd like, then after I get all of the previously requested changes done, I'll start on that for you.
And thank you for your kind words.
nomb
***EDITED***
Sorry I didn't answer you question at first.
Question: A basic question...I understood that to carry out really secure encryption it would be necessary to write a filter driver that worked within the core ROM Image. Is this not the case?
Answer: I pondered over this for a little while and I can't think of a reason this would be necessary. However, I've only had my phone for two days. Can you find where you saw that so I can read it as well and maybe gather a little bit on information so I can do some research on the topic? If thats what needs to be done then thats what I'll do but I can't see why. Let me know!

Added another cab with all the fixes I've completed.
nombCrypt-beta.cab <-- On the front page.

I added the donate link.

I added the timeout feature and thought I would make a comment on it.
It is a two minute timeout. Whenever you fucos on a textbox the timer is stopped and when the textbox looses focus, the timer is on. The downside to this is if you were in the middle of typing and set your device down, it wont timeout. I could make it so when you start typing into the textbox it restarts the two minutes and you have two minutes to complete your message but I didn't know if that was a good idea or not.
Also, when you copy, and go to another program to paste it in, you have two minutes before the clipboard is cleared and the program shutdown.
When the encryption program is encrypting something, the timeout is not running. It starts afterwards.
I can tweak this as much as you guys would like, just let me know.
nomb

I've tested your Beta.. niiiiiccceeeeee.. it is gooood. Almost prefect. Few things (OH NO! )
- The "Clear" button doesn't seems to be working. It is suppose to clear the clipboard only? Should you clear off everything as well?
Other requests/suggestion
<rant>
- I'm not sure why I thought I need it.. but it would be good to have a copy function for the "End Text" as well. I thought I may need it one day. Not sure why. It ought to make the screen a bit crowded, I thought.
Anyway, slightly related to the suggestion above, I've just revisited the design I made on my copy-paste-failed PPC attempt, I have this idea which I thought you might want to use it. For my design, I do not have "Start Text" and "End Text", I only have ONE TextField "Message" (and another for the password). The user enter the encrypted/plain text on this "Message". Click on the button "Encrypt" or "Decrypt", the result will then overwrite whatever that is in "Message" TextField.
Example:
(1) "Message"=<plain text>. User key in password, click "Encrypt", "Message"=<encrypted text>.
(2) "Message"=<encrypted text>. User key in password, click "Dencrypt", "Message"=<plain text>.
In such cases, you only need a pair of copy-paste to perform copy-paste on both (in a way) encrypted and plain text.
</rant>
As for the time out issue, I thought the typing-sensitive time out would be a better choice. The moment that you are worried about your data being seen is when you are away from your phone. You can have focus on your TextField but you can be million miles away from your phone. But, you ought to be around to be typing stuff, right?
BTW, I'm also wondering on the working of this time out feature. I thought there ought to be a 'clock' running and when time's up, it will clear the stuff needed to be cleared, right? So, if I were to forget to switch off the application, the timer will not be another running software that drain my battery, right?
Good work.

hanmin said:
- The "Clear" button doesn't seems to be working. It is suppose to clear the clipboard only? Should you clear off everything as well?
Click to expand...
Click to collapse
The "clear" button is in the clipboard row, i think i tagged it on the left, and only clears the clipboard. If you go to menu->reset it will clear everything like your looking for.
hanmin said:
- I'm not sure why I thought I need it.. but it would be good to have a copy function for the "End Text" as well. I thought I may need it one day. Not sure why. It ought to make the screen a bit crowded, I thought.
Click to expand...
Click to collapse
The "Copy" button copies the end text to the clipboard. Not the start text.
hanmin said:
Anyway, slightly related to the suggestion above, I've just revisited the design I made on my copy-paste-failed PPC attempt, I have this idea which I thought you might want to use it. For my design, I do not have "Start Text" and "End Text", I only have ONE TextField "Message" (and another for the password). The user enter the encrypted/plain text on this "Message". Click on the button "Encrypt" or "Decrypt", the result will then overwrite whatever that is in "Message" TextField.
Click to expand...
Click to collapse
I originally had it setup this way, however there was a time when I had wrote a huge paragraph in it and encrypted it, and then found out I had forgot a line. I switched it so this wont happen.
hanmin said:
As for the time out issue, I thought the typing-sensitive time out would be a better choice. The moment that you are worried about your data being seen is when you are away from your phone. You can have focus on your TextField but you can be million miles away from your phone. But, you ought to be around to be typing stuff, right?
Click to expand...
Click to collapse
The timeout I have running in it now, (new version that isn't up yet), is completely off of the user's actions. Whenever you do anything in the program the timer resets. Except for encrypting/decrypting. The timer is off for those functions incase you encrypt a file that takes longer.
hanmin said:
BTW, I'm also wondering on the working of this time out feature. I thought there ought to be a 'clock' running and when time's up, it will clear the stuff needed to be cleared, right? So, if I were to forget to switch off the application, the timer will not be another running software that drain my battery, right?
Click to expand...
Click to collapse
The timeout feature does not clear everything in the program. I have it so it actually completely closes the program. So if you forget to close it and walk away, the program will end so it doesn't drain your battery.
hanmin said:
Good work.
Click to expand...
Click to collapse
Thanks, wait till you see the next version...
nomb

I got the progressbar working for encryption, now for decryption.

Related

application idea: make thiefs return my MDA-Pro

Hallo, I have a cool applcation idea that I plan to implement that would probally make thiefes return my MDA-Pro after they stole it.
For that reason I need to be able to run an application or show a clickable screen on the MDA-Pro BEFORE login. That screen is supposed to be shown EVERYTIME the MDA-Pro is turned on. You can only proceed to the login screen from there with a certain keybaord shortcut. Also doing a reset should not disbale this feature. Can that be done some how ? If so how ?
I saw somewhere a password screen that was a picture and you had to click in just the right spot of the picture to gain access. I imagine that your message could be a picture to accomplish this. As for a hard reset solution, you'd have to add it to the ext rom so it would be re-installed automatically.
Tron_Of_Borg said:
I saw somewhere a password screen that was a picture and you had to click in just the right spot of the picture to gain access. I imagine that your message could be a picture to accomplish this. As for a hard reset solution, you'd have to add it to the ext rom so it would be re-installed automatically.
Click to expand...
Click to collapse
do yu have any more info on that passwordscreen ?
PicturePassword for Pocket PC
http://microsoft.handango.com/Platf...2&productId=102126&sectionId=5606&catalog=30&
Try http://www.picturepassword.com/
and my recommedation, 1pass by Omega One
http://www.omegaone.com/pass/default.htm
This can be nicely resource edited to match your theme.
However, I've stopped using all such programs because they reset your hardware button settings if you're using AEButton Plus or any third party mapper (eg ButtonMax).
I don't think this will get your phone back. I'm writing a program that might though. Working on it, I'll keep you posted. In the mean time, check out IIWPO.
V
Maybe I should be more specific:
I have already finished an app that does what I want:
It it has a little embedded window showing what the video conference camera currently sees. It displays some fake government info and an animated GPS localisation icon. It has several other little scary acting features (such as a windows that pops up after a short random while, saying "EuroSecure GPS localisation data and video sequence sucessfully transmitted!" ) and the thief can see the adress where the device should be returned too. That application can only be cancelled with a certain keycombination. Now my only problem is getting this application to ALWAYS run BEFORE the login screen.

[help from universal owner needed] GSMbeam

It seems like I have been working on this for a very long time. This is the most complicated thing I have ever done yet at the same time easy to use.
http://odeean.veritel.com.au/programming_files/gsmbeam.htm
http://odeean.veritel.com.au/downloads_files/GSMbeam.exe
GSMbeam is what it sounds like. Two people can use it to beam stuff over the phone. No gprs, no special lines needed. Most sims from most networks (here in Australia anyway), prepaid or account will do this no problems.
The idea is that you leave it on all the time. Don't worry about wasted cpu time or battery life because most of the time the threads are in wait states doing nothing. When you push off there is no processing by GSMbeam, the hardware "wakes up" the device when a call comes in, and then it does its thing.
This beta release has an expiration date at the end of September. After that time it will do nothing.
It can send very small or large files. I have been using it to send pictures from my camera, about 150KB. I have not tested it with VERY large files. One reason why it's beta is that I have not tested it in critically low memory environments. So if you run out of memory the theory is that it will just stop doing what its doing.
I do not recommend changing most of the settings, but if you do, remember that the gsm phone network is slow so it will not get you a miraculous speed increase.
If your phone plan has no flag fall then to send 22kb (mms size) is cheaper. To send a GSMbeam long text message is not worth it for small messages because the connection time of the two modems outways the savings. For long messages it can be cheaper. If you pay 15 cents a message then 10 messages is a $1.50, the same amount of characters costs me about 50 cents.
This also has the built in shortcut generator.
The object this creates is more versatile than what I have used it for here. In future versions I am considering opening it up to be accessed from other programs. I have done a couple of tests using a file as a buffer for data then some named events to signal read and write times. Because of this there is file in the config folder that is only getting flushed when the program is turned off and restarted. if you were to go a month without doing so and had received a lot of data in that time it could grow too big.
..Enjoy.
<edit>
this is embaressing but...
I found a bug alredy. If a file comes in the phone is not getting restarted until after the accept/reject dialog is dismissed. This means that if you receive a file but do not notice you can't receive another call until the os restarts the phone. This normally is about 3 minutes. I will fix for next version.
wow nice app thanks!
i posted it in my blog.
I added a list of known problems at the bottom of its page. If any other bugs pop up just post them here.
oldsap - Thanks for putting it on your site. I would not describe it as freeware. Freeware would not have an expiration date. That is in the about dialog, but I added it to the GSMbeam page to make sure people know whats going on.
OdeeanRDeathshead said:
I added a list of known problems at the bottom of its page. If any other bugs pop up just post them here.
oldsap - Thanks for putting it on your site. I would not describe it as freeware. Freeware would not have an expiration date. That is in the about dialog, but I added it to the GSMbeam page to make sure people know whats going on.
Click to expand...
Click to collapse
Cool software. Now all I need is more people who I can transfer with.
Thats why the core functionality will always be free (ie receiving any size file/message + sending messages and small size file). When it gets a final release you would be able to purchase a copy to send your big stuff ang give all your friends a copy so you have someone to send to. Can I take it that it worked on your device?.
I have fixed the bug where the phone is not restarted for 3 minutes. The phone now gets restarted about 10 seconds after a call ends. Incoming files get qued for acceptence. The user sees a dialog asking to accept/reject. If more than 1 is in the que a series of dialogs pops up, each in turn after the result of the first (not all at once). also I fixed a bug where the minimize was malfunctioning after one of the modal dialogs was displayed. Hopefully now when GSMbeam is minimised it dose so without disrupting the ok button in other programs. version 0.194 is now at the link.
OdeeanRDeathshead said:
I added a list of known problems at the bottom of its page. If any other bugs pop up just post them here.
oldsap - Thanks for putting it on your site. I would not describe it as freeware. Freeware would not have an expiration date. That is in the about dialog, but I added it to the GSMbeam page to make sure people know whats going on.
Click to expand...
Click to collapse
Oh sorry, ill try to change it to shareware
could you explain a little more on how many sms equivalent is uses per kb of file sent?
I don't know exactly what you mean. It dose not use any sms to send anything. It uses the same kind of call you would talk over, except instead of talking the modems talk. The numbers of characters in an sms could be sent in much less than 1 second. The only problem is that the modems need around 10-15 seconds to connect with each other. On my phone account I pay 20 flag fall and 1 cent per second. So for a page of text in a message it would cost me around 21 cents. For a much longer message, say 5 pages (on the ppc screen) it would cost me 22-25 cents.
If you are sending files that are bigger than the packet size (most would be) then there is some overhead. There are two "layers" working in GSMbeam each with its own small amount of headder information in a packet for that layer. This is really insignificant though. For sending images the cost is higher. Images are normally relitively large in relation to text. You would have to test it with your own account to see what it costs. with many phone accounts there are free times or free minute from phones in the same network. If you have such free periods then GSMbeam costs nothing to use. When I call my wife it costs me nothing if I have "vodafone to vodafone minutes" left that month.
oh now i get it. ( sorry for being so stupid )
so it uses call time. great! i have free unlimited calls to the same network as mine so that means it would be free to send files to the same netowrk?
Correct. Thats beautiful hey! In Australia they make us pay through the nose for anything to do with data, but now there is a way around it. Imagine, here it cost 75c for a 22kb mms. The picture quality is not that good and there is complication in getting the correct sim and configuring it.
this is a very useful app. thanks again. btw, any chance of porting it to smartphones and also nokia phones?
I can't do smartphone because I do not have one. This kind of thing dose not work properly on the mulator. As for nokia, I have no idea how to program one.
Thanks a bunch
Great Shareware
works on MIO A701
NAdavi.
Thank you for the confirmation assasins. The hope of definite works/fails feedback on the functionality is the main reason I post here. If anyone finds it dose not work, thats what the diagnostic logging mode is for in the settings. After veiwing the log it may be possible for me to find any bugs.
I just found a new bug. In 2003 and 2005 devices, if you change the settings it crashes. It looks like it still works but really its kapoot and needs to be turned off then on again. I was testing on an old xda a lot and it did not happen there so I failed to notice it. I will update with a fix soon. I also thought I fixed the problem hiding the main window, but again its popped back up, but it only seems to happen on my mini.
<edit>
I have fixed this. Version 0.195 is on my site now. The problem was I was calling free on a pointer pointing to memory not allocate by malloc or realloc. I wouldn't have expected it to go so badly.
The OK button thing has really beaten me. I have changed the main dialog minimize to the X and it seems to work. The funny thing is, it is still producing an IDOK and I am still responding to it in the same way. Only now when the dialog get hidden so dose the menu.
version 0.196 is now at the link.
This fixes the on/off functionality of the call filtering so now you can set up the black list and turn it off at will. I also streamlined code in various threads to allow a more swift response to incoming calls. This lets the phone be turned off faster on slower devices so there is less chance of the phone giving a ring.
Get GSMbeam for FREE
I think GSMbeam is finished now. I have fixed many bugs including a malfunction in the stop button. I have added functionality like a que for incomming text messages so more than one can be stored. The incoming messages can now be sent to the clipboard or log file after reading. I added the option to have a sound notification. I added a preview window for image files in the file open dialog. I also put in the password registration. Its based on the hardware ID of the device.
I would like more people to use this before I feel happy calling it finished. If anyone would like to download this and post their hardware ID in this thread (the one generated by GSMbeam) I will pm the first 20-30 a registration code - that is if there is anyone interested.
http://odeean.veritel.com.au/programming_files/gsmbeam.htm
Hi
Great work! Ill try this later. Thanks! You are great!
My Hardware ID
3570360001858401680BF3F51730
i really wish you could develop the same app for WM5 smartphones
this is a nice app. great work!
i'll try this.
My Hardware ID is: 0087687800303051380BF3F51730
Thanks for this app.
BTW, i have a BA running on WM5. It's running ok. but i still have to test sending and receiving files. will post feedback soon.

PhatNotes Pro - Encryption Good?

Hi Guys, I've been using phatnotes pro 4.7.2 full version, for as long as I remember now even when they were called something else... anyways they have a protect note option, which adds a password to the notes you make.
How STRONG is this password protection? Does it even add encryption or it's just a simple password block and anyone can override and view the notes using a hex editor or text editor???? is it safe to leave a few credit card numbers in there?
Noone knows, the developer uses 'security by obscurity' by refusing to disclose the algorithm used.
The most secure algoritms used (AES Rjindaal, Twofish/Blowfish etc) have been subject to years of public scrutiny. It's the implementation not the algorithm itself that makes the security. There is no security threat form disclosing the algorithm.
I'd recommend staying away from this until the algorithm is disclosed if you want to encrypt your data.
bydandie said:
Noone knows, the developer uses 'security by obscurity' by refusing to disclose the algorithm used.
The most secure algoritms used (AES Rjindaal, Twofish/Blowfish etc) have been subject to years of public scrutiny. It's the implementation not the algorithm itself that makes the security. There is no security threat form disclosing the algorithm.
I'd recommend staying away from this until the algorithm is disclosed if you want to encrypt your data.
Click to expand...
Click to collapse
So are you saying they DO using some form of encryption within their application when password protecting the notes or you don't know? I don't particularly care for what algorithm or encryption method they are using, my main concern is, are they even using encryption at all.
If my phone ever gets lost or stolen, most people who finds/steals it would just hard reset and wipe everything from the phone, so if there is even a slightest form of encryption, my data should be safe.
Depending on how often you use your 'secret' files. I have 1 particular note (in Notes) that I keep my personal stuff like passport number and others stuff that I may be using them, or not (very often, I don't). Hence I use the ccrryyppttoo (`crypto` with every letter doubled). I use this to encrypt that particular note. There is a certain advantages to it. (a) It still sync over outlook without 3rd party software plugin. (b) others still able to see the note, with non-sense short characters on it (eg, I have passport number a lot of other numbers there, which ended up only in 5 characters). There is also a desktop version available, if you wanted to have it tested (or incases where you have lost your phone and your file encrypted in your PC, you can use it to decrypt it).
hanmin said:
Depending on how often you use your 'secret' files. I have 1 particular note (in Notes) that I keep my personal stuff like passport number and others stuff that I may be using them, or not (very often, I don't). Hence I use the ccrryyppttoo (`crypto` with every letter doubled). I use this to encrypt that particular note. There is a certain advantages to it. (a) It still sync over outlook without 3rd party software plugin. (b) others still able to see the note, with non-sense short characters on it (eg, I have passport number a lot of other numbers there, which ended up only in 5 characters). There is also a desktop version available, if you wanted to have it tested (or incases where you have lost your phone and your file encrypted in your PC, you can use it to decrypt it).
Click to expand...
Click to collapse
1. I think your link doesn't work.
2. Thanks for the suggestion! But that means adding another program to my long list of programs, I rather just use phatnotes if they are somewhat secure.
3. That still doesn't answer my original question =(
4. Can you send me the program for me to try? I use my 'secret' note file on my pc and phone so phatnotes keeps them both sync, very convinient.
5. THANKS AGAIN!
The link does works at my end. Here is it again.
http://www.hfrmobile.com/app_CCrryyppttoo_T1/index.htm
Oops, forgot your original question. You can test the encryption yourself. I didn't try out Phatnotes myself, but you can try to locate the file of which Phatnote stores your notes (either 1 file for all notes, or 1 file per note). Password protect this file, send it over to your PC, open it with your Notepad. If it doesn't show what each and every word that you've typed for that note, it is 'encrypted'. Most amateur people will just use this method to get your secret stuff I guess, unless they know there are information on banking details with £10,000 in it
Hmmm great suggestion!! I just did what you said and the unprotected notes are readable by notepad and the protected notes are just garbled text of mostly "?" and "G" letters. So I guess they do have some form of encryption for those notes then. So how good is the encryption on crypto?
Well, I did a trip to search for the answer for your question of "how good is the encryption on crypto", and it seems that the author is using his way of encrypting the file, which I say ought to be safe enough for everyday usage, but good enough for business/military usage, I guess.
Anyway, while I was looking for the 'answer', I bang my head into this
http://tombo.sourceforge.jp/En/
As this is using the standard 128 blowfish algorithm, which has been proven to be strong and fast. It has both desktop and ppc version, which are interchangable (eg. desktop can decrypt the ppc encrypted file). And, it is free!
I found this too, limited-freeware though. http://www.freewareppc.com/docs/visnotes.shtml
Hmm.. freeware file encryption (AES algorithm): http://www.freewareppc.com/utilities/filebarricader2006mobile.shtml
[Update on Tombo]
I did a test drive on it. It is quite alright. It creates a txt file for each of the note you created and put them into structure folder that you made. There are option of making virtual folders as well. So, you can have your notes sync by syncing your My Documents folder, of which you set this Tombo to put all the notes. It encrypts files and have an added feature of scrambling the file name such that people are not able to guess what your file contents are.
However, there are two flaws that I've just found in a 1/2 hour testing
(a) its Unicode encoding is not working. Once you (really) close the application, it will give '?' for all the non-alpha-numeric characters. Weird consider the author is a Japanese.
(b) there isn't an option of wrapping texts without 'dissecting' them.

What do you want? (Developing Silverlight App)

It looks like the future of applications for Windows Mobile is leaning towards silverlight 2. So My goal for this summer is to create a good, fun or useful application using silver light. I just need some ideas. What do you guys want?
One app I've been looking for for years. Some apps have some functionality but nothing puts it together in a simple package.
Location Aware Reminders
set up points on a map where a reminder of user defined text would pop up when the device is within a specified distance from that point.
Case #1:
I get off of my freeway exit going home, pass the stoplight before the store, my device plays a recording "DUDE! PICK UP SOME MILK!".
Case #2:
I drive away from my house on a vacation, my device plays a recording "Did you remember to pack your underwear?"
User should be able to:
1. View a map with current location based on gps.
2. Move map to different locations.
3. Define and save a point on the map.
4. Define a distance from that point where reminder would fire.
5. Define the text of a reminder.
6. Define an audio file as a reminder.
7. Define a title for reminder
8. View list of reminders
9. When reminder fires there should be a Snooze and Delete Option.
10. Reminders should have a date/time window of when to fire.
10 ex. All Days, only between 4pm and 7pm.
10 ex. On May 25th. any time.
Yes, there are apps that "sort of" do this. But they are unuseable for this use.
Keeping the functionality simple and specific will ensure EASE OF USE and actual functionality.
I will GLADLY pay you $10 for this app.
sudermatt said:
One app I've been looking for for years. Some apps have some functionality but nothing puts it together in a simple package.
Location Aware Reminders
set up points on a map where a reminder of user defined text would pop up when the device is within a specified distance from that point.
Case #1:
I get off of my freeway exit going home, pass the stoplight before the store, my device plays a recording "DUDE! PICK UP SOME MILK!".
Case #2:
I drive away from my house on a vacation, my device plays a recording "Did you remember to pack your underwear?"
User should be able to:
1. View a map with current location based on gps.
2. Move map to different locations.
3. Define and save a point on the map.
4. Define a distance from that point where reminder would fire.
5. Define the text of a reminder.
6. Define an audio file as a reminder.
7. Define a title for reminder
8. View list of reminders
9. When reminder fires there should be a Snooze and Delete Option.
10. Reminders should have a date/time window of when to fire.
10 ex. All Days, only between 4pm and 7pm.
10 ex. On May 25th. any time.
Yes, there are apps that "sort of" do this. But they are unuseable for this use.
Keeping the functionality simple and specific will ensure EASE OF USE and actual functionality.
I will GLADLY pay you $10 for this app.
Click to expand...
Click to collapse
Would it use GPS or the GSM/3G Network to determine location? Also what navigation software would this use for the maps? This is a good idea however this seems very intermediate. More ideas people.
I'd like this...
http://forum.xda-developers.com/showthread.php?t=426089
I would hope it would use the internal GPS.
I like the voice mail thing Like the iPhones right?
It would be nice if my wife could easily make entries via a website or a client on her desktop. (maybe not).
Actually, it would be kinda interesting. Driving down the street and having the app pop up something my friend put in there.
So you could have a group, and allow people to post GPS Pop Ups to your app.
"This is where I proposed to my wife".
"Don't even bother coming to the game tonight sucka cuz you're goin' down".
That would be kinda fun.
Just thinking out loud.
sudermatt said:
It would be nice if my wife could easily make entries via a website or a client on her desktop. (maybe not).
Actually, it would be kinda interesting. Driving down the street and having the app pop up something my friend put in there.
So you could have a group, and allow people to post GPS Pop Ups to your app.
"This is where I proposed to my wife".
"Don't even bother coming to the game tonight sucka cuz you're goin' down".
That would be kinda fun.
Just thinking out loud.
Click to expand...
Click to collapse
This is a great Idea. Only problem it is not even close to easy and I have no gps experience. But i might assemble a team to create this.
An XDA-Developers forum program that tracks your threads and alerts you when there's a new post, etc. Something that would be cooler than the actual site, and if you could, make it for our phones too.
This is very easy to answer:
1) To the date there isn't a SINGLE mobile e-mail client on the market, which is SIMPLE and FINGER FRIENDLY. In fact, there isn't any finger friendly e-mail clients at all. I think hords of users would welcome this kind of app.
2) Also there still isn't an on-demand connection chooser - look here: http://forum.xda-developers.com/showthread.php?t=408243
Thank You.
sudermatt said:
One app I've been looking for for years. Some apps have some functionality but nothing puts it together in a simple package.
Location Aware Reminders
set up points on a map where a reminder of user defined text would pop up when the device is within a specified distance from that point.
Case #1:
I get off of my freeway exit going home, pass the stoplight before the store, my device plays a recording "DUDE! PICK UP SOME MILK!".
Case #2:
I drive away from my house on a vacation, my device plays a recording "Did you remember to pack your underwear?"
User should be able to:
1. View a map with current location based on gps.
2. Move map to different locations.
3. Define and save a point on the map.
4. Define a distance from that point where reminder would fire.
5. Define the text of a reminder.
6. Define an audio file as a reminder.
7. Define a title for reminder
8. View list of reminders
9. When reminder fires there should be a Snooze and Delete Option.
10. Reminders should have a date/time window of when to fire.
10 ex. All Days, only between 4pm and 7pm.
10 ex. On May 25th. any time.
Yes, there are apps that "sort of" do this. But they are unuseable for this use.
Keeping the functionality simple and specific will ensure EASE OF USE and actual functionality.
I will GLADLY pay you $10 for this app.
Click to expand...
Click to collapse
Wow. I had the exact same idea. I'll be making this in silverlight/xaml since I know it's the future of WinMo.
Me and a couple of friends are trying to do this on 3 different platforms - and will be using WPF/Silverlight for WinMo
Don't we kinda need the WM Silverlight runtime first? Last time I checked, it's not out yet.
G-Profile??
aiiro said:
This is very easy to answer:
1) To the date there isn't a SINGLE mobile e-mail client on the market, which is SIMPLE and FINGER FRIENDLY. In fact, there isn't any finger friendly e-mail clients at all. I think hords of users would welcome this kind of app.
2) Also there still isn't an on-demand connection chooser - look here: http://forum.xda-developers.com/showthread.php?t=408243
Thank You.
Click to expand...
Click to collapse
For #2, I might be completely misunderstanding you, but have you looked into G-Profile for this?
TheParadox said:
I like the voice mail thing Like the iPhones right?
Click to expand...
Click to collapse
Yep. Pretty much
@ Sean D:
About #2. You remember back in the dial-up days when You started Internet Explorer it had an option whether to ask the connection to use or not? Well, I think for PPC and the apps that need internet connection this would be the ideal solution - if You start PIE for example, the system will ask You whether You'd like to use WiFi or GPRS or whatever else connections You have and You'd just check the option that suites You the most at the given location. If You're in a cafe with free WiFi You'd choose to use WiFi, if You're in the woods You'd choose GPRS (or 3G or whatever similar). Instead of manually connecting to desired network before launching browser. I hope You get the idea...
G-profile is not asking You how to connect, it just manages Your connections with profiles for different occasions. You'd still have to manually choose a profile with the desired connections before launching a browser.
Ha!
aiiro said:
@ Sean D:
About #2. You remember back in the dial-up days when You started Internet Explorer it had an option whether to ask the connection to use or not? Well, I think for PPC and the apps that need internet connection this would be the ideal solution - if You start PIE for example, the system will ask You whether You'd like to use WiFi or GPRS or whatever else connections You have and You'd just check the option that suites You the most at the given location. If You're in a cafe with free WiFi You'd choose to use WiFi, if You're in the woods You'd choose GPRS (or 3G or whatever similar). Instead of manually connecting to desired network before launching browser. I hope You get the idea...
G-profile is not asking You how to connect, it just manages Your connections with profiles for different occasions. You'd still have to manually choose a profile with the desired connections before launching a browser.
Click to expand...
Click to collapse
Okay, I misunderstood you. But the funny thing is, i was just thinking that WM needs this function the other day.
So yeah, this gets my vote too.
Good, then it's settled
Well, OK, just one minor issue left - kinda have to wait for the approval from the thread starter too
FloatingFatMan said:
Don't we kinda need the WM Silverlight runtime first? Last time I checked, it's not out yet.
Click to expand...
Click to collapse
The whole point of this thread is that since it's pretty much confirmed there will be a silverlight or some type of WPF subset for WinMo, applications can be designed so that when devices do release, some changes can be made (e.g. support for accelerometer) so that the program can be released from the get-go.
It's also to provide devs with some practice with WPF/Silverlight
ND4SPD said:
Wow. I had the exact same idea. I'll be making this in silverlight/xaml since I know it's the future of WinMo.
Me and a couple of friends are trying to do this on 3 different platforms - and will be using WPF/Silverlight for WinMo
Click to expand...
Click to collapse
I could care less about how it's written....I got $10 burnin a whole in my pocket for this app...
BTW...did you read my post about the community part of the app?
OK, seems it's again just one of those countless threads that get started with a big hooray and then is forgotten forever. I mean I still do post in these in hope that someone will some day build the connection manager I keep asking for, but having posted it already to couple of threads and seeing that after couple of days the thread just dies and the original author of thread mysteriously disappears, I think there are some dark forces behind it. OK, just kidding, but seriously, just from top of my head You can check this thread - http://forum.xda-developers.com/showthread.php?t=413600 - or this thread - http://forum.xda-developers.com/showthread.php?t=506672. They have all died as far as I know. Or if You just wanna have a laugh (completely off-topic) check this thread - http://forum.xda-developers.com/showthread.php?t=425424

[Q] How to run multiple processes at exactly the same time

I can not publish any code or any logs, because there is no real problem yet. I am a beginner in Android / Java and the OOP concept.
I need to run two processes at exactly the same time in my program. The processes are sound samples and requires played at exactly the same time to be synchronized with each other.
I call the methods on the lines one after the other, which gives me a delay when the first clip starts a few microseconds before. Depending on the hardware this delay will also vary enormously .. how do i run the commands, or call the methods exactly the same time?
I've been looking at adding a delay of the first method by a handler, but I do not want to do this but it does not guarantee accurate synchronization.
I am on track to use AsyncTask, and somehow run these processes simultaneously but in different threads ... I have no idea if I'm on the right track? Can anyone confirm that this is the right way, or provide information about what else I can do? Grateful for all the help I can get. I hope I have not used the wrong terms and that I have given you enough information so that you can understand my question. Thanks in advance.
Having two functions tied to the same event has worked for me in the past.
For example, if you have a play button and you set up two separate functions to run when that button is clicked, they should go at the exact same time. If your play button is pressed, it will fire both functions simultaneously.
Another more advanced approach would be to return the current time code of "sound a" and pause it until the time code of "sound b" reaches the current time of "sound a".
Im Saint said:
Having two functions tied to the same event has worked for me in the past.
For example, if you have a play button and you set up two separate functions to run when that button is clicked, they should go at the exact same time. If your play button is pressed, it will fire both functions simultaneously.
Another more advanced approach would be to return the current time code of "sound a" and pause it until the time code of "sound b" reaches the current time of "sound a".
Click to expand...
Click to collapse
Well "simultaneously" is a big word but you are right, even if one player lags behind the other one, we are talking about microseconds at most. And i doubt that anybody would even notice that.
And to OP:
In java there is a keyword called "synchronized" where one thread awaits the other. I have never used that and so i dont know how to use this. Maybe if you look it up on google it could prove useful to your project. But i actually dont think that you can technically accomplish this "true" synchronization you are thinking of... It is worth a try at least
--------------------
Phone: Nexus 4
OS: rooted Lollipop LRX21T
Bootloader: unlocked
Recovery: TWRP 2.8.2.0
Have you considered buffering? you can buffer samples in some queue and start playing them after a decided delay / samples count, making sure you have samples from all the sources you need to synchronize
Thanks for the replies, any help is much appreciated!
Im Saint said:
Having two functions tied to the same event has worked for me in the past.
For example, if you have a play button and you set up two separate functions to run when that button is clicked, they should go at the exact same time. If your play button is pressed, it will fire both functions simultaneously.
Another more advanced approach would be to return the current time code of "sound a" and pause it until the time code of "sound b" reaches the current time of "sound a".
Click to expand...
Click to collapse
Good to hear, but can it be guaranteed that the function calls are performed exactly the same time? This is very necessary for various reasons.
Masrepus said:
Well "simultaneously" is a big word but you are right, even if one player lags behind the other one, we are talking about microseconds at most. And i doubt that anybody would even notice that.
And to OP:
In java there is a keyword called "synchronized" where one thread awaits the other. I have never used that and so i dont know how to use this. Maybe if you look it up on google it could prove useful to your project. But i actually dont think that you can technically accomplish this "true" synchronization you are thinking of... It is worth a try at least
Click to expand...
Click to collapse
This is what I also want to emphasize. With the greatness of the inner meaning of "simultaneousness", even if that someone would not notice anything, it's a necessity.
I will seriously undermine further the keyword synchronized. This sounds exactly like what I need. I will succeed and reconnect with the results!
pixeltech.dev said:
Have you considered buffering? you can buffer samples in some queue and start playing them after a decided delay / samples count, making sure you have samples from all the sources you need to synchronize
Click to expand...
Click to collapse
I have heard the word buffer before but never truly understood how it works syntactically, nor in Android / Java.
With what kind of content can this be done? All types of media, audio / picture / video? Do you have any keyword to search on or link to an example?
Invisible Algorithm said:
Thanks for the replies, any help is much appreciated!
I have heard the word buffer before but never truly understood how it works syntactically, nor in Android / Java.
With what kind of content can this be done? All types of media, audio / picture / video? Do you have any keyword to search on or link to an example?
Click to expand...
Click to collapse
Buffering is a technique where you first collect enough data (can be represented in any form but is usually done through collections) and once you have enough data you do something with it.
An example can be reading data in bytes form from one source (e.g. network channel), buffering it (storing it in some collection) and writing it to files when buffered data reaches some threshold size

Categories

Resources