User Login for Offline Web App

George John
Updated on 30-Jul-2019 22:30:22

486 Views

While logging in i.e. online, you need to first authenticate against the server and if it works, store the username and a hashed password in the database.If you can find the account in the database, then you need to generate a new hash, only if the user has changed the password since the last time he logged.You need to also authenticate against the local database. Log in using the online version of the app at least once.

HTML5 Geolocation Permission Denied Error in Mobile Safari

Jennifer Nicholas
Updated on 30-Jul-2019 22:30:22

500 Views

Whenever a mobile website is created and there is a requirement in which user is requested for current position on button click, then HTML5 geolocation is used.This is working fine in mobile chrome.However when in Mobile Safari, the user is prompted to share location and browser defaults to geolocation then browser is defaulted to Permission denied errorTo solve this, the Geolocation services in mobile services is turned on to get current location of requested user.

Fix getCurrentPosition Failing in PhoneGap on iOS

Lakshmi Srinivas
Updated on 30-Jul-2019 22:30:22

90 Views

PhoneGap has geolocation which works well for iOS, however, in IOS6, getCurrentPosition fires a failure callback. After failure, the getcurrentPosition calls success or failure callbacks. To let PhoneGap works on IOS6, we need to set PhoneGap.plist to No.If it is set to yes then ios6 have memory problems. However, Apache Cardova can be used for this purpose for iOS. There are many bugs in an older version of Cardova, so it should be updated to Cardovanew version.

Uniquely Identify Files Before Uploading with the HTML5 File API

Nitya Raut
Updated on 30-Jul-2019 22:30:22

211 Views

While making a fileuploader using HTML5 file API, we want to be sure that no duplicate files are uploaded based on actual data. Calculating a hash with MD5 is not an efficient method as all that happen on the client side and is time-consuming. There is actually no shortcut for this. If we need to identify duplicate files with no confusion then we have to first read the content of each file and then compare it.Another way is to find MD5 hash for given subset of file blocks using predefined invariant window.

HTML5 and JavaScript: Resolution or Size of Input Type File Capture Camera

karthikeya Boyini
Updated on 30-Jul-2019 22:30:22

723 Views

When the device is taking very large photos and we want to make such setting to take smaller photos from the mobile phone, then we can use two W3C ways of taking pictures.This can be done either through HTML or through JavaScript.HTML Media CaptureFor this, HTML uses capture and accept=”image/* ” on input tag .This will specify intend.However, through this way, we cannot specify the sizeMedia capture streamsIt allows fully programmatic access to the camera so that user can implement own capture dialogue for videos and still images.It also specifies constraints related to width, height, frame rate, facing rate, facing ... Read More

Set the Image Path with CSS

Ankitha Reddy
Updated on 30-Jul-2019 22:30:22

713 Views

The border-image-source property is used in CSS to set the image path. You can try to run the following code to set the image path − Example Live Demo #borderimg1 { border: 15px solid transparent; padding: 15px; border-image-source: url(https://tutorialspoint.com/css/images/border.png); border-image-repeat: round; } This is image border example.

Multilevel Object Impact in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:22

122 Views

With use of Where-Used option, you can only check first level of object. Multi-level Object impact or impact due to the change to a table is not directly visible.

Import Object from ECM Application in SAP Business Workplace

Sharon Christine
Updated on 30-Jul-2019 22:30:22

148 Views

Correct, importing to the business workplace and using object importer is same.

Commonly Used Pseudo-Classes in CSS

Chandu yadav
Updated on 30-Jul-2019 22:30:22

525 Views

Following are some of the commonly used pseudo-classesValueDescription:linkUse this class to add special style to an unvisited link.:visitedUse this class to add special style to a visited link.:hoverUse this class to add special style to an element when you mouse over it.:activeUse this class to add special style to an active element.:focusUse this class to add special style to an element while the element has focus.:first-childUse this class to add special style to an element that is the first child of some other element.:langUse this class to specify a language to use in a specified element. Read More

Repairing Repository Objects in SAP HANA

SAP ABAP Expert
Updated on 30-Jul-2019 22:30:22

353 Views

In SAP HANA Modeler perspective, you have Repair Dependencies option, which can be used to repair objects. Select packages that have the objects to be repaired. This repair operation will replace the existing objects and save the new object types within the same packages.

Advertisements