ck is going to standby.
Does anyone have any ideas on what is going on? Are you only allowed to
prepare one mediaplayer at a time???
Regards,
Peter Carpenter.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group
stView inside a ScrollView. The behavior for such a
> setup is pretty much guaranteed to not work (and definitely not
> guaranteed to work.)
>
> On Tue, Sep 14, 2010 at 11:39 PM, Peter Carpenter
> wrote:
> > My app builds up a custom screen as dictated to me via the users
> &
essage-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Martin
Sent: Sunday, 26 September 2010 6:23 AM
To: Android Developers
Subject: [android-developers] Re: Exact Layout that fits a background image
On 22 Sep., 01:51, Peter Carpenter
wro
that fits a background image
Woow this sounds very hard. Is it explained somewhere how to do this,
or is there an example?
If I create my own layout-class, can I still use the Layout-Editor
with eclipse?
Greetings, Martin
On 21 Sep., 02:10, Peter Carpenter
wrote:
> You can create your own class that
You can create your own class that extends ViewGroup and override the
layout/onMeasure functions to explicitly define your own layout.
Not sure of how to do this via xml though.
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On B
droid-developers] Re: Scrolling broken in 2.2 ?
Umm, Well, Getting back to 2.1 will not fix your problems. I would
reckon the best approach would be to re-design your UI.
-Kumar Bibek
http://techdroid.kbeanie.com
On Sep 15, 12:05 pm, Peter Carpenter
wrote:
> Hey Romain,
>
> Thanks for the re
Well, Getting back to 2.1 will not fix your problems. I would
> reckon the best approach would be to re-design your UI.
>
> -Kumar Bibekhttp://techdroid.kbeanie.com
>
> On Sep 15, 12:05 pm, Peter Carpenter
>
>
>
> wrote:
> > Hey Romain,
>
> > Thanks for th
)
On Tue, Sep 14, 2010 at 11:39 PM, Peter Carpenter
wrote:
> My app builds up a custom screen as dictated to me via the users
> 'application'. This means that I can end up in the situation where I have a
> parent scrollview and somewhere down the heirachy I can have a listView or
My app builds up a custom screen as dictated to me via the users 'application'.
This means that I can end up in the situation where I have a parent scrollview
and somewhere down the heirachy I can have a listView or a multiline TextView.
Both of these scenarios continue to work fine under 2.1,
s
available to counteract this issue.
Is there a similar concept in Android? Or is there a better way to do what I'm
trying to do?
I appreciate your comments,
Peter Carpenter.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" grou
Hallo there,
I am creating a custom check box in which I wish to support an infinite number
of colours for the foreground or the background.
To do this I have a background image, and a foreground image which is a tick
that will be drawn over the top of the background.
To set the colours I am add
Thanks very much Mark & Streets of Boston.
It's taken me a while to get a grasp of the whole application lifecycle
- especially once you throw Services into the mix, but I think I'm
starting to get it! :)
System.exit() definitely gets me out of the hole for now. Which is
great - but as you say
Hi all,
We are currently porting some java code to work inside a service within
the Android framework. However one thing I am still puzzling over is
the life cycle of an android application, activity, & service.
What I am currently thinking is this:
1. An android "application" proces
s
Subject: [android-developers] Re: Extremely frustrating = TextView in
ScrollView -> Scroll to bottom?
On 28 Maj, 01:28, "Peter Carpenter"
wrote:
> Hi guys,
>
>
> It appears that plenty of people have asked about this in newsgroups,
> but no solution offered
Hi guys,
I can't for the life of me work out how to get a text view to be
displayed scrolled to the bottom.
It appears that plenty of people have asked about this in newsgroups,
but no solution offered.
textView.setText(s);
scrollView.fullScroll(ScrollView.FOCUS_UP);
The above code
Hi,
I have a preference where I'd like to toggle the state of a preference
depending on the state of a checkbox.
This works wonderfully if I want something visible when it's checked.
However I want another preference to be visible when it's NOT checked.
Is there a way to specify "android:dep
Wed, May 13, 2009 at 10:36 PM, Peter Carpenter
wrote:
>
>
> Hi all,
>
> I've just been attempting to upgrade my application to support 1.5 and
> discovered that I can no longer retrieve a resource for my scrollbar
> background.
>
> My app requires me to draw a scrol
Hi all,
I've just been attempting to upgrade my application to support 1.5 and
discovered that I can no longer retrieve a resource for my scrollbar
background.
My app requires me to draw a scrollbar that I can use to control a
custom component.
Currently I was using the following code (which J
7:23 pm, "Peter Carpenter"
wrote:
> However for each one of these scenarios I keep getting the following
> exception thrown by the davlik compiler. [...]
> UNEXPECTED TOP-LEVEL EXCEPTION:
> java.lang.IllegalArgumentException: already added:
> Lau/com/skytechnologies/e
Hi all,
I am attempting to integrate some previous libraries that we have within
my new android project.
I have made several attempts including:
Importing the code as sub-projects (that are built using the
android.jar)
Importing the code as jar files (from the buil
an file
feature requests or (more likely to have a result) submit patches to add
those features. For the latter, though, keep in mind that we are very
restrictive on accepting changes to fundamental parts of the system like
this.
On Mon, Apr 27, 2009 at 8:13 PM, Peter Carpenter
wrote:
Hi Dianne
opers] Re: Compiling against a *REAL* android.jar
in eclipse???
Don't do that. If you aren't writing an app but system code, use the
platform build system.
On Mon, Apr 27, 2009 at 7:29 PM, Peter Carpenter
wrote:
Hello everyone,
I'd like to be able to extend classes lik
Hello everyone,
I'd like to be able to extend classes like View and still have access to
the protected member variables.
Under the standard SDK's, android.jar is only a stub and so access to
the protected member variables is not found. (And also all classes
tagged as {hide} are hidden)
Does
The editText calls requestLayout every time the text is modified, and
this request flows all of the way up the hierarchy. I would have to
assume that the onMeasure/onLayout functions for the tab are doing
something like clearing the focus, or removing & re-adding your
editText.
Now how to fix thi
Hello all,
I'm really tearing my hair out trying to make a Spinner component behave
with an EditText as it's child rather than a TextView.
The problem I've getting is that everytime I select an item from the
drop down list, I lose the focus ring from the EditText. The cursor is
still there, b
esolveAttribute(android.R.attr.scrollbarThumbVertical,
outValue, true);
getResources().getDrawable(outValue.resourceId);
j
On Wed, Apr 15, 2009 at 11:12 PM, Peter Carpenter
wrote:
>
> Hi,
>
> Hopefully this is a simple one.
>
> My application requires me to draw a scrollbar myself (and
Hi,
Hopefully this is a simple one.
My application requires me to draw a scrollbar myself (and include the
old-school physical up/down buttons. I can't do this via XML as all of
my screens are generated on the fly by data received over a socket. Like
a web browser.
Now the drawables I'm after
I'm struggling with a similar issue myself at the moment.
I traced mine down to the fact that modifying the child component caused
it to call RequestLayout(). This in turn, caused the parent to relayout
which unfortunately meant removing and replacing the component with a
new one - thus the focu
-Original Message-
From: android-developers@googlegroups.com
[mailto:android-develop...@googlegroups.com] On Behalf Of Peter
Carpenter
Sent: Tuesday, 14 April 2009 3:26 PM
To: android-developers@googlegroups.com
Subject: [android-developers] Editable Spinner - 95% of the way there -
But ne
Hi all,
I've been slugging away at trying to get an editable spinner component
working. I've managed to get 95% of the way there but must confess I'm
lost as to how the focus/layout system works within android - especially
inside of this thing they call an AdapterView...
What I have working:
*
Hi,
I'm not sure which thread timers fire in, but have you tried calling the
setText explicitly from the UI thread?
final String timeSinceUpdate = tracker.getUpdateAge();
runOnUiThread(new Runnable()
{
public void run()
{
mMyTextView .setText("Current location (" + timeSinceUpdat
31 matches
Mail list logo