Questions tagged as 'android'

1
answer

How to add Actor to a Screen with Libgdx?

I am not able to add actors (Actor) on a Screen. I want to show an actor in "ScreenMenu" and nothing happens (the actor does not appear), follow me code: MainClass.java public class MainClass extends Game{ public static Stage stage; privat...
asked by 01.05.2016 / 01:52
1
answer

Why does not the alarm open to Activity?

I have in my code an alarm that is supposed to ring when the 22:48 hours arrive but nothing happens now I wonder if the hours that the calendar uses are the system hours? if so what am i doing wrong so my alarm does not show up? I call the fu...
asked by 15.06.2016 / 17:58
2
answers

Display data in textView

I have a database in an application of android , I'd like the field name in the table to fill in the text of the TextView . I saw some examples but I could not implement it, getReadableDatabase().rawQuery(sqlNome, null);...
asked by 16.06.2016 / 22:37
1
answer

Click the action bar icon to open a new try

I would like to know how to click on the icon / word in the action bar and it opens a new intent. I'm doing the following: @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.mar...
asked by 17.06.2016 / 19:33
1
answer

Navigation between Pages

I am making a sales order app with Xamarin , but I have a problem, call a search page, and return the selected value to the page I was on. I'll explain better below. Screen 1: Order registration screen, in this screen, the operator enter...
asked by 15.06.2016 / 13:35
1
answer

Define background LinearLayout from String Variable

I have a function that takes a number (in the String format) as a parameter and checks if it is between the numbers 1 to 5. Here's the function: if (fundo.equals("1") || fundo.equals("2") || fundo.equals("3") || fundo.equals("4") || fundo.equa...
asked by 30.03.2016 / 15:38
1
answer

Fill textview android studio / sql server [closed]

Good malt, I'm not able to populate a textview using a sql server database. Can someone help me? Here's what I have in onCreate: connectionClass = new MainActivity(); text = (TextView) findViewById(R.id.textView4); Connection con = connection...
asked by 20.09.2016 / 22:38
1
answer

Open external link inside webview main page

I have an application loaded at 100% in WebView , I put the link where it has the application and the whole application is via web in php. Only you have links that are not part of the page that are external links (example www.google....
asked by 21.09.2016 / 19:33
1
answer

How to develop in Android Studio with the Firebird database?

Can not connect to an external Firebird database through Android Studio? should I use eclipse? Researching a lot how to make this connection, I saw in some posts that android can not make this connection. And where can I download android s...
asked by 18.05.2016 / 13:46
2
answers

JSON x Web Services

1 - What is the difference of JSON for Web Services? (Only the format type on return)? 2 - In terms of performance, which would be better? 3 - In practice should I use JSON (with a php or java file for example) to integrate my applications...
asked by 15.03.2016 / 20:48