PINE64
Android 7.1 Tablet and TV (alpha, proposal) - Printable Version

+- PINE64 (https://forum.pine64.org)
+-- Forum: PINE A64(+) (https://forum.pine64.org/forumdisplay.php?fid=4)
+--- Forum: Android on Pine A64(+) (https://forum.pine64.org/forumdisplay.php?fid=5)
+--- Thread: Android 7.1 Tablet and TV (alpha, proposal) (/showthread.php?tid=2828)

Pages: 1 2 3 4 5 6


RE: Android 7.1 Tablet and TV (alpha, proposal) - NGC6691 - 05-31-2017

@ayufan:
A small patch to fix compilation error on 7.1

Code:
diff --git a/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java b/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java
index 012bdd8..65f9399 100644
--- a/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java
+++ b/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java
@@ -620,19 +620,6 @@ public class ConnectivityServiceTest extends AndroidTestCase {
        }
    }

-    private class WrappedAvoidBadWifiTracker extends AvoidBadWifiTracker {
-        public boolean configRestrictsAvoidBadWifi;
-
-        public WrappedAvoidBadWifiTracker(Context c, Handler h, Runnable r) {
-            super(c, h, r);
-        }
-
-        @Override
-        public boolean configRestrictsAvoidBadWifi() {
-            return configRestrictsAvoidBadWifi;
-        }
-    }
-
    private class WrappedConnectivityService extends ConnectivityService {
        public WrappedAvoidBadWifiTracker wrappedAvoidBadWifiTracker;
        private WrappedNetworkMonitor mLastCreatedNetworkMonitor;



RE: Android 7.1 Tablet and TV (alpha, proposal) - ayufan - 05-31-2017

I don't have compilation problems Smile


RE: Android 7.1 Tablet and TV (alpha, proposal) - Math43 - 06-01-2017

Hello,

I've installed yesterday 0.3.6 on my pine64. Everything is working well on HDMI screen, but on LCD screen (pine64 official LCD 7" screen), touch pannel is not working (display ok). Is there something to activate ?

Thank you !

Math


RE: Android 7.1 Tablet and TV (alpha, proposal) - ayufan - 06-01-2017

Not sure, it should work. On the spare moment I will test that.


RE: Android 7.1 Tablet and TV (alpha, proposal) - NGC6691 - 06-04-2017

(05-31-2017, 09:16 AM)ayufan Wrote: I don't have compilation problems Smile

mh strange, WrappedAvoidBadWifiTracker is declared twice, https://github.com/ayufan-pine64/frameworks-base/blob/nougat-7.1/services/tests/servicestests/src/com/android/server/ConnectivityServiceTest.java#L610#L634

btw, could be this useful in any way for pine users? https://developer.arm.com/products/software/mali-drivers

keep up the good work Wink


RE: Android 7.1 Tablet and TV (alpha, proposal) - AA666 - 06-05-2017

Something terrible just happened, my kids broked USB IR receiver on Pine.
Is it possible to use Pine built-in IR receiver on Android?
I found this guide for OPi, but can't find module sunxi_ir_rx in Pine Android build:
http://www.orangepi.org/orangepibbsen/forum.php?mod=viewthread&tid=541


RE: Android 7.1 Tablet and TV (alpha, proposal) - Airtau - 06-06-2017

How to use UART4? I connected the GPS module through Euler connector to UART4.

pin  9 GND --------------> GPS GND
pin 17 3.3v --------------> GPS 3.3v
pin 19 PD2 UART4_TX -> GPS uartRX
pin 21 PD3 UART4_RX -> GPS uartTX

|tulip-chiphd:/ # cat /dev/ttyGS3
there are no data

tulip-chiphd:/ # ls -l /dev |grep tty
crw------- 1 root      root         252,   0 2017-02-05 20:50 ttyGS0
crw------- 1 root      root         252,   1 2017-02-05 20:50 ttyGS1
crw------- 1 root      root         252,   2 2017-02-05 20:50 ttyGS2
crw-rw-rw- 1 root      root         252,   3 2017-02-05 20:50 ttyGS3
crw------- 1 root      root         253,   0 2017-02-05 20:50 ttyS0
crw-rw---- 1 bluetooth net_bt_stack 253,   1 2017-02-05 20:52 ttyS1


In linux  ARMBIAN 5.25 it`s working

root@pine64:~#  cat /dev/ttyS4
$GPRMC,073356.000,V,0000.000,N,00000.000,E,0.0,0.0,060617,0.0,W*6F
$GPGGA,073356.000,0000.00000,N,00000.00000,E,0,01,99.0,082.00,M,18.0,M,,*5B


RE: Android 7.1 Tablet and TV (alpha, proposal) - Math43 - 06-07-2017

(06-01-2017, 02:31 AM)ayufan Wrote: Not sure, it should work. On the spare moment I will test that.

Hello, Have you got time to test ?


RE: Android 7.1 Tablet and TV (alpha, proposal) - MarkHaysHarris777 - 06-07-2017

(06-01-2017, 02:29 AM)Math43 Wrote: Hello,

I've installed yesterday 0.3.6 on my pine64. Everything is working well on HDMI screen, but on LCD screen (pine64 official LCD 7" screen), touch pannel is not working (display ok). Is there something to activate ?

I hate to ask a dumb question, but did you plug in the tp ribbon cable ?

... the tp cable is taped to the display and often not noticed by people.  If you forget to plug it in, the touch will no worky.

Rolleyes


RE: Android 7.1 Tablet and TV (alpha, proposal) - Math43 - 06-09-2017

(06-07-2017, 09:40 AM)MarkHaysHarris777 Wrote:
(06-01-2017, 02:29 AM)Math43 Wrote: Hello,

I've installed yesterday 0.3.6 on my pine64. Everything is working well on HDMI screen, but on LCD screen (pine64 official LCD 7" screen), touch pannel is not working (display ok). Is there something to activate ?

I hate to ask a dumb question, but did you plug in the tp ribbon cable ?

... the tp cable is taped to the display and often not noticed by people.  If you forget to plug it in, the touch will no worky.

Rolleyes

Hello, there is no dumb questions Wink

Two cables are plugged, i've a sd card with android 6.0 and another with 7.1, only thing i've change is switching sd card, touchscreen is working under android 6.