incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Greg (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CB-1081) Scrolling in Android 4.1.x with PhoneGap 2.0rc1 is Poor
Date Wed, 25 Jul 2012 02:39:33 GMT

    [ https://issues.apache.org/jira/browse/CB-1081?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421955#comment-13421955
] 

Greg commented on CB-1081:
--------------------------

It just seems strange the JB 4.1 (which is a new OS and has "smooth" scrolling) struggles
in WebView, where in any other version it's completely fine. It's also strange that older
phones (we have lower processing power), the scrolling is fine. I don't want this to come
across as I'm telling you are wrong, I just want to help as much as I can.

I can't use hardwareAcceleration, because we need to support 2.3, and to my knowledge hardwareAcceleration
is only in 3.0+.

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.untappdllc.app"
    android:versionCode="XXXXXXX"
    android:versionName="XXXXX"
    android:installLocation="auto">

    <uses-sdk android:minSdkVersion="8" />
	
	<supports-screens 
    android:largeScreens="true" 
    android:normalScreens="true" 
    android:smallScreens="true" 
    android:resizeable="true" 
    android:anyDensity="true" />
<uses-permission android:name="android.permission.VIBRATE" />
<uses-permission android:name="android.permission.ACCESS_COARSE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
<uses-permission android:name="android.permission.ACCESS_LOCATION_EXTRA_COMMANDS" />
<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" /> 
<uses-permission android:name="android.permission.BROADCAST_STICKY" />
	
	
    <application
        android:icon="@drawable/icon"
        android:label="@string/app_name">
        <activity
        	android:label="@string/app_name" 
            android:name=".XXXXXXXXXX_XXXXXX"
			android:configChanges="orientation|keyboardHidden">
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />

                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>
        
    </application>

</manifest>

I'll strip it out the CSS and see how it works.
                
> Scrolling in Android 4.1.x with PhoneGap 2.0rc1 is Poor
> -------------------------------------------------------
>
>                 Key: CB-1081
>                 URL: https://issues.apache.org/jira/browse/CB-1081
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: Android
>    Affects Versions: 2.0.0
>         Environment: Android 4.1.x
>            Reporter: Greg
>            Assignee: Joe Bowser
>
> With Android 4.0.x scrolling is fine - but with 4.1.x scrolling in the webview is choppy
and less than ideal. It doesn't have affect with 4.0.x on 2.0rc1. 
> The webpage is setup with a position fixed element at the top and scrollable content
below. This is supported with 4.1.x

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message