Re: [android-developers] How many TCP connection are alive in android device

2013-09-27 Thread danaimset
> is, that they do not allow sending a ping request "manually". So you > have to either patch them or send a bigger publish packet. > > Regards, > Dirk > > > > danaimset <mailto:dana...@gmail.com > > > 20. September 2013 08:32 > > Hi all!

[android-developers] How many TCP connection are alive in android device

2013-09-19 Thread danaimset
Hi all! I'm working with one very wide project and we need to support 24/7 connection with device. This project is for custom ROM and we will not have Google apps installed. We are thinking about performance. Maybe someone could help us with the following questions: How many TCP connections Goo

Re: [android-developers] MAX Repeat count of windowEnterAnimation

2012-08-10 Thread danaimset
runs > indefinitely. > > On Thu, Aug 9, 2012 at 3:03 PM, danaimset > > wrote: > >> Hi Guys! >> >> I've face with problems with windowEnterAnimation. >> I'm trying to animate popup window over the view for infinite. But it >> seems t

[android-developers] MAX Repeat count of windowEnterAnimation

2012-08-09 Thread danaimset
Hi Guys! I've face with problems with windowEnterAnimation. I'm trying to animate popup window over the view for infinite. But it seems that windowEnterAnimation has limitation of repeat count.

[android-developers] Re: Change View's background bounds to leave space to draw something else

2012-06-20 Thread danaimset
Thank you, Justin. I tried to play with onMeasure and onLayout methods. I've reviewed source code of TextView and it seems that bounds of background can't be changed: public void draw(Canvas canvas) { ... background.setBounds(0, 0, mRight - mLeft, mBottom - mTop); ... } I

[android-developers] Change View's background bounds to leave space to draw something else

2012-06-20 Thread danaimset
Hi everybody. I'd like to extend EditText to make my own Error Notification. I know that Android provides error notification in TextView but it is not really what I want. Is it possible

[android-developers] Re: Floatbuffer.wrap replacement

2011-09-22 Thread danaimset
Hi For example: FloatBuffer verticesBuffer; public void setVertices(float[] vertices) { ByteBuffer vbb = ByteBuffer.allocateDirect(vertices.length * 4); // float is 4 bytes vbb.order(ByteOrder.nativeOrder()); verticesBuffer = vbb.asFloatBuffer(); verticesBuffer.pu

[android-developers] Re: How to Make Seekbar thumb invisible when playback finishes

2011-09-22 Thread danaimset
Hi Checkout this link http://developer.android.com/resources/articles/drawable-mutations.html Something like this should help you: SeekBar seekBar = new SeekBar(this); Drawable thumb = getResources().getDrawable(R.drawable.icon); seekBar.setThumb(thumb); thumb.mutate().setAlpha(0); Dan. --

[android-developers] Re: how to read the sent sms

2011-09-20 Thread danaimset
You can use this code. It works perfect for me: // URI public static final String URI_INBOX = "content://sms"; public static final String URI_SENT = "content://sms/sent"; /** * Get all sms from database which have been sent after time * @param time * @return */ public void getSms(long time)

[android-developers] Re: How can i close current running application in android application?

2011-09-19 Thread danaimset
Hi. Try to check out this thread: http://groups.google.com/group/android-developers/browse_thread/thread/d8fc993c54fe76e1 -- 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.