yashsingh1/xdaforums huggingface dataset:
[Android Software/Hacking General [Developers Only]] abats:
I use the integrated exchange client, there is nothing else on Milestone 2.1. My account is set up through accounts->corporate etc etc.

My company does enforce the lockscreen, there is no way for me to get around it. Before this I used a windows mobile phone and it was forced on there aswell. Big difference is unlocking on a windows mobile device was much faster.

If there is more I can do to help you track the behaviour on my phone of this application please let me know.
[Android Software/Hacking General [Developers Only]] j0bro:
Ahh wait, it is integrated in HTC Sense rather than Android 2.1 itself; this may explain why it wouldn't work on your Motorola. Any luck with LogCat output?
[Android Software/Hacking General [Developers Only]] pulser_g2:
I don't know exactly how you app is meant to work, but there are differences between Vanilla Android and HTC's Sense mail. AFAIK, they don't use the same frameworks, so changes that affect the HTC one will probably be designed to patch over an HTC change. I don't know about vanilla, but I think the app would need to be designed for this.
[Android Software/Hacking General [Developers Only]] an0therus3r:
It's giving me a FC on this ROM after reboot

http://xdaforums.com/showthread.php?t=654030

But after that it seems to work fine again.

An example of what anon2122 ment i guess ?
[Android Software/Hacking General [Developers Only]] j0bro:
Yup saw that happening as well; found out that it is illegal to log with a tag of more than 23 characters. The logic/humor of this requirement escapes me though :confused:

Check for an update shortly in which I will have fixed this.

EDIT: update is on the Market right now.
[Android Software/Hacking General [Developers Only]] intronauta:
I Love you, dude ;) works perfect.
[Android Software/Hacking General [Developers Only]] ricky119:
not work on my Moto Milestone
[Android Software/Hacking General [Developers Only]] j0bro:
Actually I am working together with another Milestone user to get it working on that as well. Stay tuned!
[Android Software/Hacking General [Developers Only]] ricky119:
thanks man,

BTW, I found theres another similar app which is under testing and seems can work on milestone.

Maybe you can talk and discuss with the author.

http://xdaforums.com/showthread.php?p=6072131#post6072131
[Android Software/Hacking General [Developers Only]] ee.mike:
Doesn't seem to work

I'm having the same issue as a few people in posts above. I'm running a samsung vibrant with stock 2.1. I already have corporate email and a personal email set up, both on exchange servers. When I install lockpicker is says that is doesn't see any exchange sync accounts and asks if I want to set one up. Anyone have a solution to this?
[Android Software/Hacking General [Developers Only]] ClarkSt:
Thanks. Though I don't think I have that kind of access. Could I change one of my current contacts to an outside email address and forward to them, just through Outlook? The other thing is that I work from home and don't VPN in unless I have to. So I use the Outlook Web Access 99.99% of the time. If I VPN in and use the thick client, can I setup this contact as you say, and a Rule - assuming it will let me even create one, which is iffy at best - then will it forward from the server or the client? Would I need to have the thick client running all the time, so it could forward the emails?

Somehow, I think I'm just going to have to live with this. You'd think they'd at least let me use a pattern.
[Android Software/Hacking General [Developers Only]] Amedee.VanGasse:
There is an easier solution... don't configure an Exchange account, but install the K-9 mail client (it's free, it's on the market, it's a lot better than the built-in mua imho).

K-9 supports webdav.

Davmail is also no longer needed.

Crossposted from http://xdaforums.com/showthread.php?p=9282451#post9282451
[Android Software/Hacking General [Developers Only]] TripFlex:
Yes you can use K9 but i hate having that for my email client, i prefer to use the once built in.

There is a WORK AROUND you just have to flash the older version of android first, you can see the instructions here

http://xdaforums.com/showpost.php?p=8997789&postcount=173
[Android Software/Hacking General [Developers Only]] tdhammer:
I was also curious if this was something that could be added to LockPicker. This is the only comment in the thread that seemed to address it.

I actually understand and support my companies desire to protect its intellectual property. I believe they have set a reasonable policy allowing me to set my lock timeout anywhere between 1 and 60 minutes.

I also like that HTC put Exchange support into Sense in 2.1 since I have an Eris and will not be getting an official 2.2 version (I have considered the many ROMs available, but have not made the leap yet).

