Questions tagged as 'android-studio'

2
answers

I'm not managing to change the fragments

import android.content.Intent; import android.os.Bundle; import android.support.annotation.NonNull; import android.support.design.widget.BottomNavigationView; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentTransa...
asked by 29.03.2017 / 00:05
1
answer

I can not generate the android APK

When I try to generate my apk in Android Studio , I get the following error:    Error: Error: Found byte-order-mark in the middle of a file [ByteOrderMark] My app only has a webview with a link to a web. public c...
asked by 03.04.2017 / 21:44
2
answers

Gradle error download when running ionic build android

I have an error trying to compile an apk of a new project, since apparently the link that should add the daemons and everything about the gradle seems to be wrong . Next I put the error. C:\Users\pedromiguel\aplicacionesIonic\sqliteTest...
asked by 20.12.2016 / 06:19
0
answers

Simple example of volley on android? [closed]

Does anyone have a simple example of an app using volley in android studio? I have googled a lot but all the tutorials I have tried are error, nullpointerexception, etc, I just want you to return a string of some file in a server or a list to un...
asked by 29.10.2016 / 00:21
2
answers

How to read a text file in a Fragment Android Studio

Good afternoon community, I wanted to ask the question, it turns out that I try to read a text file from a fragment but when I open it in the application I jump that the application stopped working, so I wanted to know if they could give me a ha...
asked by 10.01.2018 / 17:42
2
answers

How to consume a web service that returns a nameless jsonArray

I am working with android, I want to consume a web service that returns a jsonObject from laravel but the jsonobject has no name as I can receive it with the volley library and print it in a list. The route and the json is: http://localhost/S...
asked by 02.05.2018 / 03:19
1
answer

Use AndroidStudio in AMD processor to run and debug an app

Good evening. Today I installed Android Studio and I'm testing my first app. I followed the steps of a tutorial, and everything is going well. However at the time of running my application to debug it Android Studio throws me the error that t...
asked by 07.04.2016 / 05:41
1
answer

Execute Query Through Editext and Button to SQL Android

I need to know how I can make a query, what kind then a default query that when I say in the edittext of my app, a name of any client the search button will bring me the names of my SQL database for example, these two types of query use...
asked by 07.10.2016 / 21:03
1
answer

AlertDialog Android Studio

My question is this: Is there any way to make an AlertDialog always show (even if you tap outside the object or on the back button) until you click on the "accept" or "cancel" button?     
asked by 23.01.2018 / 11:56
1
answer

Is it OK to use a NOT NULL on a primary key in SQLite?

My question is, is it correct to define as NOT NULL in a primary call in a database SQLite for Android ?, example: ID INTEGER NOT NULL PRIMARY KEY     
asked by 30.08.2016 / 18:09