hi
i want to know about duration of a video clip on a website without downloading the clip
is this code do the correct :
v = (VideoView) findViewById(R.id.videoView1);
v.setVideoPath("clip url");
v.setOnPreparedListener(new MediaPlayer.OnPreparedListener() {
@Override...
hi there
i want to track user position frequently, but i dont know which on is better and more accurate between gps and google map.
im newbie in android development
thanks in andvanced
hi there
think i have 3 images named A, B and C.
image A is behind image B , and image C is a png file with transparent in some places, i want to put image C up of image B, and can see that parts of image A that image C has transparency.
i dont know have clear explanation
thanks in advanced
hi there
by using this code i want to get screen height and width for every api level.
if(android.os.Build.VERSION.SDK_INT < 13){
screenWidth = getWindowManager().getDefaultDisplay().getWidth();
screenHeight = getWindowManager().getDefaultDisplay().getHeight()...
i have two countdowntimer, one in onCreate and on in onPuase that they do my jobs every seconds. I tested my app in three ways, the first one has a problem.
1. if start app, press the home key, go to menu and start the app again, my object on the main activity that they will be refresh every...
hi there
i need a date diff class to calculate date difference in a way if date diff is for example 2 days and some hour, show it like "2day, 3hours", or if the diff is like some years and months and so on , show it like that
thanks so much
hi
how can i add a group of controls to my view (in a specific layout) and update their information?
i have no idea about this problem, if its possible please help me with a complete guide
thanks you
hi there
i want to work on maps
tried to get help from http://www.androidhive.info/2013/08/android-working-with-google-maps-v2/
but i cant see google play service on extra folder
i updated my sdk to 23, but nothing changed
what should i do?
thanks
Hi
I wanna have a view contain an image under another view that contain another image with transparecy in some places
How can I show that places of first image from second image that the second image is transparent?
hi there
on MotionEvent.ACTION_MOVE i want to play a shot sound repeatedly
but after a moment it will be silent and i solved it by followwing code:
mPlayer = MediaPlayer.create(this, R.raw.tirbar8);
mPlayer.start();
mPlayer.setOnCompletionListener(new OnCompletionListener() {...
hi there
i want to show a view in a position that user click
how to do it?
here is my code:
public boolean onTouchEvent(MotionEvent event) {
// TODO Auto-generated method stub
super.onTouchEvent(event);
ImageView iv = new ImageView(this)...
Hi there
how to do sth like take screen shot before launching app?
for ex: I want to write a snapshot app and want to when I click it to start, first take screen shot and then launch and show shoted picture
thanks
hi there
i made a project and by getting help from this link(http://stackoverflow.com/questions/2868047/fullscreen-activity-in-android), want to change my activity to be fullscreen
but when i change my code to extends from activity and not from activityActionBar , i gave me a lots of error like...
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.