[android-developers] Re: Android 2.2 and 7 inch development

2011-08-20 Thread Ash
Just had to read the information on SDK online. In case someone else runs in to this issue, you need to have the following in AndroidManifest.xml from http://developer.android.com/guide/topics/manifest/supports-screens-element.html supports-screens android:resizeable=true

[android-developers] Android adapter returning LinearLayout

2011-08-20 Thread Snowak
I have a custom adapter for ListView and I need to return LinearLayout from getView(). The reason I'm doing it is that I have custom component which extends LinearLayout and need to be created from code. The problem is that if I return any LinearLayout from getView(), the application crashes. How

[android-developers] Menu

2011-08-20 Thread Sivaprakash
Hi I want to create a menu as if shown in the below image. Is it a context menu or something special to attach along with the button which is clicked. -- - Prakash. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

[android-developers] Re: I need a simple android application that can view and create excel spreadsheets

2011-08-20 Thread martypantsROK
I use jxlapi - very easy to use. On Aug 20, 1:56 pm, vineeshkc kcvine...@gmail.com wrote: hai I need a simple android application that can view and create excel spreadsheets any  idea or suggestion helpful to me pls -- You received this message because you are subscribed to the Google

[android-developers] Android ebooks

2011-08-20 Thread Jupiterz
Hi everyone, Can anyone share Android e books which i can download. Many thanks -- 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

[android-developers] Re: Menu

2011-08-20 Thread skink
On Aug 20, 8:41 am, Sivaprakash sivaprakashshanmu...@gmail.com wrote: Hi I want to create a menu as if shown in the below image. Is it a context menu or something special to attach along with the button which is clicked. -- - Prakash.  menu.png 10KViewDownload See:

Re: [android-developers] Android ebooks

2011-08-20 Thread vijayakumar M
hi check this url http://iamvijayakumar.blogspot.com/2011/01/android-tutorial-free-download-pdf.html On Sat, Aug 20, 2011 at 12:32 PM, Jupiterz jupiterfo...@hotmail.com wrote: Hi everyone, Can anyone share Android e books which i can download. Many thanks -- You received this message

[android-developers] Re: Android adapter returning LinearLayout

2011-08-20 Thread skink
Snowak wrote: I have a custom adapter for ListView and I need to return LinearLayout from getView(). The reason I'm doing it is that I have custom component which extends LinearLayout and need to be created from code. The problem is that if I return any LinearLayout from getView(), the

Re: [android-developers] Android ebooks

2011-08-20 Thread Appaholics
That book is by Mark Murphy. Don't use pirated links. Get it from him if you want it. On Sat, Aug 20, 2011 at 12:38 PM, vijayakumar M iamvijayaku...@gmail.comwrote: hi check this url http://iamvijayakumar.blogspot.com/2011/01/android-tutorial-free-download-pdf.html On Sat, Aug 20, 2011

Re: [android-developers] Re: I need a simple android application that can view and create excel spreadsheets

2011-08-20 Thread vineeshkc
hi thaks all of you for valuable response actulaay i am trying to develop android applicaton that should be compatible with excel functions and include view,write,save to folder, delete, click any cell to enter edit mode, and click to email as attachment thats my requirement On Sat, Aug 20,

Re: [android-developers] Re: I need a simple android application that can view and create excel spreadsheets

2011-08-20 Thread Appaholics
Then why don't you Google the bits and pieces to make your app? We can help you with a specific problem, not write the entire app. (Unless you are paying us.) Thanks On Sat, Aug 20, 2011 at 1:53 PM, vineeshkc kcvine...@gmail.com wrote: hi thaks all of you for valuable response actulaay i

Re: [android-developers] Re: I need a simple android application that can view and create excel spreadsheets

2011-08-20 Thread vineeshkc
hai   Appaholics i am not asking to develop the application simply asked any Appaholics is any api like jxl.jar is available On Sat, Aug 20, 2011 at 2:05 PM, Appaholics raghavs...@appaholics.in wrote: Then why don't you Google the bits and pieces to make your app? We can help you with a

Re: [android-developers] Re: I need a simple android application that can view and create excel spreadsheets

2011-08-20 Thread Appaholics
http://www.vogella.de/articles/JavaExcel/article.html On Sat, Aug 20, 2011 at 3:04 PM, vineeshkc kcvine...@gmail.com wrote: hai Appaholics i am not asking to develop the application simply asked any Appaholics is any api like jxl.jar is available On Sat, Aug 20, 2011 at 2:05 PM,

