Anatomy & Physiology of an Android - G1 Android Development

Info for you guys.
Not sure if you guys are aware of this.
Or if it is of any help.
Link to a video
ok-labs.com
Android has been designed as a modern mobile platform that will enable applications to take full advantage of the mobile device capabilities. This session will break down the various components of the Android platform, examine how they work, and give developers a deeper understanding of the underlying technologies that drive the Android platform.
Click to expand...
Click to collapse

Watched the Full Video and now i have out of so many myth Android
I thought Android is Linux, Video says its only uses Linux Kernal.
I thought Android is Full OS, Video says its Runs Under Darvin Virtual Machine.
I thought Many Linux Program may run under it, Video Says no.
I thought every Manufacturer have to mod Android to run on Device, Video Says Manufacturer just have to Provide Shell and Virtual Machine Takes care of it.
I though i will take 800 mhz Processor, Video Says 300 Mhz with Beter OpenGL Compatible Acceleration is ok.

Related

outputting android devices to a monitor?? Displaylink

Displaylink released the open source drivers for linux a while ago, for the people who dont know what display link is, its outputting video via a usb port using a special chip in certain monitors. almost any device that runs linux and has usb in theory do it, http://twitter.com/libdlo had this on a tweet: @s31n6 Definitely possible to port libdlo and/or to displaylink-mod to android. Perhaps contribute a development platform to a developer...
The only thing is, the current Linux drivers don't support compression, obviously the company doesn't want the propriety algorithm that the windows and osx closed source drivers contain being leaked..
If a Linux based router can be have display outputted surely an Android phone can!!!
http://nezzen.net/2009/06/01/displaylink-on-router/
http://www.engadget.com/2009/05/18/displaylink-for-linux-turns-a-humble-wireless-router-into-a-beau/
This already been looked at???
G1/dream lacks video output = dead before the start.
evilkorn said:
G1/dream lacks video output = dead before the start.
Click to expand...
Click to collapse
I think your missing the point slightly, the video is outputted as a data stream and you dont need a video out chip to do so other wise how would the get a display output on a netgear router!
anything that runs linux and has a usb port can output video using the display link drivers and a compatible monitor!!
Android Screencast
What about android screencast 0.4; please search for it, as I am unable to post URL's.
yeah I use this!! good for use when connected to a PC!
Here is a android 1.6 driver from the opensource .
http://libdlo.freedesktop.org/wiki/
or
https://github.com/magoroku15/DisplayLink-driver-for-android
update
http://sites.google.com/site/voyageofbeagleboard/Home/displaylink-for-android

[Q] Netflix?

