Library problems

by { Devdroid } » Sat, 31 Jul 2010 21:29:55 GMT


Sponsored Links
 Hi,

I tried to build test library and test app howver Eclipse complains on
each reference I made to library classes.
This is what I did:

1. created Test Library Android project, marked it as "Library"
(package name "test.library.lib")
2. created Test App project (package "test.library.app") and set it to
use Test Library
3. Test Library got LibActivity class which simply referes to
lib_main.xml layout
4. I defined that activity in Test App manifest file:

        <activity android:name="test.library.lib.LibActivity"
                  android:label="@string/app_name"
                  android:theme="@android:style/Theme.Dialog"
                                  >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

The problem is that Eclipse now compains "Class
test.library.lib.LibActivity" does not exists".
I also got same problem when I i.e. create a class in Test App that
refers to classes
in library. Import test.library.lib.*; does not help. SDK version is
recent. Target sdk=3 (tried
setting to 8, but made no difference)

What am I doing wrong?

--



Other Threads

1. Using "+" from the soft Keyboard to increase the value in an EditTex

just analyze the value by yourself based on the string value. strongly
recommend the calculator's source code.

may it help!

2010/7/20 wedyan <wedi...@gmail.com>

> 

2. The Sources On Cloud

I wonders some of the app like "find food" How the developer gets the
restaurant list? Does it available on cloud(internet) and free.
Something like "Nimbus project" in Singapore.

I want to develop some similar app but don't know where can get the
source...
Thanks...

-- 

3. "Divide by zero" in IconMenuView.layoutItemsUsingGravity()

4. AudioHardware pcm playback is going to standby

5. I want to setting ---screen timeout---!!

6. Workaround

7. scroll not support with javascript in webview