Câu hỏi được gắn thẻ «android»

Android là hệ điều hành di động của Google, được sử dụng để lập trình hoặc phát triển các thiết bị kỹ thuật số (Điện thoại thông minh, Máy tính bảng, Ô tô, TV, Wear, Glass, IoT). Đối với các chủ đề liên quan đến Android, hãy sử dụng các thẻ dành riêng cho Android như android-aim, android-Activity, android-adapter, v.v. Đối với các câu hỏi ngoài phát triển hoặc lập trình, nhưng liên quan đến khung Android, hãy sử dụng liên kết này: https: // android.stackexchange.com.

8
Cần dự án Android REST Client mẫu triển khai mẫu triển khai Virgil Dobjanschi REST
Tôi muốn xây dựng một REST Client trên điện thoại Android. Máy chủ REST tiết lộ một số tài nguyên, ví dụ: (GET) http://foo.bar/customer List of all customer http://foo.bar/customer/4711 The customer with id 4711 http://foo.bar/customer/vip List of all VIP customer http://foo.bar/company List of all companys http://foo.bar/company/4711 The company with the …






11
không tìm thấy sdk android (Unity)
Lỗi: Invalid command android UnityEditor.HostView:OnGUI() CommandInvokationFailure: Unable to list target platforms. Please make sure the android sdk path is correct. See the Console for more details. C:/Program Files/Java/jdk1.8.0_121\bin\java.exe -Xmx2048M -Dcom.android.sdkmanager.toolsdir="C:/Users/great/AppData/Local/Android/Sdk\tools" -Dfile.encoding=UTF8 -jar "C:\Program Files\Unity\Editor\Data\PlaybackEngines\AndroidPlayer/Tools\sdktools.jar" - stderr[ Error:Invalid command android ] stdout[ ] exit code: 64 UnityEditor.Android.Command.Run (System.Diagnostics.ProcessStartInfo psi, UnityEditor.Android.WaitingForProcessToExit waitingForProcessToExit, …
82 android  unity3d 

2
Chế độ xem điều hướng và bố cục tùy chỉnh
Tôi đang sử dụng các Thư viện hỗ trợ thiết kế NavigationViewnhư sau: <android.support.v4.widget.DrawerLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" android:id="@+id/drawer_layout" android:layout_height="match_parent" android:layout_width="match_parent" android:fitsSystemWindows="true"> <!-- put your main layout here --> <include layout="@layout/drawer_main_layout"/> <android.support.design.widget.NavigationView android:id="@+id/nav_view" android:layout_height="match_parent" android:layout_width="wrap_content" android:layout_gravity="start" android:fitsSystemWindows="true" app:headerLayout="@layout/nav_header" app:menu="@menu/drawer_view"/> </android.support.v4.widget.DrawerLayout> Và tôi đã đặt menu này: <menu xmlns:android="http://schemas.android.com/apk/res/android"> <group android:checkableBehavior="single"> <item android:id="@+id/nav_home" …

5
Android: Làm thế nào để lấy giá trị của một thuộc tính trong mã?
Tôi muốn lấy giá trị int của textApperanceLarge trong mã. Tôi tin rằng đoạn mã dưới đây đang đi đúng hướng, nhưng không thể tìm ra cách trích xuất giá trị int từ TypedValue. TypedValue typedValue = new TypedValue(); ((Activity)context).getTheme().resolveAttribute(android.R.attr.textAppearanceLarge, typedValue, true);
82 android 






11
Lỗi Android MediaPlayer (1, -2147483648)
Tôi có hai video khác nhau mà tôi đang cố tải vào VideoViewbằng cách sử dụng videoView.setVideoURI(Uri.parse(url)); Hai video, giả sử là video 1 và video 2 , có các thông số kỹ thuật sau (trích xuất bằng cách sử dụng ffmpeg -i); trên thực tế, chúng là hai mã …

Khi sử dụng trang web của chúng tôi, bạn xác nhận rằng bạn đã đọc và hiểu Chính sách cookieChính sách bảo mật của chúng tôi.
Licensed under cc by-sa 3.0 with attribution required.