I have nearly 20 images in a same layout.
I need to play a button click sound when I hit an image.
So I start a mediaplayer in each onclick event.
So that i don't know where to stop the mediaplayer in order to avoid crash?
I have more than one activities .if i click an exit button ,I have to exit from my application.
I have searched the google i got two options.Which is right method ?
First method:
Intent intent = new Intent(ExitConfirmationActivity.this, FirstActivity.class)...
i'm using the below code for fetch the values using prepared statement.
i want to write these code as function so that i can call these function where ever i want.
while i'm calling function i can pass the query as parameters
how can i pass values for bind param?
//code starts...
I was just confused .. Which is best ,safest method to connect oracle with android? Using web services or using oracle mobile server or java socket programming.
I have an Linear Layout with horizontal orientation
Within that I have image on left side and textview on right side .
How to align those image and textview in the center horizontal without using margin?
Here is my code:
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"...
How to provide security when i use http for receiving the json response from the web server and also i'm sending the user details to the server to save those details in mysql db. I'm using HTTP post .
what are the security i have to implement when i use http for receiving the json response from the web server and also i'm sending the user details to the server to save those details in mysql db
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.