Questions tagged as 'studio'

2
answers

You do not see anything again

I'm trying to use Android Studio, but fuck for everything. I put two buttons and you can not see anything. CLASS package com.example.jhon.myapplication; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import andr...
asked by 11.09.2018 / 10:00
2
answers

Error in build.gradle "should not contain a package statement

Yesterday I saved everything and today when I open the project it tells me this error. I never saw it and I do not know what it could be. I think that fontprovidercerts is missing some characters but the truth is that I do not know what t...
asked by 04.12.2018 / 13:13
1
answer

Amount and not repeated in ArrayList Android

Hi, I have an arraylist with the object prePedido . which is composed with its ID, an IDcliente, an IDproduct and an idRestaurant. What I need is to build another array without repeating the product ID. And if it is repeated just keep i...
asked by 12.12.2018 / 20:36
2
answers

Delete an item from ListView and DB SQLite with OnItemLongClickListener

I'm trying to delete items from a ListView by keeping the click, which works but when I go out and go back into the activity, I reappear the items I deleted. I think this happens because I do not delete the element also from the Data Base,...
asked by 21.12.2018 / 14:04
2
answers

Android Studio executed and nothing appears

Hi, I have Android Studio and it's giving me all kinds of problems, I could not do anything. I installed genymotion and made the arrangements to run the mobile application on my cell phone, but it does not work. In my cell phone opens the app bu...
asked by 11.09.2018 / 02:32
1
answer

Android Studio - Generate a single Dynamic ListView

Good morning, My question is this, I have a Database with a table "Books" to which I loaded about 10 books at random, with their respective fields. One of those fields is the genre of the book (horror, romance, etc). What I have then is a Lis...
asked by 17.12.2018 / 20:11
1
answer

Problem, "My application has stopped" - "SQLiteException: no such table"

I have created an App to consult the address of a person by placing its name in an EditText, for the database I used the BD Browser program for SQlite, create a folder called assets and place the .db file there. The application opens in the emul...
asked by 13.12.2018 / 21:02
1
answer

Update UI every 1 second only updates every 4? Android Studio

I'm working on Android Studio and I have the following problem and I do not know why it happens: My code takes the current unix time in milliseconds, divides the unix time by 1000 to extract the seconds, subtracts a date in unix in seconds and s...
asked by 14.10.2018 / 21:05
0
answers

Multiple tasks in the background on Android [closed]

I would like guidance on how to run several tasks (functions) in background , even when the app is closed from recent apps. For example: a task that verifies a URL every 10 minutes (it is an API of weather forecast) a task that verifie...
asked by 23.10.2018 / 16:47
0
answers

The preview option is not shown in Android Studio

The problem I have with android studio (the first time I use it), is that I do not have the option to preview, that is, I do not get the cell phone that should appear in the right part, and probe changing some values to this:   , putting Base be...
asked by 30.08.2018 / 07:00