HTML5

header shifts left

Hi,

I've got a strange behaviour here.

Working with framework 2.2, to support older devices.

I'm moving through pages, with selfdefined back and next buttons. The buttons are in the header, works fine.
Sometimes the user may need some extra information, clicks a button and help slides into view with its own header.
Works most of the time. Sometimes, however, the same page that looked perfect before, suddenly has it's header shifted to the left, leaving the closing button out of sight. Seems to be at random at which the header is shifted.

header shifts left

Hi,

I've got a strange behaviour here.

Working with framework 2.2, to support older devices.

I'm moving through pages, with selfdefined back and next buttons. The buttons are in the header, works fine.
Sometimes the user may need some extra information, clicks a button and help slides into view with its own header.
Works most of the time. Sometimes, however, the same page that looked perfect before, suddenly has it's header shifted to the left, leaving the closing button out of sight. Seems to be at random at which the header is shifted.

How to prevent overscroll bounce for Sidebar in App Framework 2.1?

I can't seem to track this down and need to prevent the overscroll bounce behavior.  When the Sidebar is expanded and a touch-scroll or touch-drag event occurs the sidebar tugs down away from its anchored position.  I've tried overriding this behavior in the HTML, CSS, and JavaScript to no success. 

How can I prevent this behavior? 

 

(See animated screenshot attached)

App Framework 2.1

Intel XDK v.2366

 

Get plugins from the web via npmjs

 

In xdk, i would either get my plugins from the registry via cordova.io or specify a repo to get a specific version ex:https://github.com/apache/cordova-plugin-camera.git#r1.2.0

The registry posted a notice saying "Plugins Registry is moving to npm"

How do i pull a plugin into xdk from this new location ex: https://www.npmjs.com/package/cordova-plugin-camera

 

How to scroll x pixels from top of the page?

I'm currently trying to make a function that scrolls down x amount of pixels vertically from top of the page in app framework without any further success.

This is what i use(that works) to get the current vertical position of the scroller in pixels:

 var options={verticalScroll:true,horizontalScroll:false};
     var scroller = $("#mypage").scroller(options);
    var pixels = scroller.scrollTop; 
    alert(pixels);

What I've tried so far:

$(#mypage).scrollTop(50);    //Does nothing

Downloading multiple text files to mobile device and showing transfer progress

I have been tasked with creating what on paper seems a simple mobile application. Because of the portability, we have chosen the Intel XDK as our development tool utilising HTML5/JQuery.

 

Basically, the mobile app will have three options:

 

 1. Download data - stock, operators, accounts etc. 

 2. Process transactions - record items allocated to the end user and by whom.

 3. Upload transactions - pass transaction details back to Back Office system.

 

How to unbind pull to refresh?

I'm using pull to refresh and it works good. However.. I would like to be able to turn pull to refresh off while the app is already running, anyone know how this can be done? all of my attempts so far has failed and the pull to refresh is still there

following this http://app-framework-software.intel.com/af22/documentation.php#tips/tips...

 

Thanks! 

Бесплатное тестирование Android* приложений, игр и веб-приложений на устройствах Intel

Использовать устройства с процессорами Intel Atom в службе Testdroid Cloud очень просто. Требуется, по сути, только приложение Android (в виде APK), а система позаботится обо всем остальном. Разумеется, автоматическая тестовая система хорошо подходит для быстрого и грубого тестирования и для проверки совместимости приложения с различными устройствами, но такая система не позволяет полностью изучить проблемы, возникающие при работе приложения на этих устройствах.

  • Android*
  • Android*
  • C/C++
  • HTML5
  • Java*
  • Principiante
  • How to convert JSON to a Map object ?

    Hi,

    Java application web services uses two way to communicate with other web application one by XML file and other by Json. While working with web services, I just want to know that how to convert JSON to a Map object ?. As a beginner, I am looking to explore such type of Java questions and answers to enhance my java skills. Can you please help me and give me a suitable answers of my query.

    Iscriversi a HTML5