[android-developers] Downloads

2011-10-10 Thread b_t
Hi, Is there any way to get list of every downloads? It seems that DownloadManager returns downloads only for my app but I would like to get Market or Browser downloads too. Thanks, Tamás -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To

[android-developers] Re: RemoteViews + padding

2011-09-22 Thread b_t
etViewPadding(viewId, getIntPreference("padding")); Can it be done somehow? Thanks, Tamás On Sep 22, 9:59 pm, Mark Murphy wrote: > You can specify it in the layout file you hand to the RemoteViews, but > I don't see off the top how you would change it via Java code. > > >

[android-developers] RemoteViews + padding

2011-09-22 Thread b_t
Hi, Is there any way to set padding using RemoteViews? It would be fine if there were a method like remoteViews.setInt(viewId, "setPadding", resourceId); or remoteViews.setInt(viewId, "setPaddingLeft", resourceId); Tamás? -- You received this message because

[android-developers] Re: App closed but notification is visible

2011-09-22 Thread b_t
Ok, so it is normal that when the system stops my app the notification is still visible but when I force close it then it disappears. Then my only problem is that my app isn't notified anymore about battery events. Maybe what I am doing is wrong: I register broadcast receivers in the onCreate met

[android-developers] App closed but notification is visible

2011-09-21 Thread b_t
Hi, My application creates an "ongoing" notification that displays battery state and updates it when battery event occurs. Very rarely I notice that this notification doesn't change, doesn't display the correct value. When this happens my application isn't running but the notification is visible.

[android-developers] Re: AppWidget Problems

2011-09-12 Thread b_t
Hi, It doesn't matter what you write in the updatePeriodMillis property if the value is too small because: "Updates requested with updatePeriodMillis will not be delivered more than once every 30 minutes." You should use alarms to update your widget. Tamás On Sep 9, 10:51 pm, Chiara wrote: >

[android-developers] Re: External images in the notification area.

2011-09-11 Thread b_t
Nobody can help me? > The external storage is available, device is not plugged at all. > > As I wrote external images is displayed in appwidgets but not in the > notification area. > > I call: > > Uri imageUri = Uri.fromFile(file); > remoteViews.setImageViewUri(imageViewId, imageUri); > > I haven

[android-developers] Re: External images in the notification area.

2011-09-07 Thread b_t
The external storage is available, device is not plugged at all. As I wrote external images is displayed in appwidgets but not in the notification area. I call: Uri imageUri = Uri.fromFile(file); remoteViews.setImageViewUri(imageViewId, imageUri); I haven't seen it before but now I can see that

[android-developers] External images in the notification area.

2011-09-07 Thread b_t
Hi, I have a problem I don't understand. In my app I try to create a notification with a RemoteViews to display some gui there. The layout contains an ImageView and I try to set an image via Uri, an image from the external storage. It works well on some devices with Android 2.3 and works well on

[android-developers] Re: Activity question

2011-07-29 Thread b_t
Now I don't use any flags just call startActivity. I don't know which flag should I use to get the expected result. On Jul 29, 9:18 pm, TreKing wrote: > On Fri, Jul 29, 2011 at 2:13 PM, b_t wrote: > > I have an app A and an app B. B has an activity called C. > > &g

[android-developers] Activity question

2011-07-29 Thread b_t
Hi, I have an app A and an app B. B has an activity called C. C can be displayed in two ways: - launch B which displays C - launch A and from A I start activity C Now C activity is displayed in two different task. What flag should I use when I start C from app A if I would like that C belongs

[android-developers] Re: 9 patch png

2011-07-22 Thread b_t
How do you mean? Simple call setBackgroundResource on View with a 9- patch image. On júl. 22, 14:34, arun kumar wrote: > how to make background image as nine patch...can u guide me. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post

[android-developers] Re: 9 patch png

2011-07-22 Thread b_t
Hi, I have found the solution. If set scaleType="fitXY" then it works. If I don't set then it doesn't work. On júl. 22, 10:37, b_t wrote: > Hi, > > I think yes because it works well if I set as background. > > https://picasaweb.google.com/10961604971140295308

