How to use string created strings.xml via code
example you have to call <string name="hello_world">Hello world!</string> at some point in the code ( Activity ).
For example ...
I have an application that has a main ActionBar and in it I "seto" an activity that has a drawerLayout (which has a side menu) ... In each menu option - I selected - I replace the FrameLayout added to my DrawerLayout by a fragmen...
Can you compile a java project in eclipse , if so, how?
Otherwise, how do I compile a project in Java ?
I was able to transform the code into .jar by eclipse. But when I click to run it, it just does not open.
I gave a lookup of how...
I hope you can help me ... after I installed everything (everything: ADT , Eclpse , SDK and ALL Android UPDATES)), no matter how many projects I create, SRC of eclipse, can someone help me ...
photo below ...
...
I followed the post about authentication and authorization in demoiselle but I can not redirect to the login page, it follows files:
frameworkdemoiselle.security.enabled=true
frameworkdemoiselle.security.authorizer.class=br.gov.serpro.bookmar...
I have a problem listing the photos in the DCIM folder on Android. Does it give the loop error for , casting java.lang.NullPointerException ? What can it be?
See the code that takes the information from the folder:
public class...
I have an array in a class called Logica.
And I'm manipulating it from another class called Game.
But when I pass a value from the Game class to the array in the Logic class and Czech if the value was stored in the array it returns me 0, a...
Button operation is correct, it executes all previous rows. However, instantiating an object Email displays the error.
public void send(View view) {
EditText text = (EditText) findViewById(R.id.editText);
Switch iluminacao = (Sw...
What is the best way to get latitude and longitude on android.
Eg after the request (tap the button) the user waits for the gps to get the coordinates and after that it displays them for it.
I'm working on the development and refactoring of some Activity's that has similar behaviors in our projects, so to avoid code repetitions, for common functionalities, I've created some Activity's base, which are inherited by the o...