Hi,
I was looking everywhere but couldnt find answer!
Issue
Since api 21, OpenFileChooser into android app webview has changed to OnShowFileChooser. This is causing upload button <input type="file"> to do nothing on click. From there i could find a way to make it work, but i couldnt make it compatible on lower version than 5.0 lollipop
Is there anybody that know a way to make the code compatible with all android version api 8 to 21 thanks!
Related
Is there any way to port the sendrawPdU library to the current ROMs via either flashable zip or raw code editing? I know that the API was depreciated by Google after Android 1.6 but it also still can be found in even the newest HTC devices running stock ROMs, I've done a few searches on the internet but I cant find anything related to getting it to work with Jelly Bean 4.1.X or 4.2.X . Can anyone offer any help?
I have a Samsung Galaxy Y GT-S5360T, which I use only for testing Android software that I develop. Its API level used to be 10 (Android 2.3.6).
However now I need to test applications developed for API level 11 or larger.
So I had a friend flash the Android's ROM. Now it runs Android 4.1.1, which is supposed to correspond to API level 16. However it does not let me install applications requiring API level higher than 10.
So in effect I have a smartphone with Android 4.1.1 claiming to have API level 10 when I try to install my application.
Did anyone encounter a similar problem? Which ROMs are free of it? Is there any other way to solve the API level problem?
Thanks.
TDDPirate said:
I have a Samsung Galaxy Y GT-S5360T, which I use only for testing Android software that I develop. Its API level used to be 10 (Android 2.3.6).
However now I need to test applications developed for API level 11 or larger.
So I had a friend flash the Android's ROM. Now it runs Android 4.1.1, which is supposed to correspond to API level 16. However it does not let me install applications requiring API level higher than 10.
So in effect I have a smartphone with Android 4.1.1 claiming to have API level 10 when I try to install my application.
Did anyone encounter a similar problem? Which ROMs are free of it? Is there any other way to solve the API level problem?
Thanks.
Click to expand...
Click to collapse
There's no jellybean for the galaxy y. We have at a stretch been able to run ics in the form of.cm9. Whatever rom you have must be a themed gingerbread rom. Thus apps made with an API level above 10 obviously wont run.
Hello, I'm trying to build an app called Commotion Wireless from its source code - I didn't make this app myself, so it should be a simple case of following the instructions in the README, importing into Eclipse and exporting as a .apk. However, upon attempting to build, there are 3 errors: two saying "isIBSS cannot be resolved or is not a field" and the third with "frequency cannot be resolved or is not a field". The offending pieces of code are here:
github.com/opentechinstitute/commotion-android/blob/cm/src/net/commotionwireless/profiles/Profile.java - lines 201 and 202
github.com/opentechinstitute/commotion-android/blob/cm/src/net/commotionwireless/meshtether/NetworkStateChangeReceiver.java - line 92
Now as many of you know, stock versions of android don't seem to support ad-hoc networks, this is functionality that other custom firmware such as Cyanogenmod adds. As far as I can tell, this app is intended for cyanogenmod (as the devs state in URL1 below). Therefore I think that the definitions of "isIBSS" and "frequency" are not in the stock versions of andriod (URL2 is a patch somebody wrote that adds them), and the root of my problem is that I'm trying to build the app based upon the stock version of android that doesn't understand what "isIBSS" and "frequency" mean. I have never tried to build an android app before so have little experience, but my first instinct was that I needed to install a custom version of the android SDK for Cyanogenmod that would have the needed definitions in - however as far as I can tell, no such thing exists.
Does anyone here have any idea how I may resolve this issue? Your help is much appreciated
URL1: commotionwireless.net/developer/resources/commotion-android/
URL2: thinktube.com/files/android-ibss/patches/frameworks-base-0001-Wifi-Enable-Ad-Hoc-IBSS-network-configuration.patch
Hi there!
I tested my app on Android Lollipop, and I noticed that setAlpha(int value) is not working...
I saw on the Android Reference that setalpha(int) is for 11 below API, and setAlpha(float) for higher APIs.
I tested the app on Android 4.0 (API 14) and it works perfectly... But when I tested on Lollipop (5.01, API 21), the setAlpha doesn´t work :S
What Can I do to solve this porblem?
hi everyone is there anyway to make an android 5.0 apk work on 5.1 it just closes upon loading and its a much needed app