Questions tagged as 'android'

1
answer

Use a layout folder for more than one size

I have a Tablet (7 ") and a smatphone (5"). My layout folders are: layout > It has almost all layouts layout-large > One of the screens (Screen A) will behave differently for wide layout-normal-land > One of the screen...
asked by 30.03.2016 / 21:54
1
answer

Open app when initializing android

I made an Android App on IntelXDK, it's working normal, now I want it to open automatically when I turn on the phone. I know there are some applications in the playstore that do this, but at first I did not want to use any third-party apps, b...
asked by 26.05.2016 / 14:59
1
answer

Navigation Drawer without interaction when clicked

I'm using the default menu Navigation Drawer and have completed the method that already comes in the project to open my activities(Atividades) . I have already created the classes and I have already called each of them according to...
asked by 04.06.2016 / 18:47
1
answer

How to find out the operator of a mobile number?

I need to develop an application to make calls using a cell phone chip, but for this, I have to know the operator of the destination number. Can you find the destination operator programmatically on android?     
asked by 25.02.2016 / 21:35
1
answer

How to put selection area (mobile) for photo taken

I would like to know how to do it right after taking a photo and grabbing the file and uploading this photo, create a photo select area to the whatsapp profile photo style, and then save just that bit as the image. Examples:     
asked by 10.03.2016 / 18:01
1
answer

OkHttp only works on Lollipop

The OkHttp 2.6.0 library does not work on versions prior to Android 5. In versions prior to Lollipop always throws the exception: Exception    Caused by: java.lang.NoClassDefFoundError: com.squareup.okhttp.internal.Util                  ...
asked by 06.12.2015 / 19:06
1
answer

Camera problems: Fail to connect to camera service

I have a problem with my app that uses the camera on a device. However, whenever I try to use Camera.open() it gives an exception java.lang.RuntimeException: Fail to connect to camera service . I am trying to understand this error b...
asked by 30.07.2016 / 01:29
1
answer

Custom Spinner showing resource and not text

I'm having trouble setting up a custom spinner in my application. Here is an image of how it appears: Followmycode:Adapter.javapublicclassProfissionalCategoriaAdapterextendsArrayAdapter<ProfissionalCategoria>{privateContextcontext;priv...
asked by 29.07.2016 / 13:51
1
answer

Android / IOS vs Java

Suppose I have an app on android or ios I have a system done in java and e to publish data that will be downloaded from the internet by the application. All of this is inside a web server How do I communicate between system and application...
asked by 08.12.2015 / 16:38
1
answer

Phonegap + Cordova + sqlite

I have a problem with a misc. bank file. I created a .db file with all the columns and contents and compiled it along with the apk. The last change I made in the bank after performing a new build is giving error saying that my table does not...
asked by 10.12.2015 / 19:02