• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Search results

  1. D

    Apps use ussd result to update sqllite

    hi there is it possible to use ussd result to update my sqllite db's fields? thanks in advanced
  2. D

    Apps best way to get duration of video from website

    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...
  3. D

    Apps show thumbnail of image or video

    hi there how can i show thumbnail(cover) of video in videoview or thumbnail of image? my files are on a server. thanks
  4. D

    Apps gps vs map, which one is better for track user location fequently?

    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
  5. D

    Apps image A is behind image C, i want to see it via image C !

    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
  6. D

    Apps how to get screen width and height for every api level

    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()...
  7. D

    Apps contextMenu and item selected

    hi there how can i know which item trigger my context menu? i register it for some of textviews. thanks
  8. D

    Apps cant handle onPause after start the app for second time

    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...
  9. D

    Apps need a date diff class

    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
  10. D

    Apps how to add my custom font to my app

    hi there i have some fonts, how can i add them to my app and how to set controls to use them? thanks so much
  11. D

    Apps adding group of controls dynamically and manage them

    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
  12. D

    Apps working with map

    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
  13. D

    Apps views overlay and transparency

    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?
  14. D

    Apps mediaplayer interruptted in repeat

    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() {...
  15. D

    Apps how to draw a view in click position

    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)...
  16. D

    Apps do sth before launchin

    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
  17. D

    Apps extends from activity not working

    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...
  18. D

    Apps get touch position when app is in background

    hi there how can i get the touched position when my app is in background? thanks in advanced.
  19. D

    Apps android programming Qs

    hi there where to ask our android programming Questions? thanks