builde sample code have a error

by yui » Fri, 22 May 2009 01:56:54 GMT

Sponsored Links
 Dear all
If i clean the project and select build progect, will have some worng.
and can't generate .APK file
message as follows

[2009-05-21 11:39:31 - HelloListView] no classfiles specified
[2009-05-21 11:39:31 - HelloListView] Conversion to Dalvik format
failed with error 1


Other Threads

1. Crypto accelerators. Was: Lack of response from the android tea

Crypto accelerators have been around for some time and were in several
generation of phones.
To me the uses are clear and OEMs are using and demanding more
throughput. Briefly benefits are CPU offload, lower power, higher
If you imagine higher-bandwidth demanding protected content being
played on mobile platforms crypto accelerator usage need is clear
(think drm, ipsec etc).
Now for an open platform, where different SoC s maybe the underlying
engine, I think the challange is to make this usage seemless to the
application developers.
Different OS crypto frameworks aim to do this but so far it is not
clear to me how this can be done without asking the app developer
specify the providers.
Hoping to see an innovative framework from android but so far security
and crypto has not been properly addressed in my opinion

On Jun 3, 2:45am, Chris Rutherford <>

> >>>> Could not get any response to the questions that I posed

2. Spinner position incorrect after Activity resumes

I'm quoting an old message from last year because it's EXACTLY the
problem I'm having:

Since the last guy got no response, I'll give as much detail as I
can... this is driving me nuts.

I built a class to help me build a Spinner in a consistent manner to
display a list of categories. After the objects are initialized, my
Activity calls a method initCatSpinner which builds the ArrayAdapter
and finishes initializing my Spinner.

Called from onCreate and onActivityResult:
mCategorySpinner = mCatSpinHelper.initCatSpinner(mCategoryId,

public Spinner initCatSpinner(long initial_category, Cursor
all_categories) {
        LinkedList<CategorySpinnerItem> categories = new

        // Code to build this linked list from all_Categories is here,
removed for brevity
        // Code adds an "All" item to the top, builds a list of categories
using catcursor, then adds a "Edit Categories" option to the end of
the list

        if(initial_category == ID_ALL) {

        // Build the spinner adapter and set up the Spinner
        ArrayAdapter<CategorySpinnerItem> spinadapter = new


        return mCatSpinner;

This works fine on two different activities when they are launched.
One activity launches to show a list of all items in the category
chosen by this spinner. From there I can launch another activity in a
dialog to change the category of a selected item, and when I do this
and return to the original activity I get the above symptoms. I still
see a list of the items in the proper category, if I open the spinner
the category that was originally selected is still selected, but the
spinner item that's displayed on the widget itself is always the first
one in the list! It also happens if I switch to another Activity then
come back to this one.

I've checked with Log output and mLastCategoryPosition IS being set
correctly, so the setSelection call is passing the right data. I even
tried calling SystemClock.sleep for a few hundred milliseconds
thinking it might be a race condition, with no change. What's going on
here? I'm using the 1.5r2 SDK.

3. Crash on Samsung HERO????

4. launching other apps

5. Map Not Working On Device Working on Emulator

6. ADC 2 Partners

7. Android Dev1 Phone network access via USB connection