ListActivity does the ArrayAdapter<T> class have to be an Inner Class

by Brion Emde » Fri, 23 Apr 2010 09:07:31 GMT


Sponsored Links
 No, there is no reason at all that your Adapter has to be in internal
class.

Post your code and maybe someone will see your problem.



>



Other Threads

1. Build Project androd with netbeans

hi to all i am new to android so i was making my first application
"Hello Android". But i am making this on Netbeans not on Eclipse. But
i am getting this build problem
init:
deps-jar:
Warning: org\me\androidapplication\MainActivity.java modified in the
future.
Warning: org\me\androidapplication\R.java modified in the future.
Compiling 1 source file to \\litnas.admin.litdom.com\users
\abhishek.madaan\NetBeansProjects\androidapplication\build\classes
Warning:  modified in the future.
Warning: org modified in the future.
Warning: org\me modified in the future.
Warning: org\me\androidapplication modified in the future.
compile:
'\\litnas.admin.litdom.com\users\abhishek.madaan\NetBeansProjects
\androidapplication'
CMD.EXE was started with the above path as the current directory.
UNC paths are not supported.  Defaulting to Windows directory.
java.lang.UnsupportedClassVersionError: com/android/dx/command/Main
(Unsupported major.minor version 49.0)
        at java.lang.ClassLoader.defineClass0(Native Method)
        at java.lang.ClassLoader.defineClass(Unknown Source)
        at java.security.SecureClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.defineClass(Unknown Source)
        at java.net.URLClassLoader.access$100(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Exception in thread "main"
\\\\litnas.admin.litdom.com\users\abhishek.madaan\NetBeansProjects
\androidapplication\nbproject\build-impl.xml:392: exec returned: 1
BUILD FAILED (total time: 1 second)



Hi can anyone tell me why i am getting this error. Thanks for the help

Abhishek Madaan

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

2. Query on Unit testing Android

I was trying to run MediaFramework test suite as a part of Android
unit testing.
   The test suite expects a big list of media files (mp3, mp4, wma,
ogg, wav, amr, 3gp) to be available in sdcard mounted on the emulator.
The list of files can be found in MediaNames.java file, since the
names are hardcoded with the file name and params like width,
duration, length, wait/pause time etc, it appears they should be
available somewhere. But i couldn't find them anywhere in the code
repository, so was wondering where to get these media files from.
Tests can be probably done with own media, but the files are too many
and it would be lengthier procedure to download them and update
MediaNames.java file accordingly with the params i mentioned above.
  Any clue where we can find them.


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

3. REG: Xml to Wbxml using EAS. Options

4. Re : Lookig for the Android market application

5. ListAdapter getView working in a weird way.

6. Re : Lookig for the Android market application

7. Lookig for the Android market application