JQM crashes Blackberry simulator - blackberry

Prior to deploying JQuery Mobile js script to Blackberry application, simulator(Blackberry Bold 9700) crashes throwing an error "Class 'net.rim.device.api.crypto.MD5Digest' not found". I also renamed all dashes to dots, so this may not be the case of error, without a script application starts and works fine, but without JQM obviously, I also tried cleaning simulator. Does anyone comes with a solution?

If you are using jQuery Mobile pre 1.1 then make sure you are using jQuery Core 1.6.4.
I got white-screens when I used jQuery Core 1.7 with jQuery Mobile 1.0 Final, no problems on iOS or Android devices, just with BlackBerry.
If you are using jQuery Mobile 1.1.0 RC-1 then you should be able to use jQuery Core 1.7.1 but I have not tested this.

doing a quick search I found this BlackBerry Support Forum thread:
Application Entry Point Runtime Exceptions
the solution post is:
Lesson learned: if it doesn't work and you have no idea why, wipe/clean the device/simulator and/or make a new project and re-add all your source/resource files.

Related

Infragistics WebDatePicker: calendar dropdown broken in iOS

We're making a big web form for customers, and it's got half a dozen date fields, for which we are using the Infragistics WebDatePicker control (in asp.net 4.6). They work fine (though applying validators to them was a lot of work) except when we try them on an iPad. In Safari for iOS, tapping on the button to drop down the calendar causes it to flash momentarily and then disappear. No such problem on an android device, so far as we've seen. The problem isn't just on our new page, but on all our old ones that also use the control.
Edit: the problem happens in Safari but not in Chrome.
Has anybody encountered this? Has any work been put into resolving this issue? Or are we the only ones seeing it?
Googling seems to come up empty, and Infragistics' support request page appears to currently be inaccessible.
I'm hoping this doesn't come down to finding a way to instrument 50 javascript events on an ipad.
To update, here is the exact case where we're seeing the problem:
device: iPad Air 2 64gb (model MH2M2LL/A)
system: iOS 8.4.1
browser: Mobile Safari 600.1.4
infragistics version: 15.2 for asp.net 4.5
example site: http://www.infragistics.com/products/aspnet/editors/date-picker
...yup, it's failing in Infragistics' own demo page. (Use the second "view sample" link.)
It doesn't fail every time: sometimes the first click after page load succeeds, but the ones after it all fail.
Second update: Infragistics has entered this in their bug tracker as #216122.
I have tested this with the latest SR for 15.1 and could not reproduce the described issue. In order to receive better support, I suggest you to open a ticket for this issue trough the Infragistics site. What is more, it will be best if you add all the related environment details (like Infragistics product version you are using), and attach a simple code sample in order for the Infragistics Dev Support to reproduce the described behavior.

Jquery Sortable touch funcitonality ie 11 windows 8.1

I'm having a lot of trouble getting the JQuery Sortable functionality working on my Windows 8.1 device which is running ie11.
I had this working on an iPad through the TouchPunch library, but I've had no luck with the new Dell Tablet I'm working with.
I've ran the webapp through Chrome on the tablet, and the sortable functionality works very smoothly. Does anyone have any ideas how I can get it up and running on Internet Explorer 11?
I have tried pulling down various versions of Touch Punch on GitHub, some which attempt to deal with ie10, but I've found nothing that really works with ie11, so I would be glad for some pointers. If I run the [Jquery Sortable Demo][2] on the device, I am able to drag just about by holding to the left of the table row and pulling down at the right point, but this is in no way usable.
Ideally, jQuery mobile would include the sortable functions, but it does not.
***Just to be clear, if I go to the sortable example below on my tablet:
Jquery Sortable
then I can't really get the sort funcitonality to work.
To the above source code, I have added touchpunch library, and also added
-ms-touch-action: none;
to my #sortable class.
According to some online, this should fix the issue on ie10 and ie11, but I'm not seeing it make the remotest bit of difference.
Thanks!
Okay, there was a simple answer to this in the end, although it took me a long time to find it. I started by trying to intercept touch events and failing, which eventually led me to realise that I had added the site to Compatibility View (Settings -> Compatibility View Settings), where I also had checked "Display intranet sites in Compatibility View" and "Use Microsoft Compatibility lists").
I think this reverts to the site displaying in ie7 mode. Due to this, I think there are issues with the MS-touch commands being recognised, and so -ms-touch-action: none was having no effect.
To be clear, then, referencing touchpunch, whilst also using -ms-touch-action: none, should get the jQuery sortable functionality working in ie11 - just be sure to check your compatibility settings!

Use nativeDroid theme in Appery

I'm trying to use nativeDroid as theme for an app built with Appery, but it doesn't work and I have no idea why. Can anybody explain the correct procedure?
It may be a problem with jquery-mobile version. Be surre you run version lower to 1.4. Otherwise it will show everything messed up
If you are using jQuery mobile version 1.4 try this native droid version nativeDroid v0.2.4
#Note : It is an experimental version

What is Fast&Easy way to migrate Flex 3.5/4 Web App to Flash Builder 4.6 for Mobile iOS?

