Mark,
Well, the manifest documentation is pretty sparse so it's not
surprising that it doesn't mention this case. A good example is the
screen of choices that face you when you look at the Application tab
in the manifest editor in Eclipse and click on one of the activities
or services. That calls
Bret Mark,
Sorry for interrupting, but I also got curious about this. It seems like
a neat way to bring up the About box without making the context menu too
large.
This works, no problems at all:
values/prefs.xml:
.
Preference android:key=aboutPref
android:title=About title
Ditto - I was also about to suggest this.
Base Preference class is quite complete, it handles drawing the title
and summary with proper fonts, and has an onClick() method.
Another way - instead of subclassing Preference, add a bit of code with
setOnPreferenceClickListener.
-- Kostya
It worked!
Now, how do we get this documented so the capability doesn't disappear
in later releases? Ideally, this would become part of the Android
regression tests. Any ideas?
Bret
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW! Try
Yes, I think I barked up the wrong tree by suggesting to get rid of
the DEFAULT category. Glad to know this works!
On Fri, Jul 30, 2010 at 12:33 PM, Kostya Vasilyev kmans...@gmail.com wrote:
Bret Mark,
Sorry for interrupting, but I also got curious about this. It seems like a
neat way to
On Fri, Jul 30, 2010 at 1:56 PM, Bret Foreman bret.fore...@gmail.com wrote:
Now, how do we get this documented so the capability doesn't disappear
in later releases? Ideally, this would become part of the Android
regression tests. Any ideas?
File an issue on b.android.com, or submit a
On Fri, Jul 30, 2010 at 11:29 AM, Bret Foreman bret.fore...@gmail.com wrote:
Note that there's a choice
called clear task on launch, a phrase that you can search in vain
for in the manifest documentation.
Ah, but if you remove the spaces, clearTaskOnLaunch is in the docs.
It seems like
The key was having both action and category in the intent filter. Either
one by itself didn't match the intent.
-- Kostya
30.07.2010 21:30, Mark Murphy пишет:
Yes, I think I barked up the wrong tree by suggesting to get rid of
the DEFAULT category. Glad to know this works!
On Fri, Jul 30,
I changed the manifest to look as below and it still exits with the
same error.
activity android:name=.AboutShipMateActivity
intent-filter
category
android:name=android.intent.category.DEFAULT/
/intent-filter
/activity
Try getting rid of the intent-filter.
On Thu, Jul 29, 2010 at 7:45 PM, Bret Foreman bret.fore...@gmail.com wrote:
I changed the manifest to look as below and it still exits with the
same error.
activity android:name=.AboutShipMateActivity
intent-filter
I removed the intent filter and still got the FC with the
ActivityNotFoundException. Is there a better way to debug this stuff
rather than trial and error?
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW! Try asking and tagging your
On Thu, Jul 29, 2010 at 9:15 PM, Bret Foreman bret.fore...@gmail.com wrote:
I removed the intent filter and still got the FC with the
ActivityNotFoundException. Is there a better way to debug this stuff
rather than trial and error?
I can't find where what you're doing is documented, so I have
12 matches
Mail list logo