Netflix plays on silverlight.
There is a linux silverlight project called moonlight.
Android is Linux.
My searching has found 0 tutorials on how to get all of that together so I can stream netflix movies onto my captivate.
I did see the article about netflix saying in 2011 that there will be a netflix branded app on some devices but it doesnt list devices so not even sure if that would help.
Moonlight doesn't work with Netflix even on Ubuntu or Fedora, or any other Linux build. On normal Linux, even when switching the UA string to one that identifies as Windows, it still isn't compatible. To watch Netflix on Linux you have to create a VM with Windows and use Silverlight there.
It is a nice idea though. I hear Netflix is coming out with an Android client here soon. They maybe waiting on Gingerbread or Honeycomb.
So I guess the question here is this: What would it take to get virtualbox ported to android??
veive said:
So I guess the question here is this: What would it take to get virtualbox ported to android??
Click to expand...
Click to collapse
More RAM in our devices.
Two things to add
1. Oracle needs to stop suing Google (VirtualBox was Sun and now Oracle) for VirtualBox to be even remotely ported to something like Android.
2. Android to stop fragmenting so badly that companies like Netflix has to write specific versions of the app for the platform (refer to Angry Birds dev about the topic if you are curious).
Thanks guys - good information...
If Netflix comes out for a phone such as the droid incredible but not for the captivate because the droid has a "DRM" path or something.
Will it be easy for people to "steal" the app so we can get it to work on captivate? Or is it hard to do stuff like that?
NinjaCoder said:
Thanks guys - good information...
If Netflix comes out for a phone such as the droid incredible but not for the captivate because the droid has a "DRM" path or something.
Will it be easy for people to "steal" the app so we can get it to work on captivate? Or is it hard to do stuff like that?
Click to expand...
Click to collapse
No doubt, that's one MAJOR factor thats held back Netflix for soo long on Android... DRM. With Android being as open as it is, Netflix's content providers won't allow it without some kind of strong DRM. It would probably be as easy to "barrow" as Blockbuster from a VZW Android phone.
VirtualBox won't run Windows on a phone. Not enough memory, and CPU emulation from ARM to x86 is crazy slow on something like a phone CPU, no matter if it's 1GHz or 1.28GHz like mine. The UI for an emulated XP, for example, would be like a seriously laggy powerpoint presentation.
We're best off not even thinking about it until an official client is announced.
killatt said:
2. Android to stop fragmenting so badly that companies like Netflix has to write specific versions of the app for the platform (refer to Angry Birds dev about the topic if you are curious).
Click to expand...
Click to collapse
That's not an issue. EVERY Android phone is capable of displaying streaming video. Even the 528MHz MSM7200 based phones can handle streams of up to 1500Kb/s.
Even if the phone is capable of streaming video, Androids fragmentation is getting in the way of the streaming software. For example, the android ustream app does not work on the Galaxy S.
Serisium said:
Even if the phone is capable of streaming video, Androids fragmentation is getting in the way of the streaming software. For example, the android ustream app does not work on the Galaxy S.
Click to expand...
Click to collapse
Again, that has nothing to do with fragmentation. That app is in Beta, so bugs on different builds of Android are 100% expected.

[Q] Linux on Droid: Virtualized and hardware options.

I have seen other posts related to these programs. However, none address the ideas/question I have.
chroot = full linux on android = "daddy likes" or in my terms, "awesome, i can convert, compile and port android applications on a bus, plane, work break/lunch etc. But, hmm... I rather would like to attempt to do more... for absolutely no other reason than 'because i can'" So brainstorm with me people.
1st: What settings would be the absolute least CPU intensive to encode/decode on Xvfb?
2: How does one change the refresh(fps)
3: Can it be encoded to mp4, perhaps invoking hardware decoding on an android device? If so, do any *droid* happen to have a hardware encoding option (perhaps because of camera) that can be made use of to improve Xvfb(or clone) performance?
4: What about Kill-android video processes ; link -> chroot or startx?
5: how about a virtualized application container? Something more efficient than vnc, which could execute a process, with hardware supporting inside a "window" that knows what to do with it, rather than emulate a complete frame buffer?
If you are one of those people that read this and want to say something negative: I am ignorant to many things, this is something i realize more with every thing i learn.
Welcome to science.
"Take chances, make mistakes, get messy!" -Miss. Frizzle
Nothing? You realize i will heavily read up on any suggestions you make. Im not looking for directions, im looking for ideas.
I don't really know what are you talking about, take this as a BUMP to your thread
tardisguy said:
3: Can it be encoded to mp4, perhaps invoking hardware decoding on an android device? If so, do any *droid* happen to have a hardware encoding option (perhaps because of camera) that can be made use of to improve Xvfb(or clone) performance?
Click to expand...
Click to collapse
mp4 is just a container, am I right? So you should be looking for what codecs can be encoded/decoded by hardware.
MuF123 said:
I don't really know what are you talking about, take this as a BUMP to your thread
mp4 is just a container, am I right? So you should be looking for what codecs can be encoded/decoded by hardware.
Click to expand...
Click to collapse
Begging your pardon sir, I will be more specific: Yes mp4 is a container format with includes MPEG-4 video compression method. Which when played by most androids is accelerated by an auxilary core processor, which gives you the smooth video playback with far less cpu use.
I, having never thought to actually loop up the hardware features of the powerVR compatable core, theorized the possibility that the acceleration core, might have depreciated encoding abilities in parallel to the decoding. (like maybe the chip encodes because directly encoding video from your phones camcorder, would be highly taxing on the cpu.) But then, if they hadnt thought of that, then the people who designed this core... well ill be nice.
Maybe you need to ask on Droid Development forum, not on Milestone forum, because we have a locked bootloader and we can't use custom kernels or do any bigger modifications.

