«android» 태그된 질문

Android는 Google의 모바일 운영체제로 디지털 기기 (스마트 폰, 태블릿, 자동차, TV, 마모, 유리, IoT)를 프로그래밍하거나 개발하는 데 사용됩니다. Android 관련 주제의 경우 android-intent, android-activity, android-adapter 등과 같은 Android 관련 태그를 사용하십시오. 개발 또는 프로그래밍 이외의 질문이지만 Android 프레임 워크와 관련된 질문은 다음 링크를 사용하십시오. https : // android.stackexchange.com.


17
Android에서 왼쪽 또는 오른쪽으로 스 와이프를 감지하는 방법은 무엇입니까?
나는 EditText안드로이드 에서 볼 수 있습니다. 여기에서 왼쪽이나 오른쪽으로 스 와이프를 감지하고 싶습니다. 아래 코드를 사용하여 빈 공간에 가져올 수 있습니다. 그러나 이것은 EditText. 어떻게하나요? 내가 뭔가 잘못하고 있으면 알려주세요. 감사합니다. 사용 된 코드 : switch (touchevent.getAction()) { case MotionEvent.ACTION_DOWN: { oldTouchValue = touchevent.getX(); break; } case MotionEvent.ACTION_UP: { float …

13
Android Studio- 모듈 없음
I am new to Android Studio. This is my project screenshot. 내 프로젝트가 성공적으로 빌드되지만 실행하면 빌드 성공 만 표시됩니다. 내가 이해하는 바에 따르면 도구 모음에서 빌드가 작성된 위치에는 프로젝트 이름이 있어야한다고 생각합니다. 모듈 내에서 구성 편집으로 이동하면 프로젝트 이름이 있어야한다고 생각하는 동안 모듈 없음이라는 옵션이 하나만 있습니다. 내 프로젝트를 …

20
패키지 서명이 이전에 설치된 버전과 일치하지 않습니다.
이것은 내 프로젝트 : https://github.com/kenpeter/my_hak_news 의 직접 복사입니다 https://github.com/grigio/HAgnostic-News . Git clone https://github.com/kenpeter/my_hak_news 를 실행 한 다음react-native run-android 이 오류가 발생했습니다. * What went wrong: Execution failed for task ':app:installDebug'. > com.android.builder.testing.api.DeviceException: com.android.ddmlib.InstallException: Failed to finalize session : INSTALL_FAILED_UPDATE_INCOMPATIBLE: Package com.hagnosticnews signatures do not match the previously installed version; ignoring! …

29
프로그래밍 방식으로 Android 앱을 종료하는 방법은 무엇입니까?
나는 몇 번 읽었 기 때문에이 질문이 여러 번 요청되었다고 확신합니다. 내 고객은 사용자가 클릭하고 종료 할 수있는 버튼을 앱에 삽입하기를 원합니다. 나는 이것을 읽고 부름 finish()이 그것을 할 것이라는 것을 발견 했습니다. 하지만 마무리는 현재 실행중인 활동 만 닫는 것입니까? 활동이 많기 때문에이 경우에는 모든 활동의 인스턴스를 전달하고 완료하거나 …

21
RecyclerView의 CheckBox는 다른 항목을 계속 확인합니다.
RecyclerView 내의 내 항목에 대한 XML은 다음과 같습니다. <android.support.v7.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:card_view="http://schemas.android.com/apk/res-auto" android:id="@+id/cvItems" android:layout_height="wrap_content" android:layout_width="fill_parent" android:layout_margin="2dp" card_view:cardElevation="0dp" card_view:contentPadding="0dp" card_view:cardBackgroundColor="#FFFFFF" > <LinearLayout android:orientation="horizontal" android:layout_height="fill_parent" android:layout_width="fill_parent"> <TextView android:layout_width="0dip" android:layout_height="match_parent" android:layout_weight="0.8" android:id="@+id/tvContent" android:textSize="15dp" android:paddingLeft="5dp" android:paddingRight="5dp" /> <CheckBox android:id="@+id/cbSelect" android:layout_width="0dip" android:layout_weight="0.2" android:layout_height="match_parent" android:button="@drawable/cb_checked" android:gravity="center_horizontal" android:textAlignment="center" android:layout_gravity="center_horizontal" /> </LinearLayout> </android.support.v7.widget.CardView> 다음은 각 항목에 대해 위의 레이아웃을 …

16
Android Studio는 org.codehaus.groovy.runtime.InvokerHelper 클래스를 초기화 할 수 없습니다.
저는 Android Studio를 처음 사용합니다. 설정 후 응용 프로그램을 가져 오려고 할 때 gradle이 빌드 할 수 없도록 오류가 발생합니다. 오류 : org.codehaus.groovy.runtime.InvokerHelper 클래스를 초기화 할 수 없습니다. Java의 클래스 경로 설정이 정상인지 확인했습니다. Windows OS를 실행하고 있습니다. 누구든지 오류의 원인을 알고 있습니까?

5
Android : 데스크톱의 adb 풀 파일
장치에서 데스크탑으로 파일을 복사하려는 경우 다음 명령이 있습니다. adb pull sdcard/log.txt Users/admin/Desktop 그러나이 명령은 adb가있는 platform-tools 폴더 내에 Users / admin / Desktop 폴더를 만듭니다. 내 데스크탑으로 파일을 가져 오는 방법은 무엇입니까?
93 android  adb 

5
Kotlin 지원 필드는 무엇입니까?
Java 개발자로서 지원 필드의 개념은 나에게 약간 이질적입니다. 주어진: class Sample { var counter = 0 // the initializer value is written directly to the backing field set(value) { if (value >= 0) field = value } } 이 지원 필드는 무엇에 유용합니까? Kotlin 문서 는 다음과 같이 말했습니다. Kotlin의 …

8
adb shell su는 작동하지만 adb root는 작동하지 않습니다.
잠금 해제 된 Galaxy S3 (SGH-T999)를 루팅했습니다. 이제 adb rootWindows Command Prompt 에서 실행하려고하는데 adbd cannot run as root in production builds오류 가 발생합니다. 그래서, 내가 가장 먼저 확인한 것은 내 전화가 정말 루팅되었는지 여부였습니다. 그래서 다음을 시도했습니다. 명령 프롬프트 열기 $adb devices // lists my device $adb shell //goes …
93 android  shell  adb  root 

15
이 빌드에서는 지원 중단 된 Gradle 기능이 사용되어 Gradle 5.0과 호환되지 않습니다.
gradle FAILURE가 있습니다. ..."Deprecated Gradle features were used in this build, making it incompatible with Gradle 5.0." 케이스 설명 : 프로젝트 코드베이스에 다음 libs를 첨부합니다. APP / build.gradle //(Required) Writing and executing Unit Tests on the JUnit Platform testImplementation "org.junit.jupiter:junit-jupiter-api:5.2.0" testRuntimeOnly "org.junit.jupiter:junit-jupiter-engine:5.2.0" // (Optional) If you need "Parameterized Tests" testImplementation …



30
Android 기기 선택기 — 기기가 표시되지 않음
Eclipse + ADT를 사용하고 있으며 아래에 나열된 물리적 장치가 Android Device Chooser에 나열되지 않습니다. Eclipse와 모든 Android 패키지를 업데이트했습니다. 내 전화기는 Eclipse 프로젝트에 나열된 대상 버전에 해당하는 Android OS 1.6을 실행하고 있습니다. 또한 실제 장치에서 테스트하기로 결정한 이유는 프로젝트를 실행할 때 에뮬레이터가 더 이상 제대로 작동하지 않는 것 같기 때문입니다. …

16
Android 인 텐트 필터 : 앱을 파일 확장자와 연결
내 앱을 연결하려는 사용자 지정 파일 형식 / 확장자가 있습니다. 내가 아는 한, 데이터 요소는 이러한 목적으로 만들어졌지만 작동하지 않습니다. http://developer.android.com/guide/topics/manifest/data-element.html 문서 및 많은 포럼 게시물에 따르면 다음과 같이 작동합니다. <intent-filter> <action android:name="android.intent.action.MAIN" /> <category android:name="android.intent.category.DEFAULT" /> <category android:name="android.intent.category.BROWSABLE" /> <data android:mimeType="application/pdf" /> </intent-filter> 음, 작동하지 않습니다. 내가 뭘 잘못 …

당사 사이트를 사용함과 동시에 당사의 쿠키 정책개인정보 보호정책을 읽고 이해하였음을 인정하는 것으로 간주합니다.
Licensed under cc by-sa 3.0 with attribution required.