LatinIME API Levels - Android Apps and Games

Hey,
I've recently dived head first into android app development. I was messing around with the LatinIME that is available on the the AOSP source code tree.
I've managed to get it working fine on my 4.0.3 device, but i'm having serious problems trying to get it to work on devices with lower API Levels.
It's got lots of deprecated packages inside it, so i believe there must be some easy way of getting it to run without FC's on older devices, but i just can't figure it out!
Other people have already done this, as it's available on the market, and i'd appreciate any guidance anyone can offer.
Is it just a case of rewriting the 4.0 only functions?
Thanks,
Jack.

Related

[Q] Port Android Questions

Ok, I know much of what I'm about to ask has generally been answered or discussed in other posts, but I could really use some more direct/specific answers to my own questions.
My first question is about hardware drivers. To my understanding, a great many, if not most, of the more common wifi drivers are incorporated into the latest linux kernels. If this is the case, will more or less any Android system run on a device so long as the appropriate kernel is provided?
To be a little more clear on that, I'm actually trying to learn Android development (both for apps and building roms) on a cheap Chinese tablet that I picked up. Naturally it already has a version of Android 2.2 pre-installed. However, I have not been able to extract the contents of the boot.img or the system.img, I keep getting an error, whereas I can unpack the SDK img's no problem. So I was hoping that I can get away without compiling a custom kernel, use the already existing one, and go ahead with tweaking the system.img from either the AOSP or SDK sources. Getting the source code from the manufacturer may be impossible since I can't even seem to find out who the manufacturer is or get their contact info.
I'm actually looking to port CM7 to my wife's LG Shine Plus eventually, but I don't want to pull a Tim Allen on her phone so I want to get some experience and feel for working with Android's internals on my tablet.
So my next question is still about drivers, but what I want to know is how are things like the LCD, touchscreen input, audio output, wifi and the cell radio handled on a typical Android device? Is it mostly handled by the hardware itself with the Android framework or kernel just passing universal APIs or do the drivers for each individual piece of hardware need to be compiled into the kernel? As in the gkisystem for radios, is this handled by the kernel or the framework? Which kinda brings me back to my first question, if it is built into the kernel itself, can I not use, for example, the already existing kernel on the LG Shine Plus (it's running 2.1) to port CM7?
Any and ALL help is honestly and truly appreciated. I've been looking for detailed answers for these questions EVERYWHERE.
** just bumping this post so that it can get seen**
any help or advice at all?

[Q] Creative ZiiO 7'' hacking and tweeking

I recently bought a ZiiO and at first look it seems like an excelent tablet for is price. But it get's me frustrated to be stuck on Android 2.2.1 version as well as stuck on Creatives' propritary updates.
At first glinpse on the device everything here looks like it has been developed according to the hardware. Not having market, not beeing able to mess around
Searching and researching on the web allowed me to root my device and install common software like the Market.
Then I realized that ZiiO's hardware is capable of supporting USB Host which sadly hasn't been enabled on the kernel that's compiled on the device. Looking at config.gz made me wonder why on the world would Creative do such a thing.
Has anyone been able to dump ZiiO's boot or kernel? I need to recompile the kernel to enable some flags. Has anyone gone through this expirence that can lead me on the right track?
Having such a variety of devices on the world makes me confuse on what should and could be done on this device.

[Q] New Android Dev Questions

Hello everyone,
I am not new to the android scene, and am quite familliar with linux development in java and c. I found myself in the pleasant position of having a second Atrix 4g that I had previously unlocked and played with a bit and decided it was time to have a look at some of the android issues that have managed to sufficiently annoy me.
To this end I have pulled down the aosp of ICS as well as CM9 for comparison. I see that there are issues with the tegra2 binaries for ICS and was going to have a go at building a 2.6.39 kernel for ICS.
Can any of you point me to some info on integrating a new kernel into the android build? As I understand it, the currently available binary drivers are build against 2.6.36 for GB.
Is it only the opengl drivers that are an issue? Are there opensource drivers for the bt/wifi/cell? The cameras/touch sensors/gyros etc?
I have done some research and looked over Googles build info, but it only covers the reference gear. I have not yet found a good guide on integrating 3rd party drivers for other hardware..
Thanks for all your assistance. Once I learn the build system I'm sure I will be able to make some useful contributions.
Also, I may be able to offer some hosting assistance for some projects.

[ROM] Android Gingerbread on Zedboard not reacting to Touch/Mouse input

Hi,
I know that Android Gingerbread is quite old so probably most people would not bother to port it any more, but I need it for a university project where the hardware resources are very limited.
After a lot of work, I managed to build Android Gingerbread for the Digilent Zedboard, but it is not reacting to any touches on my USB touchscreen or to movements/clicks with a USB mouse.
getevent provides the expected events and I tracked them in InputReader.cpp and they seem to be dispached fine, but the UI does not react to the input. I can see that the events are enqueued, but cannot find where Android actually picks up those events and works through that queue. Does anybody have an idea?
I followed a tutorial on elinux.org (I am not allowed to post links yet. It's elinux.org [slash] Zedboard_Android)
with small modifications (enabled USB touchscreens in the kernel config, switched to a different android repo since the one in the article is offline)
Any help is much appreciated.
Thank you!
Android Gingerbread is no longer supported, and cannot use Google Play Services.
Why are you trying to run Gingerbread?
Please read THIS BEFORE responding.
Thanks for the answer!
x13 said:
Android Gingerbread is no longer supported, and cannot use Google Play Services.
Click to expand...
Click to collapse
I do not need Google Play Services.
x13 said:
Why are you trying to run Gingerbread?
Click to expand...
Click to collapse
We are trying to show dynamic partial reconfiguration with Android. For that purpose, we selected the Xilinx Zynq processing system. It consists of a dual-core ARM processor and an FPGA. The point is to reconfigure parts of the FPGA from Android during runtime.
Unfortunately, we were unable to find hardware designs for the upper-level Zynq chips and do not have enough resources to build one ourselves. Therefore we are stuck with the smaller chips and went for a ZedBoard.
At a point in history (I am not sure when) there was even official android support for the ZedBoard by iveia. They used android gingerbread, thats the first reason why we chose to use it.
The second reason is that the ZedBoard has very little resources (slow processor, little RAM, no GPU), which disallow more current Android versions to run. Some people got more recent version booting (google noritsuna android zedboard), but they reported it being slow since there is no gpu and low ram (they used linux swap since the built in ram is not enough for android - but linux swap from an SD card is terribly slow). Also, we were unable to replicate their build. All build processes go through but it does not boot. No debug output is available - not even kernel messages over UART. I suspect the u-boot setup is wrong but am no expert and cannot fix it.
Gingerbread is working fine (except for the touch issue), so we decided to stick with it.

[help][reboot-app] ubuntu dual boot installer [reboot-app][help]

hey guys
so there is a solidly large amount of new devices being ported to ubuntu touch and as the app has been in development hell i would like to bring it back and rework it to allow the great new devices thats been ported to it to use the app. I ran across team humpolecs original source code and i have it downloaded and ready to upload back to github.
i have been working on it and its pretty old stuff dating back to kitkat. wow. any way so adding new devices to the java and changing the adress to the ubports system-image site is pretty steaight forward. but im having trouble with a couple code snippets that are erroring my compilation but still to make it fully worthwhile i need to know how to get the boot and recovery partitions of the new devices that are popping up.
Also considering my own device has avb partitioning will this be a problem getting going. looking for volunteers to help me reboot the app any takers?
the main problem im having is fixing the deprecated progressDialog snippet. ive seen some examples and fixes but no matter what i try i get errors

Categories

Resources