[Q] setAlpha() in Android Lollipop - Java for Android App Development

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?

Related

[Q] Flashing ROM does not modify API level

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.

[Q] OpenFileChooser issue - Android webview app

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!

[Q] [app idea] why do android wear need minimum 4.3 version?

Hi,
Why do android wear need minimum 4.3 version?
I believe it has just few limitations but why it supported on above 4.3?
My suggestion is why an app cant be built which supports ICS , gingerbread phones which can interact with android wear.
I know few things are not possible but basic things are possible like file sharing from phone to wear, notifications etc.. ?
You should be able to use the Support library to allow compatibility with versions below 4.3?
mr_pablo said:
You should be able to use the Support library to allow compatibility with versions below 4.3?
Click to expand...
Click to collapse
I didnt understood is support lib available for mobile or watch?
I have lenovo which supports evrything ( kitkat and Bluetooth version 4.0 with BLE support ) but still having problem in connecting to watch ,If there is any Support library or firmware or anything for this let me knw..

Idea for fix NFC rom 6.0.1 Note 3

Hi all,i wanted to ask all developers 6.0.1 ROM for Note 3, if exstracting all files of the NFC from a stock firmware and put them in your rom you can fix this problem,this is just my idea, since no i'm a developer.
Thank you!!!
If it were that simple, someone would have done it already.
Last OFFICIAL Note 3 ROM Is Lollipop 5.0. That is Android API level 21.
Marshmallow Android 6.01 is API level 23.
It is not possible (easy?) to mix API level 21 and API level 23 system apps.
Thus, unless somebody gets Android sources from Samsung for the NFC drivers and compiles them to API level 23 (Android 6.0.1) it is unlikely that NFC will work on Note 3 under Marshmallow 6.0.1 custom ROMs.
There is a possibility that the people tweaking the CM ROMs (6.0.x API Level 23) will get NFC working on Note 3. If they do, that source might be usable for Custom TouchWiz based Note 3 ROMs (or then not).
But it requires more than just copying old system files from previous API level on top of a new ROM.
That seems logical. But what if we take the NFC part of the NOTE 5 or S7? Maybe not for the entire NFC stuff, but maybe as a base of work?

Is there a way to get the google camera app on the s8+ ?

Is there a way to get the google camera app on the s8+ ?
Yes you can install the apk but you have to go back to the last 7.0 compitable version. The newer versions for 7.1 won't work. This is the version I'm using on my S8:
http://www.apkmirror.com/apk/google-inc/camera/camera-4-1-006-135988111-release/
U can try the the camera nx. (V5.4 and under, Android 7.0+, ARM 64. ( currently, V4+ will only works on 7.1.1 DP1 , 7.1 custom rom users can find solution below. Android 7.0 users please choose the No ZSL version)
https://forum.xda-developers.com/ne...d-google-camera-4-2-nexus-5x-android-t3477980
The non zsl version is working for me(taking normal photo), the rest I have not tested.
https://chromloop.com/2016/12/updat...g-fixes-performance-improvement-apk-download/

Categories

Resources