Showing posts with label Apple. Show all posts
Showing posts with label Apple. Show all posts
Friday, 3 January 2014
Saturday, 14 December 2013
Types of Mobile Applications: Difference between Native, Hybrid and Web applications
There are many contradictory views on the various types of mobile applications that can be developed for mobile devices
Mainly most mobile applications can be-
1) Native Mobile Applications :
Completely coded using the sdk of the various platforms (like Android and iOS).
The language is used to implement both UI and functionality.
Native applications can use device functionality like camera,contacts et cetera.
2)Hybrid Mobile Applications:
Such applications use a skeleton native application and load web content in it
This web content may be static(where the served html,js,css etc are packaged with the application and reside on a users device) or dynamic (where the content is served from a server)
You can use the various HTML5 technologies and come up with an amazing user interface.
Hybrid applications can use device functionality like camera , contacts et cetera,thanks to the skeleton native application.
3)Mobile Web Application::
This is your traditional web application loaded on a device browser (Eg : WebKit,Chrome,Firfox on Android)
This may be (or may not be) different from the application that loads in your desktop browser.
For example-m.facebook.com is the mobile web application of facebook.com
Application developers can customize their websites to load content more efficiently ,given the limited resources of a mobile device.
Mobile web applications cannot use device functionality
Check out this really cool video by Intel differentiating between how content is served in a mobile web application and in a hybrid mobile application.
Mainly most mobile applications can be-
1) Native Mobile Applications :
Completely coded using the sdk of the various platforms (like Android and iOS).
The language is used to implement both UI and functionality.
Native applications can use device functionality like camera,contacts et cetera.
2)Hybrid Mobile Applications:
Such applications use a skeleton native application and load web content in it
This web content may be static(where the served html,js,css etc are packaged with the application and reside on a users device) or dynamic (where the content is served from a server)
You can use the various HTML5 technologies and come up with an amazing user interface.
Hybrid applications can use device functionality like camera , contacts et cetera,thanks to the skeleton native application.
3)Mobile Web Application::
This is your traditional web application loaded on a device browser (Eg : WebKit,Chrome,Firfox on Android)
This may be (or may not be) different from the application that loads in your desktop browser.
For example-m.facebook.com is the mobile web application of facebook.com
Application developers can customize their websites to load content more efficiently ,given the limited resources of a mobile device.
Mobile web applications cannot use device functionality
Check out this really cool video by Intel differentiating between how content is served in a mobile web application and in a hybrid mobile application.
Labels: Adobe, Android, Android SDK, Apple, application, HTML5, mobile app development, Phonegap, tips_tricks_traps
Thursday, 16 August 2012
ColdFusion IceBreaker #6: JBOSS 7.1 and OpenOffice on Mac OSX for ColdFusion cfdocument
In continuation of ColdFusion IceBreaker #5: JBOSS 7.1 and OpenOffice for ColdFusion cfdocument,
this post lists the detailed steps to follow for running OpenOffice code on JBOSS 7.1 on MAC OSX.
1)Install OpenOffice and add the installation path in the ColdFusion Admin
2)Edit the module.xml located in <JBOSS_HOME>/modules/sun/jdk/main and put the following entry there:
<path name="com/sun/star/lib/loader"/>
3)Copy oosdk folder from <jboss-deployment-dir>/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/ to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext. Though this is not recommended by MAC its the quickest way to ensure that the code runs well :P.
4)Edit standalone.conf located in <JBOSS_HOME>/bin
5)To JAVA_OPTS add the following entry:
-Djava.ext.dirs=<jboss-deployment-dir>/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/oosdk/:<java-home>/lib/ext/
Here we use /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext if our JAVA HOME is default instead of <java-home>/lib/ext/
6)Restart jboss and you're all set
this post lists the detailed steps to follow for running OpenOffice code on JBOSS 7.1 on MAC OSX.
1)Install OpenOffice and add the installation path in the ColdFusion Admin
2)Edit the module.xml located in <JBOSS_HOME>/modules/sun/jdk/main and put the following entry there:
<path name="com/sun/star/lib/loader"/>
3)Copy oosdk folder from <jboss-deployment-dir>/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/ to /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext. Though this is not recommended by MAC its the quickest way to ensure that the code runs well :P.
4)Edit standalone.conf located in <JBOSS_HOME>/bin
5)To JAVA_OPTS add the following entry:
-Djava.ext.dirs=<jboss-deployment-dir>/cfusion.ear/cfusion.war/WEB-INF/cfusion/lib/oosdk/:<java-home>/lib/ext/
Here we use /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/lib/ext if our JAVA HOME is default instead of <java-home>/lib/ext/
6)Restart jboss and you're all set
Labels: Adobe, Apple, CF, cfdocument, CFML, ColdFusion, JBOSS7.1, Lion, MAC, OpenOffice, OSX, Snow Leopard
OpenOffice+OSX Error: "The application...restore windows.." in OSX 10.7
While running OpenOffice on Mac OSX 10.7.1 ,sometimes we repeatedly get an error "The application 'OpenOffice.org' was forced to quit while trying to restore its windows.Do you want to restore its windows again"
This is a persistant popup which might lead you into thinking that something is catastrophically wrong with your OpenOffice installation.
There are several solutions on the web but the only way that worked for me is as follows:
1) Kill all instances of soffice/OpenOffice.org
2) Goto /Users/<you>/Library/Saved Application State
Library is a hidden folder ,so use Go->Go to folder from the Finder Menu
3)Look for the folder org.openoffice.script.savedState
4)Delete this folder!!!
5)Now try to use Openoffice again.
You can observe that the popup disappears.
Alternatives (in case the previous method did not help)
1) Kill all instances of soffice/OpenOffice.org
2) Goto /Users/<you>/Library/Application Support/OpenOffice.org/3
Library is a hidden folder ,so use Go->Go to folder from the Finder Menu
3)Look for a folder named user
4)Rename user folder to user.old (just so that you have backup)
5) Now try to use Openoffice again.
(If that still doesn't fix your problem , delete the new user folder and restore user.old to user and try again)
This is a persistant popup which might lead you into thinking that something is catastrophically wrong with your OpenOffice installation.
There are several solutions on the web but the only way that worked for me is as follows:
1) Kill all instances of soffice/OpenOffice.org
2) Goto /Users/<you>/Library/Saved Application State
Library is a hidden folder ,so use Go->Go to folder from the Finder Menu
3)Look for the folder org.openoffice.script.savedState
4)Delete this folder!!!
5)Now try to use Openoffice again.
You can observe that the popup disappears.
Alternatives (in case the previous method did not help)
1) Kill all instances of soffice/OpenOffice.org
2) Goto /Users/<you>/Library/Application Support/OpenOffice.org/3
Library is a hidden folder ,so use Go->Go to folder from the Finder Menu
3)Look for a folder named user
4)Rename user folder to user.old (just so that you have backup)
5) Now try to use Openoffice again.
(If that still doesn't fix your problem , delete the new user folder and restore user.old to user and try again)
Labels: Apple, CF, cfdocument, CFML, Lion, MAC, OpenOffice, OSX, Snow Leopard, tips_tricks_traps
Subscribe to:
Posts (Atom)