[android-developers] Re: Eclipse projects that don't contain errors say they do

2011-02-03 Thread Achie
It might sometimes happen because of the compatibility mode settings of the java compiler You can check it by going to Window - Preferences - Java - Compiler - Compiler Compliance Level. If that is not set to 1.6 then change it to 1.6 and see if that works. -- You received this message

Re: [android-developers] Is it February yet?

2011-02-03 Thread Achie
Yup saw it from the twitter feed from @Androiddev. will reopen this on March 1st if needed ;) Good Work on the 3.0 Team Android. Thank you, Achie -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android

[android-developers] Is it February yet?

2011-02-02 Thread Achie
Please update the Platform versions or can someone tell when Google updates them. http://developer.android.com/resources/dashboard/platform-versions.html Is it on the first of every month or at some random time. Thank you, Achie. -- You received this message because you are subscribed

[android-developers] how to create irregular polygon and handle events within its boundary

2010-12-27 Thread Achie
How can we create polygons with shapes other than the normal regular rectangle/circle etc? I need to create a image with boundaries and let users click within the image. Then I need to highlight the image. I also need to highlight the image only when the user clicks within the boundaries of the

[android-developers] Re: how to create irregular polygon and handle events within its boundary

2010-12-27 Thread Achie
OK, so how hard was it to google android polygon? hmm its harder than just assuming that I did not do the same. I have been looking around for that since a couple of days. May be I am searching with the wrong terms. Still thank you for the reply. The results does not pull up what I am looking

[android-developers] Re: how to create irregular polygon and handle events within its boundary

2010-12-27 Thread Achie
That is very helpful, I will start looking into getting a verices list for my images. Is it possible to extend this so that I can use my own images Instead of using some fixed color in the shape? [eg I have an image of man's arm and it has shades in it. So can I use it as the object that is

[android-developers] How to detect click on complex images/polygons

2010-12-23 Thread Achie
I am trying to have a complex image like this[http:// members.quicknet.nl/lm.broers/download/riskmap_en.png] in my application. I want to let users click on the complex polygons (countries with borders in this case) and highlight the polygon they clicked on. I have the images that I need to use

[android-developers] How to check if background data is enabled?

2010-12-20 Thread Achie
(), Settings.Secure.BACKGROUND_DATA); But they are returning null. Thank you, Achie. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email

[android-developers] Re: How to check if background data is enabled?

2010-12-20 Thread Achie
really feel you need to get it from Settings, use: Settings.Secure.getInt(mContext.getContentResolver(),                 Settings.Secure.BACKGROUND_DATA, 1) == 1 to get a boolean indicator. On Mon, Dec 20, 2010 at 5:07 PM, Achie krishna.acha...@gmail.com wrote: I want to check

[android-developers] Unable to create Database for content providers

2010-12-01 Thread Achie
My application has a database that has to be exposed to global search. I have the sqlite database in my res/raw dir. I am trying to copy the database file to the databases directory in my project but it throws a FileNotFoundException. I am guessing that this is a permissions issue. My application

[android-developers] Re: How to create a x509 certificate?

2010-11-19 Thread Achie
that. On Nov 17, 5:51 pm, Ahsan karim.ahsa...@gmail.com wrote: blog.crazybob.org/2010/02/android-trusting-ssl-certificates.html On Nov 18, 5:02 am, Achie krishna.acha...@gmail.com wrote: Is there any way to create an X509 certificate on the android device? I need to implement

[android-developers] Re: How to create a x509 certificate?

2010-11-19 Thread Achie
=8tbscPDpIRfTklM82uQSrQ Thank you On Nov 19, 9:49 am, Marcin Orlowski webnet.andr...@gmail.com wrote: On 19 November 2010 17:23, Achie krishna.acha...@gmail.com wrote: In that example the user is using Keytool to create the certificate and then transferring the keystore to the mobile. What I want

[android-developers] How to create a x509 certificate?

2010-11-17 Thread Achie
Is there any way to create an X509 certificate on the android device? I need to implement this to create a certificate to authorize the to access data from a provider who requires this. Thank you. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] TextUtils Split is not splitting strings based on pipe separator

2010-11-05 Thread Achie
I just found after 2 hours of debugging my code for errors that TextUtils.split(String, expression); does not work correctly when I use pipe | as the expression. Am I wrong in understanding the method or is this a bug? It works fine when I give it as a pattern ie., [|]. I also tested it using a

[android-developers] Re: TextUtils Split is not splitting strings based on pipe separator

2010-11-05 Thread Achie
Yup, that was the problem. Thank you Mark, Achie. On Nov 5, 11:32 am, Mark Murphy mmur...@commonsware.com wrote: On Fri, Nov 5, 2010 at 1:05 PM, Achie krishna.acha...@gmail.com wrote: I just found after 2 hours of debugging my code for errors that TextUtils.split(String, expression); does

[android-developers] Re: problem with Search suggestions

2010-11-03 Thread Achie
Bump :( Here is my error. E/AndroidRuntime(19424): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.achie.gs1/com.achie.gs1.AnimalActivity}: java.lang.IllegalArgumentException: selectionArgs must be provided for the uri for searching animals at a: E/AndroidRuntime(19424):

[android-developers] Intent is not sending the id of the suggestion to content provider

2010-11-03 Thread Achie
there. Can someone explain what my mistake might be. Thank you. Achie -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android

[android-developers] problem with Search suggestions

2010-11-02 Thread Achie
I am trying to implement search suggestions in my app in the lines of Searchable Dictionary, except that my data comes from a Sqlite Database. Everything seems to be working except the suggestions. I created a sample animal database with these values {Lion, Tiger, Elephant, Deer, Kangaroo} Now

[android-developers] Searchable dictionary results are not being shown in global search

2010-10-25 Thread Achie
up the search results when I search within the dictionary application but not from the global search. Did any one else have this issue or know what I might be doing wrong? Thank you, Achie. -- You received this message because you are subscribed to the Google Groups Android Developers group

[android-developers] Searchable dictionary results are not being shown in global search

2010-10-22 Thread Achie
What might be the problem? Thank you, Achie -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr

[android-developers] How to force a service to stop after a fixed time?

2010-10-14 Thread Achie
I have a service which runs in the background when the user starts using my app. I am using it to do some posts to our server. I always close my service by calling stopSelf as soon as the posts have been made or failed. But I recently observed two times that my service did not stop. I saw that in