[android-beginners] Re: ATTENTION: Android-Beginners will be permanently disabled on August 9 2010

2010-08-06 Thread fadden
On Aug 6, 1:20 pm, Greg Donald gdon...@gmail.com wrote: snip # users with less than 1500 reputation can't create new tags. The tags 'rails3 linecache' are new. Try using existing tags instead. /snip Good luck only tagging questions that already have popular tags. What advantage do you

[android-beginners] Re: Contents of dex

2010-07-28 Thread fadden
On Jul 27, 9:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jul 27, 2010 at 11:50 PM, kypriakos demet...@ece.neu.edu wrote: is there a way to view what is enclosed (file list) in the dex file? http://dedexer.sourceforge.net/ Also dexdump (which comes installed on development

[android-beginners] Re: Development and debugging tools

2010-05-03 Thread fadden
On May 3, 9:42 am, Sandy snarr...@gmail.com wrote: Can someone help with this? The original message was sent to multiple mailing lists. Replies from different people can be found on 3 or 4 of them. -- You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: Conversion to Dalvik format failed - error

2010-03-29 Thread fadden
On Mar 24, 12:37 am, vinu viswanthgup...@gmail.com wrote: when i included the jar file iam getting an error like Conversion to Dalvik format failed: Unable to execute dex: null and Unable to execute dex: null errors .I also tried to increase the values in my eclipse.ini file to Xms128m  

[android-beginners] Re: How to trace the functions called ? [by the app]

2010-02-23 Thread fadden
On Feb 23, 5:38 am, Naveen DS naveen.cse@gmail.com wrote:   I tried trace view and dmtracedump, but these show info about the System functions rather than the user defined ones in app..br/ The android.os.Debug method tracing shows all methods. It doesn't discriminate based on whether

[android-beginners] Re: Traceview, OutOfMemoryError - How to make it work again

2010-02-09 Thread fadden
On Feb 9, 11:06 am, M mts...@googlemail.com wrote: What confuses the living daylights out of me is that I'm running TraceView via command line. Just using basic : traceview.bat traceFile or traceview traceFile traceview is not related to Eclipse (other than that they both use SWT for their

[android-beginners] Re: Moderated list??

2010-02-08 Thread fadden
On Feb 8, 9:27 am, Danny Pimienta danny...@gmail.com wrote: Does google groups have the ability to make new members automatically be moderated until they post a certain amount of approved posts? This group is moderated for first-time posters. If you haven't posted here before, a moderator must

[android-beginners] Re: Waiting for Debugger on Release Version.

2010-02-04 Thread fadden
On Feb 2, 6:57 pm, AZDev tnharding2...@gmail.com wrote: Apparently the issue is due to the WaitForDebugger System setting being a value of  1, causing the force close dialog. If the setting is a 0 then the dialog does not appear.  Since DevTools  doesn't work on Android 2.1 Please file a bug

[android-beginners] Re: Bridging the gap between Java and Linux/C

2009-12-15 Thread fadden
On Dec 14, 11:42 am, Martin Hardman martin.hard...@mobidia.com wrote: Is there somewhere that describes how to add services in the kernel and make them available to the Java layer for apps to use? Search for information about the Android NDK (native development kit). You can post questions to

[android-beginners] Re: Debug.startMethodTracing(); leaves empty file

2009-12-01 Thread fadden
On Dec 1, 7:49 am, kaloer mkal...@gmail.com wrote: Why is the file empty? Nothing is written to the file until stopMethodTracing() is called. -- You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send email to

[android-beginners] Re: Can't dispatch DDM chunk 46454154 or 4d505251

2009-11-30 Thread fadden
On Nov 27, 5:17 am, Carly carlyon...@hotmail.co.uk wrote: I have seen the above problem covered in previous posts.  However no one seems to have suggested a method of fixing this issue.  I have found that my app will upload onto the emulator, however it always stops unexpectedly. It's very

[android-beginners] Re: Poor performance on my file loader (code optimization help!)

2009-09-23 Thread fadden
On Sep 23, 8:49 am, Glen Kimsey gkim...@gmail.com wrote: I tried to find significant ways that I could avoid allocation, but the StringTokenizer is the main thing that I'm calling 'new' on and I didn't see any way to avoid doing that for every line.  Your suggestion of using regexs for a

[android-beginners] Re: Poor performance on my file loader (code optimization help!)

2009-09-21 Thread fadden
On Sep 20, 11:28 am, Glen Kimsey gkim...@gmail.com wrote: The loading process on a sample (1000+ line) file is abysmally slow (more than 4 minutes). [...] Some possible causes for the slowness: - Extensive use of parseFloat() - Creating new StringTokenizer for every line - Inefficiencies

[android-beginners] Re: how can I use dmtracedump?

2009-08-07 Thread fadden
On Aug 7, 1:21 am, wook wook.s...@gmail.com wrote: actually I tried several combinations of the options, but it always output the same error message ERROR: unable to read 216321 bytes from trace file Sounds like your .trace file is truncated or broken somehow. Do you see errors if you simply

