[android-developers] Question about selling paid apps from other countries

2009-11-27 Thread Illidane
Hello! Can I sell paid apps in Android Market with Google Checkout if I live in Ukraine and have bank account in U.K. ? Or I need to register a company in U.K. with physical adress? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] opengl crash after pause/unpause app

2009-11-08 Thread Illidane
Hello! I'm writing my opengl native game. Menu is using android api, game field using native lib ( c++ and opengl ). All in one activity ( different views ). If I press Back or Home button ( without overriting onKeyDown() ) all is fine: game just quit to desktop and when I again running, it saving

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread Illidane
, Illidane illid...@gmail.com wrote: Hi! I have an issue : I set Theme.Translucent.NoTitleBar.Fullscreen for my app, but status bar is still here. Is there a solution for it? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed

[android-developers] Re: Translucent and FullScreen?

2009-09-10 Thread Illidane
No, I don't see title bar, only status.. On 10 Вер, 10:36, Peli peli0...@googlemail.com wrote: If you have a translucent activity, I guess you see the title bar of the activity below your activity, so this is the expected behavior. Peliwww.openintents.org On Sep 9, 11:08 pm, Illidane illid

[android-developers] Translucent and FullScreen?

2009-09-09 Thread Illidane
Hi! I have an issue : I set Theme.Translucent.NoTitleBar.Fullscreen for my app, but status bar is still here. Is there a solution for it? Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Translucent GLSurfaceView

2009-09-05 Thread Illidane
Hi! I'm looking at two samples: Translucent GLSurfaceView in Graphics / OpenGL ES and Translucent in App / Activity of ApiDemos. Why the background of GLSurfaceView is fully alfa, but in Translucent it's some eclipsed? I want to make Translucent background but in Translucent GLSurfaceView demo.

[android-developers] Re: Translucent GLSurfaceView

2009-09-05 Thread Illidane
at 12:26 PM, Illidane illid...@gmail.com wrote: Hi! I'm looking at two samples: Translucent GLSurfaceView in Graphics / OpenGL ES and Translucent in App / Activity of ApiDemos. Why the background of GLSurfaceView is fully alfa, but in Translucent it's some eclipsed? I want to make

[android-developers] Re: Translucent GLSurfaceView

2009-09-05 Thread Illidane
has a custom theme that sets the background:                 android:theme=@style/Theme.Translucent On Sat, Sep 5, 2009 at 1:26 PM, Illidane illid...@gmail.com wrote: They have just the same code. android:theme=@android:style/Theme.Translucent in the Android.manifest file

[android-developers] Re: SoundPool bug

2009-09-03 Thread Illidane
experience with SoundPool was that it doesn't like 1.0s, it just mutes on that volume, while on 0.99f it plays loud. Dmitry On 3 сен, 01:18, Illidane illid...@gmail.com wrote: Hi all! Here is my code:     public static final int SOUND_CLICK = 1;     public static final int

[android-developers] Re: SoundPool bug

2009-09-03 Thread Illidane
experience with SoundPool was that it doesn't like 1.0s, it just mutes on that volume, while on 0.99f it plays loud. Dmitry On 3 сен, 01:18, Illidane illid...@gmail.com wrote: Hi all! Here is my code:     public static final int SOUND_CLICK = 1;     public static final int SOUND_DEATH = 2

[android-developers] SoundPool bug

2009-09-02 Thread Illidane
Hi all! Here is my code: public static final int SOUND_CLICK = 1; public static final int SOUND_DEATH = 2; public static SoundPool soundPool; public static HashMapInteger, Integer soundPoolMap; ... soundPool = new SoundPool(4, AudioManager.STREAM_MUSIC, 100);

[android-developers] MediaPlayer bug, pls help!

2009-08-10 Thread Illidane
Hello! I have such code: public static MediaPlayer mp_click; mp_click = MediaPlayer.create(Context, R.raw.click); ... mp_click.start(); When my sound played for the first time, it's all fine. But when for second, third, etc.. it sounds like cutted, just

[android-developers] Re: MediaPlayer bug, pls help!

2009-08-10 Thread Illidane
Thanks for answer! When I calling seek(0) before start() nothing changes.. Thanks for the SoundPool, I'll try it. On 10 авг, 17:31, Marco Nelissen marc...@android.com wrote: On Mon, Aug 10, 2009 at 5:48 AM, Illidaneillid...@gmail.com wrote: Hello! I have such code:        public static

[android-developers] Re: MediaPlayer bug, pls help!

2009-08-10 Thread Illidane
, streamVolume, 1, 0, 1f); } ... playSound(SOUND_CLICK); But there is some issue, when I start my app my sounds somethimes(not always) may not to play. Just silence. What's the problem? Thanks! On 10 авг, 17:41, Illidane illid...@gmail.com wrote: Thanks for answer! When I calling seek(0) before

[android-developers] TextView changing from other thread

2009-08-01 Thread Illidane
Hi! I'm writing some game using OpenGL and have two views : SurfaceView for OGL and TextView for my score. When I try to update score ( using BoardScore.setText(bla); ) from my activity class all just fine, but when I try to do it from my logic class my app crash. Debugger says something like

[android-developers] Re: TextView changing from other thread

2009-08-01 Thread Illidane
Can you give an example? On 2 авг, 01:31, MrChaz mrchazmob...@googlemail.com wrote: You can't update a UI component from a thread that isn't the main (UI ) thread. You ought to be able to post() back to the main thread. On Aug 1, 10:02 pm, Illidane illid...@gmail.com wrote: Hi! I'm

[android-developers] Re: GridView and BaseAdapter position bug

