I can't find any intent which opens the camera. The closest I've found
is ACTION_CAMERA_BUTTON but that breaks if the phone has no hardware
button for the camera.
Anyone know?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this
I'm finding that when editing XML files for layouts, it often takes
5-10 seconds to finish building the workspace after every change
before I can compile the application. Is this normal? Is there any way
to speed this up? My computer is very fast so I feel like something
strange must be going on.
How do you get the alpha of an ImageView? You can setAlpha, but I can
find no way to retrieve it afterwords. Anyone know?
--
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.c
I have a custom checkbox which I assign a custom resource to using the
android:button attribute. My problem is that it scales it too large
and seems to ignore android:scaleType. Does anyone know what's going
on?
--
You received this message because you are subscribed to the Google
Groups "Android
I have a checkbox that I made, and I have replaced the android:button
graphic with my own. It works fine except it stretches the image even
though it's sized exactly the same as the checkbox. scaleType seems to
be totally ignored as well. If I set the same graphic as the
android:background, it look
Apparently the problem is the list of items function as a switch, so
having the default state first made it ignore the rest. My bad.
On Apr 8, 6:27 pm, Ozymandias wrote:
> Using this as the android:src I get no change on press except to the
> background which turns orange as usual:
>
&
Using this as the android:src I get no change on press except to the
background which turns orange as usual:
http://schemas.android.com/apk/res/android";>
Using it for the android:background I get no change at all when I
press the button.
Am I doing something wrong?
--
When I create an XML layout using a custom layout class I have
problems using @ids between it and other layouts. They all work fine
between standard android views, but my custom ones won't work. Based
off this:
http://dlee0113.blogspot.com/2009/05/differences-between-idfoo-and.html
I tried this @c
I created a bitmap to fill in some empty area on my toolbar. I want it
to tile as it expands.
http://schemas.android.com/apk/res/android";
android:src="@drawable/map_toolbar_background"
android:gravity="top"
android:tileMode="repeat" />
My problem is, that placed next to buttons crea
And how do you apply it? Mine works applied using code, but if I try
to apply it using android:layoutAnimation I get that error.
On Apr 6, 1:51 am, Yahel wrote:
> Hi,
>
> the content of my res/anim/slide_in_from_bottom.xml that works :
>
>
>
> http://schemas.android.com/apk/res/android";
> andro
I am trying to create a menu that slides in when it is drawn. I
created an animation in res/anim called map_toolbar_in.xml:
http://schemas.android.com/apk/res/android";
android:fromYDelta="100%"
android:toYDelta="0%"
android:duration="150"/>
Then I have a linearLayout whi
http://rokonandroid.com/ is the only 2d engine as far as I know.
On Mar 30, 12:24 am, jProg wrote:
> Hi, I'm a newbie to android and I want to develop my first 2d game..:)
> I read about engines ..but what do you advice me to go with<--for 2d
> game
> and what is the best tools I need to create t
SMS_RECEIVED might point you in the right direction.
On Mar 24, 1:23 am, irfan wrote:
> Hello all
> I am trying to make an application in android that can intercept an
> incomming sms. I then want to parse it and then trigger certain events
> according to certail header present in that sms or tex
That's unfortunate. So I'm guessing that Flyscreen and others do
something hackish, like have a service which launches their activity
when the screen turns on? Is there a way to unlock the screen using
code?
On Mar 19, 12:06 pm, Mark Murphy wrote:
> Ozymandias wrote:
> > Doe
Does anyone know where to get started if I wanted to change the lock
screen? I can't find any information about what intent to hijack or
anything like that.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email t
I'm using the Rokon engine for my game. I'm exploring the possibility
of using normal XML views for UI instead of building them out of
sprites. This works great for static interface elements.
Right now I'm attempting to get the same to work with UI elements
which are meant to move with objects in
When I had a view that's in my HorizontalScrollView it leaves a blank
area because it's still being considered for layout purposes. Is there
a way to have it not occupy space when I hide it?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
T
I can't figure out how to do this. Looking around online got me this:
try {
FileOutputStream fos =
myActivity.openFileOutput("test.png",
Activity.MODE_PRIVATE);
bitmap.compress(CompressFormat.PNG, 100, fos);
automatically do the addView() as
> well. If you don't pass a parent, the layout params are not generated
> and we default to wrap_content.
>
>
>
>
>
> On Wed, Mar 3, 2010 at 7:06 PM, Ozymandias wrote:
> > I have a RelativeLayout as my content view. If I place this insi
I have a RelativeLayout as my content view. If I place this inside of
it:
http://schemas.android.com/apk/res/
android"
android:id="@+id/root"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_paren
views I add.
On Mar 2, 2:53 pm, Mark Murphy wrote:
> Ozymandias wrote:
> > Is it possible to do this?
>
> > There are Toasts, which are great for short information popups. They
> > can't seem to receive touch events as well as requiring hacks to keep
> > s
You are a life saver. I got this working. I had to use java to build
the core layout because I couldn't get it to work in XML, but after
that I can load up any XML views I want.
On Mar 2, 2:53 pm, Mark Murphy wrote:
> Ozymandias wrote:
> > Is it possible to do this?
>
> >
So are you talking about like a Setup activity, where you choose those
things, and then when you're done it launches the game?
If that's what you're talking about, you would create the second
activity and pass the config options to it at creation.
http://developer.android.com/intl/zh-CN/reference/
Is it possible to do this?
There are Toasts, which are great for short information popups. They
can't seem to receive touch events as well as requiring hacks to keep
showing permanently.
There are Dialogs, which are great for...dialogs. They can receive
touch events, but steal focus from the view
24 matches
Mail list logo