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
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.
>
>
>
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
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
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.
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:
>
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
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
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
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
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
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
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
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
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
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
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
>
>
> 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
>
> >
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
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
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
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
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);
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
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).
>
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
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
&
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
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
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
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
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
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
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
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
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
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
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
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-
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
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"
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
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
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
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
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?
--
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
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
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"
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
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
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
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
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
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
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
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
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
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
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
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
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)
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.
> >
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 &
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
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
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
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
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
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
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
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
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
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
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.
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
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
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.
>
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
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
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
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
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
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 =
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
85 matches
Mail list logo