Which an Android Stick Computer to choose?

I want to play Full HD movies and view photos from my PC to the TV. Therefore, I want to buy an Android Stick Computer to create HTPC. I have the following requirements:
1) can handle 1080p without problems;
2) has comfortable controls (probably need a remote control);
3) price less than 200$ (if you really need, you can increase my budget);
4) good antenna for receiving Wi-Fi signal (in a room, where there is a TV, signal is 20%);
5) the existence of a memory card slot;
6) support XBMC;
7) powerful processor and graphics accelerator.
I tried to search the Android Stick Computer. However, there are a large number of different devices.
I will be glad for any advice.
Are my requirements too strict?
Simply the best
Hixon10 said:
Are my requirements too strict?
Click to expand...
Click to collapse
There is no best andoid stick. You must compare it with the best phone, tv or the best home / garden.
What is the best is personal your personal favorite. To run XBMC you must search a neon capable usb key.
Supported processors are find on the xbmc wiki. Search for Android hardware.
My personal favorite is the RK3188 (quad core) processor.
I am studying this issue for several days. I found one interesting device, which runs on android. It is http://www.vidon.me/android_blu_ray_box.htm Also, I realized that I need to choose the device, which based on OpenELEC. Although, maybe I'm wrong.

Is it possible to install Linux programs on Android

Hello folks,
I have a keen interest in making short movies of my outdoor sport/recreation, and I am looking to install some video editing software on my Android smartphone.
It is a Hauwei Ascend Y320 (4.2.2 Jellybean OS, dual-core processor etc).
Now Google Play has quite a few apps in the search result 'movie maker' or 'video editor', however there are dozens of clones on the stock Android movie maker app 'Movie Studio', which only allows very basic features, such as trimming, add one audio track, add photos to video collection etc.
But I need more features to efficiently edit my videos.
I have been using 'Movie Aid' and it is quite good, by far the best I have used. It has provision for trimming, transitions, photo, video, multiple music tracks, slow/fast motion, text, credtits, subtitles (including image overlay), and audio volume adjustment, etc.
I also use 'AndroiD StudiO' which is a video editor app, not a timeline style movie maker. It does splitting, trimming, filters, cropping, slow/fast motion, audio adjustment, add text to videos, extract video/audio, and much more...
Now that brings me to my question, can I install Linux OS on Android, and then install Linux programs (such as 'Openshot video editor')...
And if you think I should just edit videos on a computer... well I have a Windows 7 Acer laptop, however, as I spend a lot of time in remote ares on camping trips, I need to be able to edit videos easily on the go/in the field. (As when camping, I don't have access to mains power of, so I can't charge my laptop, once the battery runs flat).
Hope someone can point me in the right direction...
You can find a lot of projects "Linux on Android". f.e.
com.zpwebsites.linuxonandroid
Google "Linux for android"
In general it seems very hard to install a linux program in Android, though it is true that Android runs on a Linux kernel. The kernels are often modified to suit the needs of the type of machine they run on. A typical x86 or x86_64 processor machine is not too much different from another. So linux runs well on a great variety of desktops and laptops.
I've been trying to turn my tablet into a linux computer. One problem I have run into is that some packages are not able to run on the ARM processors. So this requires recompiling from source specifically for the tablet. And since my machine is too slow compared to my tablet, it runs out of memory compiling on it's own. So I try to cross compile which has it's own set of troubles. Notice it is the packages for programs that give the most trouble. The kernel does fine.
I have tried Linux on Android, but it complains that my kernel is too old. Your machine sounds pretty impressive so it might be able to handle it. Linux on Android is actually a way to chroot into Linux. It moves root from the typical android filestructure to a Linux Distro's filestructure and runs right off of the kernel running in Android.

Categories

Resources