[android-developers] Re: 9 patch png

2011-07-22 Thread b_t
picture and alpha is ok in the other picture. Tamás On júl. 22, 10:23, Raghav Sood wrote: > Did you adjust the areas to be stretched properly? > > > > > > > > > > On Fri, Jul 22, 2011 at 1:49 PM, b_t wrote: > > Hi, > > > I would like use a

[android-developers] 9 patch png

2011-07-22 Thread b_t
Hi, I would like use a 9 patch png in an ImageView. It sounds easy but doesn't work for me. If I set the popup.9.png drawable as the source then the whole image is stretched, not works as I excepted. If I set this drawable as background then it works well. But setting as background is not good

[android-developers] Re: Xoom external storage

2011-07-17 Thread b_t
Oh, thank you. I completely misunderstood it before. On júl. 16, 18:20, Mark Murphy wrote: > On Sat, Jul 16, 2011 at 12:15 PM, b_t wrote: > > Can somebody explain something aboutXoom? > > > I would like to getexternalsd path > > There is no such concept in And

[android-developers] Xoom external storage

2011-07-16 Thread b_t
Hi, Can somebody explain something about Xoom? I would like to get external sd path but it returns the internal storage as /mnt/sdcard The real sd path is /mnt/external1 but I can't get it from the Api. Is it a bug in Xoom firmware? I have Android 3.2. Thanks, Tamás -- You received this mess

[android-developers] Re: BackupAgent

2011-06-11 Thread b_t
> > > On Fri, Jun 10, 2011 at 5:07 AM, b_t wrote: > > Thank you for your response. > > > All of these options are enabled in my phone but backup still doesn't > > work. > > > Maybe the problem is about my ROM, I don't know > > >

[android-developers] Re: One of my apps no longer appears in searches, or under "my apps" public page?

2011-06-10 Thread b_t
My apps disappeared too. :( What is going on? On Jun 11, 1:51 am, Kostya Vasilyev wrote: > Mine stopped appearing in searches by name. Will try to make a dummy change > as well. > > -- > Kostya Vasilyev > 11.06.2011 8:03 пользователь "Mark Wyszomierski" написал: > > > > > Quick update - I thoug

[android-developers] Re: BackupAgent

2011-06-10 Thread b_t
t; > > > I remember there being some kind of user setting when configuring a new > > phone. > > > Can't say exactly what it is, might be the second from the top under > > Accounts and Sync in Settings. > > > -- > > Kostya Vasilyev > > 10.06.2011 13

[android-developers] Re: BackupAgent

2011-06-10 Thread b_t
If I wipe user data when I start emulator then backup works. There is a setting or something that can disable backup process? What should I do to work it on my phone too? On Jun 10, 10:35 am, b_t wrote: > Hi, > > I'm trying to implement BackupAgent functionality but I have n

[android-developers] BackupAgent

2011-06-10 Thread b_t
Hi, I'm trying to implement BackupAgent functionality but I have no luck. It works well in emulator 2.2 but doesn't in emulator 2.3, 2.3.3 or in my device with 2.3.3. In 2.3.x it just displays when I run "bmgr backup run" in adb shell: 06-10 10:25:39.263: DEBUG/AndroidRuntime(14616): Calling ma

[android-developers] Re: Invalid column contact_id

2011-05-23 Thread b_t
nce you don't > > have a WHERE clause and a key. > > > On May 23, 3:03 pm, b_t wrote: > > > > Hi, > > > > I try to pick a contact number by: > > > >                 Intent intent = new Intent(Intent.ACTION_PICK, > > > Contacts.CONTENT_URI);

[android-developers] Invalid column contact_id

2011-05-23 Thread b_t
Hi, I try to pick a contact number by: Intent intent = new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI); intent.setType(ContactsContract.CommonDataKinds.Phone.CONTENT_TYPE); And I try to get a contact from the result by: Uri contactData = intent.getD

