intel / appframeworkPlugins

Plugins for jqMobi
17 stars 23 forks source link

af-carousel not working on windows phone #13

Open nawazsk opened 10 years ago

nawazsk commented 10 years ago

Hii, I've downloaded the af-carousel plugin from this link

http://app-framework-software.intel.com/plugins.php

This works fine in iphone and android. but when it comes to windows phone.. it is not at all working.. no touch events working ... the divs content is completely misplaced. i've tried on windows 7.5, windows 8.

would you please help me out on this. I'm really impressed with the performance of this framework on iphone and android. but I just want to make it same on windows phone Please check the link below for image. wpe

imaffett commented 10 years ago

WP7 is not supported. I did just make a few fixes to the carousel for WP8 - there was some css missing.

To get support for WP8, you must include this plugin https://raw.github.com/01org/appframework/master/plugins/af.desktopBrowsers.js

This translates "MSPointer" events to Touch events.

nawazsk commented 10 years ago

Hi imaffett, I've included the above plugin in code. i still see the same result in windows phone 8 emulator as well as in windows phone 8. i'm using lumia 920. The above plugin enables the touch events for desktop browser but not windows phone. would you please help me with this ? do u have sample code which works in windows phone?

Thanks in advance :)

Regards, Nawaz.

imaffett commented 10 years ago

I ran it and it worked fine. I will try to get something up tomorrow.

beejjacobs commented 10 years ago

Hi, Using the example index.html file it doesn't work for me on WP - testing with the emulator Nokia Lumia 920, screen shot below. I'm using/including appframework.min.js, af.carousel.js, af.desktopBrowsers.js. It loads okay as you can see, but doesn't respond at all to touch (well, mouse). Also there are scroll bars, but that might just be a setting I need to tweak somewhere. capture

imaffett commented 10 years ago

@beejjacobs

This is a bare bones demo. If you dump it into App Framework UI, or use correct CSS, you will not see the scrollbars.

I have it working fine on my 620

beejjacobs commented 10 years ago

Thanks for a quick reply, I'll see if I can get it working.