What is frustrating is that Sense did tie the two together. I want to "lock my screen" against accidental presses, but I do not want to enter my password/pin every time I "unlock my screen"!!

I think I have a basic understanding of what LockPicker does and think it should be possible to add a timeout when the password is re-enabled rather than just being un-protected all the time? (I write software, but more low-level, embedded. Have not gotten very far with Android apps yet, other than "Hello, World".)
[Android Software/Hacking General [Developers Only]] stephane.papin:
Any luck to have it on Froyo ?
[Android Software/Hacking General [Developers Only]] xpertkn:
thanks so much. it works flawlessly on legend. it's very useful, esp when i need to make a call when i'm driving.

now i have to choose between your app and 2.2...
[Android Software/Hacking General [Developers Only]] johncruise:
Doesn't detect Exchange accounts

Same problem that other people are seeing. When I launch LockPicker, it keeps asking that I "Set up Exchange account" even though my I have one setup already. I eventually removed my account and recreate it after clicking the [Accept] button from LockPicker's "Setup Exchange account" window... LockPicker still doesn't see it. I even tried power cycling the phone... still no go.

Any resolution on this?

Phone = Samsung Galaxy S (Captivate 2.1[.1])

Thanks.

JC
[Android Software/Hacking General [Developers Only]] daniello8:
IMO the current android mail app is perfectly suited to connect to a company exchange server. I see no advantage in the paid apps that I tested.

Only the security policy is very annoying. Paid apps don't follow this policy (as strictly).

I would really appreciate having something like lockpicker to use android's own app.
[Android Software/Hacking General [Developers Only]] jmarias:
Given that it appears that lock picker isn't going to come through with a solution, does anyone know if the alternative clients like "touchdown" allow us to eliminate the lock screen issue? Any other candidates?
[Android Software/Hacking General [Developers Only]] jeff-co:
If you're willing/able to modify the Mail.apk, there're instructions over in this thread for disabling the keyguard policy. The two mods do the following: disable deleting your exchange account when the Exchange system administrator (policy enforcer) is removed, and tell exchange that everything is still happily in place.
[Android Software/Hacking General [Developers Only]] sblar:
Yes I can confirm that Touchdown doesn't apply the company security policy in the same annoying way that the build in client. Instead it uses the very sensible method of only requiring login, when you actually want to access your company mail.
[Android Software/Hacking General [Developers Only]] sblar:
I really don't get you; all your complaints about greedy executives, nazi IT guys and all the other s*** you spill...

If you hate your work that much, why the hell are you checking your work email on your personal phone then? Surely they don't make you!!

That said, I don't think you have given much thougth as to why it's necessary for some companies to do so on a phone basis. The thing is that the build-in exchange client doesn't have any other way of applying the policy, and since your downloaded emails are stored unencrypted, allmost anyone could access them if you lost phone. That's probably not a problem that applies to you, but surely it does to others.

If you're looking for solution, try Touchdown (market). It only requires login when you access your mail.
[Android Software/Hacking General [Developers Only]] kkoenen:
Hey guys, try EXTENDEDLOCKTIME .. worked for me ;)
[Android Software/Hacking General [Developers Only]] sturtw:
Froyo?

Any idea if and when this great application will work with Froyo? I upgraded my USCC Desire and ended up removing the exchange account due to frustration of having to enter the password so often.
[Android Software/Hacking General [Developers Only]] jaftim:
join to the question.

Its absolutely impossible to use Exchange synс because of that.

Could anyone advice any solution for 2.2 or 2.3 please ???

Its interesting, that my colleague has Samsung Galaxy S (android 2.2) and Exchange sync conigured, but I noticed that there is no lock screen on this device! Why its not possible for other devices???
[Android Software/Hacking General [Developers Only]] jaftim:
IMHO Price is too high for the only advantage of this app comparing to the native e-mail client.

Waiting for the fairer solution...

Can't find such app in market...
[Android Software/Hacking General [Developers Only]] dubbelklik:
Look for Extend Lock Time.
[Android Software/Hacking General [Developers Only]] generosity21:
I tried your patching process - I have stock 2.2, and I couldn't get the patch to work at all. I copied the apk into the correct folder, then ran the .exe and I get the error: "error - Permission denied!!!... Could not extract classes.dex from ..."

