Questions tagged as 'android-studio'

1
answer

android.view.InflateException: Binary XML file line # 9: Erro inflating class fragment Caused by:

When starting the fragment in my application, this appears:    android.view.InflateException: Binary XML file line # 9: Binary XML file line # 9: Error inflating class fragment Caused by:   android.view.InflateException: Binary XML file line...
asked by 06.08.2018 / 04:27
0
answers

Trying to generate an apk in Android Studio of an app that includes CordovaLib migrated from Ionic gives error

Good I have a problem with a Migrated App from Ionic to Android Studio. The App includes CordovaLib inside but as a module when importing it. When I try to generate .apk it gives me the errors of the image, I have tried a lot of things but I do...
asked by 04.08.2018 / 11:51
0
answers

How does JobIntentService work for Android Oreo and pre Oreo?

I was researching and I read that it is necessary or better said, the implementation of JobIntentService due to the appearance of android Oreo and its limitations or new restrictions with respect to services in Background...
asked by 10.08.2018 / 15:43
0
answers

WebService - AsynTask problems

I have the following code: public class DotNetWSActivity extends AppCompatActivity { Button b; TextView tv; EditText et; ProgressBar pg; String editText; String displayText; @Override public void onCreate(Bund...
asked by 03.08.2018 / 16:33
1
answer

How do I make a switch with two floating buttons that come from two fragments?

Currently I have two fragments that each in their respective layouts have a floating button that redirects me to another activity. How do I get the id of those two floating buttons in a third fragment and make a switch with them?     
asked by 03.08.2018 / 22:52
0
answers

How to parse Json with retrofit

Webservice response { "estado": 400, "mensaje": "Usuario o Password invalidos" } I am starting to make use of retrofit, there are some parts that I do not understand, it is necessary to say that it is the first time I use it. Cre...
asked by 13.08.2018 / 00:26
0
answers

Why is not my BroadcastReceiver capturing events?

I try to restart a servicio in case it is destroyed. First I create my servicio : public class MyIntentService extends Service { WebSocketClient mWebSocketClient; URI uri; @Override public void onCreate() {...
asked by 07.08.2018 / 17:55
0
answers

Why does not the PDF viewer project developed in Android Studio work for me?

What I want is for the app to run, I was seeing that the problem is that it was developed with another (old) version of Android Studio, and that when I opened it in the IDE, I need to install some add-ons to be able to run it but I installed the...
asked by 06.08.2018 / 05:53
0
answers

Upload image android to webservice asp.net

Good morning, I'm trying to upload an image of Android using an ASP MVC controller method but without success, could you give me some guidance? Here I declare the Retrofit method @POST("prueba") Call<JsonElement> prueba(@Query("img")...
asked by 30.07.2018 / 13:40
0
answers

Use localstorage or appcache on android with webview for a webapp exported from Construct2

Hello everyone! The truth is that I am new here, at least putting questions. The issue is that I have made a small webapp with Construct 2 and said webapp is able to read and write in localstorage, but when I run it as if it were a webapp on...
asked by 02.08.2018 / 13:53