Questions tagged as 'android'

1
answer

What are the Android SDK Extras?

I would like to know what each of the options in the SDK "Extras" is, to see which ones to install (some I know more or less, I'm not sure). Android Support Repository Google play services for Froyo Google Repository Google play APK Ex...
asked by 07.07.2014 / 03:41
1
answer

How do I export an .apk android in Android Studio?

Whenever I export the application google gives this message: EventhoughI'mchangingAndroidManifest.xml:android:versionCode="2" android:versionName="1.0.2" Procedure I'm doing: I'm exporting right?     
asked by 05.09.2014 / 13:32
1
answer

Difference between calling the fragment call and a new instance

I'm working on a college project where I made an application that uses fragments. I've always been accustomed to creating a fragment in the following way: // imports ... public class LoginFragment extends Fragment { public LoginFragment(...
asked by 17.11.2014 / 19:22
1
answer

Different layout on another device

My layout looks different on small devices, I've already tried to add a ScrollView to fix this problem and get no results. Follow prints of the application running on different devices: Resolution 720 x 1280 320x480reso...
asked by 15.10.2014 / 16:20
1
answer

ADB does not recognize Android device on Mac OS

I'm trying to enable debugger mode on my Motorola Razr i to be able to run my Android projects on the device itself. But when I enter the Mac terminal and put the ./adb devices command to list the devices that are connected, nothing...
asked by 29.11.2014 / 04:40
1
answer

ListView too slow on scrollbar

I have a problem that I do not know how to solve, I have a custom% with_configure with images and the scroll bar keeps crashing even with the loaded list. The list is slow to roll. Adapter: public class AdapterSegmento extends BaseAdapter {...
asked by 02.12.2014 / 05:06
3
answers

Button with text box high in Android API 14

We see that in the launch of Android 5.0 Lolipop came Material Design that by yes a lot has changed on Android and along with that, the component Dialogs that comes with the button by default with high box text as shown below in the image:...
asked by 23.08.2016 / 16:05
1
answer

8-digit hexadecimal color problem - Android

I'm working on an application where I'm trying to follow the Google Material design guide. On this page, it is recommended to use black color (% color) with 87% opacity as the color of the main texts. Using a hexadecimal to decimal converter,...
asked by 20.08.2014 / 08:30
1
answer

Problem in Context and SharedPreferences in android with service

I'm trying to create a service on android, it's ready though in running the application for. If I comment on the ctx and prefs variables, it works but I need them, can you tell me if there is something wrong that I did not see? I've been for a l...
asked by 15.08.2014 / 22:09
1
answer

Android 6 problem with map.setMyLocationEnabled (true) [duplicate]

I'm having a problem with google api 23+ specifically in the mapa.setMyLocationEnabled(true); method You need permission to run, and in android 6.0+, I can not implement the new permissions method. @Override public void onMapReady...
asked by 23.08.2016 / 05:27