Closed GoogleCodeExporter closed 8 years ago
I found the issue. Because the Example Project is built into the Coverflow
project, it causes issues. Stripped it down, and all is fine now
Original comment by mimminit...@gmail.com
on 22 Aug 2011 at 9:27
I think I have the same problem...
[2011-09-10 08:09:26 - cn1]
/shared/eclipse_workspaces/android/coverflow/res/layout/main.xml:4: error: No
resource identifier found for attribute 'imageWidth' in package
'pl.polidea.coverflow'
What did you need to strip out to make it work?
Original comment by roy.smit...@gmail.com
on 10 Sep 2011 at 7:11
hi, can make it more clear how to solve this issue? I have the same problem...
thanks
Original comment by liyu0...@gmail.com
on 28 Sep 2011 at 3:43
Just replace
xmlns:coverflow="http://schemas.android.com/apk/res/pl.polidea.coverflow"
with xmlns:coverflow="http://schemas.android.com/apk/res/<your applicatio
package>"
your applicatio package is the package=".." attribute in AndroidManifest.xml
Original comment by eli.ko...@gmail.com
on 3 Oct 2011 at 9:06
I am still getting the problem after changing the application package name in
main.xml to the same name as in the manifest.xml
paul.bourget@isabellaproducts.com
Original comment by prbour...@gmail.com
on 17 Jan 2012 at 4:45
Sorry. I did not get the attrs.xml file.
Original comment by prbour...@gmail.com
on 17 Jan 2012 at 4:54
I assume it is resolved as invalid...
Original comment by ja...@potiuk.com
on 5 Feb 2012 at 3:01
Sorry, I'm trying to figure this out as well. My goal is to learn how to use
android-coverflow properly as a library, so I thought it would make sense to
make a separate project that used the supplied test code.
Here are the steps I took:
- Excluded CoverFlowTestingActivity.java from android-coverflow and built the
jar.
- Created a new project called CoverFlowTesting.
- Added android-coverflow as to the project as a library.
- replacing the class definition in the generated CoverFlowTestingActivity.java
file in my new project with the class definition from
CoverFlowTestingActivity.java in the android-coverflow project.
- replaced the contents of my main.xml with the contents of main.xml from the
android-coverflow project and fixed up the namespace declarations
At this point, my project compiles cleanly, but when I run it in, it crashes
with "java.lang.RuntimeException: Unable to start activity
ComponentInfo{com.superluminal.coverflowtesting/com.superluminal.coverflowtestin
g.CoverFlowTestingActivity}: java.lang.NullPointerException". The NPE occurs on
the line
mCoverFlow.setAdapter(coverImageAdapter);
in CoverFlowtestingActivity.setupCoverFlow().
I must be missing something, any clues?
Thanks in advance for your help.
Original comment by dave.sei...@gmail.com
on 5 Feb 2012 at 5:22
Sorry guys, still an Android newbie here. The answer was to change the
onCreate() code to use the R instance to get the resource IDs. The app is
working now.
Original comment by dave.sei...@gmail.com
on 5 Feb 2012 at 5:38
Have the same problem still facing as i add it as a library project the errors
generated.
E:\Android-workspace\android-coverflow\res\layout\main.xml:7: error: No
resource identifier found for attribute 'imageHeight' in package
'pl.polidea.coverflow'
any update.
Original comment by malikabi...@gmail.com
on 17 May 2012 at 10:24
HI,
I've managed to clone the code and Extract it from HG, but now when I wan't to
use it as library, have no chance to set it up.
I've deleted example part, and layout, and I'm trying to embed it to my
activity, but looks like I'm not getting anywhere.
Is there any tutorial or the proper way how to implement this code?
Original comment by info.ba...@gmail.com
on 8 Oct 2012 at 5:54
Look here: http://developer.android.com/tools/projects/projects-eclipse.html
Original comment by ja...@potiuk.com
on 20 Oct 2012 at 4:30
Add the attrs.xml file into your res/values folder.. worked fine for me ^^
Original comment by seifalla...@gmail.com
on 2 Jan 2013 at 8:16
For an API 17 app using android-coverflow as a library project, I resolved this
issue by adding the following line just after the xmlns:android attribute in
the top-level element of my layout:
xmlns:coverflow="http://schemas.android.com/apk/res-auto"
Original comment by acjen...@gmail.com
on 14 Feb 2013 at 5:18
Original issue reported on code.google.com by
mimminit...@gmail.com
on 22 Aug 2011 at 9:04