[android-developers] NaveenShrivastva wants to chat

2011-08-20 Thread NaveenShrivastva
--- NaveenShrivastva wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-47af872433-f815ac997e-Kz_xY2H8d_0E3xgOClAaTb2m6r8

Re: [android-developers] Re: I need a simple android application that can view and create excel spreadsheets

2011-08-20 Thread vineeshkc
hi thanks dear Appaholics On Sat, Aug 20, 2011 at 3:08 PM, Appaholics raghavs...@appaholics.in wrote: http://www.vogella.de/articles/JavaExcel/article.html On Sat, Aug 20, 2011 at 3:04 PM, vineeshkc kcvine...@gmail.com wrote: hai   Appaholics i am not asking to develop the application

Re: [android-developers] Android ebooks

2011-08-20 Thread Mark Murphy
Those books are pirated (AFAIK), but neither the Sams' title nor _Pro Android_ are mine. Anyone can get free older copies of my books straight off my Web site: http://commonsware.com. Click on a book title and choose the Four-to-Free Guarantee tab. On Sat, Aug 20, 2011 at 3:53 AM, Appaholics

Re: [android-developers] Android ebooks

2011-08-20 Thread Appaholics
Sorry I mixed up the two different eBook link threads that are recent. Meant to post this on the other one. Thanks On Sat, Aug 20, 2011 at 3:27 PM, Mark Murphy mmur...@commonsware.comwrote: Those books are pirated (AFAIK), but neither the Sams' title nor _Pro Android_ are mine. Anyone can

[android-developers] Re: Dialog problems on orientation change

2011-08-20 Thread Snowak
Sorry for double posting, but there's one more thing that bothers me regarding this problem. Dialog requires to pass Activity as a context, but when changing screen orientation that activity is destroyed. How can it use the cached dialog with invalid context? Is it setting it to the new one? --

Re: [android-developers] Re: Dialog problems on orientation change

2011-08-20 Thread Kostya Vasilyev
The actual dialog objects get destroyed, and re-created around the time of onRestoreInstanceState in the new activity instance (causing onCreateDialog / onPrepareDialog to be called).

[android-developers] opengl( how to move the objects )

