Questions tagged as 'android'

0
answers

An "extends TabActivity" class can not instantiate methods from other classes?

I made some tabs via java code and needed to receive a method from another class that would return an array, scan the array and populate my tabs, but from the "NullPointerException" error and when I make the instance of the same method in an Act...
asked by 14.07.2015 / 22:01
1
answer

How to access Maps in Genymotion

To use the maps in Genymotion do I need to create some account in the play store? When you access the "Play Store" app, you need to update     
asked by 15.07.2015 / 03:02
0
answers

OCR (Optical Character Recognition) reading API with ANDROID

Good evening, I would like to know if anyone knows or has worked with any Api that provides OCR reading solutions for Mobile platform. If possible, list some of them for me. Thank you in advance.     
asked by 14.07.2015 / 03:04
2
answers

Upload Map in Fragment - Android

I'm creating an app with 2 tabs in swipe, loading Fragments. Since the first one is a ListFragment (which is ok), the second should load a map, but after I tried to insert, it crashes the application and displays the error: 06-10 16:16:47....
asked by 10.06.2015 / 21:42
0
answers

Android Fragment with TextWatcher - does not work

Good morning! With the help of the staff, I made a calculation scheme that when typing the value in one editText1, another editText2 is updated automatically, and vice versa .. it's just a test converting units. Initially I was trying to integra...
asked by 22.07.2015 / 16:50
0
answers

Error executing query Sql Server with jtds [closed]

I'm like a strange situation, my code works perfectly in my environment. On the client tablet does not work ... The only difference is that my tablet has the developer option enabled. I created the application for version 3, the client tablet is...
asked by 06.07.2015 / 18:51
1
answer

Remove Shadow API TabLayout 21

I want to remove the shadow from TabLayout , but in API 21 nothing is working. I tried to set windowContentOverlay or elevation to null and nothing works. The rendered screen looks like this: Andmycodelooksli...
asked by 13.08.2015 / 03:06
1
answer

How to put a background color on a ShapeDrawable?

It seems to be something very simple, but I can only put the color of the border, does anyone know? Here is the code I'm using: public void borda(View view) { float[] outerR = new float[] {10, 10, 10, 10, 10, 10, 10, 10}; RectF inset...
asked by 12.08.2015 / 22:02
0
answers

ArrayListHashMapString, String in a BaseAdapter Class

I have the following Arraylist: ArrayList<HashMap<String, String>> menuItens = new ArrayList<HashMap<String, String>>(); for (int i = 0; i < 6; i++){ HashMap<String,String> hashMap = new HashMap<String,S...
asked by 24.06.2015 / 13:14
0
answers

OCR Apk, ndk build does not want to install

A few days ago I developed an OCR text recognition apk, to make this application it was necessary to install ndk-build. I need to continue the application but on a new computer, however, ndk-build does not want to install, it automatically close...
asked by 24.06.2015 / 10:57