Code Monkey home page Code Monkey logo

cronet-sample's Introduction

Cronet Sample

Cronet is Chromium's Networking stack packaged as a library. This sample app shows how to use the library.

Getting Started


  1. Clone or download this repository.
  2. Import the project in Android Studio (File → New → Import Project) by selecting the top level build.gradle file inside the "android" directory.
  3. Connect a physical Android device or start an emulator.
  4. Run the app from Android Studio by pressing the "run" (green triangle) button. Alternatively, run "gradlew :app:installDebug" from the command line inside the "android" directory.

License


Copyright 2018 Google, Inc.

Licensed to the Apache Software Foundation (ASF) under one or more contributor
license agreements. See the NOTICE file distributed with this work for
additional information regarding copyright ownership. The ASF licenses this
file to you under the Apache License, Version 2.0 (the "License"); you may not
use this file except in compliance with the License. You may obtain a copy of
the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
License for the specific language governing permissions and limitations under
the License.

cronet-sample's People

Contributors

colibie avatar danstahrg avatar garaks avatar jensenpaul avatar kul3r4 avatar nishant-pathak avatar xuwei-k avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cronet-sample's Issues

After QUIC is enabled, the QUIC protocol is not implemented

Only QUIC support is turned on. When using wireshark to analyze this demo, I did not see the packet content of the QUIC protocol. The 105 version of Cronet I compiled on Ubuntu also doesn't see the QUIC package contents. What is the reason? Tested with Samsung phone.

Is cronet-embedded deliver 4 .so files to every app which is installed from play store?

When we have to use cronet standalone then we have to use cronet-embedded, there are 4 .so files in above artifact.

The above artifact size is 10MB combining those 4 .so files, these 4 files are different and dependent on CPU architecture. So when I upload the file to the play store, will the play store optimize my apk dependent on CPU architecture (eventually not add 10 Mb to my apk size), or will ship all architecture files to every device?

error 9

throw GooglePlayServices not available due to error 9 . run on android 6.0 device

Does Cronet support HTTP/3 (strict UDP transport)?

Hi,

We've been experimenting with Cronet and aioquic, which has a full UDP-transport HTTP/3 implementation.

However, we've had difficulties in making a connection to the endpoint; even with QUIC hints enabled, Cronet still starts with a TCP connection which I am assuming relates to TLS?

Or maybe more to the point, does Cronet support a full HTTP/3 implementation with UDP-only transport?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.