[android-developers] Re: GSM signal strength "unknown" returned in Gingerbread 2.3.3

2011-05-16 Thread b_t
Some of my users with 2.3.3 get always "unknown" signal strength too. So I'm interested in the answer too. On May 16, 2:12 am, Alex wrote: > I have registered a PhoneStateListener and I am listening to > onSignalStrengthChanged(asu) and > onSignalStrengthsChanged(SignalStrength signalStrength). >

[android-developers] Re: How to check telephony is available

2011-04-26 Thread b_t
The HTC EVO 4G has factory rom. On Apr 26, 12:07 pm, b_t wrote: > > I am not sure the PackageManager.FEATURE_TELEPHONY will return false > > as you described. > > I'm sure. Users wrote me and I asked them to check it. This feature is > missing > in their devices. On

[android-developers] Re: How to check telephony is available

2011-04-26 Thread b_t
to my app to work well on tablets too. I want telephony-specific features disabled on that devices. After this update I got the emails that these options are disabled in their phones. Maybe it is good to know for everybody that it isn't the reliable solution. T. > > Terence &

[android-developers] How to check telephony is available

2011-04-26 Thread b_t
Hi, Is there any way to check if telephony is available? Checking for PackageManager.FEATURE_TELEPHONY feature is not a solution because there are phones that says false to this feature but has telephony. Thanks, Tamás -- You received this message because you are subscribed to the Google Group

[android-developers] Re: Appwidget + AsyncTask + Handler

2011-04-20 Thread b_t
way?  Is > there some long-running work you are also doing? > > 2011/4/20 b_t > > > > > > > > > > > I don't know what firmware it is but when I updated my app today I got > > tons of error mails from different types of devices so it must b

[android-developers] Re: Appwidget + AsyncTask + Handler

2011-04-20 Thread b_t
Settings application. > > Also, is it possible you're dealing with some heavily modified, buggy > firmware? >  20.04.2011 18:00 пользователь "b_t" написал:> The > original stack trace is: > > > Caused by: java.lang.RuntimeException: Can't create h

[android-developers] Re: Appwidget + AsyncTask + Handler

2011-04-20 Thread b_t
wrote: > You could try calling Looper.prepare() first thing in doInBackground(). > > Oh, and logcat output would help us help you, as usual. > > -- Kostya > > 20.04.2011 12:07, b_t пишет: > > > Hi, > > > In my app I was going to use an AsyncTask to update

[android-developers] Appwidget + AsyncTask + Handler

2011-04-20 Thread b_t
Hi, In my app I was going to use an AsyncTask to update appwidget data because this process can be long. To get the state I have to call BluetoothAdapter.getDefaultAdapter(). The problem is that in some device (not in mine) it tries to initialize a Handler and throws Exception about missing Looper

[android-developers] Re: ImageView

2011-04-13 Thread b_t
It seems this is my own thread ;) I managed to solve my problem by creating a custom view from ImageView. It would be fine if it could be done by using directly the ImageView class. On Apr 13, 1:44 pm, b_t wrote: > Hi, > > I can't find it out how to use ImageView to get what I wa

[android-developers] ImageView

2011-04-13 Thread b_t
Hi, I can't find it out how to use ImageView to get what I want: - fill parent vertically - maintain the original aspect ratio So the imageview should change its width. Thank you, T. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To po

[android-developers] ImageView

2011-04-11 Thread b_t
Hi, I have to do things with an ImageView after it has got a size. For example set an animation which depends on the size of the ImageView. What is the official way to do size-dependent things? I tried to create a new class from ImageView and overwrite onMeasure. It worked on my phone but didn't

[android-developers] Re: Problem loading gadget

2011-04-07 Thread b_t
No, I didn't change anything in widget xmls. On Apr 7, 10:41 pm, String wrote: > If users get that message just when updating your app, one possible cause is > that you've made a change in your widget's XML. Changing something like the > name of the XML file means that the OS doesn't recognize it

[android-developers] Problem loading gadget

