Questions tagged as 'android'

1
answer

problem with screen positioning when the keyboard is activated with React native

It happens that when the keyboard is activated, it seems to be placed over my view and this hides the input.     
asked by 10.05.2018 / 06:18
1
answer

Android Studio Generate Signed APK - Sign APK

I created an application on Android and I generated a first APK signed through Android Studio and I have a .jks file, once I signed the APK I modified some things in the code and when wanting to re-generate the signed APK I skipped the next erro...
asked by 06.05.2018 / 15:15
1
answer

I receive errors when compiling error: can not find symbol method setBatchPath (String)

Errors are seen in these files Accounts.java 2 errors error: method does not override or implement a method from a supertype @Override public Builder setBatchPath(String batchPath) { return (Builder) super.setBatchPath(batchPath); } erro...
asked by 28.04.2018 / 15:14
1
answer

Run a service every certain amount of time

My query is as follows. I am trying to perform a service that shows a message in the LogCat every 1 minute for example. I was reading a bit about this but I think I need a hand. The services always work when the phone is with the screen off / or...
asked by 29.04.2018 / 17:47
1
answer

Attempt to invoke virtual method 'void android.widget.ListView.setAdapter (android.widget.ListAdapter)' on a null object reference

I am trying to make an item list view with titles, prices and category of gasoline, to be seen in this item list view. I am new to android and I am not sure that I could have failed in my code. My project manages to compile and execute but wh...
asked by 07.05.2018 / 04:54
1
answer

Error getting data from a Spinner

I'm getting some data from 3 spinner and I get an error, it says it's a null object, however, this same code works for me in another activity, only now I'm using it in a fragment and it gives me an error. This is the logcat 05-03 23:14:29.9...
asked by 04.05.2018 / 02:22
1
answer

Play .mp3 hosted on googledrive with android

I've been looking for information for several days, I'm making an app to play music and I need to play .mp3 files that are hosted on my Google Drive, Dropbox account or anywhere to store files in the cloud. if you could pass me some information...
asked by 23.04.2018 / 23:35
1
answer

Substitute for Files.readAllBytes and .toPath () for Android

I have the following lines in my app in a class that acts as AsyncTask to include an image in the body of a query HTTP . I have the following object File : val file = File(getContext().cacheDir, "fileName") file.createNew...
asked by 21.04.2018 / 14:33
1
answer

Android getActivity () returns null in Fragment

In an app with a side menu, when I click on one of its items, I want to load the same as clicking on another button (also in a fragment) of the application. To do this I create an object of that class and call its corresponding method from onNav...
asked by 14.05.2018 / 15:47
1
answer

Problem Generating APK on Android with Ionic 3

Greetings fellow stackers, this time I'm studying the Ionic framework, reviewing the basic projects that the framework allows you to create by default with console commands. Using Visual Studio Code 1.21.1, as Android 7 base platform and with Ion...
asked by 11.04.2018 / 04:31