[android-developers] Livewallpaper settings activity - Permission Denial when trying to load from 'configureā€¦' menu

2011-04-20 Thread RrD

I am unable to load the live wallpaper preferences from
'Wallpaper>Configure...'. I get the following error: 'Permission
Denial starting intentrequires permission BIND_WALLPAPER'

The preferences load fine when i click the settings button from within
the Livewallpaper menu. Here are some screen shots to better explain
the error:

Screen 1 Link: dl.dropbox.com/u/426528/RrD/device2.png

Screen 2 Link: dl.dropbox.com/u/426528/RrD/device3.png

Error Log Link: dl.dropbox.com/u/426528/RrD/device4.png


The manifest file is as follows:



























-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] losing PendingIntent on upgrade

2011-02-14 Thread rrd
Hi,

My app works like this

1) At boot time or when the app's database is empty (means after 
installation) it starts a service which checks the internet for some data.
2) The service stop itself when it is ready and use PendingIntent to run 
again later

My problem is the following. It seems to me when I create a new version of 
the app and the users installing the upgrade the service will not start 
again. If the user reboots the android device the service is strated and it 
starts the process creating PendingIntents and start the service again and 
again.

Is it normal to loose PendingIntents at upgrades? How should I deal with the 
issue?

rrd

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] debugging services, broadcast messages

2011-02-12 Thread rrd
Hi,

My application listens to a broadcast message sent by a service. I would 
like to test, debug the activity but I do not want to wait for the time when 
the broadcast message is actually sent by the service.

Is there any way to send a particular broadcast message to the emulator?

rrd

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: broadcast message leave activity in the background

2010-10-31 Thread rrd
Yes the receiver calls startActivity(). I think sending broadcast
would not help me as the message already sent and received by the
receiver.

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] broadcast message leave activity in the background

2010-10-31 Thread rrd
Hari,

My app's main activity listens to a broadcast message. When it
receives the message it brings the activity to the front. I want to
update the activity if it is in the front, so the user is playing with
it, but otherwise I do not want to bring the activity to the front.

How should I do it? Is there a flag for invoking the intent, or what?

rrd

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] update view when AsyncTask finished in a service

2010-10-12 Thread rrd
Hari

I have an activity which starts a service. In the service there is a
network lookup in an AsyncTask. Results from the lookup are saved to a
database.

The activity queries to database and shows the newest entries. But at
the very first run the database is empty, so there is nothing to show.
In this case I would like to show a progress dialog to the user while
the network lookup is taking place. I would like to dismiss the
progress dialog when the first lookup is finished.

Is there a way to access the progress dialog created in the activity
from the service? Or how 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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] ListPreference disable item

2010-10-02 Thread rrd
I have a currency exchange rate watcher application. The user could
choose if he would like to get currency rates or foreign exchange
rates. An other preference is to choose the selling, buying or middle
rate.

If the user choose to see currency rates I would like to disable midde
rate from the other ListPreference, so the user never could get middle
rates for currencies. He could only get middle rates for foreign
exchange rates. Who 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
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] versionName in layout xml

2010-06-18 Thread rrd
I would like to show the versionName to the user in a textview




Is it possible to modify the value of android:text to have the
versionName in that without any java coding?

-- 
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, visit this group at
http://groups.google.com/group/android-developers?hl=en