[TIMOB-781] Error in using CoverFlowView :-(
| GitHub Issue | n/a |
|---|---|
| Type | Bug |
| Priority | Medium |
| Status | Closed |
| Resolution | Invalid |
| Resolution Date | 2011-04-15T02:36:19.000+0000 |
| Affected Version/s | n/a |
| Fix Version/s | n/a |
| Components | iOS |
| Labels | coverflowview |
| Reporter | SheikhAman |
| Assignee | Reggie Seagraves |
| Created | 2011-04-15T02:36:18.000+0000 |
| Updated | 2017-03-09T21:22:08.000+0000 |
Description
Hi guys. i really liked the concept of coverFlowView. but sadly, i couldn't implement it. was trying a verrry simple example still it didn't work.
any basic way to get it working??
heres my code (sorry for making it real big)-
this is the file window.js which is being called when app.js
loads-
var images = [];
images[0]="a.png";
images[1]="b.png";
images[2]="c.png";
var view = Titanium.UI.createCoverFlowView({
images:images
});
Titanium.UI.currentWindow.add(view);
and this is my app.js-
var win1 = Titanium.UI.createWindow({
url:'script/window.js',
backgroundColor:'#fff'
}); win1.open();
at the emulator, i got :
process has stopped unexpectedly
and after checking the trace, i found this error message on
several places-
[TRACE] E/TiModule( 1356): Caused by: java.lang.NoClassDefFoundError: ti.modules.titanium.ui.CoverFlowViewProxy
[TRACE] E/TiModule( 1356): Caused by: java.lang.NoClassDefFoundError: ti.modules.titanium.ui.CoverFlowViewProxy
and ohh.. i forgot to add that I am working on Android. Is this feature limited for iPhone only?
Yes. This is an iPhone-only feature as coverflow is an iPhone idiom.
Closing ticket as invalid.