Where to look to make a picker in app accessible to talkback? - Android Software/Hacking General [Developers Only]

Hello folks, Friend of mine who is blind has gone from iphone to android. They have an App they are attempting to use that came with a smart cooker, but there is one single aspect of the app that is hindering the usefulness. It is a Picker that comes up to set duration, Talkback just doesn't want to see it. So I i was thinking If I could decompile the app maybe I could somehow muddle my way into making it accessible. LOL... I got it de-compiled, looked over the XML's and JAVA and bam I'm lost. Now I am not asking for anyone to hold my hand or do this for me. But I was hoping someone might give me an idea of where to focus to make a change like this, From there maybe I can figure it out for future issues. At this point I am not even sure If I need to focus on change to an XML file or the JAVA itself. Any help would be awesome.

CLJNCO said:
Hello folks, Friend of mine who is blind has gone from iphone to android. They have an App they are attempting to use that came with a smart cooker, but there is one single aspect of the app that is hindering the usefulness. It is a Picker that comes up to set duration, Talkback just doesn't want to see it. So I i was thinking If I could decompile the app maybe I could somehow muddle my way into making it accessible. LOL... I got it de-compiled, looked over the XML's and JAVA and bam I'm lost. Now I am not asking for anyone to hold my hand or do this for me. But I was hoping someone might give me an idea of where to focus to make a change like this, From there maybe I can figure it out for future issues. At this point I am not even sure If I need to focus on change to an XML file or the JAVA itself. Any help would be awesome.
Click to expand...
Click to collapse
Not sure if the problem still exists, but there is a couple of things to look at.
First, check what Java class is used to render the Picker.
If it's a part of Android framework, check Stackoverflow to see if it has accessibility issues.
If it's an external class, you will need to modify it to expose it to Accessibility API.
For supported built-in views check XML files for android:contentDescription attributes.

Related

[Q] Lock-screen clock mod... looking for some pointer advice

Because I'm a total geek, part of what I love about android is modding things myself (or at least installing them part by part on my own).
But, not knowing everything about my android phone nor having the time (my real world geek job in aerospace systems engineering keeps me glued to MS Word and Excel most of the day unfortunately) to dilly-dally all day with it means when I get an idea I don't always know where to go digging.
So, I have an idea about changing the lock-screen clock..... from digital into binary. I just need to figure out WHAT I need to change (ie, the file and the resources) and I think I can take the rest from there.
So, I'm asking here for some helpful tips and pointers. I have some basic programming experience and can find my way around command lines without too much trouble. And I know how to use a dev environment provided adequate documentation is provided.
If I get this to work and it looks nice, I'll be posting it up here as well.
To be completely honest, it would be WAY simpler to install WidgetLocker from the market and try creating your own widget to place on the lockscreen.
Unless of course this is a "can I do it" type of thing, in which case, editing the frameworks for the lockscreen, let alone the clock, would probably be pretty tough.
benclayton said:
To be completely honest, it would be WAY simpler to install WidgetLocker from the market and try creating your own widget to place on the lockscreen.
Unless of course this is a "can I do it" type of thing, in which case, editing the frameworks for the lockscreen, let alone the clock, would probably be pretty tough.
Click to expand...
Click to collapse
I don't like the unlock bars on widgetlocker (I like the unlock bars in froyo), and this would partly be a "just because I can" kind of project as well. I want to do it just to be able to say I can do it.

A way to override the camera not working under 15%?

I was wondering if there was anyway possible to change a setting to continue using the camera at low battery.
Subscribed...
the same for music and videoplayer please
Also would like to know if there's a way.. it seems kind of ridiculous that there isn't an option to disable it... Well-intentioned, poorly implemented
the same for the voice recorder ...subscribed
subscribed
subscribed.....
bump......
Subscribe...
I am sure that someone knows how to do it. Maybe it is in the settings.db that we access to enable sideloading of applications. I will look more into it and let you know if i run across anything
I checked the settings.db and it doesnt hint at changing any of those settings. Maybe i missed something but I dont think so. Are there any other settings files in the OS?
I was hoping this would be removed or disabled in Froyo, but it is still unchanged.
I actually think I know what the cause of this is.
The obvious answer is that it's Samsung's doing. Now, I don't know about you guys, but I like the changes Samsung made to these apps, with the low battery exception. If you were to replace these with the AOSP apps for each respective task, the low battery issue goes away, meaning that this is coded into the apk somewhere. I'll see if I can dig around and find them, and possibly hack a line or 2 of code out. I'll test my results, if there are any, and post them here.

[REQ APP] small app to download

