[android-developers] Re: DexClassLoader and DexFile Leaking File Handles

2011-08-19 Thread snpe
yes, every url classloaders that includes jar/zip files -- 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-developer

[android-developers] Re: DexClassLoader and DexFile Leaking File Handles

2011-08-18 Thread snpe
Java classloaders don't close files in JDK < 1.7. You can cache classloaders and create a new classloader only when necessary. Regards, Peco -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] Re: android + eclipse -> strange behavior

2011-08-17 Thread snpe
You probably have different versions of the RemalLocation.class and your source (RemalLocation.java). Regards, Peco On Aug 17, 11:12 am, SoMa wrote: > Hi! > > I use eclipse helios with android plugins. I use this developing tool > for long time ago. Now I realized a strange behavior. Is it a bug

[android-developers] Re: Android source line numbers in stack trace

2011-08-05 Thread snpe
You have to attach corresponding source code for your emulator/device (project's API level is not important when you debugging). For instance, - you have project's API level 11 (3.0) - you debug on emulator targeted on Android 2.3.4 (2.3.3 rev 2 in SDK Manager; API level 10) You need attach source

[android-developers] Re: Android source line numbers in stack trace

2011-08-05 Thread snpe
The source code in the Sources plugin from code.google.com/p/adt- addons/ contains Android 2.3.4 source API level 10 is corresponding to Android 2.3.3/2.3.4 (http:// developer.android.com/intl/fr/guide/appendix/api-levels.html) and I have used newer version to build source. Regards, Peco On Aug 3

[android-developers] Re: Eclipse with ADT goes Not Responding

2011-07-19 Thread snpe
Could you send your stacktrace (jstack -l ) ? You can find your JVM_PID using jconsole. On Jul 19, 10:19 am, Mate Gulyas wrote: > I forgot to mention, that I had already tried that. I set the max heap > size to 1gb, and the initial to 256m. Same result. :( > > On júl. 19, 02:14,

[android-developers] Re: Eclipse with ADT goes Not Responding

2011-07-18 Thread snpe
Hi, You can open your eclipse.ini and change the lines: -Xms40m -Xmx384m to -Xms256m -Xmx1024m These values ​​may be higher. It depends on your RAM. Regards, Peco On Jul 18, 3:12 pm, Mate Gulyas wrote: > Hi! > > I upgraded to Indigo, downloaded the ADT plugin a few days ago. Now > sometimes I

[android-developers] Re: ADT debugger always stops at ALL exceptions

2011-05-19 Thread snpe
Eric, I can reproduce the problem with uncaught exception on both: emulator and device (Android 1.6). However, debugger doesn't stop on caught exception. As you, preferences don't distinguish. Maybe you got some hidden uncaught exception. Try to add android source ? Regards, Peco On May 19, 4:00

[android-developers] Re: ADT debugger always stops at ALL exceptions

2011-05-18 Thread snpe
Which version of the ADT and SDK you use? Which version of the Android is on your device ? Regards, Peco On May 18, 5:21 pm, Eric Rizzo wrote: > I'm a very experienced Eclipse user, but some behavior in the debugger > with ADT is confusing and causing a lot of pain. > Every time I'm debugging an

[android-developers] Re: How to debug NPE when stack trace does not show any reference to my app code?

2011-05-17 Thread snpe
You could attach the source code to your android.jar (see http://code.google.com/p/adt-addons/, chapter Android Sources) and set a conditional breakpoint to the ViewGroup.dispatchDraw method. Review different SDK versions because it could be a bug in some SDK. Regards, Peco On May 3, 8:55 pm, vat

[android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-05-10 Thread snpe
roid SDK but with J2EE > > project. In my case turning off autobuild option and cleaning whole > > project fixed problem. After this few steps automatic build can be > > switched to on again. I think this is IDE bug, so it should be > > reported to eclipse developers. >

[android-developers] Re: Eclipse/ADT not rebuilding correctly

2011-05-07 Thread snpe
Can anybody reproduce this issue on Linux ? On May 5, 4:59 pm, Jake Basile wrote: > This problem has not gone away, and is getting worse. I need to fully > restart eclipse so often now to get it to use my new code that I do it about > 15 times a day. > > Incredibly frustrating, and a waste of my

[android-developers] Re: Setting the Java build path in imported project

2011-03-25 Thread snpe
You would check your Android SDK location. This error happens when Android SDK isn't loaded correctly. Peco On Mar 25, 6:10 pm, Bret Foreman wrote: > So I found the setup problem, but that leads to another error. When I > try to add the Android 2.2 library to the project I get the error > "unabl

[android-developers] Re: ADT 10.0.0 Issues

2011-03-02 Thread snpe
I would like to test performance too. Is there some bigger open source project that make a problem ? Peco On Mar 2, 9:38 am, Xavier Ducrohet wrote: > On Sun, Feb 27, 2011 at 4:54 AM, Markus Junginger > wrote: > > And speaking of ADT: are there any known plans to improve performance? > > We hav

[android-developers] Re: Eclipse 3.6.1 ADT Plugin install stuck half way

2011-02-25 Thread snpe
I suppose that you have a problem with some Eclipse mirrors. Try to start with Eclipse IDE for Java EE Developers (http://www.eclipse.org/ downloads/) instead of Eclipse classic. Eclipse IDE for Java EE Developers includes all ADT requirements and you wouldn't access to mirrors. Peco On Feb 24, 3

[android-developers] Re: ADT Plugin error

2011-02-24 Thread snpe
Gregorio, You can try to add GEF update site. Select Window>Preferences>Install/Update>Available Software Sites, click add and enter http://download.eclipse.org/tools/gef/updates/releases/ You can also start with Eclipse IDE for Java EE Developers for your OS from http://www.eclipse.org/downloads

[android-developers] Re: Close or uninstall DDMS from Eclipse

2011-01-27 Thread snpe
The ADT plugin depends on the DDMS plugin. You can remove both or nothing of them. Regards, Peco On Jan 25, 11:36 am, Johannes Mario Ringheim wrote: > Is there any way to close or uninstall the DDMS from Eclipse? I'm > using the standalone one, and have no use for two of them at the same > time.

[android-developers] Re: Code Assist still Slow

2011-01-14 Thread snpe
R2 (same computer). > > -- Kostya > > 2011/1/15 snpe > > > Kostya, > > > IMO, there isn't bug in Eclipse for the problem related with Javadoc > > attachment. I can reproduce them when using javadoc from master AOSP > > (I have trying CA for TextView.set

[android-developers] Re: Code Assist still Slow

2011-01-14 Thread snpe
> >> > Thanks for the info regarding Javadoc. I uninstalled Documentation for > >> > Android SDK using the SDK/AVD Manager and code assist does not freeze > >> > anymore. > > >> > Would be nice to get Javadoc in CA back at some point, but for me, it's > &

[android-developers] Re: Code Assist still Slow

2011-01-14 Thread snpe
ce to get Javadoc in CA back at some point, but for me, it's not > critical. > > You say that it looks like a problem in Helios - is there a bug for this in > Eclipse's tracker? > > -- Kostya > > 2011/1/14 snpe > > > It looks that there is problem w

[android-developers] Re: Code Assist still Slow

2011-01-14 Thread snpe
It is not related to ADT 8.0.1. You can change source attachment in ADT 8.0.1 and set it to null (ADT will set null for a new project if "sources" directory doesn't exists). However, there is problem related to Javadoc attachment (it is also Helios bug). See my other post in this thread. Peco On

[android-developers] Re: Code Assist still Slow

2011-01-14 Thread snpe
> I then wait 30 seconds to two minutes. > > I have tried in a fresh project and a production project, both with > the same result. > > I verified that I do have some components of WTP but JAX-WS proposals > are not listed on the list. These appear to be bundled for XML &g

[android-developers] Re: Code Assist still Slow

2011-01-11 Thread snpe
There are two problems related to code assists with ADT and Helios. 1) ADT problem related to classpath container described on http://code.google.com/p/android/issues/detail?id=7850#c7 It is fixed in ADT 8.0.x 2) problem with WTP Webservices context assist. See https://bugs.eclipse.org/bugs/show

[android-developers] Re: Getting the Android Java source?

2010-12-28 Thread snpe
John, Could you please tell me if you are install Android sources plugin successfully ? I have tested them, but I'm not sure if somebody use it. Thanks, Peco On Dec 28, 3:40 am, John Lussmyer wrote: > Thanks! > > On Mon, Dec 27, 2010 at 5:36 PM, snpe wrote: > > Yo

[android-developers] Re: Getting the Android Java source?

2010-12-27 Thread snpe
You can take a look at Android Sources plugin http://code.google.com/p/adt-addons/ Update site : http://adt-addons.googlecode.com/svn/trunk/source/com.android.ide.eclipse.source.update/ Just update this feature and after restart Eclipse, source code will appear magically in all your existing pro

[android-developers] Re: Classpath

2010-10-19 Thread snpe
Window>Preferences>Java>Build Path>Classpath variables You can use preference filter in the Preferences dialog (the text field in left corner with text "type filter text"). Open Window>Preferences and type "classpath", for instance. Regards, Peco On Oct 19, 12:55 am, JoeSchmoe wrote: > Has anyo

[android-developers] Re: Classpath

2010-10-19 Thread snpe
Window>Preferences>Java>Build Path>Classpath variables You can use preference filter in the Preferences dialog (the text field in left corner with text "type filter text"). Open Window>Preferences and type "classpath", for instance. Regards, Peco On Oct 19, 12:55 am, JoeSchmoe wrote: > Has anyo

[android-developers] Re: SDK compiled successfully, but when trying to use it w/Eclipse it doesn't work.

2010-10-13 Thread snpe
pts/genericTargets.xml:72: > > The following error occurred while executing this line: > > *java.io.FileNotFoundException: > > /home/david/android/froyo/sdk/eclipse/features/com.android.ide.eclipse.ddms/build.xml > > (No such file or directory)* > > ...

[android-developers] Re: SDK compiled successfully, but when trying to use it w/Eclipse it doesn't work.

2010-10-13 Thread snpe
You have to use ADT plugins compatible with your SDK. If you compile SDK master you need new (unreleased) ADT 8.0.0 plugins. You can build ADT plugins in the following way: cd your-sdk-directory export ECLIPSE_HOME= eclipse/scripts/build_server.sh destination-directory Install new ADT plugins.

[android-developers] Re: ADT master and aapt

2010-09-15 Thread snpe
git.kernel.org/?p=platform/sdk.git;a=blob;f=docs/howto... > > 2- You don't need to build a full SDK, you simply need to "make aapt" > from the top of the tree. > > Let me know if that helps > R/ > > On Wed, Sep 15, 2010 at 1:38 AM, snpe wrote: > > Is it p

[android-developers] Re: ADT master and aapt

2010-09-15 Thread snpe
Is it possible to build Windows version of aapt.exe ? Thanks On Sep 14, 7:26 pm, Xavier Ducrohet wrote: > Not yet. you'll have to build it yourself from master. > > > > On Tue, Sep 14, 2010 at 2:06 AM, snpe wrote: > > Hi, > > >  ADT master execute aapt wi

[android-developers] ADT master and aapt

2010-09-14 Thread snpe
Hi, ADT master execute aapt with the --debug-mode option. aapt in Android SDK 07 doesn't support this option. Is there Windows build of SDK which support this ? Thanks, Peco -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] ADT master version

2010-09-14 Thread snpe
Hi, I have noticed that you change version of ADT plugin from 0.9.8 to 8.0.0. Is it mistake ? I suppose that it would be 0.9.9, 0.10.0 or if ADT is stable 1.0.0. Regards, Peco -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Your feedback on Samples/Tutorials/Articles

2010-05-19 Thread snpe
What you think about this application http://www.snpe.rs/sad/overview.html ? -- 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