[android-beginners] Re: Basic java threading problems, code inside

2009-07-20 Thread fadden
On Jul 17, 4:29 pm, Kevin Grant kevingra...@gmail.com wrote: *So what I need to know is why is it crashing, and how can I fix it?* What information is printed in the log file when it crashes? --~--~-~--~~~---~--~~ You received this message because you are

[android-beginners] Re: Converting class files to dex format at runtime

2009-07-20 Thread fadden
On Jul 20, 7:32 am, tarzan stephan.heu...@gmail.com wrote: is there a way to convert class files to the dex format on the fly on android? i'm starting to build an application which relies heavily on reflection for loading classes which are not known at build time. There is currently no

[android-beginners] Re: How to trace/debug two processes with Eclipse?

2009-07-08 Thread fadden
On Jul 8, 9:06 am, Pamplemousse Mk2 pamplemousse@gmail.com wrote: I have written a program which start a service which bind to another service. The two services run in two processes. The problem is that Eclipse does not stop at the breakpoints of the second service (which does not run in

[android-beginners] Re: VFY: unable to find class referenced in signature

2009-07-06 Thread fadden
On Jul 4, 6:28 am, hefeng hefeng.y...@gmail.com wrote: It seems that the XMPPConnection class with its method have been install properly already. I'd guess that the org.jivesoftware.smack.apk file is not present in the process responding to the instrumentation test request.

[android-beginners] Re: Garbage Collection of Threads

2009-07-06 Thread fadden
On Jul 3, 4:50 pm, Drifter daveh...@yahoo.co.uk wrote: I've finally figured out the discrepancy. Using the following code, I ran it through the debugger (in Eclipse, WinXP, emulator) and then ran it just through the emulator - I get different results. The debugger shows TestThread Running

[android-beginners] Re: Garbage Collection of Threads

2009-06-24 Thread fadden
On Jun 23, 8:30 pm, Drifter daveh...@yahoo.co.uk wrote: Unfortunately I've altered the code to actually start the TestThread and it still doesn't hit the breakpoint. Is there any way of implementing this without leaking TestThreads? I tried your example as a simple class invoked from the

[android-beginners] Re: Garbage Collection of Threads

2009-06-24 Thread fadden
Somebody pointed me at this: http://bugs.sun.com/view_bug.do?bug_id=4410846 Apparently we're not the first. :-) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to this group, send

[android-beginners] Re: Garbage Collection of Threads

2009-06-23 Thread fadden
On Jun 22, 11:19 pm, Drifter daveh...@yahoo.co.uk wrote: I don't seem to able to get a Thread to be garbage collected. Below is the source code (modified from HelloAndroid). I put a break point in the finalize function and it never seems to get called. If I remove extends Thread from the

[android-beginners] Re: compile error: no rule to bu ild “out_sim/debug/host/linux-x86/product/sim/system/etc /permissions/com.google.android.gtalkservice.xml”need to t arget“vendor/google/apps/GTalkS

2009-06-18 Thread fadden
I don't think you want the simulator build. You say you want to use it with Eclipse, but the two have no way of interacting (there's no ADB daemon in the simulator environment). What are you trying to do? On Jun 17, 9:08 pm, beginner royzha...@gmail.com wrote: SIR:     I get android codes

[android-beginners] Re: compile error: no rule to bu ild “out_sim/debug/host/linux-x86/product/sim/system/etc /permissions/com.google.android.gtalkservice.xml”need to t arget“vendor/google/apps/GTalkS

2009-06-18 Thread fadden
On Jun 18, 4:11 pm, beginner royzha...@gmail.com wrote: Is the understanding correct? Yes, you are correctly configuring for building the simulator. However, the simulator is not an officially supported configuration, and may very well be not what you really want.

[android-beginners] Re: Invoking shared libraries

2009-06-16 Thread fadden
On Jun 16, 9:20 am, Roman roman.baumgaert...@t-mobile.com wrote: Furthermore check out the following Android code which uses JNI /external/webkit/perf http://code.google.com/p/mandelbrot/ is perhaps a gentler introductory example. There are other examples in the samples area. The

[android-beginners] Re: [android-beginners]'system.out.println' dumpage

2009-05-18 Thread fadden
On May 18, 10:35 am, Raphael r...@android.com wrote: On Mon, May 18, 2009 at 10:17 AM, Rafa Perfeito rafa.perfe...@gmail.com wrote: Here's a real beginner question: Im using Eclipse IDE with the android SDK. Where does the 'system.out.println' printing goes? to the console? 'cause it is

[android-beginners] Re: switch / if statement, efficiency question

2009-04-29 Thread fadden
On Apr 29, 10:44 am, Kent Yip yes...@gmail.com wrote: a switch statement is made for nested if statements. Actually it's not. Both Java and Dalvik have sparse and packed switch instructions at the bytecode level. You can read about them in the Dalvik bytecode documentation in

[android-beginners] Re: switch / if statement, efficiency question