so ive always wanted to learn some sort of programing language but never really had the motivation to sit and learn one. came across this app inventor beta and ended up getting the invite having lots of fun with it but when it comes down to it... its lacking quite a few features. one app im working on is one that will let you browse different themes, preview them, download them and launch metamorph so you can apply the theme but... like i said, its lacking the the function to actully download. i have found a way around this but it kinda makes the app pointless. app inventor has the ability to launch another program (the work around i found would be to launch the browser pointed at the download link) but if one used any other browser than stock, then it wouldnt quite get the desiered affect im going for. let me get to my point...
im hoping someone could make me a app that has just a few features that my app inventor app could call on for the download part of things. those features im hoping for are...
1. allow user to set a default directory (first time running the app) that things get downloaded to (or even just having "androidthemes" folder being the place the app would download to
2. ofcorse download a zip when the app is opened with a url directed at it
3. close once the zip has been downloaded
i dont really care for any kinda progress bar or anything like that, metamorph zips are usually quite small and really hope someone can wip this up for me. i am having lots of fun with app inventor and its teaching me lots. hopefully someday i can start learning java or some other programing language. fell free to ask any questions on whatever and.... thanks in advance
Nuthin huh,i thought someone would help me out.

[Q] Tasker guru needed

Looking for a way to pass variable or setting to an app when it starts. In particular the camera, for instance if I want to shoot a lower res image without going through 4 screens to change it.
Searched this forum and androidcentral and google, nothing helpful found. there were a couple of posts asking how to send a variable to an app but...
I guess it would be similar to a command line entry in practice like
camera -res:640 -flashn
or camera -res:3264 -macro
(I just made these up cuz I also can't find the variable/settings for the camera)
A one touch button on the home screen for this would be ideal, also with an automatic "snap" for a picture kinda like the spycam apps that are available.
Thanks!
Not sure, but Tasker might do that find it in the market then visit the devs site for free 7 day trial
CM7, Nightly. Captivate
I've got tasker installed already and can make it do basic stuff. The user guide doesn't tell how to pass a variable to a program when it starts.
I suppose I would also need to know what variables the camera app is expecting to see.

Looking for an app and/or bluetooth expert. To modify an app.

Full disclosure: I dont normally do forums so sorry if I do this wrong.
I purchased a Bluetooth Purification Mask named Atmoblue.
It originated in China. Ive had it for a few months now and it has bluetooth and there is an app for it but it looks like its taking forever for it to be moved over to English.
My question is how hard would it be for a person (or me, with no experience at all) to pull the basic functions out of the app?
For example I want to bypass the wechat login (cause, no) and basically get the pairing function up and running along with the fan speed and some of the auto features in the app and create a basic app til they release the full thing.
If any of you also want to try I can send you the link to the apk. Or if you would do it and require payment at completion how much would that cost?
In case you need to see the device just google Atmoblue.
Thanks again everyone.
mastershino said:
Full disclosure: I dont normally do forums so sorry if I do this wrong.
I purchased a Bluetooth Purification Mask named Atmoblue.
It originated in China. Ive had it for a few months now and it has bluetooth and there is an app for it but it looks like its taking forever for it to be moved over to English.
My question is how hard would it be for a person (or me, with no experience at all) to pull the basic functions out of the app?
For example I want to bypass the wechat login (cause, no) and basically get the pairing function up and running along with the fan speed and some of the auto features in the app and create a basic app til they release the full thing.
If any of you also want to try I can send you the link to the apk. Or if you would do it and require payment at completion how much would that cost?
In case you need to see the device just google Atmoblue.
Thanks again everyone.
Click to expand...
Click to collapse
There is pretty much a 99.9% chance that you won't find anyone to do this for you. The best you can hope for is someone might give you some links to guides showing how to decompile and edit apk files. What you would modify in the apk file to achieve your purposes would require you doing your own research to figure it out. You can ask further questions along the way about the things that you don't understand, but there are no guarantees that you will get any useful answers.
In other words, be prepared to dig in and do the work yourself, if you really want to accomplish this feat. If not, get used to dealing with the app the way it is.
Sent from my SM-S767VL using Tapatalk
Yea, i started researching the day I posted this. I've been reading and reading and reading. Ive gotten to the point where I now have access to the battery percentage. Currently, trying to figure out the characteristics in the device itself and the values needed to change each of the modes. Also, it looks like the app from the company is pretty much useless to try to use. Based on the code (from what I can understand after 2 days of research and starting off with 0 coding knowledge) the app has to use wechat to basically be able to access a server and then the server sends it back to the phone then the device. Meaning I can't just look in the code for what values I need, unless I was able to actually sign into wechat and record the log. Which I can't do since I don't have access to wechat.
So now I'm currently looking up how to write code in the programs I've found to write it and create a ui. Ive at least figured out uuids and figured out how to call up the battery percentage now. Only like 3 more settings to go! Wish me luck lol

Categories

Resources