2009-05-01 Thread Illidane
I have frame animation on each cell. On 30 апр, 18:24, Romain Guy romain...@google.com wrote: Why don't you just use a LayoutAnimation? That's what it's for. 2009/4/30 Illidane illid...@gmail.com: I did that ( write somewhere in getView ) : if(position == mGameModel.getCount() - 1

[android-developers] Re: AnimationDrawable class recompile error

2009-05-01 Thread Illidane
error on super(orig, owner); it's jump a little) On 1 май, 14:07, Illidane illid...@gmail.com wrote: Hi all :) I'm trying to recompile AnimationDrawable class ( source code tooked from android source ) but I get some errors: private final static class AnimationState extends

[android-developers] AnimationDrawable class recompile error

2009-05-01 Thread Illidane
Hi all :) I'm trying to recompile AnimationDrawable class ( source code tooked from android source ) but I get some errors: private final static class AnimationState extends DrawableContainerState { private int[] mDurations; private boolean mOneShot;

[android-developers] Re: AnimationDrawable class recompile error

2009-05-01 Thread Illidane
anybody? On 1 май, 14:11, Illidane illid...@gmail.com wrote: error on super(orig, owner); it's jump a little) On 1 май, 14:07, Illidane illid...@gmail.com wrote: Hi all :) I'm trying to recompile AnimationDrawable class ( source code tooked from android source ) but I get some

[android-developers] Is there a way to listen for the completion of AnimationDrawable animation?

2009-05-01 Thread Illidane
I have tried to recompile AnimationDrawable class, but it's impossible :( Any thoughts? --~--~-~--~~~---~--~~ 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] Re: GridView and BaseAdapter position bug

2009-04-30 Thread Illidane
mGameModel.getCount() - it's number of Grid elements) On 30 апр, 13:07, Illidane illid...@gmail.com wrote: I did that ( write somewhere in getView ) : if(position == mGameModel.getCount() - 1) (new Timer(false)).schedule(new AnimationTimer(), 10); AnimationTimer

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-30 Thread Illidane
апр, 18:27, Streets Of Boston flyingdutc...@gmail.com wrote: Good to hear! I'm curious: what did you do to get around this problem? (yarik may want to know as well :-)) On Apr 29, 11:13 am, Illidane illid...@gmail.com wrote: No matter.. it's all working now with the GridView, I have fixed

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-29 Thread Illidane
bitmaps/drawables. On Apr 29, 3:03 am, Illidane illid...@gmail.com wrote: Extend the GridView or write my own class which will manipulating 100 cells as drawables? On 29 апр, 00:27, Streets Of Boston flyingdutc...@gmail.com wrote: I have to defend Romain here. The gridview

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-28 Thread Illidane
. Answer It's not a bug is not answer! How do you generate position? On Apr 27, 9:40 pm, Illidane illid...@gmail.com wrote: There is a way to make GridView without Adapter ( e.g. something like .addView() method ) ? On 27 апр, 21:38, Illidane illid...@gmail.com wrote: My GridView

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-28 Thread Illidane
, 1, 2, 3... 99, 0 - what is the cause of that? Can someone from google team answer? That seems to be a bug, very annoying bug. Answer It's not a bug is not answer! How do you generate position? On Apr 27, 9:40 pm, Illidane illid...@gmail.com wrote: There is a way to make GridView without

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-28 Thread Illidane
that it should work the way you want it to work, that's not how it works and that's not how it will work. 2009/4/28 Illidane illid...@gmail.com: To Romain Guy: Ok, I understood that you think that it's NOT a bug and that you implement it how you want it be. But I need to say you

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-28 Thread Illidane
to figure out when a listview or gridview are done laying out their child-views, though On Apr 28, 11:40 am, Illidane illid...@gmail.com wrote: I have tried to do that - doesn't working for me :( Animation is running always without last cell. I think so: In first case there is a '0

[android-developers] GridView and BaseAdapter position bug

2009-04-27 Thread Illidane
Hi, I'm using GridView in my app, and myAdapter ( extends BaseAdapter) for it. I have overrited method getView(int position, View convertView, ViewGroup parent) of Adapter and 100 cells in GridView. If I set logger: android.util.Log.w(bla, (new StringBuilder()).append (position).toString());

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-27 Thread Illidane
the GridView is measured/laid out. On Mon, Apr 27, 2009 at 6:38 AM, Illidane illid...@gmail.com wrote: Hi, I'm using GridView in my app, and myAdapter ( extends BaseAdapter) for it. I have overrited method getView(int position, View convertView, ViewGroup parent) of Adapter and 100 cells

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-27 Thread Illidane
, there is no guarantee on how and when getView() is called so you cannot rely on it with your anim counter. 2009/4/27 Illidane illid...@gmail.com: I dont use convertView parametr and return new child-view. Each cell has an animation. In the getView I generate an array of animations, wich

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-27 Thread Illidane
And you think it's not a bug? where is guarantee that it will work in general? Where adapter takes it's magic number N? On 27 апр, 19:56, Romain Guy romain...@google.com wrote: There is no guarantee it's going to be called N times either. 2009/4/27 Illidane illid...@gmail.com: Even

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-27 Thread Illidane
int EXPECTED_CELL_COUNT = 100;   public int getViewTypeCount() { return EXPECTED_CELL_COUNT; }   public int getItemViewType(int pos) { return pos % EXPECTED_CELL_COUNT; } On Apr 27, 1:07 pm, Illidane illid...@gmail.com wrote: And you think it's not a bug? where is guarantee

[android-developers] Re: GridView and BaseAdapter position bug

2009-04-27 Thread Illidane
There is a way to make GridView without Adapter ( e.g. something like .addView() method ) ? On 27 апр, 21:38, Illidane illid...@gmail.com wrote: My GridView shows all 100 cells on the screen ( all visible at one moment ) and all the animation works fine, and pretty fast ( on all 100 elements