2009-04-28 Thread fadden
On Apr 28, 4:33 am, asymmetric oxy...@gmail.com wrote: by looking at the Notepad examples, i've noticed that the switch statement is used even when there's only one case handled, as in: [...] my question is, which is the most efficient statement? are there any noticeable differences, enough

[android-beginners] Re: [android-beginners]Logs in a File

2009-04-23 Thread fadden
On Apr 22, 5:41 pm, Mark Murphy mmur...@commonsware.com wrote: Iam Writing an Application in which i need to put all the system.out or log.e logs into a file which will be generated in the phone system. The following snippet was recently added to AndroidSnippets.org:

[android-beginners] Re: Threading memory leak

2009-04-22 Thread fadden
On Apr 20, 11:23 am, Terry Heatlie terry.heat...@gmail.com wrote: Yes.  I don't think I have any static references to drawables... unless I'm missing something? Next step is to get an hprof dump and dig through it. Some instructions here (and elsewhere in the threads):

[android-beginners] Re: Threading memory leak

2009-04-20 Thread fadden
On Apr 19, 8:56 pm, Terry terry.heat...@gmail.com wrote: I have a simple activity which does stuff in a background thread, and posts the results back to the  UI using a handler.  This activity leaks memory whenever I flip orientation of the display.  Specifically [...] Have you read:

[android-beginners] Re: data transfer between android device and pc

2009-04-20 Thread fadden
On Apr 20, 9:52 am, jonathan topcod...@gmail.com wrote: I have been looking for a way to transfer data from android device to pc via usb.  The only thing I found that's slightly useful is adb, however that's a dev tool..  does the android sdk provide any means to transfer data via usb? The

[android-beginners] Re: Does anyone know how to use jdb to debug java program ?

2009-04-17 Thread fadden
On Apr 16, 4:06 am, Jove jove.c...@gmail.com wrote: I try below command: adb forward tcp:8000 jdwp:my pid jdb -attach localhost:8000 but get no response. Could anyone give me some hints? This should work. Are you using the emulator? If not, you need to enable the is debuggable flag in the

[android-beginners] Re: Why does this give an error.

2009-04-15 Thread fadden
On Apr 15, 4:37 pm, Kevin J. Brooks bear123434...@comcast.net wrote: I took out the key word static and fixed the problem. You now have a different string array in every instance of the class, instead of one for all instances of the class. How does Eclipse feel about: static final

[android-beginners] Re: NoClassDefFoundError for a third party library

2009-04-07 Thread fadden
On Apr 7, 3:01 am, olivier olivier.pou...@gmail.com wrote: 04-07 09:39:03.374: WARN/dalvikvm(241): JNI WARNING: JNI method called with exception raised 04-07 09:39:03.384: WARN/dalvikvm(241):              in Ljava/lang/ Runtime;.nativeLoad (Ljava/lang/String;Ljava/lang/ClassLoader;)Z

[android-beginners] Re: Dev1 Permissions

2009-03-09 Thread fadden
On Mar 6, 1:55 pm, Maxx george.bert...@gmail.com wrote: When I try to push or pull (copy) files from PC to phone, I get permission denied ?? Do I have to Root hack the developer phone too ? The adb daemon runs as a normal user. You can adb shell and then su to become root. This does mean

[android-beginners] Re: Error when trying to output logcat to a a external file

2009-02-18 Thread fadden
On Feb 17, 12:06 pm, Android Beginner vivek.s...@motorola.com wrote: I am trying to capture logs when emulator starts and I am issuing the following command ./adb logcat -f ~/androidlog in order to output the logs to the external file androidlog in my home directory. However I gives an

[android-beginners] Re: Zip inflate error while scaning the /system/app

2009-01-30 Thread fadden
On Jan 29, 8:35 am, Kishor krish2...@gmail.com wrote: i get this error only  when i enable the L2 cache on. With L2 cache off i dont get this error. Sounds like a hardware or OS problem. The android-porting list might be more appropriate than android-beginners.

[android-beginners] Re: Zip inflate error while scaning the /system/app

2009-01-28 Thread fadden
On Jan 28, 5:23 am, krish24 krish2...@gmail.com wrote: While booting,  Android is segfaulting when it scans /system/app for  most of .apk present in that dir. Each time it segfaults in a similar fashion; e.g.: W/zipro   ( 1555): Zip inflate failed, zerr=-3 (nIn=0x4101910e aIn=1101 nOut=0x1

[android-beginners] Re: Android 1.0 SDK Released

2008-12-13 Thread fadden
On Dec 11, 6:17 pm, kenb k...@irider.com wrote: Don't Java compilers do these kinds of optimizations, assuming the fields aren't volatile? The common compilers (e.g. javac) do not. Some post-processors (e.g. ProGuard) might. --~--~-~--~~~---~--~~ You received

[android-beginners] Re: Does the native assert work at all with android emulator?

2008-11-07 Thread fadden
On Nov 5, 10:28 am, Dave Kong [EMAIL PROTECTED] wrote: My asserts in android code never fires even with -ea option for my java runtime (set in eclipse). From this old post back in 2007, it seems to indicate that assert won't work, and it suggests Assert class in junit