On 28 дек, 00:56, Seb wrote:
> Hmm I kind of understand... are you able to provide any code or psuedo
> code though to show how it would fit together?
> On Dec 25, 5:08 pm, AlexBonel wrote:
For example:
public class MyActivity extends Activity {
private GameView
On 25 дек, 15:31, Seb wrote:
> But can I still define my animations in XML using your suggested
> method?
Yeah, Why not, just call static AnimationUtils.() with context
instance (which is your Activity) and id of your animation xml and
it'll return you Animation object that you can pass to your
On 23 дек, 07:49, Seb wrote:
> Brilliant, that's useful, will give that a go. Any advice for the
> original issue?
>
Well, I have got only one idea, but I think there is another better
method to do, but never mind, try to call
Activity.runOnUIThread(Runnable) method and pass there a Runnable
wh
Has looked through your code and saw one big perfomance issue:
protected void onDraw(Canvas canvas) {
Paint foreground = new Paint(Paint.ANTI_ALIAS_FLAG);
...
}
It takes too much time when your try to allocate memory for Paint
object. If you work with animation it always calls invalidate() me
Hello everyone. I make custom AdapterView which items should be
scrolled in two directions (from bottom left to top rigth and
conversely). During scrolling I use TranslateAnimation and
AlphaAnimation.
Here is the steps of scrolling:
1) Top (Bottom) View starts to hidem using AlphaAnimation
2) I s
Good afternoon. Tell me, anybody please, is it possible to start my
application after device's startup without viewing Home Screen?
I know that to start any application at device's startup, I just need
to make BroadcastReceiver and recieve BOOT_COMPLETED. But in this case
I will see Home Screen fi
> Hello Android,
>
> I just want to build and generate a apk file for only one specific
> test instead of all api
> tests..http://developer.android.com/resources/samples/ApiDemos/src/com/examp...
>
> Can any one help me on this would be a great help.. Thanks in advance.
Excuse me, didn't understa
> On 28 сен, 15:22, Mark Murphy wrote:
> Why?
Why, what? ))) Why don't I avoid using of R.java? Well in shorts,
because it's generated by Android platform tools and this is really
big problem for my application's idea.
--
You received this message because you are subscribed to the Google
Grou
Hello, everyone. I'v stucked with a problem of creating of
AnimationDrawable object not using xml file, but from assets. Here is
my Activity code:
package org.example.Animation;
import java.io.IOException;
import android.app.Activity;
import android.content.res.AssetManager;
import android.graph
Didn't find any discussion of this problem in the group. How can I get
rid of the white line under tab widgets in TabActivity? And if anybody
knows I would be verry gratefull if you would also tell me how to
change background color in TabWidget?
--
You received this message because you are subscr
Oh, I see. Thanks for explanation, Doug.
--
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...@g
I know that there are a lot of topics in our group, related with this
one. But I would specify the most intelligent methods to avoid this
problem.
Is it always necessary to use recycle() method to free an allocated
memmory, because As I understand correctly BitmapFactory.decode...
(...) methods we
12 matches
Mail list logo