2011-04-07 Thread b_t
Hi, Some of my users always complaining about that my appwidgets gone when they update my application. The "problem loading gadget" text are displayed instead of my widgets. If I know well, than this message is displayed when the OS can't found the application for the widget. What can cause this

[android-developers] Re: Shortcut

2011-04-05 Thread b_t
Maybe it depends on the Launcher. I just tried Launcher Pro, and it creates the same "wrong" shortcut intent as created from my app. I wish I knew what Launcher is the default launcher in my device ... On ápr. 5, 21:38, b_t wrote: > Hi, > > In my app there is a possibility t

[android-developers] Shortcut

2011-04-05 Thread b_t
Hi, In my app there is a possibility to add a shortcut to my widget. It works well for almost every shortcut type. But doesn't work well for shortcuts of a specific application. When I add this shortcut to my home screen by the launcher and click on it the following intent will be executed: 04-

[android-developers] Re: Activity lifecycle

2011-04-02 Thread b_t
And is there any way to force stop activity A to test if my onRestoreInstanceState and onSavedInstanceState implementation works when returning from B? In my device A is never destroyed. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To p

[android-developers] Activity lifecycle

2011-04-02 Thread b_t
Hi, Maybe an easy question. When activity A launches activity B then it is possible that A destroyes before the user navigates back from B? So A will be recreated and don't remain object state? T. -- You received this message because you are subscribed to the Google Groups "Android Developers"

[android-developers] ShortcutIconResource

2011-04-01 Thread b_t
Hi, When I pick a shortcut I can get a ShortcutIconResource from the intent (Intent.EXTRA_SHORTCUT_ICON_RESOURCE). I would like to display this icon. How can I get a Bitmap or Drawable from it? Thanks, T. -- You received this message because you are subscribed to the Google Groups "Android Deve

[android-developers] Re: BadParcelableException

2011-03-25 Thread b_t
Kostya: thank you, your suggestions solved my problem But I think when I call data.getSerializableExtra("SETTINGS") and I'm sure that there is no "SETTINGS" extra in "data" intent I shouldn't get ClassNotFoundException. Maybe the problem is that it tries to read everything, not only the "SETTI

[android-developers] BadParcelableException

2011-03-25 Thread b_t
Hi, My activity starts other activities to get a result from them: - starts an activity of mine which returns a Serializable object with the intent or - starts an activity with ACTION_PICK to pick a contact In my onActivityResult method I check if it is the first case or not by calling Setti

[android-developers] Re: CamcorderProfile

