The Wayback Machine - https://web.archive.org/web/20200524104356/https://github.com/topics/android?l=java
Skip to content
#

Android

android logo

Android was designed and built by Google in 2008. The operating system is written mainly in Java, with core components in C and C++. It is built on top of the Linux kernel, giving it incorporated security benefits.

Here are 39,492 public repositories matching this topic...

nicktrav
nicktrav commented Nov 1, 2018

Currently, OkHttp reaps "idle" connections (i.e. connections not in use) if either of the following is true:

  • a connection has not been used in a period greater than the idle timeout, or
  • the number of idle connections is greater than some threshold
      if (longestIdleDurationNs >= this.keepAliveDurationNs
          || idleConnectionCount > this.maxIdleConnections) {
      
eothein
eothein commented Dec 4, 2019
  • Documentation:

It would be nice if the official documentation explains how to use Retrofit together with co-routines together with the best practices regarding the asynchronous handling of requests. My students need to implement their calls using Retrofit and co-routines (following the tutorials in the Udacity course, but for documentatio

penfeizhou
penfeizhou commented Mar 5, 2020

In Class com.bumptech.glide.RequestBuilder,there's an important called apply.
In Glide version 4.8.0,The api is

public RequestBuilder<TranscodeType> apply(@NonNull RequestOptions requestOptions) {
...
}

But when on version 4.10.0,The api changes to

 public RequestBuilder<TranscodeType> apply(@NonNull BaseRequestOptions<?> requestOptions) {
    Preconditions
arangob
arangob commented Apr 28, 2020

Searched documentation and issues

I've looked on stackoverflow, ExoPlayer docs, Android developers responding to media buttons.

Question

I am developing an app that sets the exoPlayer's volume to 0 if the device is on silent or vibrate.
If the user interacts with the volume buttons, then I want to the exoPlayer's volume to be set to the AudioManager volume.
Issue: After setting the

cfJand
cfJand commented Mar 12, 2019

Issue/提问须知

在提交issue之前��我们应该先查询是否已经有相关的issue以及常见问题。提交issue时,我们需要写明issue的原因,以及编译或运行过程的日志(加载进程以及Patch进程)。issue需要以下面的格式:

异常类型:编译异常

手机型号:红米Note 4

手机系统版本:Android 7.0

tinker版本:1.9.9

gradle版本:3.0.1

是否使用热更新SDK: Bugly SDK

系统:Windows

堆栈/日志:
Note: there were 2 library classes explicitly b

视频播放器(IJKplayer、ExoPlayer、MediaPlayer),HTTPS,支持弹幕,外挂字幕,支持滤镜、水印、gif截图,片头广告、中间广告,多个同时播放,支持基本的拖动,声音、亮度调节,支持边播边缓存,支持视频自带rotation的旋转(90,270之类),重力旋转与手动旋转的同步支持,支持列表播放 ,列表全屏动画,视频加载速度,列表小窗口支持拖动,动画效果,调整比例,多分辨率切换,支持切换播放器,进度条小窗口预览,列表切换详情页面无缝播放,rtsp、concat、mpeg。

  • Updated May 20, 2020
  • Java
mengxilan
mengxilan commented Dec 12, 2018

override createMessage in LoggerPrinter like this:

1:
// return args == null || args.length == 0 ? message : String.format(message, args);
if (args == null || args.length == 0) {
return message;
}
String pattern = "(%\d)?$(a|b|c|d|e|f|g|h|n|s|tx)";
Pattern p = Pattern.compile(pattern);
Matcher m = p.matcher(message);
if (m.find()) {
return String.format(message, args);
} else {
t(me

liaodq
liaodq commented Sep 3, 2019

doInterceptions方法里有对Warehouse.interceptors的判断

if (null != Warehouse.interceptors && Warehouse.interceptors.size() > 0){
      checkInterceptorsInitStatus();
      ......
}

Warehouse.interceptors是在InterceptorServiceImpl#init里新线程里完成添加的

         IInterceptor iInterceptor = interceptorClass.getConstructor().newInstance();
         iInterceptor.init(context);
bug
aruns2896
aruns2896 commented Dec 1, 2019

Describe the bug
I'm using glide of version 4.10.0 which isn't compatible with version built-in library

Error Log is
No virtual method load(Landroid/net/Uri;)Lcom/bumptech/glide/DrawableTypeRequest; in class Lcom/bumptech/glide/RequestManager; or its super classes (declaration of 'com.bumptech.glide.RequestManager' appears in /data/app/xx.xx.xx-BGXekzWzVW7ZewJgueHnGw==/base.apk)

tfcporciuncula
tfcporciuncula commented Mar 31, 2020

Is your feature request related to a problem? Please describe.

Right now it's not possible to set a fixed color for the collapsed hint, and a fixed color for the expanded hint. Based on the current API and styles available, we can only set the hint text color for when there's focus, and for when there isn't.

The [current documentation](https://material.io/develop/android/components/text-

wawo00
wawo00 commented Nov 20, 2018

would you mind showing developers how to use apktool as api,you know there are many people use this tool to analyse apks in server,we dont need an jar file to use and we want to use api .Although we learn the whole code about apktool,we sincerely hope you guys can provide a doc to developer to show how to use apktool like useing api

Created by Google

Released September 23, 2008

Organization
android
Website
www.android.com
Wikipedia
Wikipedia
You can’t perform that action at this time.