[android-developers] Re: Renderscript Support Library Problems

2013-10-30 Thread jay
Hi Team , I needed help how to integrate js in android please explain this ! On Monday, October 28, 2013 10:42:36 PM UTC+5:30, Laikis Reor wrote: Hello All, So I was excited for the Renderscript support library but have had some problems getting it to work. Despite following the

[android-developers] Re: Renderscript Support Library Problems

2013-10-30 Thread jay
Hi Team , I needed help how to integrate js in android please explain this ! On Monday, October 28, 2013 10:42:36 PM UTC+5:30, Laikis Reor wrote: Hello All, So I was excited for the Renderscript support library but have had some problems getting it to work. Despite following the

[android-developers] java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

2013-10-30 Thread Dilip Kumar Chaudhary
Hi Developers, I'm getting this abnormal errors in XOLO/T1000 phone only.This is app is working fine on other devices.Actually when we click on the Tab for start another activity it throws this error.Please suggest me how to solve this error. *Logcat: *W/ActivityManager( 344): Bad activity token:

Re: [android-developers] java.lang.ClassCastException: android.os.BinderProxy cannot be cast to com.android.server.am.ActivityRecord$Token

2013-10-30 Thread Mukesh Srivastav
you could one thing, Delete the bin and Gen directory and do a clean build again and try running. On Wed, Oct 30, 2013 at 12:32 PM, Dilip Kumar Chaudhary androiddili...@gmail.com wrote: Hi Developers, I'm getting this abnormal errors in XOLO/T1000 phone only.This is app is working fine on

Re: [android-developers] Re: how to add G729 codec in Android application?

2013-10-30 Thread Mukesh Srivastav
As far as SIP application, I have a good experience in using CSIPSimple which is universal accepted and it has all the respective libraries(.so) file where you can enable as the default option. On Tue, Oct 29, 2013 at 7:57 PM, Juned Khan jkhan6...@gmail.com wrote:

[android-developers] Re: how to add G729 codec in Android application?

2013-10-30 Thread Juned Khan
I have a broad idea about CSIPsimple application, but this for them who want to add g729 in codec in SipDroid -- 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

[android-developers] why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Palmer Eldritch
The preferences are apparently *cleared *when one tries to load them when there is a null key which is bad ! Reproducer : public class XmlExceptionTest extends AndroidTestCase { /** Run it twice - on the second run the exception is thrown */ public void testXmlException() {

[android-developers] Viewing A Memory Dump using DDMS

2013-10-30 Thread s.rawat
Hi, I am having a input_event var[arraySize] in the Android HAL.How can I see the dump of this using DDMS.Is there any way for this. Thanks in Advance! Rgds, Rp -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send

[android-developers] Re: avoiding screenshot duplication on market: 10 tablet, 7 tablet and phone screenshots all show with phone and laotop access

2013-10-30 Thread Jose_GD
Are you using the same images in all categories? For example: Smartphones: image1.png / image2.png Tablet 7: image1.png / image2.png Tablet 10: image1.png / image2.png El martes, 29 de octubre de 2013 11:45:37 UTC-3, firebreather escribió: I added 10 and 7 screenshots as required to tablet

[android-developers] Video skipping frames continuously

2013-10-30 Thread mmj
Hi, I am developing an android app for Google TV Api level 13. I have a videoview which plays .mp4 video from raw folder. Sometimes the video playes properly. But sometimes i can observe lot of frame drops. And logcat message shows *:AwesomePlayer(789): we're much too late (0.50 secs), video

[android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Nobu Games
I quickly peeked into the source code and well, this is the way how it is programmed. When an exception occurs while the preferences data file gets read, SharedPreferences sets internally an empty map so you start from scratch. I even dug a bit deeper. The XML serializer just ignores NULL keys

[android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Palmer Eldritch
On Wednesday, October 30, 2013 7:44:17 PM UTC+2, Nobu Games wrote: I quickly peeked into the source code and well, this is the way how it is programmed. When an exception occurs while the preferences data file gets read, SharedPreferences sets internally an empty map so you start from

Re: [android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Kristopher Micinski
Your question seems more to deal with intention rather than complaining. I believe that Nobu's response was merely interpreting the implementation and trying to interpret it, so there's no use in trying to complain at him for providing a guess at something he didn't even write. kris On Wed,

Re: [android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Palmer Eldritch
I did not mean to complain at Nobu - sorry if I sounded harsh :) I just wanted to point out that my question was not so much *what *happens but *why *- and also raise awareness to this buggy and unintuitive behavior- or maybe have someone explain why this is so. Should we post a bug report ?

Re: [android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Kristopher Micinski
I would honestly suspect that it's meant to be this way, and perhaps the documentation is buggy. If you want, posting a bug report might get some action by Android devs, if none of them respond here. Kris On Wed, Oct 30, 2013 at 3:39 PM, Palmer Eldritch the.u...@gmail.com wrote: I did not

Re: [android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Palmer Eldritch
Why could one permit null keys - actually *one *null key - to have afterwards* all the preferences cleared due to an exception *? Given that the prefs are a persistence mechanism. No it is at least an oversight - except if I am missing something NB - I am talking about the default shared

Re: [android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Kristopher Micinski
I agree it's an oversight, and that at the very least there should be something in the documentation to give the semantics in this case. kris On Wed, Oct 30, 2013 at 4:39 PM, Palmer Eldritch the.u...@gmail.com wrote: Why could one permit null keys - actually one null key - to have afterwards

Re: [android-developers] Re: why does SharedPreferences framework allow you to insert a preference with a null key - given it can't reload the preferences afterwards?

2013-10-30 Thread Kostya Vasilyev
Starting over with shared prefs content when something goes wrong -- looks to me like a feature, and a useful one: sometimes storage goes bad, files get corrupted, etc. Being able to put null keys into shared prefs, and it triggering the corruption handing code path later -- looks like a bug to

[android-developers] Live Wallpapers by different developers with suspiciously similar descriptions

2013-10-30 Thread Michael Palmer
Lately, I've noticed that there are many live wallpapers, by different developers, which all contain the following text as part of the description: To use: Home - Menu - Wallpapers - Live Wallpapers To develop more free great live wallpapers, we have implemented some ads in settings.

[android-developers] Re: FM receiver hardware class

2013-10-30 Thread andrew_esh
Many of the radio references you are seeing may be related to the Mobile Data connection, and the Phone. These use a radio to connect to the cell network, and have nothing to do with FM Music Radio. -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Bluetooth connection

2013-10-30 Thread sting
I am building a device that basically has a UART so I can send and receive bytes. I want to be able to control the device, send configuration information to the device, using an android phone. Is there a way for such a simple device to establish a connection with the BlueToothServer/socket.