[android-developers] Re: SDK and ADT r15

2011-10-30 Thread ayanir
I found a fix. I I open the SDK from the Eclipse it works. On Oct 30, 12:32 pm, ayanir wrote: > Hello, > > I'm getting the following error: > Failed to rename directory D:\android-sdk-windows\toolsto > D:\android-sdk-windows\temp\ToolPackage.old02. > when tring to upd

[android-developers] Re: SDK and ADT r15

2011-10-30 Thread ayanir
Hello, I'm getting the following error: Failed to rename directory D:\android-sdk-windows\tools to D:\android- sdk-windows\temp\ToolPackage.old02. when tring to update the Android SDK Tools, revision 15. I'm using Windows 7 with Eclipse Indigo. the Eclipse plug in update seems to be installed fin

[android-developers] EditText layer on SurfaceView gets invisible problem

2011-09-18 Thread ayanir
Hello, I have the following problem: my layout includes SurfaceView (custom view with com.components.game.MyGameView) and a RelativeLayout which includes EditText view: http://schemas.android.com/apk/res/android"; android:layout_width="fill_parent" android:layout_height="fill_par

[android-developers] Re: How to share data between applications with no dependency

2010-09-20 Thread ayanir
; details for both of the apps. The only way I can use cloud was if a device could have unique identification but you can't achieve that on Android :( Also, both apps can change that data and I want to keep a single instance of it without a copy. ayanir On Sep 20, 12:10 am, Adam Hammer

[android-developers] Re: How to share data between applications with no dependency

2010-09-20 Thread ayanir
; details for both of the apps. The only way I can use cloud was if a device could have unique identification but you can't achieve that on Android :( Also, both apps can change that data and I want to keep a single instance of it without a copy. ayanir On Sep 20, 12:10 am, Adam Hammer

[android-developers] Re: How to share data between applications with no dependency

2010-09-20 Thread ayanir
; details for both of the apps. The only way I can use cloud was if a device could have unique identification but you can't achieve that on Android :( Also, both apps can change that data and I want to keep a single instance of it without a copy. ayanir On Sep 20, 12:10 am, Adam Hammer

[android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread ayanir
Thanks, it worked like a charm. On Sep 19, 4:39 pm, Mark Murphy wrote: > On Sun, Sep 19, 2010 at 10:32 AM, ayanir wrote: > > I think that there should be a general system ContentProvider for that > > exact purpose - I could only hope it will be one day... > > I rather d

[android-developers] Re: How to share data between applications with no dependency

2010-09-19 Thread ayanir
ption for me but thanks. could you please refer me to an example how to create/read a file using the external storage? thanks' ayanir On Sep 19, 4:09 pm, DanH wrote: > Can an application not place images or music in directories on the > device, and have those files persist beyond the pe

[android-developers] How to share data between applications with no dependency

2010-09-19 Thread ayanir
ubject for other post. I see only one left choice using a File for that but, I wanted to know if I can use another way? Thanks, ayanir -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email t

[android-developers] Like implementation with Facebook github SDK

2010-07-07 Thread ayanir
://github.com/facebook/facebook-android-sdk/issues#issue/17 but it doesn’t use the SDK. Thanks ayanir -- 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 unsubs

[android-developers] Re: Socket freezes using GSM connection

2010-06-02 Thread ayanir
still trying to figure out how can I use Broadcast intents for the data connection state - maybe this will help. On Jun 1, 5:51 pm, Kostya Vasilyev wrote: > Ayanir, > > NIO is non-blocking, so it's easier to serve multiple connections from > one thread. Also, NIO is easier to int

[android-developers] Re: Socket freezes using GSM connection

2010-06-01 Thread ayanir
is the NIO works better then the usual Socket? by works better I mean no freezing. I have no problem working with NIO if it will make the difference. ayanir On Jun 1, 10:55 am, Kostya Vasilyev wrote: > Ah, so those are data streams. Sorry I missed that (using NIO socket > channel

[android-developers] Re: Socket freezes using GSM connection

2010-06-01 Thread ayanir
e another way? Mark, I'll check the broadcast Intents. can you refer me to an example? Thanks ayanir On May 29, 5:47 pm, Kostya Vasilyev wrote: > Ayanir, > > Your code seems to make assumptions about network data exchange that > don't necessarily hold true for GSM connection,

[android-developers] Re: Socket freezes using GSM connection

2010-05-29 Thread ayanir
anyone? On May 27, 5:31 pm, ayanir wrote: > Hello, > > I’m working on application that uses a socket connection. > I’ve implemented 2 different Threads for the read() and the write() > methods so they are not being blocked by the read. > Everything is working well on the WiFi c

[android-developers] Re: how can I get the Google account or Gmail address from the phone

2010-05-27 Thread ayanir
s api level 5 or > higher and i am developing for api level 3 too. > > regards! > > On Thu, May 27, 2010 at 9:37 AM, ayanir wrote: > > Hello, > > > I was looking for this info all over and still haven't found an > > answer. > > Is there a way to g

[android-developers] Socket freezes using GSM connection

2010-05-27 Thread ayanir
} } } catch(Exception e){ } return false; } Does anyone encounter connection stability problems? Do I need to open the connection differently? How about using SocketChannel is it more reliable? Does Socket connection is a good approach when talki

[android-developers] how can I get the Google account or Gmail address from the phone

2010-05-27 Thread ayanir
5 or higher and I'm developing for class 3. from my understanding this is for online services which I do not need - I'm only want the Gmail address. Thanks ayanir -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