That is the gist of the error. Am I doing something wrong?

Thanks for the help

N
[Android Software/Hacking General [Developers Only]] klaus27:
you are most likely using an odexed rom. deodex first, then follow the process again
[Android Software/Hacking General [Developers Only]] generosity21:
Sorry, I think I'm missing something here. In my apps folder on the phone's internal memory, I found a mail.odex and mail.apk file. I tried pulling both of those out onto my computer, tried running baksmali -x on both files, and it gave an error - cannot locate boot class path... Do I need both files, and do I need to do something different with them?

Thx
[Android Software/Hacking General [Developers Only]] j0bro:
Please check the first post; I have included a link to the sources as I decided to stop working on LockPicker. Thank you all for your support!
[Android Software/Hacking General [Developers Only]] elitman:
See if this would work for you. Just tested on [ROM]MiniCM7 Pro - V6 Final (GingerBread 2.3.5)

http://xdaforums.com/showthread.php?p=16525475#post16525475
[Android Software/Hacking General [Developers Only]] j0bro:
He is trying his own solution which makes use of another technique than I do, but I'm sure we can accomplish the same. LockPicker has gained 100+ active users and a 4 star rating (thanks all!) in the past few days and I am planning on giving it an upgrade which enables lockpatterns and Sense/Motorola support.

As I said, stay tuned ;)
[Android Software/Hacking General [Developers Only]] ricky119:
yes, although LockPicker doesnot work on my Milestone, but I still installed it and rate it as 5 stars.

Waiting for your update
[Android Software/Hacking General [Developers Only]] rogers73:
Works perfectly on my HTC Legend. Great work! Rated 5 stars. This one nearly saved my life. ;)

Is there a way to remove the lock-screen all together? The screen is still there, although I don't have to enter a password to remove it. All I have to do now is slide down. Is it possible to remove this too?
[Android Software/Hacking General [Developers Only]] j0bro:
Saved your life?? Wow, that's huge! Now I am curious how this was possible :)

Anyway, there is no standard option to disable the lock screen. You can press MENU twice to get onto your home screen though without the need to swipe it down. I have read about the app 'Keyguard Disabler' which apparently can disable the lock screen altogether.
[Android Software/Hacking General [Developers Only]] ricky119:
do we have any update for Milestone?
[Android Software/Hacking General [Developers Only]] j0bro:
Coming up! Wait a little more though, as I have plenty of things to do at home now that spring is in the air ;)
[Android Software/Hacking General [Developers Only]] lesterix:
great job!
[Android Software/Hacking General [Developers Only]] Mr_Q:
If I can help you to make it to work on a motorola milestone, please let me know..

We can try to fix it in Dutch if you want to ;)
[Android Software/Hacking General [Developers Only]] j0bro:
Well, you can! Do you have an Exchange account set up on your Milestone? If so, I'm interested in some database dumps. Are you familiar with the Android SDK tools, like adb?
[Android Software/Hacking General [Developers Only]] abats:
I gave you dumps of both settings and system allready from a Milestone with an exchange account enabled. Is there more you need? I could dump some other things if you need it.
[Android Software/Hacking General [Developers Only]] Mr_Q:
Well, I have this phone for 16 hours, and do not have any experience with Android, but I am sure I will find out.. Was going to look at that tonight, but I did not want my phone to start recharching without being totally empty the first time..

For your program, do I need root access? Maybe it's easier to communicate through Google Apps or MSN..

EDIT: I have an gmail account and Exchange with policy set-up on the device.. But I saw abats already sent you a dump.. Not sure if you need more? :)
[Android Software/Hacking General [Developers Only]] Mr_Q:
Just to let you know, I have rooted my device and I am now familiar with the adb commands.. Tell me which files you would like to have or how I can contact you via MSN / E-mail.
[Android Software/Hacking General [Developers Only]] j0bro:
Whoops you're right and they were in my private messages... I totally forgot about them (been busy with lots of other things). Sorry!

I think I will make a test version tomorrow for you and Mr_Q to try out, as I will have some time to spend on it during the day. We will need to find out the setting(s) that control the lock screen. I'll start installing the emulator image from MOTODEV ;)
[Android Software/Hacking General [Developers Only]] powergitt:
Thanks!