2011-08-20 Thread rajiv
The problem is switch (e.getAction()) { case MotionEvent.ACTION_DOWN: x=e.getX(); y=e.getY(); requestRender(); break; case MotionEvent.ACTION_UP: a=e.getX(); b=e.getY();

[android-developers] Re: Missing ACTION_POINTER_UP and ACTION_POINTER_DOWN events

2011-08-20 Thread rajiv
Hi I am facing a similar problem what i am doing in my application is I am trying to move the disc from one place to another place switch (e.getAction()) { case MotionEvent.ACTION_DOWN: x=e.getX(); y=e.getY(); requestRender();

[android-developers] Re: Dialog problems on orientation change

2011-08-20 Thread Snowak
So why does the Drawable fail to repeat? Looks like the problem lies in restoring the dialog before whole layout is initialized.. which is quite weird. Is there a way to retrieve the list of opened dialogs associated to current Activity? On 20 Sie, 12:11, Kostya Vasilyev kmans...@gmail.com wrote:

[android-developers] How to check for free RAM memory available

2011-08-20 Thread Pradeep
Hi All, What is the best way to check for free RAM memory available for apps ? adb shell top gives a much lesser value as it does not exclude the memory being used for caching. What is the free memory value that Advanced Task Manager gives ? Regards, Pradeep -- You received this message

[android-developers] Updating UI from external

2011-08-20 Thread Ash
Hi All, I realize that this question of mine has already been asked before (probably not in the same context but similar). However, even after reading a number of forum threads and looking at online examples, I am still not clear. I hope one of you can guide me. Here is the issue that I am

Re: [android-developers] Updating UI from external

2011-08-20 Thread Mark Murphy
On Sat, Aug 20, 2011 at 7:15 AM, Ash anan...@gmail.com wrote: My question is how can use myObserver class to update the button in 'myActivity'. Step #1: have MyObserver hold onto an instance of MyActivity Step #2: have MyObserver call methods on the MyActivity instance The function

Re: [android-developers] Updating UI from external

2011-08-20 Thread Ash
Hi Mark, Thanks for the prompt reply. The onConnect and onDisconnect method will be called by background threads (running in the third party library). Hence I will have to take the runOnUIThread approach. I will try to look for examples in this. If you know of any site that gives an example

Re: [android-developers] Updating UI from external

2011-08-20 Thread Ash
Assuming runOnUIThread is equivalent to AsyncTasks http://developer.android.com/reference/android/os/AsyncTask.html -- 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

Re: [android-developers] Updating UI from external

2011-08-20 Thread Mark Murphy
On Sat, Aug 20, 2011 at 7:38 AM, Ash anan...@gmail.com wrote: Assuming runOnUIThread is equivalent to AsyncTasks http://developer.android.com/reference/android/os/AsyncTask.html AsyncTask is a class. runOnUiThread() is a method. You pass a Runnable to runOnUiThread(), and if you are on a

[android-developers] No accelerated colorspace conversion found from %s to %s. FFMpeg android

2011-08-20 Thread Naveen
No accelerated colorspace conversion found from %s to %s. facing this issue in FFMpeg android.please help me. -- 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

Re: [android-developers] ListView items

2011-08-20 Thread Goutom
Hi Treking This is not the answer. On Fri, Aug 19, 2011 at 5:45 PM, TreKing treking...@gmail.com wrote: On Fri, Aug 19, 2011 at 7:41 PM, Goutom goutom.sust@gmail.com wrote: Any help? Use the adapter that backs the listview.

Re: [android-developers] ListView items

2011-08-20 Thread Mark Murphy
On Fri, Aug 19, 2011 at 8:41 PM, Goutom goutom.sust@gmail.com wrote: I want to get all child of a listview. Why?                 int count = listview.getAdapter().getCount(); This is not the number of children of the ListView. getChildCount() on ListView is the number of children of the

[android-developers] how can i get the data created by function openDatabase from the webview?

2011-08-20 Thread 李白|字一日
hello everyone, i have a problem in retrieving data stored in webview by using html database. and it is working perfectly on the html page. as the application involves, there is a demand that i get the stored data from the webview. after investigating into the sdk, i didn't find a way to get

[android-developers] DDMS - Sysinfo

2011-08-20 Thread Pradeep
Hi All, On my device DDMS-Sysinfo-Memory Usage shows a pie chart with very large section named Inactive Any idea what this refers to ? How is it different from free memory ? Regards, Pradeep -- You received this message because you are subscribed to the Google Groups Android Developers group.

Re: [android-developers] how can i get the data created by function openDatabase from the webview?

2011-08-20 Thread Mark Murphy
On Sat, Aug 20, 2011 at 8:18 AM, 李白|字一日 calid...@gmail.com wrote: hello everyone, i have a problem in retrieving data stored in webview by using html database. and it is working perfectly on the html page. as the application involves, there is a demand that i get the stored data from the

Re: [android-developers] Re: Dialog problems on orientation change

2011-08-20 Thread Kostya Vasilyev
There really isn't restoring of dialogs - more like recreation of dialogs. As such, it goes through your new activity's onCreateDialog after the orientation change. You could try loading the drawable and setting it into the dialog layout from code. Perhaps calling setTileMode{X/Y/XY} along

Re: [android-developers] how can i get the data created by function openDatabase from the webview?

2011-08-20 Thread 李白|字一日
thanks, it seems the sqlite database opening mechanism is very complicated in android. even if i specify the file name to 0001.db like the followings: 1. path = path + /file__0/0001.db; 2. path = path + /../databases/webview.db; 3. path = path +

Re: [android-developers] how can i get the data created by function openDatabase from the webview?

2011-08-20 Thread Mark Murphy
On Sat, Aug 20, 2011 at 9:15 AM, 李白|字一日 calid...@gmail.com wrote: because my application is based on webview, it is not a good way to change it again to java api based which may cause the data lose for users. and web apps will be my focus later. Then don't access it from the Java code. Use

[android-developers] Text gone when clicked

2011-08-20 Thread ndiiie 90
Hi guys, in many applications that are published out there, I see that some of them in editText of password and username, there are some text with gray color (usually) and when user clicked it, the text is gone.. what is the attribute of editText to do it? Or i must code it manually to response

Re: [android-developers] Text gone when clicked

2011-08-20 Thread Mark Murphy
On Sat, Aug 20, 2011 at 10:59 AM, ndiiie 90 rnd...@gmail.com wrote: I see that some of them in editText of password and username, there are some text with gray color (usually) and when user clicked it, the text is gone.. what is the attribute of editText to do it? android:hint -- Mark Murphy

Re: [android-developers] how can i get the data created by function openDatabase from the webview?

2011-08-20 Thread 李白|字一日
thanks, it seems a quite reasonable way by now. it adds two questions to me: 1. how to invoke javascript only without loading a webview? 2. how to pass a callback to javascript and make java invocation synchronous? would you please give me some advise or hints, Mark? 2011/8/20 Mark

Re: [android-developers] how can i get the data created by function openDatabase from the webview?

2011-08-20 Thread Mark Murphy
On Sat, Aug 20, 2011 at 11:38 AM, 李白|字一日 calid...@gmail.com wrote: it adds two questions to me:     1. how to invoke javascript only without loading a webview? Um, you can't, unless you add Rhino or another JavaScript interpreter to your project. Moreover, you seem to be missing the point. You

[android-developers] java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Spica
I removed EditText from my layout and after that i started getting Force close error. My app is not starting at all. Here is the trace i captured with logcat; = E/AndroidRuntime( 1335): FATAL EXCEPTION: main E/AndroidRuntime( 1335):

Re: [android-developers] java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Mark Murphy
Try cleaning your project (Project Clean from the Eclipse main menu, or ant clean from the command line). Typically, I find that these ClassCastExceptions are because the widget IDs are out of sync between the resources in the APK file and your already-compiled .class files. Cleaning the project

Re: [android-developers] Re: Dialog problems on orientation change

2011-08-20 Thread TreKing
On Fri, Aug 19, 2011 at 11:56 PM, Snowak psno...@gmail.com wrote: Let me quote my post: I'm not interested in forcing it to reload in onPrepareDialog, because it would require putting this code into every activity which use this dialog.. Do you really think your solution differ in any

[android-developers] Re: java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Spica
Awesome... : it worked after cleaning project... thanks Mark On Aug 20, 12:24 pm, Mark Murphy mmur...@commonsware.com wrote: Try cleaning your project (Project Clean from the Eclipse main menu, or ant clean from the command line). Typically, I find that these ClassCastExceptions are

Re: [android-developers] ListView items

2011-08-20 Thread TreKing
On Sat, Aug 20, 2011 at 6:57 AM, Goutom goutom.sust@gmail.com wrote: Hi Treking This is not the answer. I respectfully disagree. But hey, it's your app. Good luck. - TreKing

Re: [android-developers] opengl( how to move the objects )

2011-08-20 Thread TreKing
On Sat, Aug 20, 2011 at 5:29 AM, rajiv rajiv.di...@gmail.com wrote: Here the value of X and y and a b are same but when it is Action_up the co-ordinate of X Y ab should be different Please help me The little information you posted is not enough for anyone to help you. Try debugging your

[android-developers] Re: Emulator disables DPMS (then monitor doesn't sleep)

2011-08-20 Thread Chris Stratton
On Friday, August 19, 2011 1:21:51 PM UTC-4, pb wrote: I noticed that starting the emulator disables DPMS and it is not re- enabled when the emulator closes. So my monitor was never going to sleep until I re-enabled DPMS manually. Does anyone know why it does this and/or how to fix it?

[android-developers] Re: Dialog problems on orientation change

2011-08-20 Thread Snowak
Thank you both, it looks like the Drawable fails to restore it's tileMode when it's created before layout has been completely initialized. It's weird, but I've managed to solve it by setting the tileModeXY via code when creating the dialog. -- You received this message because you are subscribed

[android-developers] x and y

2011-08-20 Thread bob
Let's say you have an image, and you want to know the x and y of the user's click. Anyone know what widget to use? -- 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

Re: [android-developers] how can i get the data created by function openDatabase from the webview?

2011-08-20 Thread 李白|字一日
thanks a lot, Mark. but it is really frustrating me. i was hoping to get a simple resolution to my application..[?] 2011/8/20 Mark Murphy mmur...@commonsware.com On Sat, Aug 20, 2011 at 11:38 AM, 李白|字一日 calid...@gmail.com wrote: it adds two questions to me: 1. how to invoke

[android-developers] How was the RenderScript Balls Demo Video Made?

2011-08-20 Thread newbyca
i'd like to use direct video capture of my apps for making Android Market promo videos. i know other devs have asked about this before and up until now i hadn't found a way. then recently i saw the RenderScript Balls demo on youtube: http://www.youtube.com/watch?v=uQ5NumRfHN4 and it seems to be

[android-developers] Vertical scrolling Fish Eye Menu

2011-08-20 Thread joel witherspoon
In the latest version of Facebook's Android App, they have a Fish-eye scrolling menu that pops up when you click Most Recent in the top right corner of the app. Can someone point me to a resource that has a tutorial that implements this menu (if you know it)? -- You received this message because

Re: [android-developers] Re: Is it possible to use MonkeyRunner from java

2011-08-20 Thread Vikram
Dear Bill, Why would I be getting the following error while trying to compile ? Exception in thread AWT-EventQueue-0 java.lang.Error: Unresolved compilation problem: Type mismatch: cannot convert from AdbBackend to IMonkeyBackend AM using what you had quoted to initiate the connection to

[android-developers] Re: java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread RichardC
E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException: android.widget .EditText E/AndroidRuntime( 1335):at com.myApp.DashBoard.onCreate(DashBoard.java :70) What's at line 70 in DashBoard.java? On Aug 20, 5:16 pm, Spica spicaneb...@gmail.com wrote: I removed EditText from my

[android-developers] Re: java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Spica
This is line 70; Button b = (Button) findViewById(R.id.btnReferesh); On Aug 20, 4:39 pm, RichardC richard.crit...@googlemail.com wrote: E/AndroidRuntime( 1335): Caused by: java.lang.ClassCastException: android.widget .EditText E/AndroidRuntime( 1335):        at

Re: [android-developers] Updating UI from external

2011-08-20 Thread Ash
Wonderful. Thanks a lot for your prompt and detailed replies. I appreciate your help. I seem to have achieved what I was after (for now initial testing has given me enough confidence to move forward). Thanks again Mark. -- You received this message because you are subscribed to the Google

[android-developers] To widget or not to widget

2011-08-20 Thread bob
Let's say you are making an interface. Do you think it's easier to use widgets or just draw your own stuff? -- 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

[android-developers] Re: java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread RichardC
4 steps: (1) break line 70 into two: View myFoundView = findViewById(R.id.btnReferesh); Button b = (Button)myFoundView; (2) Put a breakpoint on the 1st line above (3) Step over the 1st line and then inspect myFoundView; (4) Workout why whatever is in myFoundView cannot be cast to a Button On

[android-developers] turn off screen lock

2011-08-20 Thread hectordu...@yahoo.com
hi guys, i would like to turn off programmatically the screen lock function ... how can i do it ? thanks in advance Hector -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] To widget or not to widget

2011-08-20 Thread Michael Banzon
I'd say widgets... On Sat, Aug 20, 2011 at 11:26 PM, bob b...@coolgroups.com wrote: Let's say you are making an interface. Do you think it's easier to use widgets or just draw your own stuff? -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] java.lang.NoClassDefFoundError: android.os.AsyncTask

2011-08-20 Thread b0b
I have an app on the Market that works well for most users but for a few of them and very rarely, I get crash reports with exception: java.lang.NoClassDefFoundError: android.os.AsyncTask It happens very early in app init when the first AsyncTask is created on different versions of Android.

Re: [android-developers] Re: java.lang.ClassCastException: android.widget.EditText

2011-08-20 Thread Nick Risaro
Hey, RichardC, this problem is solved, check the third mail of the thread. -- 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

Re: [android-developers] turn off screen lock

2011-08-20 Thread Nick Risaro
On Sat, Aug 20, 2011 at 7:29 PM, hectordu...@yahoo.com hectordu...@yahoo.com wrote: hi guys, i would like to turn off programmatically the screen lock function ... how can i do it ? 3 easy steps. 1. Go to google.com 2. Type: android turn off screen 3. Implement the functionality

[android-developers] Re: ALPHA_8 bitmaps and getPixel.

2011-08-20 Thread Matyas
Noone? On Aug 11, 11:21 am, Matyas matyas.b...@gmail.com wrote: Hi, The following is giving me a serious headache. Bitmap mTestMap = Bitmap.createBitmap(20, 20, Config.ALPHA_8); mTestMap.setPixel(10,10, Color.WHITE); Log.d(Test, HasAlpha= + mTestMap.hasAlpha() + , IsMutable= +

[android-developers] Listview with image

2011-08-20 Thread bob
I have an existing Listview of news article titles, and I need to now have an image to the left of the title. Anyone know a real easy way to do this? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] java.lang.NoClassDefFoundError: android.os.AsyncTask

2011-08-20 Thread TreKing
On Sat, Aug 20, 2011 at 6:02 PM, b0b pujos.mich...@gmail.com wrote: Does anyone have seen such crash reports in its own apps ? I've gotten a few randoms that seem impossible like this. My current theory is a bad install that f***s up the app. Anytime I've gotten emails about just updated and

Re: [android-developers] Listview with image

2011-08-20 Thread TreKing
On Sat, Aug 20, 2011 at 7:59 PM, bob b...@coolgroups.com wrote: I have an existing Listview of news article titles, and I need to now have an image to the left of the title. Anyone know a real easy way to do this? Stick an Image to the left of the title in your layout?

Re: [android-developers] Listview with image

2011-08-20 Thread Nick Risaro
On Sat, Aug 20, 2011 at 10:03 PM, TreKing treking...@gmail.com wrote: Stick an Image to the left of the title in your layout? With glue? -- 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] Re: turn off screen lock

2011-08-20 Thread lbendlin
you cannot do that if there is one or more security admins on the device (mostly affects people who use the phone to access their corporate email). -- 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] Re: java.lang.NoClassDefFoundError: android.os.AsyncTask

