This week's giveaway is in the JDBC forum.
We're giving away four copies of Java Database Connections & Transactions (e-book only) and have Marco Behler on-line!
See this thread for details.
Win a copy of Java Database Connections & Transactions (e-book only) this week in the JDBC forum!

German Hernandez

+ Follow
since Dec 17, 2018
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by German Hernandez


im trying to convert this url





i try with this solution but no results

also with:

RewriteRule palabra/(.*)/ autor.php?id=$1  [L,QSA,NC]

and with this:

RewriteCond %{THE_REQUEST} ^[A-Z]{3,}\s/+autor\.php\?id=([^\s]+) [NC]
RewriteRule ^ /autor/%1/? [R=302,L]

thanks for the help!
randy i try but i think the problem is with the logic of the tags
5 months ago
i get the message, so the image is listening and working but the image not change

its simple i have one image "image1", when the user click on it i change to "image2"

but now i click and not change xD
5 months ago
i test this

and still nothing
6 months ago
i fix that but im fighting with this, no error but when i tap on the image don't change to the other

actual code:
in SO one user suggest this line

int id = getResources().getIdentifier("asd.testapp:drawable/" + oldpic, null, null); << but i get a "cannot resolve on the variable oldpic (its the name of the first image)
6 months ago
E/AndroidRuntime: FATAL EXCEPTION: main
Process: asd.testapp, PID: 6822
java.lang.IllegalStateException: Could not find method onClick(View) in a parent or ancestor Context for android:eek:nClick attribute defined on view class with id 'select1'
at android.view.View.performClick(
at android.view.View$
at android.os.Handler.handleCallback(
at android.os.Handler.dispatchMessage(
at android.os.Looper.loop(
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(

and the complete code in paste

6 months ago
hi guys im stuck with this

and with this code i have the error

   java.lang.IllegalStateException: Could not execute method for android:onClick
6 months ago
yes, problem solved, thanks
6 months ago
added as attachment
6 months ago
thanks all for take time for help me but i need something more simple i did this ugly graphic maybe is more clear
6 months ago
sorry but i cant edit the previous post i will try with this code removing the extra data, thanks for the help !
6 months ago
hi daniel thank you a lot for the answer but i need something more simple no values only the images
6 months ago
Hi guys im with my first java/android app

I want shuffle 5 images i already check on google "how to shuffle images java" and "how to shuffle a deck on java" and i read stackoverflow but they explain the logic for shuffle the values of cards  and i only want shuffle the images

If anyone can share a link or explainme what i need learn for add this effect will be great

thanks in advance for read this
6 months ago