[android-developers] NoClassDefFoundError - Rejecting re-init on previously-failed class

2012-09-29 Thread bt
Hi, Please somebody explain me what this error means and how to avoid it. After a while my app Force Closes because of this error: 09-28 12:53:45.746 I/dalvikvm(29489): Rejecting re-init on previously-failed class Lcom/bartat/android/ui/task/AsyncTaskExt; v=0x0 09-28 12:53:45.748

[android-developers] Camera.ACTION_NEW_PICTURE

2012-08-13 Thread bt
Hi, I would like to listen to Camera.ACTION_NEW_PICTURE broadcast but I can't. I have tried with and without the data scheme and both in emulator and physical device (ICS) IntentFilter filter = new IntentFilter(Camera.ACTION_NEW_PICTURE); filter.addDataScheme(content); Why doesn't it work?

Re: [android-developers] Camera.ACTION_NEW_PICTURE

2012-08-13 Thread bt
Hi, It is a broadcast action: http://developer.android.com/reference/android/hardware/Camera.html#ACTION_NEW_PICTURE Tamas On Monday, August 13, 2012 1:07:05 PM UTC+2, Mark Murphy (a Commons Guy) wrote: That is not a broadcast Intent. It is an activity Intent, to be used with

Re: [android-developers] Camera.ACTION_NEW_PICTURE

2012-08-13 Thread bt
I checked what you wrote (the old intent) so I can use this filter now. It works well on emulator but it seems that my HTC doesn't send this broadcast. This is the way of usage on ICS: IntentFilter filter = new IntentFilter(); filter.addAction(Camera.ACTION_NEW_PICTURE);

[android-developers] Is it a launcher problem or I do something wrong.

2012-08-08 Thread bt
Hi, I create an 4x4 appwidget with minWidth and minHeight set to 250dp as it is suggested in App Widget Design Guidelines: http://developer.android.com/guide/practices/ui_guidelines/widget_design.html It is ok on every phones and phone-sized emulator I have tried but if I test it on a tablet

[android-developers] Re: Volume setting problem

2012-07-24 Thread bt
Ping. Nobody can help? On Wednesday, July 18, 2012 9:33:35 PM UTC+2, bt wrote: Hi, I have BroadcastReceiver which listens for PHONE_STATE_CHANGED actions. In my test if phone state is RINGING then I set notification volume to 1 else I set it to 5. I have an observer that listens

[android-developers] Volume setting problem

2012-07-18 Thread bt
Hi, I have BroadcastReceiver which listens for PHONE_STATE_CHANGED actions. In my test if phone state is RINGING then I set notification volume to 1 else I set it to 5. I have an observer that listens to changes in Settings.System.VOLUME_SETTINGS[NOTIFICATION]. The following happens. When it

[android-developers] Re: Notification area remains open on ICS

2012-03-25 Thread bt
Nothing happens if I set AUTO_CANCEL. Sorry for the very late answer. On febr. 29, 20:04, TreKing treking...@gmail.com wrote: On Wed, Feb 29, 2012 at 7:52 AM, bt barta...@gmail.com wrote: Is there any solution to close it automatically after click? You have this flag set?http

[android-developers] Re: Image on external storage

2012-03-07 Thread bt
Nobody can help me? On Mar 5, 12:39 pm, bt barta...@gmail.com wrote: Hi, I would like to display an image from external storage which is 72x72 px. My device has high density. The image view height and width are wrap_content. I got different results if I load the image or use an URL

[android-developers] Image on external storage

2012-03-05 Thread bt
Hi, I would like to display an image from external storage which is 72x72 px. My device has high density. The image view height and width are wrap_content. I got different results if I load the image or use an URL. If I use an URL like this then the result will be about 48x48px.

[android-developers] Notification area remains open on ICS

2012-02-29 Thread bt
Hi, My app creates an ONGOING notification and when I click on it an intent is executed which opens an application. On ICS the notification area remains open and must be closed manually. Is there any solution to close it automatically after click? Thanks, Tamas -- You received this message

[android-developers] Re: Multiple APKs installed to the same location

2012-02-02 Thread BT
it is. -BT -- 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 For more options

[android-developers] Multiple APKs installed to the same location

2012-02-01 Thread BT
to selectively install only those features they want. I'm pretty sure iOS does this with in-app purchases, but not sure how to do it on Android? Thanks, BT -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email

[android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread BT
Thanks, John. That's unfortunate. How about downloading FeatureX.so to the Downloads directory, calling dlopen(featurex.so), then calling the additional library functions? Thx, BT -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Multiple APKs installed to the same location

2012-02-01 Thread BT
Good point about security, but this isn't a general consumer application. The additional libraries can only be downloaded from our internal servers and only over our internal wi-fi, plus they're hashed verified with our internal security server prior to execution. We have to run on iOS too,

[android-developers] Can I have multiple .apk files?

2012-01-30 Thread BT
, etc.) per .apk, so the game is infinitely expandable. I currently load all resources by looking into my .apk with libzip and libpng, so it'd be great if I could just point at a different .apk to load other levels. Thx, BT -- You received this message because you are subscribed to the Google

