[android-developers] KeyDispatching ANR

2011-12-11 Thread Aki
I am getting a crash with this in the stacktrace : 12-09 10:26:19.761: ERROR/InputDispatcher(124): Key Dispatching ANR, currentTime=3061115876319 12-09 10:26:19.761: ERROR/InputDispatcher(124): ANR Window: Window{4083cbb8 com.aki.something/com.aki.something.activity.ListingsActivity paused=fals

Re: [android-developers] Dialog Activity

2011-11-25 Thread Aki
It is the application context. I want to display the dialog from a service. -- 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

Re: [android-developers] Dialog Activity

2011-11-24 Thread Aki
Cannot display an AlertDialog from a non-activity context. -- 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-develo

[android-developers] Re: android 3.0:Text Selection in webview

2011-11-23 Thread Aki
Hi Shweta, Can you post the code you have written? Regards, Aki -- 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, sen

[android-developers] Dialog Activity

2011-11-23 Thread Aki
extra in the Intent. So are the Button names. I am hiding the button for which an empty string has been passed in the intent-extras. This almost implements the behaviour of dialog, except that I have no idea how to implement the button click listeners. Any ideas? Thanks in advance. Regards, Aki

Re: [android-developers] Starting Google Analytics session when application goes to background

2011-11-02 Thread Aki
I know. I just hoped that there would be something to make my life easier. Thanks for the reply. -- 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 t

Re: [android-developers] Starting Google Analytics session when application goes to background

2011-11-02 Thread Aki
> > GA is not part of the SDK, so you're going to be hard-pressed to get a > good answer here. Try the GA documentation and see if there is a forum or > user group. I'll try anyway. > I have gone through the documentation, couldn't find anything useful. The GA documentation doesn't really focu

Re: [android-developers] Re: EditText key press

2011-11-01 Thread Aki
I wouldn't worry about users finding it, my target users will already know them. Anyway, I'll give the custom EditText a shot, otherwise I'll have to figure something else out. Thanks for the help :) -- You received this message because you are subscribed to the Google Groups "Android Develop

[android-developers] Starting Google Analytics session when application goes to background

2011-11-01 Thread Aki
would be appreciated. Thanks in advance. - Aki -- 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-developer

Re: [android-developers] Re: EditText key press

2011-11-01 Thread Aki
Thank you for the elaborate answer Mark. I will try out extending EditText. You see, I came up with the idea of key combinations because I needed something corresponding to a shortcut, without taking up screen space. I am unwilling to use long clicks or gestures as they take too long to execute

Re: [android-developers] Re: EditText key press

2011-11-01 Thread Aki
Surprisingly I am able to detect the key press event of the ENTER key of the soft keyboard, but not of the character keys. That doesn't seem like very consistent behaviour, if they don't work, none of them should work. Whats is special about the ENTER key? -- You received this message because y

Re: [android-developers] Re: EditText key press

2011-11-01 Thread Aki
try something out. Any help would be great :) - Aki PS : Big fan of your books. Keep up the good work! -- 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 u

[android-developers] Re: EditText key press

2011-11-01 Thread Aki
Apparently the onKeyListener doesn't work for soft keyboards, and I cannot use a TextWatcher as I need the specific KEY_UP and KEY_DOWN events. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-de

[android-developers] EditText key press

2011-11-01 Thread Aki
Is there any way to detect the KeyDown / KeyUp events of the soft keyboard in an EditText? -- 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 gr

Re: [android-developers] Key Combinations

2011-10-20 Thread Aki
> You're going to need to give more information... > > What kind of key combinations? > Any type, like say MENU+S. > From a hard keyboard? > Hardware buttons on the device? > Both hard and soft keyboard. Is that possible? > When do you want to detect them? When your app is alread

[android-developers] Re: Key Combinations

2011-10-20 Thread Aki
I could go for double taps too if its easier to detect than combos, but again I have no idea how to detect key double taps. -- 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@googlegroup

[android-developers] Key Combinations

2011-10-20 Thread Aki
I am developing an application for which I need to detect key combinations. Can anyone suggest a simple way to do it? -- 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

[android-developers] Re: Android : Detect history.back() in WebView

2011-08-26 Thread Aki
O maybe this was intentional. Can anybody, *please*, say something? -- 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 andro

[android-developers] Re: Android : Detect history.back() in WebView

2011-08-26 Thread Aki
Seems like a bug. My code works if I change "history" to any other name. It works fine if I do this : and add my JavaScriptInterface as : mWebContent.addJavascriptInterface(new JavaScriptInterface(), "android_app"); //history.back(); -- You received this message because you are subscrib

[android-developers] Re: Android : Detect history.back() in WebView

2011-08-25 Thread Aki
I cannot change the 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 unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com

[android-developers] Android : Detect history.back() in WebView

2011-08-25 Thread Aki
A button in my WebView is used to go back using the history.back()JavaScript call. I do not understand much of JavaScript, but after a bit of searching I found that we can use the addJavascriptInterface() method of a WebView. I landed up having something of this sort: public class MyActivit

[android-developers] Having trouble with ACTION_MOVE in Android SDK

2011-06-26 Thread Aki
com/q/6464613/802799 Regards, Aki -- 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...@g

[android-developers] Having trouble with ACTION_MOVE in Android SDK

2011-06-26 Thread Aki
event.getX() and event.getY() values] You can see how the X coordinate toggles between low and high values. Can anyone tell me why? How do I fix this? You can find the question and code in more detail here : http://stackoverflow.com/q/6464613/802799 Regards, Aki -- You received this message because

[android-developers] Re: display thumbnail images from sdcard

2009-08-07 Thread Aki
ver(), uri, MediaStore.Images.Thumbnails.MINI_KIND, null); int count=cursor.getColumnCount(); for(int i=0;i wrote: > i put some thumbnail images into sdcard but same result no images > display in emulator > > On Aug 7, 11:30 am, Aki wrote: > > > > > Maybe There are  no thumbnails. > > O

[android-developers] Re: display thumbnail images from sdcard

2009-08-06 Thread Aki
Maybe There are no thumbnails. Open Gallery App and it will make thumbnails. On 8月7日, 午後2:00, jaimin wrote: > hi thanx for the reply > you suggest me to specify the sdcard image but i don't know how to > specify sdcard images. > > On Jul 28, 9:53 pm, Jack Ha wrote: > > > > > Your code seems t

[android-developers] Re: how to load a .so library in a apk?

2009-08-04 Thread Aki
I putted my created .so file into libs/armeabi/ I reccomend you download Android NDK . http://developer.android.com/sdk/ndk/1.5_r1/index.html and ask Android NDK Group is better. http://groups.google.com/group/android-ndk thanks On 8月4日, 午後4:03, Kaj Bjurman wrote: > I'm not sure about this, s