Android :: Extending Media Framework On Android 2.2 / Froyo - Stagefright ?
Jun 28, 2010
I am interested in adding support for some video containers not supported by default in a video player application. flash player plugin being able to play video on froyo, I suppose there are some api to extend the media framework. I've heard of stagefright but didn't find much details. where can I find details on how the flash player works ? does it use publicly available api ? public or not, how can I access them ?
View 4 Replies
May 22, 2010
I'm very sad that the new Stagefright broke my application ability to streams AAC+ content :( Any pointers on this library? does it still support AAC? Where can I find Android StageFright source code? Anyone having issues with the new media library?
View 12 Replies
View Related
Jul 8, 2009
I want to extend the built in media player, however when i grab the sources, there are a lot of external dependencies that are hard to track down. Is there any way to get the source and the dependencies so that i can have it as a standalone and then extend it, is this even possible?
View 1 Replies
View Related
Oct 18, 2010
Is there a way to extend the delay of the pattern/PIN screen lock to several hours? Lock Delay does this for 2.1, but I read that it doesn't work well with Froyo.
View 1 Replies
View Related
Sep 21, 2010
How to install Froyo framework-res.apk - HTC Battery. just wondering how do I even install it
View 1 Replies
View Related
May 24, 2010
What are the differences between StageFright and Opencore? What does this mean to app developers? Please point me to any links, tutorials online. You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
View 6 Replies
View Related
Sep 7, 2010
Is it possible to detect scan type (progressive or interlaced) of a video file in stagefright?
I see below listed fields are query-able with metadata of file through stagefright, but not scan-type which i guess is avaiable in MP4 file header. Any hint on how to detect scan-type of video file at Stagefright player driver? Or is it available in opencore?
CODE:.............................
View 3 Replies
View Related
Jul 7, 2010
I have develop and app that downloads music files and should add them to the music library.
View 8 Replies
View Related
Nov 6, 2010
I have a Live Wallpaper app that is working very well on Eclair but there is a strange issue with Froyo that I can't find any information about. The user is able to select a custom picture as a background from their gallery and it will be saved to internal storage (/ Snowflakes/CustomBG.jpg) and applied as a background to the live wallpaper. That all works fine until the user reboots their phone... The problem is that the internal storage doesn't seem to be mounted in time for when the live wallpaper starts and so it reverts to the default setting when null is returned (see code below). As I say, this problem has only been introduced with Froyo as Eclair works fine (the image is found and used so the internal storage must be mounted before the Live Wallpaper starts).
Here's the code that searches for the CustomBG.jpg image on startup...
CODE:................
Apologies for the code formatting - is there any way I can improve this? Anyway, I'd be very grateful for any help you may have... I can't find any information about this on-line so perhaps there's something wrong with my code?
View 2 Replies
View Related
Jun 8, 2010
Since everyone says that 2.2 is a lot faster than 2.1, does that include the music player also?
I like the stock music player (although i have the incredible, so it is the sense music player), i like all the features it has (delete songs, playlists, full lock screen support, etc.
The only thing i don't like its that its way slow when going to the list (either artist, all songs, genre). I have over 2500 songs so i know this is the reason, but im just hoping that once we get the upgrade the speed will be more acceptable.
Other than that does anyone know of a third party app that has lockscreen art, and all the basic functionality of the stock music player but performs faster when viewing the list? I've tried all I could find, mixzing, doubletwist, museek, cubed, astro media player, vanilla music player, meridian, btunes, and some other ones I can't remember now but they all have something missing from the stock media player.
View 2 Replies
View Related
Nov 8, 2010
I'm about to buy Archos 101 whitch will works on OS Froyo.i just wonder if this tablet will streem online divx and simular formats.
View 1 Replies
View Related
Sep 29, 2010
I have a droid x n have been trying to get hulu to play since I got the phone. I was told that 2.2 would have flash 10.1 support. When I got the update july worked flawlessly. A few hours later every video gave me a "this video is unavailable, if u continue to receive this message clear ur cache" so I did n nothing changed. I went check my flash n the flash player had uninstalled itself. I reinstalled n applied the update n got the same result. I tried other flash sites n they r not working(only flash games work, no videos).
I brought my phone to Verizon n they gave me a replacement saying it should b able to play. The new phone is doing the same thing. Is this a skimmed down version of flash or is the flash support crazy? Y will this not play after hours of flawless performance? It also freezes the browser everytime, full episode or clip, any show. Is there a Divx web player yet? I know u can use ur pc as a server to stream them through, but can I pull up movies from icefilms.info or alluc.org directly through the browser?
View 2 Replies
View Related
Nov 3, 2009
I'm just getting into Android development, coming from a mostly ruby and scheme with some Java background. For a first project, I decided to try and build a stopwatch.
The included Chronometer widget doesn't quite have the functionality I wanted, so I copied its code into my own package. However, when I try to build it, I get the following error:
CODE:...............
If I remove the RemotableViewMethod annotation, the code compiles, but crashes with an IllegalStateException as soon as I call a method on the widget, as seen in this stacktrace: http://www.pastebin.org/50243 .
Looking through the android source, you can see stock widgets using the RemotableViewMethod all over the place, but for some reason, my code can't.
So, my question is this: What can I do to enable the RemotableViewMethod annotation in my custom widgets? Is there something I should be doing differently in order to code custom widgets?
View 3 Replies
View Related
May 8, 2010
I have trouble (example<http://groups.google.com/group/android-developers/browse_thread/threa...>) wrapping my head around styles/themes. Can somebody help me or point me to actual documentation?
Let's say I have a drawable that I want to use as the background of a layout:
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle>
<gradient android:startColor="#9F9FA4" android:endColor="#66FFFFFF" android:angle="270" /> </shape>
Now I want to have a dark and a light theme. Depending on the chosen theme I want to have a different value for startColor and endColor. How do I do that? I am aware of extending themes, but what do I put into the items? How do I reference those new values then?
View 7 Replies
View Related
Oct 14, 2009
I know this question was asked couple of times in this list, but I haven't found any answer in archives, and last time this subject was debated almost a year ago. Does anyone knows is it now possible to somehow extend contacts functionality (for example: add custom field for VoIP phone number in which case user can use it to start custom activity for voip)? What are Contacts.ExtensionsColumns for?
View 7 Replies
View Related
Sep 19, 2010
I get a result as http://i3.6.cn/cvbnm/e1/71/e9/19008bd7258eaf858be73dc6431b1f8b.jpg,
i want to get two tab,could you help me? Code...
View 2 Replies
View Related
Nov 24, 2010
Ultimately I wish to produce a compressive Contact Manager with some specific features. I thought it would be good to experiment by extending Contact. So using git I checked out froyo-release and tried to build it. That didn't work so well as it contains things like
Suppress the internal stuff under the assumption that I really don't need it. Start with a toy Contact Manager and implement (reinvent) everything.
My guess is that I am going about this incorrectly. "I want that third alternative" --kirk.
Just for completeness, the new special behavior is to provide an action list for a contact based on the types of that entities data.
View 1 Replies
View Related
Oct 31, 2010
Im using the NotePad example as a base for an application. This binds a ListActivity to a Provider.
Its perfect, except it uses SimpleCursorAdaptor, which means the list only binds to and displays one item per row. I want it to display two items, both bound the Provider. Or more accurately display the text from one Content Provider field and an icon which depends on the value of a different field.
This sounds like a pretty simple thing to do, a very slight modification to the NotePad application. Trouble is, I have no idea on *how* to do it. I really need a starting point, and "approach" to use.
So far I have tried (unsuccessfully):
* Hand populating the ListView by reading in the Provider data and populating an array in OnCreate. This works, except as the data is not bound the List does not update when I add an item.
* Extending SimpleCursorAdapter with a custom getViewBinder. Could still only bind to a single column.
* Building my own ListAdaptor. Couldn't get this to work.
* Concatenating both fileds together and "parsing" 2 fields into 1 field read/write.
The next thing I will try is extremely tacky running two separate simpleCursorAdaptors in two views in a Linear Layout, fudged so the row height is identical, and duplicate the logic.
I say this only to show that I really, really have tried.
How I can create a custom CursorAdaptor which binds to two fields instead of just one like SimpleCursorAdapter?
View 4 Replies
View Related
Dec 14, 2009
Is there a way to extend Webkit on Android? Can we write plug in for webkit in android? Can we do things like creating our own renderer for a particular type of data embaded in the webpage? Can we track user session or modify data stored in the browser cache/memory?
View 2 Replies
View Related
Nov 9, 2010
I have an application with various tabs (on a tabhost), each tab is an activity that extends activity, and haves some textfields and things on it
now i need that my tabs have inside a listview, but in the example from android developer guide says that you have to extend ListActivity and not Activity
basically i need to merge these two tutorials:
http://developer.android.com/resources/tutorials/views/hello-listview.html
http://developer.android.com/resources/tutorials/views/hello-tabwidget.html
i want to know how can i use a listview without extending listactivity on my class
someone knows? code...
View 2 Replies
View Related
May 25, 2009
I am extending a theme by creating a style.xml
View 4 Replies
View Related
Jul 30, 2010
I had a basic question. Can my class extend 2 or more classes at a time. What is the syntax. I want to extend Activity as well as Application. Wont this create problems in the manifest file? Activity because, I need to do a couple of things during the onCreate() [binding a service]and Application, because I am creating objects of another class [service class]which needs to be accessible throughout my application.
View 8 Replies
View Related
Jul 28, 2009
I was experimenting with extending the Intent class but don't seem to make it work properly. I am wondering if extending is even possible. Here is the snippets.
Code for custom intent: Code...
View 3 Replies
View Related
Jun 10, 2010
Is there a way to display a MapView without extending MapActivity? I have other Activity class which I'm extending and I would prefer not to change that... I've seen that you can inflate using MapActivity, but didn't find any spec/examples on how to do it.
View 1 Replies
View Related
Feb 16, 2009
I'm creating a custom widget that extends AdapterView. Imagine something like a ListView except that the list items can overlap each other with some transparency. Because of the overlap, I'm trying to control the layout and drawing order of the children.
My issue is that the control renders it's children, but ONLY one level deep. Each child is inflated from an XML resource that contains a FrameLayout and an ImageView. The FrameLayout draws, but the ImageView is never visible. I assume I need to call some method to tell the FrameLayout to layout or draw it's children, but I'm not sure what, why, or where. Does anyone know what I'm missing?
Here is the relevant code for my custom widget: Code...
View 3 Replies
View Related
Sep 22, 2010
Since installing the OTA froyo update I cannot use windows media sync with my computer anymore. I am using windows XP and when i plug the phone into my laptop it comes up as a digital camera and will not show up in windows media player as a device to sync with.
View 4 Replies
View Related
Nov 1, 2010
In a book I read, the author suggests to extend the application class in order to have a place to be used as a singleton. In this way, it is easy to make some initialization stuff in it onCreate().Now my question: if my application has also some broadcast receivers declared in the manifest, and the application was not started explicitly, or it was but then the os reclaimed it resources back, what will be happening if the broadcast receiver is triggered? Will the onCreate of the application class be called first?
View 7 Replies
View Related
Apr 28, 2010
While programming on Android, I end up writing a parent activity which is extended by several others. A bit like ListActivity. My parent activity extends Activity. if I intend to use a Map or a List, I can't use my parent activity as superclass - the child activity can only extend one activity obviously. As such I end up writing my parent activities with the same logic for Activity, ListActivity, MapActivity and so forth.
What am I looking for is some sort of trait functionality/design pattern which would help in this case. Any suggestions?
View 3 Replies
View Related
Aug 15, 2009
I'm new to android development so sorry if this is a stupid question.
The SurfaceView doesn't seam to have an onMotionEvent to override. Is there anyway to capture onMotionEvents with a class extending SurfaceView?
View 2 Replies
View Related
Apr 21, 2010
I just got my HTC Desire with Android 2.1, and the first problem I'm running into a lot is when using the visual keyboard. Being multilingual and having friends who only speak one particular language, there's no single 'correct' input language setting for the word prediction feature, so I started looking into how much work it might be to extend the keyboard with two rather basic, though essential, features:
1) Showing the current language selection, so that I don't have to type stuff, getting it mis-corrected, then discover the language setting must be wrong, go into the settings, select to change language, select language, etc. until I get back, erase the old text and start over. That gets old real quick.
2) Being able to simple change whatever language is used for the word prediction by just having a button on the keyboard doing that directly, i.e. a button that just cycles through the 'relevant' languages with the key label showing which is currently active. Improving it even further, one might imagine:
3) Having a per contact setting, noting the word-prediction language that should be used when communicating with that user. But searching through the docs, I'm slowly coming to the realization that the input text language setting may not even be available to be changed outside the system settings dialog, making this impossible to implement - is that correct?
View 2 Replies
View Related