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
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
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
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
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
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
>
> 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
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
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
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
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
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
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
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
> 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
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
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
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
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
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
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
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
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
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
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
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
26 matches
Mail list logo