Questions tagged as 'android'

0
answers

Generate JSON dynamically from android form

Context: I have a Cordova app that has SUS token forms with more than 30 fields that is sent to the server through JSON. I'm building a native android APP for the same function; Problem: I need to map the fields (EditText, Spinner, CheckB...
asked by 23.10.2018 / 18:41
1
answer

Custom Sound in Cordova Local Notification

I'm trying to customize the sound for a notification using Cordova . I'm using the Cordova Local Notification plugin, but the sound does not play when I display the notification. Tests performed: I tried to use custom sound in SDCar...
asked by 06.03.2015 / 00:15
2
answers

Error checking if fields are empty!

I'm trying to verify that the product registration fields are empty, probably the error is in the if statement, which was to be returning the error message:    "Fields not filled in, please try again" With the running application,...
asked by 08.11.2018 / 20:41
2
answers

Identify Dual Sim Card on Android

I am trying to identify sim card on the Galaxy smartphone Y however, this smartphone is dual chip and I can not display. I have researched more only found as identifying only a sim card TelephonyManager telMgr = (TelephonyManager) getSystemSe...
asked by 14.07.2014 / 17:04
1
answer

Android Test - Call Method

I would like to know if in the android Unit test would have the possibility to call isolated methods of the code, or if just calling activitys, buttons ... I researched in several places and I did not find anything talking about     
asked by 11.07.2014 / 13:37
1
answer

Creating a communication app

Good evening guys, I'm planning to develop a whatsapp style communication app, more in the intention of learning anyway, nothing more. Good, the app will have contact list | conversations | pending requests. In this question I will only refer...
asked by 12.07.2014 / 06:57
1
answer

Proguard.cfg Android File

How do I "overshadow" my classes, methods, variables, and so on in the Android proguard.cfg configuration file? My intention is to make it difficult to decompile (reverse engineer) the project.     
asked by 17.07.2014 / 16:52
2
answers

Size of columns in a GridView on Android

I have in my android project a gridview that I define as follows: <GridView android:id="@+id/grid1" android:layout_width="600dp" android:layout_height="fill_parent" android:padding="5dp" android:verticalSpacing="5dp" android:horizonta...
asked by 21.02.2014 / 21:14
0
answers

Google Credentials, Photos API

I'm trying to integrate an APP with Google Photos. Following Get Started you can see the following code: // Set up the Photos Library Client that interacts with the API PhotosLibrarySettings settings = PhotosLibrarySettings.newBuilder() .setC...
asked by 19.09.2018 / 17:40
1
answer

How to get the ImageButton Width

How can I get the width of an ImageButton defined in XML as 0 being this defined by weight? <LinearLayout android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="10dp" android:l...
asked by 09.09.2018 / 08:38