How to compile stock android for your phone - android

Are there any instructions or pointers on how to get started to compile the AOSP 2.3 branch for HTC phones? I am looking at compiling and getting a vanilla OS for myself and later on putting on some custom apps.
I have followed the link http://source.android.com/source/ here and I am able to get the emulator build to compile ('full-eng'). Any pointers anyone ?

I'd reccommend you go to http://xda-developers.com for this. Their forum is focused on Android modifications, such as the one you're looking for, and someone there may be able to help you out. Someone might also have already done it and posted instructions.

Related

Having some trouble with android studio probably has a simple answer

I'm trying to install android studio, but while I was installing it I got this exception:
My question is what is the Android Emulator Hypervisor? what does it do or enable me to do? I tried looking it up online but I kept getting into these rabbit holes of information that kept expanding and expanding. I just want a concise answer for my small brain and maybe a quick and clear explanation to fix this.
The emulator essentially creates virtual machines running specific Android versions in order to run your apps. The Hypervisor driver is something that can help a lot with performance. If you want to check out the details, this documentation page might be a good start.
To fix your installation issue you only need to follow the link given in your error message, there's not much need to understand hypervisor workings.

How can I get Android-Go source code instead of AOSP

I'd like to make Android Go instead of using AOSP.
But have no information except this site (https://www.android.com/versions/go-edition/)
Please let me know any hint or contact points if any.
Can I compile Android Go from my AOSP code?
Do I need to contact google person to get some right to handle Android GO source code?
Thanks
As long as I know Android Go Edition is a Trimmed down lighten version of AOSP to run on Low-end chips with more optimization in code than AOSP which are tends to run on High-end SoC's but that is done all on Manufacturers side Google don't provide this.
But you can contact Google to know more about it and If you are planning to Launch a device.

USB Midi driver for Android crashes

I am trying to use this USB-MIDI-Driver https://github.com/kshoji/USB-MIDI-Driver in my project. I added the driver using gradle,
maven {url 'https://github.com/kshoji/USB-MIDI-Driver/raw/master/MIDIDriver/snapshots'}
...
compile 'jp.kshoji:midi-driver:0.1.1:#aar'
copied the sample (https://github.com/kshoji/USB-MIDI-Driver/blob/master/MIDIDriverSample/src/jp/kshoji/driver/midi/sample/UsbMidiDriverSampleActivity.java), removed the "play audio" part and started the activity from my MainActivity.
My problem is, that with time it gets slower and slower, it misses events, I skip frames, the ui becomes unresponsive, the device is detatched and my app crashes more or less... The pre-compiled project from Google Play Market works fine though.
The only thing I can think of is that I use the wrong version of the driver or sample... Is there anyone who had a similar problem and can help me?
I did not really find an answer but followed kshojis comment in Send MIDI messages over USB on Android and tried the alternative driver he suggests (http://www.humatic.de/htools/nmj/).
nmj seems to use much less resources but requires you to interpret midi-events. http://www.petesqbsite.com/sections/express/issue18/midifilespart1.html is a nice resource on how to read midi.

How to run program of osg with qt for android?

I have installed qt for android on my windows system,now I want to run a program with osg(openscenegraph) on android device via qt,Please tell me step by step procedure as I have searched almost all links for above problem but there is no support available.
Please if anyone know answer me soon.I really need help regarding this.
Thanks and Regards
Siddharth Agarwal

Errors using the apkTool

I have used this site to help me with the apkTool in the past, however I have today come up against an error I can't quite get my head around.
I am DE-compiling an APK which was written by a predecessor as it requires a few tweaks and he hasn't left any source files behind..
So, As far as I'm aware I have the latest tool available, using windows 7 64bit.
I have added the framework from my test tablet which the app runs fine on. And this is what I get..
This is the error screen
http://img199.imageshack.us/img199/4291/63yc.png
Anyone have an idea at what the issue is here? Any help really appreciated.
There's an open issue on a similar exception (scroll to the bottom):
https://code.google.com/p/android-apktool/issues/detail?id=477

Categories

Resources