[android-developers] Re: Can I have multiple .apk files?

2012-01-30 Thread BT
common company info, etc in the .apks so Android will let me access them? Thx, BT -- 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: Can I have multiple .apk files?

2012-01-30 Thread BT
that'll give me the device's Downloads directory? Or better yet, can I specify a filename and ask Android to locate it and return the full path? Thx, BT -- 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] Re: Can I have multiple .apk files?

2012-01-30 Thread BT
thinking either way the files wind up in the default Downloads folder -- I just need to programatically determine where that is and ensure I have read access to the files therein. Thx, BT -- You received this message because you are subscribed to the Google Groups Android Developers group. To post

[android-developers] Re: Can I have multiple .apk files?

2012-01-30 Thread BT
So if it's just a regular .zip file that's downloaded, can I have access to it? I don't need write access to the file, just read access to pull the bitmaps out. Thx, BT -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Can I have multiple .apk files?

2012-01-30 Thread BT
so I can open it? Thx, BT -- 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] Home screen icon dimensions

2012-01-20 Thread bt
Hi, I would like to display application icons in my app with the same dimension as they are visible on the home screen. Is there any way to get that information. I mean it would be fine if there were an attribute or style I could use, for example: ImageView

[android-developers] Re: Activities

2012-01-11 Thread bt
Thank you TreKing. This is exactly what I was looking for. It solved an other problem of mine too. All I have to do is set an empty taskAffinity for activity D. Tamás On Jan 10, 4:45 pm, TreKing treking...@gmail.com wrote: On Tue, Jan 10, 2012 at 9:01 AM, bt barta...@gmail.com wrote

[android-developers] Activities

2012-01-10 Thread bt
Hi, I have a problem I can't solve, please help me. My application has an Activity A for example. I have an activity D with dialog theme. This activity starts an other activity with startActivityForResult. I would like to open this activity D from an appwidget from the home screen. If I click

[android-developers] Re: Activities

2012-01-10 Thread bt
It is not good, because if A exists in the task and I launch D then A remains on the stack, so the result is A, D. On Jan 10, 3:07 pm, TreKing treking...@gmail.com wrote: On Tue, Jan 10, 2012 at 4:48 AM, bt barta...@gmail.com wrote: Is there any way to launch D with a clear stack and to call

[android-developers] OpenGL out of memory

2012-01-04 Thread BT
RenderNextFrame() function, it's already too late and (apparently) unrecoverable -- the system locks up (don't know why) and Android forces it closed. Is there a way to check OpenGL memory as I load/create textures rather than waiting until trying to render them to fail? Thanks, BT -- You received

[android-developers] Pause/Resume vs. Stop/Start

2011-12-15 Thread BT
case where Pause/Resume can occur outside of Stop/ Start? If the two pairs do always occur together then the only difference is *when* they occur. In what scenarios would one need to distinguish Activity.Pause from Activity.Stop, since they both always happen? Thanks, BT -- You received

[android-developers] Gesture help

2011-11-19 Thread bt
Hi, I would like to switch screens by swiping left and right. I have a ScrollView inside a GestureOverlayView and everything is OK until I use a SeekBar. But there are SeekBars inside the scroll view and if I change the seekbar value with my finger by moving it to the left or right then the

[android-developers] Notification question

2011-11-08 Thread bt
Hi, Can somebody explain me something? When I create a Notification I set a contentView with buttons. I have set onClickPendingIntent for every buttons and I have to set contentIntent for the notification too. It seems that this feature works differently on different devices: - on some devices

[android-developers] Re: Custom header in dialog themed activity

2011-11-03 Thread bt
Sorry, the links of images were bad: https://picasaweb.google.com/109616049711402953088/Dev?authuser=0feat=directlink On Nov 2, 1:16 pm, bt barta...@gmail.com wrote: Hi, I try to create custom header for my activity but I have problems with it. My activity has a Theme.Dialog theme so

[android-developers] Custom header in dialog themed activity

2011-11-02 Thread bt
Hi, I try to create custom header for my activity but I have problems with it. My activity has a Theme.Dialog theme so normally looks like it: https://picasaweb.google.com/lh/photo/Q4RtmPYjkVEL2NXzV9lC8Q?feat=directlink When I call requestWindowFeature(Window.FEATURE_CUSTOM_TITLE); on the

[android-developers] Bluetooth HID profile in 3.1

2011-09-04 Thread BT
? /BT -- 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 For more options

[android-developers] abd shell USB debugging

2011-09-04 Thread BT
Hello, I have one question, I'm testing android devices, and is it possible abd command Enable or Disable USB debugging mode ? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to