mobile,liferay,liferay-6 , Difference between Liferay Mobile SDK and Liferay Screens


Difference between Liferay Mobile SDK and Liferay Screens

Question:

Tag: mobile,liferay,liferay-6

Can someone tell me the difference between Liferay Mobile SDK and Liferay Screens?

Thanks a lot.


Answer:

From the respective homepages of the products, first hits on google on the product names (bold by me):

Liferay Mobile SDK is a framework for building native mobile apps that integrate with your different Liferay Portal instances and their portlets. The SDK provides the means for your mobile apps to easily consume Liferay Portal's core web services and the web services of your custom portlets. It wraps Liferay JSON web services, takes care of authentication, makes HTTP requests (synchronously or asynchronously), parses JSON results and handles server side exceptions.

Liferay Screens is a collection of fully native mobile components, ...

Thus, with the Mobile SDK you have components to call services on Liferay Portal (and your plugins). Liferay Screens provides you with building blocks that allow you to build the full frontend of your application built with a Liferay backend.

With Mobile SDK you'll have to build the UI yourself, but it's easy to embed Liferay's data.

More details than these on the linked homepages


Related:


How to pass data from page to Portlet class through AJAX call?


ajax,jsp,liferay,portlet
I'm trying to pass a value in an AJAX 'GET' request to my Portlet class, but I can't quite figure out a way to access such variable's value in the class. My AJAX code is: function loadXMLDoc() { var nocache = new Date().getTime(); var xmlhttp=new XMLHttpRequest(); var url = "${mURL}";...

In liferay market place, I am unable to submit the project


liferay,liferay-6
In Liferay market place i am stuck at the place "Upload Liferay Plugin Packages " When ever i am trying to upload a war file Please help me to short it out :)...

How to Remove class or activate class for specific view port only


css,mobile,media-queries,viewport,tablet
Not sure if this would require Javascript, or if there is a way to do this with CSS alone. Basically I want to have a class active only for medium and small size browswers. Example: <style> .big {font-size: 2em;} .normal {font-size: 1em;} </style> <div class="big"> <p> This text is huge...

Mobile parallax with fixed background


javascript,html,css,mobile,parallax
I would like to know how to achieve the parallax effect in mobile devices with a fixed background. Is there any plugin available to achieve the same? I could see that background-attachment fixed not working on mobile. For eg: I need to achieve the same effect like the one in...

How to create service builder for liferay plugin project with maven


liferay,liferay-ide,liferay-service-builder
I have Already create Liferay Plugin project. and maven install also over. it gives ------------------------------------------------------------------------ [INFO] BUILD SUCCESS [INFO] --------------------------------------------------------------------- [INFO] Total time: 1:29.773s [INFO] Finished at: Wed Jun 17 15:46:10 IST 2015 [INFO] Final Memory: 34M/151M [INFO] -----------------------------. But unable to add service builder. When i try to add...

Lifefay freemarker ADT: methods unavailable?


java,liferay,liferay-6,freemarker
I'm trying to work on some ADT for asset publisher (Documents and Media type), but I often have a message telling me that : Expression assetRenderer.getDataRepositoryId is undefined or Expression assetRenderer.getFileEntryId is undefined I found some threads where people said that we must add velocity.engine.restricted.classes= velocity.engine.restricted.variables= freemarker.engine.restricted.classes= freemarker.engine.restricted.variables= in portal-ext.properties...

no more allow open Drawer layout from right side in navigation drawer


android,mobile,navigation-drawer,slidingmenu
I want to open drawer from right side, but when swite it works but when i click on toggle button in action bar it force close and give error that "No drawer view found with gravity LEFT" please help... I add layout like <ListView android:layout_gravity="right|end" android:id="@+id/left_drawer" android:layout_width="match_parent" android:layout_height="match_parent" android:layout_alignParentTop="true" android:divider="#ccc"...

how to bypass the necessity of having to have email address firstname and lastname in liferay to import authenticating users


ldap,liferay
My application uses liferay to connect to LDAP server and import authenticating users. But many of the user records in the ldap schema doesn't have email id. This seems to be preventing me from importing these users as liferay requires email id, among other things, inorder to successfully import new...

How to pass HTTP request to Web-Service


ajax,web-services,liferay,liferay-6,portlet
From my portlet JSP, I am trying to make a Ajax call to web-service. My aim is to pass HTTP request object as a parameter to web-service method. Please suggest.

uncaught typeError: cannot read property 'querySelectorAll' of null


