Questions tagged as 'android'

2
answers

help login android studio, does not show values of $ user because it is not a JSONobject

PHP Code. <?php require('conexion.php'); $User=$_POST['User']; $Pass=$_POST['Pass']; $sql="SELECT User,Pass,TipoUsuario FROM tb_usuario WHERE User=? AND Pass=?"; $stmt = $conn->prepare($sql); if ($stmt->execute(array($User,...
asked by 17.05.2017 / 22:56
1
answer

OnClick in Fragment does not change my TextView [duplicated]

public class MainMenu extends Fragment implements OnClickListener{ @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { View v = inflater.in...
asked by 21.04.2017 / 10:42
2
answers

Cursor error when querying in sqlite from the assets folder when the application is removed and reinstalled

I have a problem when I query the sqlite database from the assets folder only when I uninstall the application and reinstall it. If it is the first time you install the application runs normally without any problem. In the list of errors it show...
asked by 20.04.2017 / 01:35
2
answers

Align three buttons horizontally in a layout

How can I make the bottom buttons line up from left to right instead of top to bottom and occupy the full width of the device that runs it? Can I use percentages? Deputy code: <?xml version="1.0" encoding="utf-8"?> <RelativeL...
asked by 21.04.2017 / 19:06
1
answer

Resources NotFoundException when trying to inflate a layout

Good day. I have an activity in which I fill listview by means of an adapter, in lollipop it works perfect but in marshmallow and jellybean I get this exception    android.content.res.Resources $ NotFoundException: Resource ID # 0x7...
asked by 21.04.2017 / 19:15
0
answers

Execution failed for task ': compileArmv7DebugJavaWithJavac'

Trying to compile a project which I copy from my repository has the following problem: C:\Users\PterPmntaM\AplicacionesIonic\unicesarApp\platforms\android\src\org\crosswalk\engine\XWalkWebViewEngine.java:54: error: cannot find symbol import or...
asked by 14.04.2017 / 02:28
2
answers

error: code too large android studio

By entering a modification in the application I missed this error. I imagine that I must reduce code or something like that so it says the error but I do not know exactly what type, if there are too many variables or calculations or what happens...
asked by 14.04.2017 / 16:49
1
answer

Admob and Android Ad Block

Good morning recently I published an app in Play Store, it contains a simple banner, now I'm thinking about placing another banner in another activity, I wanted to know if any of you used the same ad unit ID for different banner or necessarily I...
asked by 01.05.2017 / 15:43
0
answers

AlarmManager: problems with set and cancel

I am starting to create an activity to manage alarms for an application. The problem is that when entering the set and cancel methods it says "Can not resolve symbol 'set'" and "Can not resolve symbol 'cancel'" respectively. Let's see if anyone...
asked by 30.04.2017 / 18:41
1
answer

Open Activity according to the Item selected in ListView [closed]

How to make an item in the Android listview open a "different activity" according to the selected item? I have declared these variables in the java file, but it flags me in red adapterView package com.example.juan.pruebaprueba; impor...
asked by 18.04.2017 / 18:08