Showing posts from September, 2013

Comparing Xamarin and Delphi XE5 to Xcode for Cross Platform Mobile App Development

If you are considering developing cross-platform mobile apps, two of the platforms you may encounter are Xamarin and Delphi XE5.

I created the starter application for a Master Detail app for iPad using Xamarin and Delphi XE5. My findings are outlined below.

Generates what looks like exactly the same project as XCode.The app contains Add, Edit and Delete buttons that are hooked up and working. (Just like the Xcode project.)When you rotate the screen to portrait mode, the menu hides and can be shown again by tapping the menu button at the top left. (Just like the Xcode project.)After scrolling and stopping, I tap a menu item and it immediately opens that item on the right. (Just like the Xcode project.) This is the behavior I expected. This is how the email app that comes with iOS works.If I scroll and stop, then lift my finger, the scrollbar goes away almost immediately so I can tap another item. (Just like the Xcode project.) That is expected behavior.If the app is in landscape…

Delphi XE5 for Native Cross Platform Mobile Development

Today I used the demo version of Delphi XE5 to get a cross platform test app working on a Galaxy Note 2, an iPhone 5, and an iPad 4 all using the same source code from the same project. I was even able to perform animation to the dimensions of an image component and have it work across all three devices.

If you are looking for an alternative to PhoneGap, Titanium, or Xamarin (MonoTouch) then I recommend giving Delphi XE5 a try.

A few things I like about it so far are:
The resulting app is native, unlike PhoneGap apps that run in a web view.The button click did not have a delay like HTML apps can have that you might use with PhoneGap.I was able to re-use 100% of the project for both platforms -- yes even the UI unlike the drawback that Xamarin has.The animation was very smooth on the iPhone 5 and iPad 4. It was also smooth on the Galaxy Note 2, but not quite smooth as on the Apple devices. I am a little concerned on how the animation would appear on an older Android device. However any an…

Quick Tap and Scrolling Issues in Mobile Web App Development

Today I started developing a jQuery plugin which is designed to eliminate the delay that the browser experiences on click events within mobile web apps.

I wanted it to do the following:
Trigger the onclick event sooner to feel more native.Highlight the button when the user started the touch.Unhighlight the button if the user started to scroll or when the user ended the tap event. I did get it to trigger the onclick event sooner, but I ran into some problems with the highlighting: On the iPhone 5 and iPod Touch 4, when scrolling (using -webkit-overflow-scrolling:touch), and then tapping while the scroll is still going, the wrong button would get highlighted. (Removing -webkit-overflow-scrolling:touch resolved the issue, but then my list didn't scroll like a native app.)On the iPod Touch 4 sometimes when just tapping it would only highlight part of the button (either the top or bottom depending on where on the button I tapped.) (Removing -webkit-overflow-scrolling:touch resolved the i…