This works like a charm on HTC Desire
[Android Software/Hacking General [Developers Only]] DJBenson:
I only found out yesterday that my company has finally (after years) enabled Outlook Web Access and to my delight my HTC Hero (running VillainROM 2.1) sync'd with thr exchange server no problem. Only then did I realise the nuisance of the lock policy which Exchange enforces, thank god for your app, it's an amazingly simple (in approach not technicality ;)) but massively effective app so many thanks!!
[Android Software/Hacking General [Developers Only]] talmoshe:
Doesn't work on my hero

When opening the HTC mail app, the "SU Request" screen is stuck, till it says: Activity SU Request (in application SuperUser Permissions) is not responding (Force close / wait)
[Android Software/Hacking General [Developers Only]] vMAC:
The link is no longer working (barcode) and I can't seem to find it on the Market? Can anyone help?
[Android Software/Hacking General [Developers Only]] j0bro:
LockPicker does not need a rooted ROM to run. Your problem is likely caused by something else. Maybe you should re-flash your ROM or at least ask about your problem in the applicable thread.
[Android Software/Hacking General [Developers Only]] denonlake:
Great app

Works great on my droid eris running sensable 2.0 rom
[Android Software/Hacking General [Developers Only]] dplunk:
Just what I was looking for.

Just installed it on my HTC Incredible and it works wonderfully! Thanks for an awesome app, the keyboard lock screen was mighty annoying ;).
[Android Software/Hacking General [Developers Only]] j0bro:
Thanks all, I really appreciate your feedback. Working on Droid/Milestone support at the moment, that is the news for now :)
[Android Software/Hacking General [Developers Only]] wmn79:
Good to hear your working on milestone support. Been using my milestone and android for a week now and I am really liking it, except for the company password nuisance. On winmo I always used zenyee stay unlock which worked like a charm for me. Now I am waiting for a good solution on android alternative. Hoping you are able to supply it, keep up the good work.
[Android Software/Hacking General [Developers Only]] Fokkiemobiel:
Great application I have to say :). Im running it now on my HTC Desire and it works a really great, not having to type a password al the time!

I am wondering though how to change the unlocking pattern? While running the app? I can only find the option to change the Active Sync password, not the pattern.

(I can change it by removing the active sync acount, change pattern, add sync account, but that isn't a nice workaround ;-))
[Android Software/Hacking General [Developers Only]] mtb2104:
Patiently waiting for the working version for Milestone... :D
[Android Software/Hacking General [Developers Only]] Amedee.VanGasse:
Want to help with Milsetone troubleshooting

I also have a Milestone with Android 2.1 and an Exchange account.

I have two issues:

Automatick locking after 10

seconds

of inactivity

Unlocking demands a password

Current status:

is still open: automatick locking after 10 seconds. I can unlock with a simple slide (because of the solution in 2)) but it's a female dog that I have to press a button every 10 seconds to keep the screen on.

When I try to change the timeout in Settings, I get the error "You can not set screen off timeout greater than maximum timeout configured by your administrator". Obviously this an Exchange-related policy setting that is pushed to my phone.

When I manually set the value to 30 minutes directly in the sqlite database (a value in milliseconds), I see a green indicator at the 30 minutes choice, but it has no effect at all.

is solved by adding a database trigger as described in this topic: http://xdaforums.com/showpost.php?p=6374548&postcount=64

It is "that other topic with a different approach" that was recerenced a couple of posts ago. I don't actually use his app.

I seriously hope that the information in this topic can solve my remaining problem.

I am not an Android developer (yet) but software development and debugging are not alien to me. I want to help. I saw a reference to LogCat, what is that all about?

EDIT: never mind, its seems to be a part of the Android Debug Bridge. I will install that later. Now off to bed. :)

To the Dutch speakers in this topic: I'm from Belgium/Flanders.
[Android Software/Hacking General [Developers Only]] Amedee.VanGasse:
I don't know if it helps, but I made a logging with logcat.

I'm not an expert, (first time ever that I look at a logcat output) but I find this part relevant. I think it's when I went to settings and tried to change the timeout value. I removed the dalvikvm lines because I think that they are not relevant