2011-08-20 Thread Peter Sinnott
On Aug 21, 12:02 am, b0b pujos.mich...@gmail.com wrote: I have an app on the Market that works well for most users but for a few of them and very rarely, I get crash reports with exception: java.lang.NoClassDefFoundError: android.os.AsyncTask AsyncTask was introduced in api level 3. Any

[android-developers] Re: ListView items

2011-08-20 Thread Peter Sinnott
Sure it is. The adaptor has all the items. The view has the visible items. If you want to do something with the visible items you can use the view. If you want to do something with all the items you can use the adaptor. If the adaptor doesn't have enough information to know the state of the

Re: [android-developers] Re: java.lang.NoClassDefFoundError: android.os.AsyncTask

2011-08-20 Thread TreKing
On Sat, Aug 20, 2011 at 8:19 PM, Peter Sinnott psinn...@gmail.com wrote: It would nice if the developer console error page had the Android version and device in it. Technically it does, but the information is presented so horribly it's impossible to determine which app version was running on

[android-developers] Re: java.lang.NoClassDefFoundError: android.os.AsyncTask

2011-08-20 Thread Peter Sinnott
I have 23 others , 2 nexus ones and 3 droids. There are I think half a dozen Android phones called droid and that is an awful lot of phones tagged other. From a practical point of view I wouldn't consider the device to be reported. The error reporting was nice when it arrived but after a couple of

