This probably sounds like a stupid question BUT, when developing for Android, should I just use the latest google api/SDK available or should I install them all on eclipse? I'm grabbing them all from 2.0 onwards atm but is there any point?
No. Just get the latest. It will be able to handle the latest kernels and older ones so it would make sense to just get one (the latest one). Good luck in your development.
Related
This may be a silly question, but if I were willing to forgo the benefits of the Sense UI, would it be possible to root my HTC Hero and install the stock Android operating system?
I would imagine that would enable me to upgrade the phone to the latest version of the OS without having to wait for HTC to update the Sense version?
there is (at least one!) a thread in the devs section about this.
Possibly not so. If you do succeed in having a virgin Android os on the hero, updates are posted over the air and your provider will not post to yours as you have a hero. I would also think that the flat file update would have to be modified as well.
What is the likelihood that updated versions of Android will be available for the Touch (official or homebrew) ? It would be superfly if we could get a CyanogenMod release for it but I don't know how feasible that would be.
At some point, a sticky needs to be created saying that no custom roms are being developed at the moment, and won't be for a while.
Hey guys!!
I am new around here so I apologize for any brake of rules I might be doing around here. You are welcomed to notify my about them
I just got a Geeksphone Peak. On the box it came with Firefox OS, of course. I had it for a few days and then flashed Android in there. I am not sure how, but it looks like Firefox OS is not there anymore, or I can't find it. Any idea how to flash Firefox OS again here so I can have both?
And another question, is there possible to have another version of Android, a lower one? I have Android 4.0.4 Ice Cream Sandwich but probably the system would run faster in an older version of Android.
Thanks in advance!
As far as I know, it is not officially supported to have dualboot. So you have Androd or Firefox OS. You can download the old images here: downloads.geeksphone.com (sorry I cannot post links because I am new user). But Geekpshone has dropped support of Peak so there is no current built. I am trying really hard to build it but so far no success.
As for the Android - where did you downloaded it? You would have to download old built which is not built anywhere - so you would have to build it yourself.
I'm new to the forums and a novice programmer but here's my question:
There's an app I'd like to run on my device for work. Per the play store, the app requires Android 2.3.3 and I'm running 2.2.2. I'm running the most recent version of a custom ROM on an outdated device so can't update my device's build.
I'm wondering if it's possible to tweak the app's source code and repackage it to make it run on my device. I have downloaded the .apk file and tried to install it on my phone and get a parsing error. So with the help of google I have managed to get into the source code using dex2jar and jd-gui. Problem is I don't know much about how apks are written. I found something in the 'accessibilityservice' area that seems to check the android build version, but as far as I can tell that is checking for whether the device is running ICS (if build >= 14) whereas the app is said to be compatible with older builds as well.
Anyway - how complicated would it be to port an app backwards so that I could run it on my phone? You should assume that I'm already in over my head.
Thanks.
petegw42 said:
I'm new to the forums and a novice programmer but here's my question:
There's an app I'd like to run on my device for work. Per the play store, the app requires Android 2.3.3 and I'm running 2.2.2. I'm running the most recent version of a custom ROM on an outdated device so can't update my device's build.
I'm wondering if it's possible to tweak the app's source code and repackage it to make it run on my device. I have downloaded the .apk file and tried to install it on my phone and get a parsing error. So with the help of google I have managed to get into the source code using dex2jar and jd-gui. Problem is I don't know much about how apks are written. I found something in the 'accessibilityservice' area that seems to check the android build version, but as far as I can tell that is checking for whether the device is running ICS (if build >= 14) whereas the app is said to be compatible with older builds as well.
Anyway - how complicated would it be to port an app backwards so that I could run it on my phone? You should assume that I'm already in over my head.
Thanks.
Click to expand...
Click to collapse
A LOT of things changed from pre-2.3 to 2.3 in Android, code-wise. It was a huge upgrade, and a lot of unsupported things were implemented.
It's set to run on 2.3.3 simply because it uses functions that only exist in 2.3.3 and higher.
So to backport it you'd need to get the source code, check what functions require 2.3.3 or higher, edit them to use other functions/write the code yourself. You can't just simply remove the code that checks what version of Android you're running. That won't do a damn thing.
The last part is the near impossible one, because you'd most likely have to write code that goes deep into the Android framework.
If i were you, i'd simply look for another app that can do what you need and doesn't require 2.3.3 or higher. Though there aren't many out there. Most people base their app on 2.3.3 because like 95% or higher use that version (or a higher one).
If you were to dive into this, you'd need extensive knowledge of Android, Java & backporting.
Though i'm not able to help with that, at least the backporting part.
Moonbloom said:
A LOT of things changed from pre-2.3 to 2.3 in Android, code-wise. It was a huge upgrade, and a lot of unsupported things were implemented.
It's set to run on 2.3.3 simply because it uses functions that only exist in 2.3.3 and higher.
So to backport it you'd need to get the source code, check what functions require 2.3.3 or higher, edit them to use other functions/write the code yourself. You can't just simply remove the code that checks what version of Android you're running. That won't do a damn thing.
The last part is the near impossible one, because you'd most likely have to write code that goes deep into the Android framework.
If i were you, i'd simply look for another app that can do what you need and doesn't require 2.3.3 or higher. Though there aren't many out there. Most people base their app on 2.3.3 because like 95% or higher use that version (or a higher one).
If you were to dive into this, you'd need extensive knowledge of Android, Java & backporting.
Though i'm not able to help with that, at least the backporting part.
Click to expand...
Click to collapse
Thanks for the very helpful information. I will definitely not be attempting this.
Most likely will be getting a newer phone in a few months when I'm due for an upgrade so it'll be a moot point. Until then, I'll get by.
I need to install an Android version that uses Dalvik/Java and not ART, any way this can be done? And/or "dual boot" your phone?
No. You can use an Android emulator on your PC, on the other hand. Buying an older phone like the G2 would make more sense to me.
Maybe, but dunno if the device drivers or chipset would support anything older. Who knows, you might be able to compile a CyanogenMod build based on KitKat or something.
As mentioned above, use an emulator or dual boot Android on PC. Check out the Android x86 project and the official Android emulator.