I/ActivityManager( 1274): Starting activity: Intent { act=android.settings.SETTINGS flg=0x10200000 cmp=com.android.settings/.Settings }
I/ActivityManager( 1274): Start proc com.android.settings for activity com.android.settings/.Settings: pid=16012 uid=1000 gids={3003, 3002, 3001, 9002}
I/ActivityManager( 1274): Displayed activity com.android.settings/.Settings: 925 ms (total 925 ms)
I/ActivityManager( 1274): Starting activity: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.SoundAndDisplaySettings }
I/ActivityManager( 1274): Displayed activity com.android.settings/.SoundAndDisplaySettings: 775 ms (total 775 ms)
D/SoundAndDisplaysSettings(16012): onPreferenceChange() Can't set screen off timeout larger than enforced max inactivity time
I/ActivityManager( 1274): Process android.tts (pid 13265) has died.

According to http://developer.android.com/reference/android/preference/Preference.OnPreferenceChangeListener.html, it is an abstract method defined by the Preference.OnPreferenceChangeListener interface.

Next I went googling for "SoundAndDisplaySettings onPreferenceChange()" and I found this piece of code on pastebin: http://pastebin.com/a7Uqwg8q

At first glance it looks to me that this is the code that prevents me from setting a different timeout value.

I think that the next thing that I have to find out, is what the Preference object is. Can somebody help me there please?
[Android Software/Hacking General [Developers Only]] mtb2104:
Any good news for the Milestone users? :D
[Android Software/Hacking General [Developers Only]] Mattie Boy:
Nice one, Thank you

Works perfectly on my desire

Always nice to get one over the 'think there God' IT Admins ;o)
[Android Software/Hacking General [Developers Only]] toresan:
Excellent!

Works wonders on my HTC Hero running VillainROM 5.5. Thanks!
[Android Software/Hacking General [Developers Only]] ediflyer:
Install the Quick Settings app (by Sergey Shafarenka) and it'll let you add an option to its screen that lets you set an unlock pattern.
[Android Software/Hacking General [Developers Only]] Fokkiemobiel:
Thanks for the "Quick Settings" app! Works really nice in combination with the Lockpicker app for me now!!! :)
[Android Software/Hacking General [Developers Only]] rainwood:
whoehoooooo

gotta say: YES!

well done.

tried another one first but that one didn't work, so my hopes were very little.

this one is great, thank's a lot!

(htc legend)
[Android Software/Hacking General [Developers Only]] MrGreg:
I'm running it on my Hero with the official 2.1 ROM.

When I first start the service, i see the lock icon in taskbar and the app works great. When I disable the service, the lock icon disappears, but the phone still bypasses the password. Also, the lock icon never comes back no matter what I do.

Is this normal behvior? Thanks for the great work!
[Android Software/Hacking General [Developers Only]] dvdscr:
any news about running this application on Milestone? currently the only reason i am using 3rd party SW for my exchange is the security problem.
[Android Software/Hacking General [Developers Only]] Amedee.VanGasse:
I'm not going to repeat what I have written in http://xdaforums.com/showpost.php?p=6587925&postcount=88

In short:

* can't be done for Milestone

* factory reset

* don't configure an Exchange account

* keep work and personal mail separated
[Android Software/Hacking General [Developers Only]] dvdscr:
i hoped for a better answer but i also had to do the same thing, to use 3rd party tools in order to see my exchange.

the problem is that the phone does not see the contacts that moxier mail is beringing from my exchange - no luck on this side.
[Android Software/Hacking General [Developers Only]] Evo1X:
Doesn't work on Evo?

Just got my Evo from Rat Shack and setup corp email. Yikes that password thing just about makes the phone un-usable.

Tried lockpicker and it doesn't seem to work. Evo is 2.1 so not sure what's going on. I have tried different verisons of setting up exchange and turning lockpicker on and off, no joy.

With it on and setting up exchange, it keeps checking to see if a password is set. I set a password (knowing lockpicker will delete it) but the wizard knows the password isn't there and won't complete the setup.

Any Ideas?
[Android Software/Hacking General [Developers Only]] Amedee.VanGasse:
Solution:

* get your own server

* install DavMail: http://davmail.sourceforge.net/

* configure Exchange in DavMail

* configure DavMail IMAP in Milestone.

* DavMail works as a standards complaint IMAP frontend, using OWA as a proxy.

* No Exchange account needed on the Milestone!!! --> no lock screen or password policy.

See also http://xdaforums.com/showthread.php?p=6702274#post6702274