[android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 12 Topics

Group: http://groups.google.com/group/android-developers/topics

    Marty <mchinn@blueshiftinc.com> Oct 31 10:49AM -0700  

    Hi, we're working on a project where we are trying to make Android's
    implementation of OpenSL ES compatible with our platform and need access to
    the source code in order to help with the porting process. Can someone
    point us to where we can find the source code for OpenSL ES on Android?
    Any help would be greatly appreciated. Thanks!

     

    Marty <mchinn@blueshiftinc.com> Oct 31 11:52AM -0700  

    Thanks for the quick reply. I'm familiar where the source code is located
    and have downloaded the whole tree. What I can't find is the source code
    for OpenSL ES in that drop though. At best I found the header files but not
    the source implementation. Which of the groups in the second link would you
    recommend trying to get an answer from?
     
    On Wednesday, October 31, 2012 11:45:46 AM UTC-7, RichardC wrote:

     

    John Coryat <coryat@gmail.com> Oct 31 11:52AM -0700  

    More info:
     
    Once the project id is coded into the developer console, the statistics for
    GCM messages and registration show up in the developer console statistics
    section. The statistics seem to cover the period from when we started using
    GCM even though I just initialized the code.
     
    The statistics are similar to the ones for other statistics in the
    developer console. For instance, it says that we sent over 1,000,000
    messages through GCM on Monday, October 29. This is when the hurricane was
    rolling over the northeast and we were sending out NWS Alerts to all our
    users.
     
    -John Coryat

     

    lbendlin <lutz@bendlin.us> Oct 31 11:30AM -0700  

    I would think that the view IDs are bound to the activity or fragment where
    they are inflated in. But the best thing for you is to actually try it out
    and see for yourself.
     
    On Tuesday, October 30, 2012 8:12:06 PM UTC-4, Mark Phillips wrote:

     

    bob <bob@coolfone.comze.com> Oct 31 07:16AM -0700  

    Why not just use post instead of postDelayed? That's what I use to update
    display of the battery level every 10 seconds:
     
    public class Battery_Level_Thread extends Thread {
     
    @Override
    public void run() {
     
    while (true)
    {
    MainActivity.handler.post(new Runnable() {
    @Override
    public void run() {
    MainActivity.update_battery_level();
    }
    });
    try {
    Thread.sleep(10*1000);
    } catch (InterruptedException e) {
     
    e.printStackTrace();
    }
    }
    }
     
    }
     
    On Tuesday, October 30, 2012 7:10:57 PM UTC-5, marcpolo wrote:

     

    marcpolo <marc.armstrong89@gmail.com> Oct 31 09:05AM -0700  

    I used java.util.Timer and TimerTask instead of the Runnable and this
    resulted in much improved performance, allowing me to schedule the task at
    40Hz (on average).
     
    As expected, given this is not a RTOS, the cycles vary +/-1-2ms, however I
    the the average cycle time is 25ms as desired.
     
    So, it is shown that the Timer performs better than Runnable for scheduling
    tasks at frequencies around 40Hz (on the Galaxy S3).
     
    Thanks very much for your help.

     

    Kristopher Micinski <krismicinski@gmail.com> Oct 31 02:20PM -0400  

    It's not an RTOS thing, it's more of a Java thread scheduler thing, so this
    happens closer to the framework level.
     
    kris
     

     

    Francisco Marzoa <fmmarzoa@gmail.com> Oct 31 02:31PM +0100  

    Hi there,
     
    I have a real problem when providing different resources for different
    displays, according to their density. Putting all the needed graphics on
    the same apk file makes it really big, and most of the graphics will not
    be used by the device where they are installed never.
     
    I have seen that what some developers does is to have an HD separated
    version of their app, but this implies more development effort and
    dispersing social promotion of the game (user's ratings, position on the
    market, social network links, etc.)
     
    I think the best approach should be something that keeps the minimal
    needed resources on the apk, and during the first run of the app takes
    care of downloading the ones that fits the display of the device.
     
    This has some additional difficulties, but I do not want to write a
    thesis on this, just to ask if someones knows something that does this
    yet written, before I start reinventing the wheel for my own projects.
     
    Best regards,

     

    Francisco Marzoa <fmmarzoa@gmail.com> Oct 31 05:57PM +0100  

    Hi,
     
    You are right. I thought this was just for breaking too big apks into
    smaller parts, but thats not the case.
     
    This solves a great percent of the problem, and although you still have
    the inconvenience of managing multiple builds, this may be the best
    approach anyway, having in account the inconveniences of the others.
     
    Thank you very much,
     
     
    On 10/31/2012 04:14 PM, Johan Appelgren wrote:

     

    Francisco Marzoa <fmmarzoa@gmail.com> Oct 31 06:27PM +0100  

    Hi,
     
    Well, after reading that whole document, I have found that using
    multiple apks have a lot more inconveniences in addition to managing
    multiple builds. In the same document they insist a lot on NOT using
    multiple apks if you can avoid it due these inconveniences.
     
    So in the end it does not look like the best approach neither, but it
    was important to know about even for discarding it, so thank you again.
     
    Best regards,
     
    On 10/31/2012 05:57 PM, Francisco Marzoa wrote:

     

    Abdul Rahman Majeed <a.rahman.uaf@gmail.com> Oct 31 12:57PM +0500  

    HI
    i am using facebook sdk for facebook apps and here i have problem ; when i
    use android 2.3 version it awesome but it sucks my code and said
    "unfortunately Stopped application" in 4.0.3, please help me...

     

    Michael Banzon <michael@banzon.dk> Oct 31 09:08AM +0100  

    Can you provide some more detailed debug information? Exception/LogCat?
     
    On Wed, Oct 31, 2012 at 8:57 AM, Abdul Rahman Majeed
     
    --
    Michael Banzon
    http://michaelbanzon.com/

     

    Asheesh Arya <asheesharya.cs@gmail.com> Oct 31 02:10PM +0530  

    may be external jar creating problem!! check it wheather you import
    external jar in libs folder.

     

    bob <bob@coolfone.comze.com> Oct 31 07:18AM -0700  

    Sounds like it is trying to do networking on the UI thread.
     
     
     
    On Wednesday, October 31, 2012 3:00:57 AM UTC-5, Abdul Rahman Majeed wrote:

     

    vani reddy <vani.reddy.blore@gmail.com> Oct 31 07:11PM +0530  

    HI friends,
     
    I am doing the drag annd drop of list view items., I checked the
    TouchedInterceptor.java but i dont know how to use it.
    Please post some code snippets.
     
    --
    Regards,
    Vani Reddy

     

    TreKing <trekingapp@gmail.com> Oct 31 09:01AM -0500  


    > Please post some code snippets.
     
     
    Please review the documentation and use Google to find code snippets on
    your own. It's not that hard to find information if you put a little effort
    into it.
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Parthi K <parthisoft13@gmail.com> Oct 31 04:34PM +0530  

    use image switcher ....
     
    On Wed, Oct 31, 2012 at 10:54 AM, Sravanthi Dadu

     

    Dinesh kumar <dragonfirefd@gmail.com> Oct 31 04:45PM +0530  

    use animation listener and relative layout you will get
     

     

    Rahul Kaushik <rahulkaushik85@gmail.com> Oct 31 05:58PM +0530  

    I am using XMPPConnection with jabber ,am able to connect with the server
    but
     
    connection.getRoster();
     
    method is rturning null i.e no buddies :(
     
    Any suggestions or help would be greatfull
     
    Thanks
    RK

     

    "Carlos A. M. dos Santos" <unixmania@gmail.com> Oct 30 10:29PM -0200  

    Send me your MacBook Pro with retina display and I will send you back my
    dual-head PC on which the emulator is displayed perfectly. Problem solved!
     
     
    --
    "The flames are all long gone, but the pain lingers on"

     

You received this message because you are subscribed to the Google Group android-developers.
You can post via email.
To unsubscribe from this group, send an empty message.
For more options, visit this group.

--
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+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment