[android-developers] Digest for android-developers@googlegroups.com - 10 Messages in 6 Topics

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

    Amit Mangal <forum.amit.mangal@gmail.com> Aug 27 10:04AM +0530  

    Hi there,
    i have created a xml file using wrap content and relative layout. i am
    having images for all resolution.
     
    i create drawable folders for all images and kept all images in folders but
    when i am running project it is not working big screen only working on mdpi
    screens not working for hdpi screen.
     
    any body knows what settings is required so that it will pick correct
    images from folder.
     
    thanks

     

    TreKing <trekingapp@gmail.com> Aug 27 12:12AM -0500  

    On Mon, Aug 26, 2013 at 11:34 PM, Amit Mangal
     
    > i create drawable folders for all images and kept all images in folders
     
     
    What folders?
     
    -------------------------------------------------------------------------------------------------
    TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
    transit tracking app for Android-powered devices

     

    Amit Mangal <forum.amit.mangal@gmail.com> Aug 27 10:50AM +0530  

    drawable-hdpi
    drawable-ldpi
    drawable-mdpi
    drawable-xhdpi
    drawable-xxhdpi
     
    All images kept in proper folders but still it is not picking proper images
    as per screen resolution
     
    thanks
     
     
     
     

     

    Anthony Mandra <amandra@gmail.com> Aug 26 09:35PM -0700  

    It's been a while, but I just started experiencing very sluggish
    responsivity from Android Studio. Typing will sometimes take a few second
    to appear and the mouse will be unresponsive after edits for a few seconds.
    Did you ever figure out what your issue was?
     
    On Friday, May 17, 2013 6:20:06 AM UTC+9, Tone wrote:

     

    Mike Yeh <drogon43@gmail.com> Aug 26 06:53PM -0700  

    Dear Kowalski,

    Thanks for your sharing.

    On my testing I use ProcessExproler to watch out the memory usage. I do
    both testing on two cases -- one is use host GPU one is not.
    Under use host GPU case, The memory is kept on raising but this phenomenon
    doesn't happen in not use host GPU case.
    It seems it's not the Android application problem.

    Best Regards,
    MIKE

     
    kowalski於 2013年8月15日星期四UTC+8下午8時40分23秒寫道:
     

     

    TG <tirtha.guha@gmail.com> Aug 26 07:16AM -0700  

    I am using a Samsung Galaxy S Plus Phone running on Android 2.3.4
     
    I manually set the proxy server and the port in the phone, in Settings->
    Wireless & Network-> Wi-Fi Settings-> MENU Button-> Advanced panel.
     
    My phone is still not able to communicate using the proxy. I tried the
    browser, and that is not able make use of the proxy settings.
     
    public static InputStream inputStreamForUrl(URL url) throws IOException {
     
    HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(); // doesn't work on android 2.3.4
    urlConnection.setRequestMethod("GET");
    urlConnection.setDoInput(true);
    urlConnection.setConnectTimeout(30000);
    urlConnection.setReadTimeout(30000);
    System.out.println(urlConnection.usingProxy());
    urlConnection.connect();
    return urlConnection.getInputStream();}
     
    However, If I manually hardcode the proxy in the code, it works
     
    Proxy proxy = new Proxy(Proxy.Type.HTTP, new InetSocketAddress("proxy.server.url", 8080));// this needs to be hard coded to make it work in 2.3HttpURLConnection urlConnection = (HttpURLConnection) url.openConnection(proxy);// this needs to be hard coded to make it work in 2.3
     
    I tried to dynamically find out the system proxy and then use it in code,
     
    private static void getProxySettings()
    {
    final boolean IS_ICS_OR_LATER = Build.VERSION.SDK_INT >= 14;
     
    String proxyAddress = "";
    int proxyPort = 0;
     
    if( IS_ICS_OR_LATER )
    {
    proxyAddress = System.getProperty( "http.proxyHost" );
     
    String portStr = System.getProperty( "http.proxyPort" );
    proxyPort = Integer.parseInt( ( portStr != null ? portStr : "-1" ) );
    }
    else
    {
    proxyAddress = android.net.Proxy.getHost( ctx );
    proxyPort = android.net.Proxy.getPort( ctx );
    }
     
     
     
    System.out.println(proxyAddress);
    System.out.println(proxyPort);
    }
     
    but the proxy address and port is null always.
     
    Can someone help please
     
    *PS.* I absolutely no problem on Android 4.1/4.2/4.3 devices

     

    Robert Greenwalt <rgreenwalt@google.com> Aug 26 04:26PM -0700  

    This flavor of proxy support in Android didn't appear until Honeycomb
    (3.1). Prior to that there was the Proxy class in the framework that
    reported a network-independent "global proxy".
     
     

     

    dashman <erjdriver@gmail.com> Aug 26 05:56AM -0700  

    in my view class, i'm intercepting
     
    public boolean onTouchEvent(MotionEvent event)
     
     
    when i drag my finger across the screen.
     
    i get ACTION_DOWN and then after some time ACTION_CANCEL.
     
     
    i would like to get ACTION_DOWN...ACTION_MOVE and then
    eventually ACTION_UP.

     

    lunard <lunard@gmail.com> Aug 25 11:15PM -0700  

    Hello, my name is Luca from Italy.
    After 3 year I returned to develop on Android and now I have to decide
    which environment to use.
     
    I'm excited to use Android Studio, but the problem is that I learn on the
    Commonsware book, where all examples are implemented with Eclipse.
     
    Someone is working on Android Studio?
    Do you know if is possible too run Eclipse and Android Studio at the same
    time (problem with abd, etc?)
     
     
    Thanks, Luca!

     

--
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
---
You received this message because you are subscribed to the Google Groups "Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment