[android-beginners] Re: Directory names

2010-07-29 Thread kypriakos
at 11:39 AM, kypriakos demet...@ece.neu.edu wrote: I have been experimenting with the file system that the emulator presents and I noticed that although I can create files with 'normal' names (ex. test, src), I don't seem to be able to create dotted names, such as .test, .src

[android-beginners] Re: Contents of dex

2010-07-29 Thread kypriakos
, 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 devices) andhttp://code.google.com/p/smali/. -- You received this message because you are subscribed

[android-beginners] Re: Contents of dex

2010-07-28 Thread kypriakos
Great thanks Mark. On Jul 28, 12:03 am, 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/ -- Mark Murphy (a Commons Guy

[android-beginners] Directory names

2010-07-28 Thread kypriakos
Hi again, I have been experimenting with the file system that the emulator presents and I noticed that although I can create files with 'normal' names (ex. test, src), I don't seem to be able to create dotted names, such as .test, .src. Is there a restriction on dir names (other than the common

[android-beginners] Contents of dex

2010-07-27 Thread kypriakos
Hi all, is there a way to view what is enclosed (file list) in the dex file? You can zip-view the apk archive but I cannot find a way to do the same with the dex file. Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW!

[android-beginners] Re: Large jars in Android

2010-07-26 Thread kypriakos
As for the ANT, use -Xmx768m switch for JVM On Jul 25, 5:43 pm, kypriakos demet...@ece.neu.edu wrote: Hi all, I looked for any info on this but could not find much. Originally I had a number of 3rd jars that I was importing into the Android project. The general concensus I got was that I

[android-beginners] Large jars in Android

2010-07-25 Thread kypriakos
Hi all, I looked for any info on this but could not find much. Originally I had a number of 3rd jars that I was importing into the Android project. The general concensus I got was that I needed to find the source for them and compile them in Android - well I kicked my behind and did all that

[android-beginners] Re: Source code

2010-07-21 Thread kypriakos
and you will find out the answer. Regards, Rogerio 2010/7/20 Mark Murphy mmur...@commonsware.com On Tue, Jul 20, 2010 at 3:20 PM, kypriakos demet...@ece.neu.edu wrote: is the Android 2.1 or 2.2 source code available somewhere? http://source.android.com I was able to find the source

[android-beginners] Re: Including libraries in project

2010-07-21 Thread kypriakos
18, 8:30 pm, Mark Murphy mmur...@commonsware.com wrote: On Sun, Jul 18, 2010 at 4:52 PM, kypriakos demet...@ece.neu.edu wrote: Step #1: Put the JAR in libs/ I did Step #2: If using Eclipse, add it to your build path I did Step #3: Code to the JAR's API and build your APK I did Even

[android-beginners] Source code

2010-07-20 Thread kypriakos
Hi all, is the Android 2.1 or 2.2 source code available somewhere? I was able to find the source code of what they called android 1.5 cupcake but I am not sure that is very recent. Thanks -- You received this message because you are subscribed to the Google Groups Android Beginners group.

[android-beginners] Re: Including libraries in project

2010-07-19 Thread kypriakos
:: shrug :: It works for many other developers, including hundreds of students of mine. Since the non-Eclipse portion is pretty bulletproof, and since I don't use Eclipse, my guess is that your problems stem from something Eclipse-related, perhaps in the way you are putting it in your build

[android-beginners] Re: Including libraries in project

2010-07-19 Thread kypriakos
If jars are not compatible with the Android platform would that prevent them from being packaged in the .apk? I checked build class paths etc. and everything looks good ... On Jul 18, 8:19 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 17, 2010 at 11:45 PM, kypriakos demet

[android-beginners] Re: Including libraries in project

2010-07-19 Thread kypriakos
, kypriakos demet...@ece.neu.edu wrote: But older postings and some sources supported that in general external jars may not work under Android There are a multitude of reasons why an existing JAR may not work on Android: -- It was compiled with Java 1.4.2 or a non-Sun/Oracle Java compiler

[android-beginners] Re: Including libraries in project

2010-07-19 Thread kypriakos
is built fast, all archived deployable files are generated but no jars are include ... something seems a bit out of wack here - anyone else saw this before? Thanks again On Jul 18, 8:19 am, Mark Murphy mmur...@commonsware.com wrote: On Sat, Jul 17, 2010 at 11:45 PM, kypriakos demet...@ece.neu.edu

[android-beginners] Re: Including libraries in project

2010-07-18 Thread kypriakos
Hey Mark, good points as always - There are a multitude of reasons why an existing JAR may not work on Android: -- It was compiled with Java 1.4.2 or a non-Sun/Oracle Java compiler -- It assumes certain classes exist (from, say, JavaSE) that do not ship with Android -- It uses JNI (and

[android-beginners] Re: Including libraries in project

2010-07-17 Thread kypriakos
the export and order and no it doesn't work). Thanks Dan On Jul 17, 9:06 am, DanH danhi...@ieee.org wrote: That's not been my impression, and when I browse an Android class file with a hex editor it says CAFEBABE. On Jul 16, 11:48 pm, kypriakos demet...@ece.neu.edu wrote: So it is fair to say

[android-beginners] Including libraries in project

2010-07-16 Thread kypriakos
Hi all, I managed to compile the imported application (the trick was not to just throw the lib directory in the project but to also build a library out of the jars and present that in the project class path). However, I am noticing in DDMS (and in debug perspective) when I launch the app that

[android-beginners] Re: Including libraries in project

2010-07-16 Thread kypriakos
I obtain the source code for all those libs and try to compile and fix the millions of errors that will probably appear, I won't be able to use them? Is that a fair statement? Oh o ... Thanks On Jul 16, 4:31 pm, kypriakos demet...@ece.neu.edu wrote: Hi all, I managed to compile the imported

[android-beginners] Re: Emulator

2010-07-14 Thread kypriakos
: On Tue, Jul 13, 2010 at 12:44 PM, kypriakos demet...@ece.neu.edu wrote: You can?? That's super - where can I find documentation on that? Or is it straight forward? You just run the app. -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com

[android-beginners] Re: Application monitoring

2010-07-14 Thread kypriakos
Got it - thanks Mark. I would like to ideally change them to the Log class but they are a bit too many so it will be a long process. On Jul 13, 1:59 pm, Mark Murphy mmur...@commonsware.com wrote: On Tue, Jul 13, 2010 at 1:48 PM, kypriakos demet...@ece.neu.edu wrote: The applications I am

[android-beginners] I/O

2010-07-14 Thread kypriakos
Is it possible to write and read files on Android? I know it sounds a bit silly to ask this but I found out that writing a file in the same directory as where the app is executing stall my process. Where in the dir hierarch do Android apps execute and if I was to write or read a file do I need to

[android-beginners] Re: I/O

2010-07-14 Thread kypriakos
= openFileOutput(FILENAME, Context.MODE_PRIVATE); fos.write(string.getBytes()); fos.close(); Thanks On Jul 14, 2:26 pm, kypriakos demet...@ece.neu.edu wrote: Is it possible to write and read files on Android? I know it sounds a bit silly to ask this but I found out that writing a file in the same

[android-beginners] Re: I/O

2010-07-14 Thread kypriakos
, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 14, 2010 at 2:59 PM, kypriakos demet...@ece.neu.edu wrote: I noticed that using the standard Java to create the new file stalls: File UIDfile = new File(/data/local/tmp/myUID.txt); UIDfile.createNewFile(); Is this something that should

[android-beginners] Re: I/O

2010-07-14 Thread kypriakos
The Environment.getExternalFilesDir() does return /sdcard and although empty it still stalls on writing the file out. What package carries the getFilesDir()? On Jul 14, 3:09 pm, kypriakos demet...@ece.neu.edu wrote: That's what I figured - thanks Mark. I think it makes more sense now

[android-beginners] Re: I/O

2010-07-14 Thread kypriakos
, kypriakos demet...@ece.neu.edu wrote: The Environment.getExternalFilesDir() does return /sdcard and although empty it still stalls on writing the file out. I have no idea what stalls means in this context. You need an SD card (or SD card image for the emulator), and you need

[android-beginners] Re: I/O

2010-07-14 Thread kypriakos
, Jul 14, 2010 at 3:42 PM, kypriakos demet...@ece.neu.edu wrote: When the app reaches the createNewFile() method it quits OK, then I have no idea what quits means in this context. I am going to guess you mean it had an unhandled exception. If so, use adb logcat, DDMS, or the DDMS perspective

[android-beginners] Re: I/O

2010-07-14 Thread kypriakos
or this should not be the case and pretty much what compiles should work. I hope this makes sense. Again thanks for all the help Mark and apologies for the multiple postings. On Jul 14, 3:51 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 14, 2010 at 3:42 PM, kypriakos demet

[android-beginners] Re: I/O

2010-07-14 Thread kypriakos
I know I know - I rudely jumped into asking questions and that is a no no - you want people to help you make your context clear first and the rest will follow (to a certain reasonable extend of course ;) ) ... That's...very strange. Yes it is - but hey, I am sure what I learn from getting to

[android-beginners] Re: Emulator

2010-07-14 Thread kypriakos
:56 pm, kypriakos demet...@ece.neu.edu wrote: Got it - thanks to both of you. On Jul 14, 2:09 pm, Mark Murphy mmur...@commonsware.com wrote: On Wed, Jul 14, 2010 at 2:07 PM, kypriakos demet...@ece.neu.edu wrote: Super - but then if you are already running an app how do you stop

[android-beginners] Re: Emulator

2010-07-13 Thread kypriakos
You can?? That's super - where can I find documentation on that? Or is it straight forward? On Jul 12, 3:03 pm, Mark Murphy mmur...@commonsware.com wrote: On Mon, Jul 12, 2010 at 2:59 PM, kypriakos demet...@ece.neu.edu wrote: I am assuming that you cannot perform software reloading

[android-beginners] Application monitoring

2010-07-13 Thread kypriakos
The applications I am importing into Android make use of out.println in many places. That was one of the way we could monitor them at runtime. I don't suppose this would be the case with Android - how would I be able to monitor the execution of these apps here? These apps are primarily background

[android-beginners] Emulator and cellular access

2010-06-16 Thread kypriakos
Hi all, I think the Android emulator has the capability to emulate incoming phone calls but I am wondering if there is a capability to place outgoing calls to existing cellular networks through the appropriate hardware interface. Is there any documentation of such a functionality I look into?

[android-beginners] Issue?

2010-06-16 Thread kypriakos
: Sorry, This mailbox is overquota. (#4.4.5) --- Enclosed are the original headers of the message. Subject: [android-beginners] Emulator and cellular access From: kypriakos demet...@ece.neu.edu Date: Wed, 16 Jun 2010 09:46:12 -0700 (PDT) To: Android Beginners android-beginners@googlegroups.com

[android-beginners] mailing lists

2009-10-22 Thread kypriakos
Hi all, I tried all mailing lists listed in the Android subcription web site and all of them returned back with the error that their email does not exist - I clicked on them and not copy them so there is no typo. Any ideas? Thanks --~--~-~--~~~---~--~~ You