2011-03-22 Thread b_t
Oh, I understand, thank you On Mar 22, 9:26 am, Marcin Orlowski wrote: > On 22 March 2011 09:17, b_t wrote: > > > Hi, > > > My camcorder resolution is set to 1280x720 in my Htc Desire with 2.2. > > > If I get CamcorderProfile.get(CamcorderProfile.QUALI

[android-developers] CamcorderProfile

2011-03-22 Thread b_t
Hi, My camcorder resolution is set to 1280x720 in my Htc Desire with 2.2. If I get CamcorderProfile.get(CamcorderProfile.QUALITY_HIGH) then it says that resolution is 720*480. "QUALITY_HIGH refers to the highest quality available" Do you know why? How can I get maximum camcorder resolution? --

[android-developers] Bitmap recycle

2011-03-09 Thread b_t
Hi, when I use imageView.setImageResource(int) or imageView.setImageDrawable(packageManager.getApplicationIcon(packageName)) or imageView.setImageDrawable(resolveInfo.loadIcon(packageManager)) should I recycle bitmap inside the imageView when I change the image? Or not because the returned bitma

[android-developers] appwidgets

2011-03-09 Thread b_t
Hi, some of my users complains that my appwidgets aren't found in the widget list so they can't add them to the dashboard. Does anyone know how it is possible? I reinstall my app many times from apk - not from the market - during development and sometimes I got the same problem and I have to reb

[android-developers] Re: Check permissions

2011-03-08 Thread b_t
Ping. Can somebody help? On Mar 4, 9:29 am, b_t wrote: > Hi, > > thank you for this suggestion > > A put the following line in the manifest of my content provider addon > (MYPERMISSION is replaced by the correct value): > > android:protectionLevel="signature"

[android-developers] Re: Phantom appwidgets

2011-03-04 Thread b_t
I checked the issues you sent me and I only found 9362. This is in New state since June, 2010 On Mar 4, 9:50 pm, Kostya Vasilyev wrote: > 04.03.2011 23:34, b_t пишет: > > > yes I've already use this trick and it is good for the first case, > > when the widget hasn't

[android-developers] Re: Phantom appwidgets

2011-03-04 Thread b_t
I can reproduce it anytime in my HTC Desire 2.2. After you configured your widget and have to place it somewhere where there is no place, just press Back. If I press Remove the widget is removed. But with Back it isn't. On Mar 4, 9:50 pm, Kostya Vasilyev wrote: > 04.03.2011 23:34, b

[android-developers] Re: Phantom appwidgets

2011-03-04 Thread b_t
y have a config activity. > > http://kmansoft.wordpress.com/2010/06/22/per-widget-options-stale-wid... > > -- Kostya > > 04.03.2011 21:14, b_t пишет: > > > > > > > > > > > Hi, > > > There are two ways to create "phantom" wi

[android-developers] Phantom appwidgets

2011-03-04 Thread b_t
Hi, There are two ways to create "phantom" widgets: - try to add a new widget, configuration screen appears, canceling widget creation - try to add a new widget, configuration screen appears, save the widget, there is no place in home screen, canceling After these steps a new appwidget was creat

[android-developers] sms compose activity

2011-03-04 Thread b_t
Hi, I can start SMS compose activity by Intent intent = new Intent(Intent.ACTION_VIEW, Uri.parse("sms:#")); startActivity(intent); Is it possible to set the phone number or contact id? (the "To" field of the activity) Thanks, Tamás -- You received this message because you are

[android-developers] Re: Check permissions

2011-03-04 Thread b_t
eady use one. > > And I really discourage people from using shared user IDs; there are lots of > subtle implications of doing that, which I would prefer just be avoided. > > > > > > > > > > On Sat, Feb 26, 2011 at 11:51 PM, b_t wrote: > > Can &qu

[android-developers] Re: Check permissions

2011-02-26 Thread b_t
available in Market already do this > > (e.g. Smart Keyboard, ES File Explorer, those are just the ones I use, there > > are certainly many more). > > > 26.02.2011 22:18, b_t пишет: > > >  There are users who don't read the app description nor the comments. > &g

[android-developers] Re: Check permissions

2011-02-26 Thread b_t
There are users who don't read the app description nor the comments. They don't write an email to ask just write a bad comment. So explaining it doesn't help because they don't read. I always try to answer comments but the next comments keep asking the same questions. So I'm not satisfied with th

[android-developers] Re: Check permissions

2011-02-26 Thread b_t
I don't know what would be a good solution for this problem. The problem is that half of the users would like the new features that required "personal" permissions (read sms, get accounts, ...) and the other half of the users would uninstall or not to update the app because they afraid for their pe

[android-developers] Re: Check permissions

2011-02-26 Thread b_t
I know how permissions work. I'm thinking about creating two apk-s with different manifest, different required permissions. I don't want the source code to be changed. That is why I would like to check permission realtime. Kevin, so can I use that method in this way? packageManager.checkPermissio

[android-developers] Check permissions

2011-02-25 Thread b_t
Hi, What is the correct way to check if app has a permission, for example "android.permission.READ_SMS". I would like to create different versions of my app with the same code but different manifest xml with different permissions. So I would like to check runtime if this version has a permission

[android-developers] Re: FileNotFoundException

2011-02-25 Thread b_t
te: > On Fri, Feb 25, 2011 at 11:17 AM, b_t wrote: > > What is wrong? Should I check something else? > > What is "file"? > Check the result of "mkdirs". > Also, "widgets" is a terrible name for a folder to place at the root of the > user's

[android-developers] FileNotFoundException

2011-02-25 Thread b_t
Hi, I get the following exceptions (from my users) when I try to open a fileoutputstream: phone model: GT-I5800, android version: 2.1-update1, exception: java.io.FileNotFoundException: /sdcard/MYPATH/FILENAME at org.apache.harmony.luni.platform.OSFileSystem.open(OSFileSystem.java: 244)

[android-developers] Re: Check if action activity exists

2011-02-24 Thread b_t
2.2011 12:27 пользователь "b_t" написал: > > > > > > > > > This is not good for me. I would like to show a list to the user to > > select an action what to do. > > > So I can't start the activity before to check if it exists or not. > >

[android-developers] Re: Check if action activity exists

2011-02-24 Thread b_t
appwidget. On Feb 24, 9:49 am, Kostya Vasilyev wrote: > You can just call startActivity without any prior checks, and catch > ActivityNotFoundException. > > -- Kostya > > 24.02.2011 11:45, b_t пишет: > > > Hi, > > > ACTION_NETWORK_OPERATOR_SETTINGS says that &

[android-developers] Check if action activity exists

2011-02-24 Thread b_t
Hi, ACTION_NETWORK_OPERATOR_SETTINGS says that "In some cases, a matching Activity may not exist" How can I check if there is an activity or not before I try to start the activity? I wanted to show a feature only if this activity exists. Thanks, Tamás -- You received this message because you

[android-developers] Re: Saving layout file is very slow with Eclipse / ADT

2011-02-20 Thread b_t
I have the same problem too, but only in Windows. In Linux it is fast enought, but in Windows it us extremly slow. When I change resources I have to wait long minutes to continue the work. Same computer, same eclipse/sdk version, same project. The difference is only in OS and waiting time. On Feb

[android-developers] Re: appwidget icon set

2011-02-17 Thread b_t
I would like to use them in RemoteViews.setImageViewResource or setImageViewUri calls. On febr. 17, 12:42, Marcin Orlowski wrote: > > I don't want to store every icon set in the apk, only the default, > > Depending on for what you are using your icons, it may be still > fine to store additional

[android-developers] appwidget icon set

2011-02-17 Thread b_t
Hi, There are a lot of icons in my appwidget. I would like a feature that a user can choose widget icon set in different styles. I don't want to store every icon set in the apk, only the default, because the apk would grow very large, and it is an appwidget so can't install on sd. Downloading to

[android-developers] sd cards

2011-02-08 Thread b_t
Hi, Some device has 2 SD-card. Is there any way in the API to get all of them? -- 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 ema

[android-developers] Re: imageRes

2011-02-07 Thread b_t
get. > > -- Kostya > > 07.02.2011 14:32, b_t пишет: > > > > > > > > > > > No, I would like to display icons of other installed applications. > > > I thought that it isn't possible because a resource id is unique only > > in a proj

[android-developers] Re: imageRes

2011-02-07 Thread b_t
I haven't tried it because I didn't know how to build the Uri to be valid. > > Have you tried using a resource Uri? > > http://developer.android.com/reference/android/content/ContentResolve... > > Something like this: > > android.resource://the.other.apps.package.name/drawable/id_value -- You re

[android-developers] Re: imageRes

2011-02-07 Thread b_t
from another > package. > > -- Kostya > > 07.02.2011 11:44, b_t пишет: > > > Hi, > > > ActivityInfo class contains an icon attribute which is a resource id. > > Can my appwidget use this resource id to display this icon? > > (ResourceViews.setImageVi

[android-developers] imageRes

2011-02-07 Thread b_t
Hi, ActivityInfo class contains an icon attribute which is a resource id. Can my appwidget use this resource id to display this icon? (ResourceViews.setImageViewResource) Or I have to load the icon and call setImageViewBitmap? The problem with this solution that it puts more data to the transactio

[android-developers] ACTION_AIRPLANE_MODE_CHANGED

2011-02-01 Thread b_t
Hi, I have a question about airplane mode broadcast intent. The documentation says that the "state" extra value is a boolean. http://developer.android.com/reference/android/content/Intent.html#ACTION_AIRPLANE_MODE_CHANGED In the source of android apps, the PhoneApp reads it as integer: if (act

[android-developers] Re: Detect Android version

2011-01-29 Thread b_t
There is an other problem in an other device. It says that SDK_INT=9, VERSION.RELEASE=2.3, but I throws java.lang.NoClassDefFoundError: android.view.InputDevice I can't understan these bugs -- You received this message because you are subscribed to the Google Groups "Android Developers" group.

[android-developers] Detect Android version

2011-01-29 Thread b_t
Hi, I thought that I can use Build.VERSION.SDK_INT for detect android version. But I got errors from my users because they has Froyo, Build.VERSION.RELEASE returns "2.2" (I can see it in error mails), and Build.VERSION.SDK_INT has value 9. It says that it is gingerbread and my app tries to use gin

[android-developers] ContentService

2011-01-22 Thread b_t
Hi, I got the following exception very rarely: Caused by: android.os.DeadObjectException at android.os.BinderProxy.transact(Native Method) at android.content.IContentService$Stub $Proxy.getMasterSyncAutomatically(IContentService.java:765) at android.content.ContentResolver.ge

[android-developers] Re: Traceview + performance problem

2011-01-19 Thread b_t
44 19756 2006 47810 32 0 21 47 0 0 0 0 17180 44112 271032 19756 1117 22660 24 4 4 68 0 0 Why scrolling needs so many CPU-usage? On Jan 18, 9:55 am, b_t wrote: > Hi, > > my app hasperformanceproblems, and I don't understand why. >

[android-developers] Traceview + performance problem

2011-01-18 Thread b_t
Hi, my app has performance problems, and I don't understand why. It has a not too complicated UI, and Traceview displays the following result (a row below an other is it's child): METHOD Incl% Calls+Recur android/os/Handler.dispa

[android-developers] Camera properties

2011-01-15 Thread b_t
Hi, is there any way to get camera properties without open it? I want to display camera properties but don't want to take a picture. I have to open camera, get properties, then release it: Camera camera = Camera.open(); if (camera != null) { parameters = camera.ge

[android-developers] Re: Alarm in sleep mode

2010-12-29 Thread b_t
Thank you, you answered all of my questions On Dec 29, 10:52 am, Dianne Hackborn wrote: > On Tue, Dec 28, 2010 at 11:56 PM, b_t wrote: > > Hmm, so there is no possibility to display "real-time" information in > > a widget? For example a compass widget? > > Correc

[android-developers] Re: Alarm in sleep mode

2010-12-28 Thread b_t
9, 5:25 am, kernelpanic wrote: > On D?ec 28, 8:00 pm, Mark Murphy wrote: > > > On Sat, Dec 25, 2010 at 3:54 PM, b_t wrote: > > > In an appwidget I declare a repeating alarm to refresh a widget in > > > every 10 seconds: > > > Please don't. > > yeah reall

[android-developers] PhoneStateListener in widget

2010-12-28 Thread b_t
Hi, PhoneStateListener works well in an activity but how can I use it in an appwidget? I would like to display signal strength information, but there is no way to get this value (if I'm right), only with using PhoneStateListener. But I don't know how to use it in a widget. Thank you, T. -- You

[android-developers] Alarm in sleep mode

2010-12-28 Thread b_t
Hi, In an appwidget I declare a repeating alarm to refresh a widget in every 10 seconds: @Override public void onUpdate(Context context, AppWidgetManager appWidgetManager, int[] appWidgetIds) { Intent update = new Intent(REFRESH); PendingIntent intent =

[android-developers] App launch widget

2010-12-28 Thread b_t
Hi, I created an application launcher widget, which displays the icon of the selected activity and launch it when you click on it. The only problem with it, that in my phone there is only one application (Compass), which icon cannot be displayed. In an other phone it can be displayed, but Facebook