Android :: Unable To Remove The Prev Next Buttons Of MediaController
Jun 29, 2009
I want to show MediaController for normal MediaPlayer class. I have done like this:
I have put the MediaController in layout (here in case : sdcard_media_view) and written the code like this.
Its just an audio player. Its working fine but Unable to remove the prev,next buttons of the MediaController.
CODE:....................
View 3 Replies
Jun 24, 2009
I have implemented media player with MediaController.
Its working fine.
Now I would like to show only fastbackward, fast forward, play/pause icons (omitting prev, next song buttons).
View 6 Replies
View Related
Jan 11, 2010
Is there a way to customize the MediaController? I need to change the style of buttons, SeekBar etc.
View 1 Replies
View Related
Feb 22, 2010
how to add add,remove,back buttons in ListActivity.
View 2 Replies
View Related
Dec 12, 2009
In Android 1.6, upon tapping a spinner (drop-down menu), radio buttons appear next to the spinner options. How do I remove those radio buttons so that just the option text remains?
View 2 Replies
View Related
Jan 14, 2010
My app's underlying view has bitmaps, lines, etc drawn on a canvas. I want to display images (icons) on top of this which will respond to Touch events. The number and positioning of such images will be variable depending on data in an SQLite database.
Am I correct in thinking that the way to achieve this is to have a ViewGroup to which I add first the basic view then for each icon an ImageButton object with an OnTouch listener and positioning defined by setting the margins in a RelativeLayout.LayoutParams object?
My code for each button reads as follows: This seems to work when the screen is initially drawn, and when the screen is subsequently redrawn (with new data) new buttons are added; however, the previous buttons are not removed.
I've tried calling Global.ThisApp.MyLayout.removeView with each in turn button as a parameter but Eclipse objects that a MyButton object cannot be a parameter for removeView.
How can I remove the existing buttons each time the underlying view is invalidated?
View 1 Replies
View Related
Jan 31, 2010
I have been trying to get this seemingly simple problem fixed for about half a day now. I have a working MapView and I just want to show the default zoom keys and have them there all the time. They do not appear at all - it's not that they appear then go away.
Code...
I have tried commenting out the setZoom and tried moving the setBuiltInZoom controls to the updateLocation method. I've found a lot of posts in relation to this problem but none that solve it.
View 2 Replies
View Related
Jun 9, 2010
When entering a work or home number into a person's contact, those same numbers appear as "send message" buttons.
How can I remove these message buttons for other than mobile numbers?
View 2 Replies
View Related
Feb 11, 2013
I'm trying to remove some softkeys from a ROM for the Galaxy Note. The Galaxy Note has a hw home button and capacitive back and menu buttons. The thing is, I like tablet ROMs because they use the screen better, but all of them come with Home, Menu and Recent Apps soft buttons added. On TW modded roms you can also find a multiwindow button to launch apps in multiwindow mod (looks like a "^"). So I just want to keep this button (maybe Recent apps too, I'll decide it later). I know how to decompile apks and edit xml's. What I want to know is which apks I need to edit and which xmls in said apps I need to edit/remove entries. I already tried to edit SystemUI.apk and tw_systembar.xml (deleted the entries for Home and Back), but UI crashed on startup and never come up again.
View 3 Replies
View Related
Sep 13, 2010
GMail is almost unusable when composing a message - the Send and discard and Save buttons take up more room than you get space to type, resulting in just 3 or so lines of visible text. To make it worse, the typing font is massive.
Does anyone know how to...
1) Remove the stupid Send/Discard/Save buttons above the keyboard. Clicking the menu soft-key brings up those options anyway, meaning they literally are nothing but a waste of typing space
2) Change the font size, so we can see more text as we type. When reading a message, the font is much smaller and still very readable...
3) Change the keyboard to something shorter, gaining more room to see messages we composes
I got this phone to GMail with so this is pretty annoying.
View 1 Replies
View Related
Jun 4, 2010
I am using MediaPlayer to build a Video player for playing local video files. However, I don't know how to enable MediaController for my player. I want the media control buttons that pop up when you touch the video surface.
View 6 Replies
View Related
Jun 2, 2010
I want media controls such as play/pause for streaming audio that I am playing in my app. I am using MediaPlayer to stream and play the audio. how to use MediaController with MediaPlayer?
View 3 Replies
View Related
May 20, 2010
I want to create a panel to my main activity, this panel could show and hide , just like the MediaController of VideoView. First I want to write my owen ControlPanel just like MediaController, but I found that it is impossible for me to create a new window by calling PolicyManager.createNewWindow(contex); just an MediaController do. SO , how could I create a new window? Or is there other way to implement this floating panel??
View 2 Replies
View Related
Nov 18, 2009
I've created a layout.xml file with the following XML, but I can't get the MediaController to appear at all. code...
In code, I can obtain a reference to it from code, call show(), etc, but it never appears.
I have noticed in the android dev documentation (MediaController.html) that it states, "The way to use this class is to instantiate it programatically.", so maybe I'm a dufus and just need to do something differently such as not do what I'm doing. :)
I CAN get it to appear if I do it programmatically, but I need it to always appear on the screen. Am I just being stupid, or is it just not meant to be inflated via XML?
View 3 Replies
View Related
Sep 20, 2010
I am writing an Android App where I am playing video using VideoView,but the mediaController appears only after tapping the screen.Is this correct procedure ? If not how can we make it to appear without tapping on the screen.
View 2 Replies
View Related
Apr 1, 2010
Can somebody please give me an example code of removing all ListView items and replacing with new items. I tried replacing the adapter items.Still no results.
My code is:
at first I am calling
populateList(){
results -populated arraylist with strings
ArrayAdapter<String> adapter = new ArrayAdapter<String>
(this, android.R.layout.simple_list_item_1, results);
listview.setAdapter(adapter);
adapter.notifyDataSetChanged();
listview.setOnItemClickListener(this);
}
View 6 Replies
View Related
Oct 25, 2010
So when I am on the call screen, and want to hang up or pull the key pad to enter some numbers, sometimes it takes about 3 seconds for the screen to become responsive and those buttons to become press-able. I say 'sometimes' because many a times it just works outright and I can lower the phone from my face and tap the end call button and it works. But other times it can create situations where I want to hang up the phone immediately but cant. Does it happen with anyone else?? One reason for this could be bad proximity sensor, but if screen can light up on taking the phone away from ear, it means proximity sensor is working fine. Any solutions?
View 13 Replies
View Related
Oct 11, 2010
The seek bar of Mediacontroller is not been updating according to de audio player. Only when the trackball is shifted, or the play/pause button is clicked, the seek bar tracks the audio player. Could anybody give me any clue?
View 3 Replies
View Related
Feb 8, 2010
I want to create an Android application that is a client for an Internet radio station. And I want it look native to Android? But im confused with Android API logic and documentation. What i've got is that I need MediaPlayer and MediaController classes. Am I right, and is there any good example of AUDIO player for Android?
Especially, I'm very interested how to use MediaPlayer and MediaController classes together.
UPD:
Finally I've got the code, that does exactly what I want:
CODE:..............
View 1 Replies
View Related
May 6, 2009
Example: I have a button which starts an activity with GET_CONTENT audio/* I have a menu with choices: Music Track or Sound Recorder and a checkbox. I check the box, it tells me that I can clear the setting in Application -> Manage Applications. I launch the Music Track with the box checked. I go to the application settings, but the "clear defaults" button is always enabled. It was already the case with 1.1 SDK, 1.5 does not help (tested on emulator 1.5 AND ADP1 with 1.5 recovery image). I also tested the allowClearUserData flag but it seems we cannot clear anything but the cache (for the webview ?)
View 8 Replies
View Related
Jul 3, 2010
I've got a problem with a shortcut i can't remove, due to it being located beneath the phone tab on the start screen.
The edge of the shortcut is barely visable under the phone tab, making it impossible for me to click and remove it.
I've tried factory reseting the phone, but the shortcut is still there
View 5 Replies
View Related
Apr 12, 2010
Read the tutorial on removing the unwanted sprint apps and thought everything went fine. Could not see the apps I removed in my menu but I'm not showing any improvement in internal memery. Did I do something wrong?
View 3 Replies
View Related
Aug 8, 2010
It seems as if I am unable to remove my external sd card from my Galaxy S. After uninstalling it under "Settings" i try to pull it out/push it in so that it snaps out but it cannot be moved out of the cartridge. I can only push it further in for 1 mm or so.
Is there anything I am not seeing or has anybody else had the same problem?
View 1 Replies
View Related
Jul 28, 2010
I've successfully unrooted in order to return the phone for a replacement but I'm still seeing the superuser permissions app.
My method for unrooting was opening up terminal on my phone and using this code:
Code:...................
View 4 Replies
View Related
Jun 5, 2010
i have to use tweezers to remove my memory card buried in the corner behind the battery am I missing something? I lift the red tab up then the memory card lifts up but I cant get to it with two fingers. Am i doing something wrong or is it just a design flaw?
View 9 Replies
View Related
Nov 10, 2013
PAC-man ROM
Settings -> PAC-man -> Notification Drawer -> Tiles and layout
It allows me to add / remove tile. However, the quick settings remains unchanged.
Is there any way to fix this?
View 2 Replies
View Related
Jan 11, 2012
I have started using Waze for my GPS navigation needs. The problem is, I had previously told my phone to use Google Maps Navigation (or simply "Navigation", the one with the blue arrow icon, instead of the other option at the time which was TeleNav GPS Navigator), but I can't seem to remove that default app setting.
I have gone to Settings->Applications->Manage Applications->All to look for the Navigation app and clear "Launch by Default" setting, but it does not appear in the list of apps at all.
Is this a thing about Google apps, that they are kept hidden and forever locked into being your default app once you tell it so? I thought maybe it was part of the regular Google Maps app, but the setting there says there are no defaults set to be cleared.
View 5 Replies
View Related
Apr 8, 2010
I added a folder to my home screen and i cant remove it. any idea how?
View 2 Replies
View Related
Feb 23, 2010
So through a weird assortment of events i managed to crack the screen on my Eris. But this is the trippy part, I didnt break the glass but the touch sensors underneath. So now i am unable to use the menu or home buttons and the entire left part of my screen and more. I am unable to unlock my device in anyway that i know(menu button, the slider). Is there any other way to unlock it? I now have 11 unread texts and 4 voicemails that I desperately want to view. Oh and I know some of you won't be happy about what I'm about to say but.... I took the leap to the moto droid. I had the chance to get it on a 1 year because I didnt get insurance and I went for it. I will really miss my Eris but the keyboard lag was just killing me.
View 11 Replies
View Related
Jul 29, 2009
I am not able to find out the perfect layout(viewgroup) to place four buttons as shown in the attached image. Basically, i want to place four buttons near the top/left/bottom/right edge of the screen. AbsoluteLayout helped, but it is deprecated (It is also better to avoid AbsoluteLayout as it is not very flexible for orientation changes)
View 2 Replies
View Related