I currently have a fully working web app built in Flex 3.5/4 using java back end with Spring Framework using TomCat.
I need to migrate or convert this project into Flash Builder 4.6 to create a mobile iOS application and use the same SpringFramework with TomCat. How can i do this?
Do i just copy code over and adjust?
Do I export from flex 3.5/4 and import into flash builder 4.6 and adjust for mobile?
Is there a certain export feature that exports to mobile?
Do I have to change the code to mobile components by hand? Is there anything automated?
I have spent about 3 days trying to search and figure out specific detailed information on what to do, but oddly enough, I have not found anything that is helpful. I say it is ODD because Adobe claims that with Flash Builder 4.6 and 4.7, migrating to different platforms, will remove about 70% of the work with the latest Flash Builder. However, I have found no tutorials or steps on exactly what to do. I don't even know if the spring framework would work with TomCat for an iOS app.
Here's what I have found out through my research:
1. Migrating to mobile, I will have to change various code to use the mobile optimized components for performance.
What do I need to do?
EDIT: I even tried adding mx.swc to my library path just for testing purposes to make things easier for the migration/conversion and it still doesn't fix my error in Flash Builder 4.6 mobile project with mx:Application:
http://i.stack.imgur.com/dFdIk.jpg
Lots of things to cover; and I'm not sure where to start. First, I want to clarify that the browser based app you developed for a 72-ish dpi 15+ inch computer screen may not easily migrate to 3.5/4 inch iPhone or 9.7 inch iPad screen. Keeping that in mind
Do i just copy code over and adjust?
I would start there, yes. Even better if you move the 'shared' code into a library project so you can use it for your web app and your mobile project. Flex 3.5 does not formally have mobile support; so I would not expect great performance on a mobile device. You'll also have to add some "non-mobile optimized" libraries to the library path manually in a Flash Builder Mobile project. The MX.swc is probably the big one, as you already mentioned.
Do I export from flex 3.5/4 and import into flash builder 4.6 and adjust for mobile?
In Flash Builder 4.6 mobile projects are different than web projects. Most likely you'll want to move as much shared code as possible into a library project and then create a web project--for maintenance of your current application--and a mobile project for deployment to iOS and other mobile devices.
Is there a certain export feature that exports to mobile?
If you have created a Flash Builder Mobile project; then yes you can export to iOS, Android, or Blackberry.
Do I have to change the code to mobile components by hand? Is there anything automated?
Yes, you'll have to change code to mobile components by hand. That is if you are replacing a non-mobile optimized component with a mobile optimized one. However, if you are using a Spark Component [introduced in Flex 4], such as a List, then you can use the spark list with the default theme in the web project and a spark list with the mobile theme in your mobile project without any changes.
...Adobe claims that with Flash Builder 4.6 and 4.7, migrating to
different platforms, will remove about 70% of the work with the latest
Flash Builder.
I am not aware of such claims. But, I do believe that you can reuse a lot of code between mobile projects and non-mobile projects. It took me 3-4 months to build a mobile game using AIR/Flex. It took me less than a day to port the code to work in a web browser.
I don't even know if the spring framework would work with TomCat for
an iOS app.
If you want you're iOS app to make calls to a server, then yes it will work without issues.
If you want to deploy Tomcat and Spring onto an iOS device I would not expect that to work.
This question is a bit non-specific; but I tried to help. If that doesn't point you in a direction, then I may ask what have you tried and what problems have you run into?

PhoneGap (Cordova), with Sencha Touch 2 or jQuery Mobile?

In the past i've used PhoneGap (1.x) with Sencha Touch 1.x, because that was back then the best combination. Although i'm a much bigger fan of jQuery than any ExtJS library. But jQuery Mobile was really buggy back then. Page transitions caused white flashes on Android devices. Responsiveness wasn't as good as it was with Sencha Touch 1 (ST1). Eventhough ST1 also had its quirks, it was definitely the best choice.
But currently PhoneGap is at version 2 and Sencha Touch aswell. But like i said, i like jQuery more. So i'm actually wondering if jQuery Mobile is any good these days. Does it still show alot of flickering when sliding from one page to another? Or any other buggy things?
Or should i still go for Sencha Touch (version 2 in this case)?
I hope i can cut some time in testing out both of these products by the answers in this post. That's the reason i'm asking.
This really depends on what platform you are going to create the application.
If suppose you want to build an iOS app then you should go for Phonegap + sencha because sencha makes it looks like a real native app. It will work very good for iPhone. But if you want to port the same app in Android. Then its a mistake. It is very slow in android due to low hardware specs. Although it is some what better in HTC one x and S3 because of there good specs.
I would recommend for Jquery Mobile because it is improved in these years. Although its look and feel is not that much good as Sencha but it works very well in almost all the platforms i Tested(Android 2.x and later, Iphone, BB 5.x and later).
One advantage that JQM has over Sencha is that
Jquery mobile scripts can be customized and then imported in your application. It can be minified as per your needs. For furthur info look here http://jquerymobile.com/download-builder/
So JQM will be more lightweight than sencha.
This is all my personal experiences which i have. Hope it helps you
That flickering issue has been resolved in the latest version of Jquery Mobile.
http://jquerymobile.com/blog/
https://github.com/jquery/jquery-mobile/issues/4024 resolved.
#Coder_sLaY: Sencha has SDKTools and a Visual IDE that can not only create an app build, and after that they can create native android/ios builds. Sencha can be as lean as jQuery mobile.
So Sencha mobile scripts can be customised, external scripts included, and then the code is minified ready for production, removing all unused classes from Sencha touch.
If you're going to look at the Sencha route, then go to the API docs and check out the guides and videos, as there is a lot that's changed to make coding easier including the new data package which is simply amazing!
There are some discussions about this subject on Quora too.
You might want to check out this thread We're deciding between jQuery Mobile, Sencha Touch & Dojo Mobile. What are the pros and cons for each?.

Resources