Re: [android-developers] x and y

2011-08-20 Thread Kristopher Micinski
http://developer.android.com/reference/android/view/MotionEvent.html public boolean onGenericMotionEvent (MotionEvent event) Since: API Level 12 (From View.) Kris On Sat, Aug 20, 2011 at 2:22 PM, bob b...@coolgroups.com wrote: Let's say you have an image, and you want to know the x and y of

Re: [android-developers] Re: java.lang.NoClassDefFoundError: android.os.AsyncTask

2011-08-20 Thread TreKing
On Sat, Aug 20, 2011 at 8:40 PM, Peter Sinnott psinn...@gmail.com wrote: I have 23 others , 2 nexus ones and 3 droids. There are I think half a dozen Android phones called droid and that is an awful lot of phones tagged other. From a practical point of view I wouldn't consider the device to

Re: [android-developers] Listview with image

2011-08-20 Thread s.rawat
Apart from glue a bit not so easy way would be to create an array adapter and extends the listview activity with it .Inside the adapater you can add an image, description ,title to it.Try if it helps or I will paste the code. Rgds, Saurabh ..pain is temporary.quitting lasts forever.. On

[android-developers] getOrientation() madness

2011-08-20 Thread Greg Donald
Using API version 7, this code produces the exact opposite results on my Evo versus my Galaxy Tab: switch( getWindowManager().getDefaultDisplay().getOrientation() ) { case 0: display_mode = MyApplication.HORIZONTAL; break; case 1: display_mode =