Questions tagged as 'android'

1
answer

Blank Activity does not appear in Android Studio

When creating a new project in Android Studio chooses the type of activity , how to put Blank Activity in Android Studio ?     
asked by 17.07.2016 / 19:30
1
answer

onClick in the menu [closed]

Good afternoon, in my application I have a menu with two items and they are ifRoom, when I put my save function to start it shows an error in LogCat but I do not know how to solve it ... could anyone help me please. p> NOTE: I know that the er...
asked by 16.10.2016 / 22:12
2
answers

Comparing string typed with string in database

Hello, I'm doing a job ... of an app in android in 3 layers ... and it's an evaluation app for bars and lancherias ... that consists of getting the name of the place ... the address. the email and the evaluation ... but I'm having a difficulty .....
asked by 19.10.2016 / 20:34
1
answer

Method being called several times

I have a problem. The method of adding Message is being called several times and is adding messages until the application is closed. I have no idea what is causing this, I will put the sending parts, if anyone knows how to help , thank you! F...
asked by 23.11.2016 / 20:39
1
answer

Read a CSV file

I was able to import csv into my cell phone, but when I try to read the file so that the application inserts the information inside the csv, an error occurs:    java.io.FileNotFoundException: table.csv:   open failed: ENOENT (No such file or...
asked by 16.06.2016 / 20:20
1
answer

Text inside cardview in half

I would like to know how I put the text inside a cardview up. Inmycodeitlookslikethis:<android.support.v7.widget.CardViewandroid:id="@+id/card_view8" android:layout_width="fill_parent" android:layout_height="50dp"...
asked by 14.06.2016 / 14:34
2
answers

Where do I find applications projects made in phonegap ready for editing?

Where can I find applications projects for IOS and / or Android completely ready? That you can customize, edit them and if possible already with communication with web server, without having to make one from scratch.     
asked by 26.04.2016 / 17:02
1
answer

Add number of a txt file

This is the following, I'm using this method to read my txt file. public String lerArquivo2() throws FileNotFoundException, IOException { FileInputStream input = context.openFileInput("teste46a.txt"); int byteLido = 0;...
asked by 24.04.2016 / 00:07
2
answers

Error using radiobutton getText () method

I created a very simple app to calculate a bill with tip add where I enter a value, select a Radio Button with a percentage and it generates the final value as a result. But every time I click on "Calculate" it stops working and closes with t...
asked by 24.08.2016 / 21:59
1
answer

Error: RuntimeException when trying to mount test case

I'm trying to set up a simple test using espresso and the following errors appear: Code:importandroid.content.Context;importandroid.os.Bundle;importandroid.support.annotation.Nullable;importandroid.support.test.InstrumentationRegistry;import...
asked by 25.08.2016 / 19:05