[android-developers] Re: javax.net.ssl.SSLException: Not trusted server certificate

2010-09-26 Thread Kim D.
Hi, This means your server is not trusted. The reason can be that the server certificate is not valid or self- signed. Either you have to bypass this by implementing your own certificate validation (I would not do it except if you have no other choices) or add the server certificate to your

[android-developers] Re: Asynctask and database lock

2010-09-13 Thread Kim D.
be accessed while it's being updated.  That means trapping the Search button. On Sep 12, 5:50 am, Kim D. kdame...@gmail.com wrote: Hello guys, My problem is about asynctask and database lock. I have an asynctask which does a full restore (from an amazon s3 storage) of my database. In order

[android-developers] Asynctask and database lock

2010-09-12 Thread Kim D.
Hello guys, My problem is about asynctask and database lock. I have an asynctask which does a full restore (from an amazon s3 storage) of my database. In order to avoid any inconsistency I use a sqllite transaction. From the UI thread I display a loading message while launching this asynctask

[android-developers] LVL - NOT_MARKET_MANAGED

2010-09-10 Thread Kim D.
Hi, I am trying to add the LVL check to my application but I think I have missed something because I always receive the message NOT_MARKET_MANAGED. My application is not yet on the market but the documentation said if I deploy it with the emulator on a google api level 8 target, it embeds a

[android-developers] AsyncTask and UI activity

2010-08-09 Thread Kim D.
Hi all, I know this is not how an async task should behave but my question is how to block the user while executing it. My need is the following: I have my own backup/restore process and I have an async task to run these two actions. The backup is fine, I can warn the user when the backup is

[android-developers] Custom filter on ListView

2010-07-28 Thread Kim D.
Hi all, I have a ListView filled by a custom array adapter Which displays last name and firstname of my object Person. I would like to add a filter to display only male or only female. Or only people being 20 years old.. How can I do it properly ? Because I can make the check in each call of

[android-developers] Detect user idle time

2010-07-21 Thread Kim D.
Hi, I would like to know if android has some kind of 'idle time broadcast message'. So for example if the user is currently using one activity of my application but haven't touched the screen or used any keyboard (and doesn't have the autolock at phone level or any screensaver) for a while, I

[android-developers] Which one to buy ? Droid x vs nexus one ?

2010-07-19 Thread Kim D.
Hi, For my tests I have to buy a real android phone. Emulator is cool but I need a real one to really test my application. Does anyone know which one is the more representative and the best to test my application ? (my target is android 2.2) Thanks, Kim -- You received this message because

[android-developers] Re: how to make library for another application to use

2010-07-19 Thread Kim D.
Hi, This is not an android related question... but have a look there: http://help.eclipse.org/help33/index.jsp?topic=/org.eclipse.jdt.doc.user/tasks/tasks-33.htm or there http://www.javacoffeebreak.com/faq/faq0028.html On 19 juil, 09:33, cindy ypu01...@yahoo.com wrote: Hi friend, I need to

[android-developers] Best way to logout each time the application/task goes to background

2010-07-16 Thread Kim D.
Hello, I have an application which requires a login at the beginning (this is the first activity). When the user logs in, I keep his credentials in the application (I extended android.application to add a field called 'key'). I would like to clear this field from memory (from application