[android-developers] Socket freezes via GSM connection

2010-05-25 Thread ayanir
anyone encounter connection stability problems? Do I need to open the connection differently? How about using SocketChannel is it more reliable? Does Socket connection is a good approach when talking about mobile network connection? Thanks ayanir -- You received this message because you are subscr

[android-developers] Socket freezes via GSM connection

2010-05-25 Thread ayanir
anyone encounter connection stability problems? Do I need to open the connection differently? How about using SocketChannel is it more reliable? Does Socket connection is a good approach when talking about mobile network connection? Thanks ayanir -- You received this message because you are subscr

[android-developers] Socket freezes via GSM connection

2010-05-24 Thread ayanir
} } catch(Exception e){ } return false; } Does anyone encounter connection stability problems? Do I need to open the connection differently? How about using SocketChannel is it more reliable? Does Socket connection is a good approach when talking about

[android-developers] Re: Launching the correct activity on resume

2010-01-28 Thread ayanir
lication to always open from the last Activity no mater how it is opened. does anyone has any other thought on how to solve this? ayanir On Jan 27, 9:34 pm, jotobjects wrote: > On Jan 27, 2:13 am, ayanir wrote: > > > Hello, > > > I have a similar problem when I open the

[android-developers] Re: Launching the correct activity on resume

2010-01-27 Thread ayanir
application, it open Activity A. what is the difference between these two and how can it always open from the last Activity no mater how I open the application? Thanks ayanir On Jan 26, 8:07 am, jotobjects wrote: > Yes it looks like we have got confused here about what happens when > return

[android-developers] Re: Launching the correct activity on resume

2010-01-27 Thread ayanir
application, it open Activity A. what is the difference between these two and how can it always open from the last Activity no mater how I open the application? Thanks ayanir On Jan 26, 8:07 am, jotobjects wrote: > Yes it looks like we have got confused here about what happens when > return

[android-developers] Run application from last Activity/state

2010-01-21 Thread ayanir
(some application from the Market do support it) and I think that this can be determined by the Manifest parameters but I don't know which one. does anyone know how to implement it so my application can relaunch from its last Activity B? Thanks ayanir -- You received this message becau

[android-developers] Re: SoundPool problem

2009-11-11 Thread ayanir
thank you Nikolay, It worked after the the format change. On Nov 11, 7:49 pm, Nikolay Ananiev wrote: > Just the long one. > > On Wed, Nov 11, 2009 at 10:05 AM, ayanir wrote: > > It is very annoying that this problem stared with the 2.0 version > > (hope that the framewor

[android-developers] Re: SoundPool problem

2009-11-11 Thread ayanir
because > > there was some stack overflow at the end of the loading. I had to remove the > > stereo and encode it as a mono. It worked well. > > > On Tue, Nov 10, 2009 at 6:17 PM, ayanir wrote: > > > Hello, > > > > I'm using a SoundPool for playing my

[android-developers] SoundPool problem

2009-11-10 Thread ayanir
Hello, I'm using a SoundPool for playing my game sound effects. It all worked fine until I checked it on the new SDK 2.0. the sounds are not played and I'm getting in my log: "SoundPool Sample channel count (0) out of range" right after the playerPool.load (see the code). does any one encountered

[android-developers] end application notification

2009-10-14 Thread ayanir
ation exit. Thanks in advance, ayanir --~--~-~--~~~---~--~~ 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 t

[android-developers] Re: Relative Layout XML attributes have no obvious programmatic equivalent.

2009-09-16 Thread ayanir
, the addRule works. another thing I've noticed is that when I don't override onMeasure in RPCPlayerInfoTitle, myImage is being aligned to the bottom of the screen. from some strange reason myImage doesn't recognized RPCPlayerInfoTitle (my custom View) as its parent or ignore its dim

[android-developers] Re: Relative Layout XML attributes have no obvious programmatic equivalent.

2009-09-15 Thread ayanir
eSpec, int heightMeasureSpec) { super.onMeasure(widthMeasureSpec, heightMeasureSpec); setMeasuredDimension(bg.getMeasuredWidth(), bg.getMeasuredHeight()); } } does anyone have a clue? Thanks, ayanir On Aug 4, 8:46 pm, bpellow wrote: > I got

[android-developers] Re: SurfaceViews handling, Thread, and general game design

2009-07-15 Thread ayanir
Here is the correct link: http://www.droidnova.com/playing-with-graphics-in-android-part-i,147.html On Jul 15, 2:33 pm, ayanir wrote: > Hello Dianne , > > Thank you for you response. > according to your words, I do not need that each Box will be as a > Surface view but only o

[android-developers] Re: SurfaceViews handling, Thread, and general game design

2009-07-15 Thread ayanir
with graphics in Android Tutorial" (http://www.droidnova.com/playing-with-graphics-in-android- part-i,147.html) which spread a light on hot to use surface view and animation. Regards to you all ayanir On Jul 14, 7:06 pm, Dianne Hackborn wrote: > I very strongly recommend that you don

[android-developers] SurfaceViews handling, Thread, and general game design

2009-07-14 Thread ayanir
proposal? I know that these are a lot of questions but I'll appreciate if you can answer some of them. Thanks in advance, ayanir --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Android Developer

[android-developers] ListView with different types of View's

2009-07-02 Thread ayanir
s that the Adapter uses a single layout for all of the list items, which will not support the different views. my goal is to make an abstract View list when I can dynamically add and removes items in that list (each item is a View or subclass of it). Tha