javascript,jquery,mobile,navigation,internet-explorer-11
I am trying to use this menu for mobile on a site. http://tympanus.net/codrops/2013/08/13/multi-level-push-menu/comment-page-8/#comment-466199 I have it working but one ie11 user is reporting an error and i am seeing the following error in console Uncaught TypeError: Cannot read property 'querySelectorAll' of nullmlPushMenu._init @ mlpushmenu.js:89mlPushMenu @ mlpushmenu.js:67(anonymous function) @ (index):1062 Here...

Get list of users in liferay


liferay
I want to display users list on liferay. and I am having problem with it. Here is my action class. public void userList(ActionRequest actionRequest, ActionResponse actionResponse) throws SystemException { // Todo Logic for user code try { int countUser = UserLocalServiceUtil.getUsersCount(); log.info("User Present In DB" + countUser); List < User...

Background image issues


jquery,css,html5,image,mobile
I'm getting this issue. Also the background is going on all of my pages and I just want it at home. On the other pages however, it is showing as a banner under the header. I can't get the image to work on jsfiddle but here is the link Also,...

How manage styles in Vaadin portlet in Liferay


css3,liferay,vaadin,portlet
I have a Portlet, where is used Valo theme. Most graphical components are displayed properly, but TextField not. It should have rounded border radius and height should be about 35px. It has normally about 15px and the field is angular. When I narrow width of browser window to about 200px...

Include ftl file in ext plugin


maven,liferay,liferay-6
I have ext-plugin and I would like to override this file: portal-impl\src\com\liferay\portlet\dynamicdatamapping\dependencies\ddm\documentlibrary.ftl. After maven build, this file isn't include in my porta-impl-ext.jar. In my portal-impl-ext's pom.xml I have this code: <build> <plugins> <plugin> <groupId>com.liferay.maven.plugins</groupId> <artifactId>liferay-maven-plugin</artifactId> <version>${liferay.maven.plugin.version}</version> <configuration>...

Javascript Battery API returning Infinite discharging time


javascript,android,mobile,battery
It is the wish of every smartphone user if it could come true but unfortunatly this doesn't represent reality. Meanwhile... I'm getting that the battery.dischargingTime of my android phone is Inifinite...! (and I wish it was, but it isn't) This is my code: if(navigator.getBattery){ var battery = navigator.getBattery().then(function(battery){ var level...

Navigation icon not showing up on mobile version?


html,css,mobile,navigation
So i've modified the css elements to add the background image but so far nothing succeeded in displaying the navigation icon on mobile devices. Please assist me in debuging the code in responsive design view at Link and tell me what worked. thanks for your time.regular css down below #menu-icon...

Scaling Website to Fit Mobile Screens


html,css,twitter-bootstrap,mobile
So I'm working on a small website, http://www.liftlists.com, as a summer project just to get better at web design and programming. Everything is going great so far design wise, but I'm having a ton of trouble getting it to fit on mobile - it displays the full site every time....

Cons of a liferay cms while website development using Community Edition


content-management-system,liferay
I am new to LIFERAY CMS. i need cons of a liferay cms i.e., difficulties faced while developing and using liferay cms. can you please list cons of liferay cms.

Efficiently sorting large arrays of people by their proximity to the user


javascript,arrays,sorting,mobile,latitude-longitude
So I'm trying to create a list of the 15 closest people in an array of varying sizes. The array will almost always be ~100 objects in size, but for the sake of testing, I'm trying to make it work with 10,000 (there may be need for the project to...

Stop Prevent Default in else clause


if-statement,mobile,menu
Hello I have a mobile nav where some items have a subnav so I have set a preventDefault to stop these doing there normal actions and open the sub menu but some don't have a submenu ad now these don't work as normal. Any help would be great here is...

Single page app viewport mobile using Foundation


javascript,css,mobile,responsive-design,zurb-foundation
I am using Foundation for a responsive website and have a problem with SOME mobile devices not properly scaling the viewport ONLY when you load another page via our ng-include. This loads new content into the page and the width of the page then breaks and requires horizontal scrolling. This...

How to use media query with div as screen for mobile preview in desktop website?


html,mobile,media-queries,screen-size
I need to show a preview of the code responsive in a div that has the size of a mobile phone, how can I use media queries? or i can do it with jquery? Thanks a lot !

Javascript, Array of Objects?


javascript,oop,jquery-mobile,mobile
I am a bit of a JS noob, but have good .net experience in my pocket. I am working on a mobile website/app, and I have collected some data similar to business listings from a custom web service. On .net, I would have, at this time, started building a custom...

Avoid long-tap behaviour on mobile devices while pressing a button


javascript,android,jquery,ios,mobile
In my HTML there is a button that can be short- and long-clicked. If you click on it shortly (like on every other button) it executes a given callback function. When you keep pressing the button the callback will be repeatedly executed until a mouseup or mouseout event is detected....

CKEditor 4.4.7 does not show up on any mobile browsers


android,iphone,mobile,ckeditor,ckeditor4.x
I am creating an internal CMS for work, and it is important that all pages be mobile-friendly. When you view a page with CKEditor 4.4.7 installed from a phone, the editor shows up as a normal textarea and none of the HTML or text within it is properly formatted. I...

How to update value in Autoform Placeholder


javascript,mobile,meteor,meteor-autoform
I have a form where I want to update user information. I want to provide the update form with current user data located in placeholder. This data will be provided using a routecontroller. However it does not work. I was wondering if there is any solution to this. {{> afFieldInput...

Rendering Error with Devise and Mobylette


ruby-on-rails,mobile,devise,config,renderer
I am using Mobylette with Devise on my Rails 4 app. When I try to sign up, sign in, or reset my password on my mobile device I get this error: ActionController::MissingRenderer (No renderer defined for format: mobile) Has anyone else had this issue? I've tried setting up a fallback...

menu for mobiles no longer working


jquery,css,html5,mobile
When I view this page for mobiles, the navigation menu no longer works.I don't know why because it was working before I put the image slider in . here is the html markup: <!DOCTYPE html> <html lang="en"> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> <script src="assets/jquery.flexslider.js"></script> <script type="text/javascript" charset="utf-8"> $(window).load(function() { $('.flexslider').flexslider(); }); </script>...

Fix horizontal scrolling


html,css,mobile
Trying to fix horizontal scrollbar on the page I'm building http://www.fotoimpuls.eu/, and can't figure out what might cause this issue... The issue appears only on max-width : 767px, where the width of the contentWrapper is off for some reason, causing horizontal scrollbar to appear....

How can I change the zIndex attribute of aui-datepicker in Liferay Portlet 6.2


datepicker,liferay,z-index,liferay-aui,alloy-ui
I have discoveder one problem with date field in portlet in LF 6.2. The problem is that after clicking on the input field, the datepicker is displaying, but with zIndex=0, that means it is under the portlet. If I change on firebug that parameter to 1, everything is OK. I...

Controlling a player using touch input on the mobile device


android,ios,mobile,unity3d,touch
I am new to Unity, and was following the tutorials of roll a ball. I was to create it for both mobile and desktop and it is working but the only problem I have is that I am unable to create touch keys arrows(left,right,up,down) to control the player on the...

How do you force a website to be in landscape mode when viewed on a mobile device?


css,asp.net-mvc,mobile,responsive-design,media-queries
I've seen a lot of questions about this, but no definitive answer on how to do this in a Razor/MVC site where the mobile site is determined using the DefaultDisplayMode class. Also, a lot of the answers are just code snippets without details on where the code goes (is it...

Variable price for mobile app for various countries [closed]


android,ios,mobile,mobile-application
Can I provide a different price (not just a converted currency) for my app for different countries stores? p.s.1 I want to do this for apple's app store and google's play store. p.s.2 I don't want to upload a separate app for each country's store. I want it to be...

How to upload file in relative directory


java,liferay
I have made a application where we can upload any file which will save in our local given directory. I want to modify it, i want to add a drop down (with multiple option i.e floor, store, section) for department. i.e if we want to upload a file in 'Store'...

Form submit portlet with Spring MVC


java,jsp,spring-mvc,liferay,portlet
I'm trying to achieve a Liferay portlet of submit form using spring MVC. The model: package com.model; public class Person { String firstName; String middleName; public String getFirstName() { return this.firstName; } public String getMiddleName() { return this.middleName; } public void setFirstName(String firstName) { this.firstName=firstName; } public void setMiddleName(String middleName)...

My background isn't appearing on some mobile browsers


html,css,mobile
I know there are a few other similar posts to my question so apologies for that. I've tried out all the solutions that were offered in those posts before posting. I have a table on my page that has a background image using css. html { width:100% height: 100%; margin:...

How do I vertically fix an element in a mobile browser but still allow for horizontal scroll?


javascript,mobile
On a Desktop browser, I can use the following javascript to vertically fix an element, but still allow for horizontal scroll. As you see, it re-positions the element on every scroll event. To see what I mean, try horizontally and vertically scrolling in this JSFiddle. var verticallyFixedBox = document.getElementById('verticallyFixedBox'); window.addEventListener('scroll',...

ASP.NET Web Forms Switch from Site.Mobile.Master


asp.net,mobile
I have an ASP.NET 4.5 Web Forms Application utilizing Bootstrap. http://goo.gl/GZZp9r I had a problem whereby Site.Mobile.Master was being utilized whenever the website was being rendered in Extra Small ViewPort. Since using Bootstrap I did not need this Site.Mobile.Master. I had implemented a solution that would cause Site.Mobile.Master to not...

I'm using htaccess to redirect mobile users from desktop to website but i keep getting the $_GET variables inside


.htaccess,redirect,mobile
This question may look like its been asked already and i have seen them all, i've been looking and attempting a lot of answers AND answers that weren't approved. I have successfully made it so that if the user goes to desktop version it will go to the mobile site...

Increase fonts for mobile devices with Zurb Foundation


css,mobile,fonts,responsive-design,zurb-foundation-5
I've created a clean new web project with Zurb Foundation 5. On desktop and laptop it looks great. I use rem units for font sizes. On small devices the layout is responsive but the font is much smaller - I guess because of higher pixel density. The solutions (this for...

Jquery Mobile: Horizontal Buttons, fill container


javascript,jquery,jquery-ui,jquery-mobile,mobile
Working on a mobile app, I am trying to create two buttons, that should grow and fill their container. So in portrait view, the two buttons should use up the entire width of their parent, and in landscape view, they should also grow to fill up their entire parent. I...

bootstrap responsive navigation. Toggle button position


mobile,responsive-design,navigation,bootstrap
I'm working on a responsive template and I can not sort this out!!! So.... My header and navigation HAS TO LOOk like this in mobile screen: But I'm struggling because the natural behave of the navigation, as you see in desktop size: The navigation is the grey bar, so when...

CSS / Bootstrap - font-size not properly resizing from computer to mobile device: Font on Mobile device looks so small


css,twitter-bootstrap,mobile,responsive-design
This is my CSS: @media(max-width:767px){body { font-size: 22px; }} @media(min-width:768px){body { font-size: 20px; }} @media(min-width:992px){body { font-size: 16px; }} When I resize my browser window on my laptop, it properly resizes. But this is my issue: When I visit my website from my mobile device, the font-size is way too...

AJAX Call not working in liferay 6.2.2?


ajax,liferay,hook,liferay-6
I am trying to perform a AJAX Call. But what i get is ResourceURL as undefined when i see the error in chrome. Below is my code. Declaration: <liferay-portlet:resourceURL copyCurrentRenderParameters="<%= false %>" var="mainURL" /> Implementation: xhr2.open("POST", resourceURL , false); But at implmentation i get resourceURL as undefined. In 6.1 it...

How to make :hover more mobile friendly and accessible? [closed]


css,user-interface,mobile,sass,user-experience
I'm using SCSS to make a dropdown menu. Here is an excerpt of how it works: li { font: bold 12px/18px sans-serif; display: inline-block; margin-right: -4px; position: relative; padding: 15px 20px; background: $menuBG; color: $menuColor; cursor: pointer; transition: all 0.2s; &:hover { background: $hoverBG; color: $hoverColor; } Now what I'd...

Loopback passport mobile login


facebook,mobile,passport.js,loopbackjs
I'm developing an API with loopback and passport. I've seen this example, which is quite good: https://github.com/strongloop/loopback-example-passport In the documentation, they say loopback follows this step to authenticate users via third party providers: A visitor requests to log in using Facebook by clicking on a link or button backed by...

ng-view will not auto hide address/navigation bar on mobile devices


javascript,android,ios,angularjs,mobile
I am building a mobile website using Mobile Angular UI. After almost completion I tried to finally test it on my mobile devices. I realized that: when I scroll down the page, the navigation bar of the browser(i.e. Safari on iPhone, Chrome on Android devices) does not auto hide like...

Incorrect liferay-plugins dependency


gradle,dependencies,liferay,liferay-6.2
In https://github.com/liferay/liferay-plugins/blob/6.2.x/build-plugins.gradle#L9 following dependency is defined: dependencies { classpath group: "com.liferay.portal", name: "portal-service", version: "7.0.0-SNAPSHOT" } How can a 6.2.x version have a dependency on 7.0.0 version? Is it a bug? When I peek to the history of the file, the dependency has always been there. I am not able...

Display Mobile Compatible when it's on mobile


css,jquery-mobile,mobile
Please allow me to ask a silly question about Google's site(google.com). I have tested their site with computer browsers and smartphone browsers. Okay! Here is the question that i have, when the time i make the computer browser to a small screen, the layout of Google's site does not fit...

Mobile Apps using MVC ? Can we develope?


asp.net-mvc-4,mobile
Using Asp.net MVC 4, can we develop android mobile app and window mobile app also. visual studio 2012 is enough or i have to add some other tools, while i am searching in google i found xamarin like that any other tools or we can directly develop the mobile app...