GREF count going to 301

by AAJ » Thu, 30 Sep 2010 11:55:41 GMT


Sponsored Links
 hello all,
I keep getting the "GREF count to 301" in the LogCat, when i try to
run my code. Any solutions or suggestions on how to fix this error
would be really helpful .


Thanks
AAJ

--



GREF count going to 301

by Pankaj » Thu, 30 Sep 2010 15:10:44 GMT


 Could you be more specific about what you are doing ? For instance
GREF count can go up if you do not close a cursor




--


Sponsored Links


Other Threads

1. Looks like cupcakes on the 1st of May...

http://droiddeveloper.com/vodafone-htc-magic-uk-pre-order-april-17th-2009/

Al.

---

* Written an Android App? - List it at http://andappstore.com/ *

======
Funky Android Limited is registered in England & Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries. 



--~--~---------~--~----~------------~-------~--~----~

2. WebView with theme doesn't show focused text field values

I have encountered a problem with focused text fields in a WebView not
showing entered text values.  As long as a WebView text field has
focus it will not show text or even the blinking cursor.  You can
select and highlight the text or unfocus the field to see it, but when
it gains focus it will not show the text... as if the foreground color
of the text is white.

The simplest code to demonstrate this is below.  With the setTheme
using a Light background, try typing values into the Email text field
to notice that the text is not visible when the field is focused.

import android.app.Activity;
import android.os.Bundle;
import android.webkit.WebView;

public class AndTest extends Activity {
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        setTheme(android.R.style.Theme_Light_NoTitleBar); // <--
causes focused text fields not to show entered text

        WebView webContent = new WebView(this);
        webContent.loadUrl("http://m.myspace.com");

        setContentView(webContent);
    }
}


If the setTheme is set for a Light theme, the text in focused fields
cannot be seen.  I also have this happening in my program without the
theme if there are multiple Views within Views that have background
colors, but the above code replicates the problem.

Any suggestions or help is greatly appreciated.

--~--~---------~--~----~------------~-------~--~----~

3. How to compile android app with static library?could somebody give me a example?thanks

4. How to Zoom out a picture

5. Question about zoom a picture

6. When will Android Market will compete with Apple's app store

7. Android Market Feature Request: Contacting users who posted comments