How to use Mode Key when Creating an app - MTCB Software Development

Hello Guys.
Hope i'm in the right forum now.
I'll write a app to let people switch between every app the like to with the mode key on the SWC. The difference between the app that is alraedy there is that i want to do it with an graphic interface like it is on the Parrot Asteroid Smart.
https://youtu.be/SHipM8Nm0yo?t=8m30s
I have a little experience in wirting Android apps, so the app itzelf won't be a big problem i think.
The big question for me: Show can i recocnize if the mode key is pushed or not?
Anybody ideas?
Already thanks
Regards Christoph

the-unknown said:
Hello Guys.
Hope i'm in the right forum now.
I'll write a app to let people switch between every app the like to with the mode key on the SWC. The difference between the app that is alraedy there is that i want to do it with an graphic interface like it is on the Parrot Asteroid Smart.
https://youtu.be/SHipM8Nm0yo?t=8m30s
I have a little experience in wirting Android apps, so the app itzelf won't be a big problem i think.
The big question for me: Show can i recocnize if the mode key is pushed or not?
Anybody ideas?
Already thanks
Regards Christoph
Click to expand...
Click to collapse
Decompile Xposed MTC modules around here or even Car Service app (RK3066 Car Service or somethinh on Google Play). Or contact developer. He may help you.
BTW I think having simple app with UI would be great thing. I really dont like these *.ini files for Xposed modules where you never know what you are doing.

the-unknown said:
Hello Guys.
Hope i'm in the right forum now.
I'll write a app to let people switch between every app the like to with the mode key on the SWC. The difference between the app that is alraedy there is that i want to do it with an graphic interface like it is on the Parrot Asteroid Smart.
https://youtu.be/SHipM8Nm0yo?t=8m30s
I have a little experience in wirting Android apps, so the app itzelf won't be a big problem i think.
The big question for me: Show can i recocnize if the mode key is pushed or not?
Anybody ideas?
Already thanks
Regards Christoph
Click to expand...
Click to collapse
I am using MTC keys module to overtake the function of the mode switch in my app ( modeswitch). I didn't manage to do it without this module. I manage to recognise the button presses without xposed, but the " original action" will launch anyway parallel to the "modified" one, leading in a mess! Since xposed doesn't work in the "hybrid 5.1.1" ROM until now, that limits the possibilities.
I have also in plans for a graphic interface, but there are a few thinks to concern: eg how to navigate between the options when you show the graphic interface.
If someone find/share how to intercept the buttons commands without xposed and "on the fly", it would be easier to set everything up.

I still use kitkat so its no problem.
On the parrot you press mode as far as the app you like is selected. If you don't press the key after eg 2 seconds the selected app will be started.
That's a little bit what I want. But with any app I want, so I can simple change between music, navi ...
Gesendet von meinem Nexus 5 mit Tapatalk

Related

Request: autoclicker

Hey all,
i been following these forums for a while, now im lookin for an application that can basicly autoclick/record like a mouserecorder on the pc
my idea is basicly like this,
you have your application open, than press a key on your phone or 2 keys at the same time that starts the recorder when pressed again it stops and you are capable to run the saved record and or even loop it or run it a specific number of times
does this allready excist or is it easy for someone to make or a nice idea to do?
so after all this time, this app still doesnt excist?
Hawkysoft said:
so after all this time, this app still doesnt excist?
Click to expand...
Click to collapse
i also need it, seeking on google and find no result
poor us !!!
I guess you are seeking what are called 'macros'. Closest on Android is Tasker. On rooted devices, it can simulate d-pad inputs.
I thought he meant something like this. https://play.google.com/store/apps/details?id=com.zausan.zscreenrecorder
Sent from my SAMSUNG-SGH-I777 using Tapatalk 2

Some app system app port guidance

Hi,
Me and a friend are trying to port a system app from the same phone but two different roms. Here's the situation. The phone is zopo zp998 and it comes with regular Android 4.2.2. Zopo is making the exact same phone for the Chinese market with on OS based on Android 4.2.2 that's called YunOS and it doesn't have Google account support so it's not usable outside China.
The YunOS has a black screen gesture feature that you can activate in the settings under display and then while the screen is Black you can make symbols on it with your finger and open specific apps. For instance if you draw the letter C the dialer will open.
Here's where we'd like the help. My friend was able to find the system app for the gestures in YunOS and all its library files and put it in his rom. When the phone boots we can see that the gestures service is running fine but we don't have the option in the settings to activate the app. Is there a guide we can use on how to transfer a system setting and app like this? Is there another app we can use to trigger the on and off of the app? I am not so advanced to figure this out by myself. All help will be greatly appreciated.
Thank you.
slekkas said:
Hi,
Me and a friend are trying to port a system app from the same phone but two different roms. Here's the situation. The phone is zopo zp998 and it comes with regular Android 4.2.2. Zopo is making the exact same phone for the Chinese market with on OS based on Android 4.2.2 that's called YunOS and it doesn't have Google account support so it's not usable outside China.
The YunOS has a black screen gesture feature that you can activate in the settings under display and then while the screen is Black you can make symbols on it with your finger and open specific apps. For instance if you draw the letter C the dialer will open.
Here's where we'd like the help. My friend was able to find the system app for the gestures in YunOS and all its library files and put it in his rom. When the phone boots we can see that the gestures service is running fine but we don't have the option in the settings to activate the app. Is there a guide we can use on how to transfer a system setting and app like this? Is there another app we can use to trigger the on and off of the app? I am not so advanced to figure this out by myself. All help will be greatly appreciated.
Thank you.
Click to expand...
Click to collapse
No one?
slekkas said:
No one?
Click to expand...
Click to collapse
Hi Slekkas, just an idea which might help:
Do you see "settings->advanced settings->Superuser" in your menu? This entry does not work at all and is useless, but the switch is there. If you can locate the adress of this "Superuser" entry in ROM then you can alter it (without really knowing how it works ). Exchange "Superuser" with "Black-SCR" and you got what you search for: A switch you can use. Hope this helps.
slekkas said:
No one?
Click to expand...
Click to collapse
AP756 said:
Hi Slekkas, just an idea which might help:
Do you see "settings->advanced settings->Superuser" in your menu? This entry does not work at all and is useless, but the switch is there. If you can locate the adress of this "Superuser" entry in ROM then you can alter it (without really knowing how it works ). Exchange "Superuser" with "Black-SCR" and you got what you search for: A switch you can use. Hope this helps.
Click to expand...
Click to collapse
Thanks, I'll check it out.
Hi, did you succed ?
tofclaire said:
Hi, did you succed ?
Click to expand...
Click to collapse
Unfortunately not... I've asked at least at 5 different forums but no one is willing to help. I feel invisible.
I've copied the file :
Gesture in /sys/devices/virtual/input/input3/
Libgesture3Dvstar.so in/system/lib/
Yunos_gestureSetting.apk in /system/app/
and it did nothing...how did you seen that gestures are ok on boot?
On 998 gestures are for sliding in app. There is an apk for active in setting.I think we had to take this apk for active blackscreen gesture, but it is integrated in settings...
no means to port yunos setting on 998...
(sorry for my bad english)
Actually i stay on yunos rom for try and try....
I'm not competent enough but Some developpers are working on it...(Fluffy...)
I worked along with fluffy on this but yunos is very complicated. It has to do something with the smali files
no further investigations here ?

[App] GALA (SDVC) Speed dependant volume control (using GPS)

Did you guys ever notice the "GALA" function of your stock radios?
When you drive faster the volume is raised automagically.
I really love this feature and miss it here. BUT I am currently coding an App to fix this lack
I hope you are looking forward to this and so I have a Alpha Verison ready for you. But beware! it is not tested in live environment yet!!!
I will update this post with any new version or information.
Hint: GALA = german "Geschwindikeitsabhängige Lautstärkeanhebung" which means "Speed-sensitive volume increasement"
On Google Play: https://play.google.com/store/apps/details?id=de.firesplash.galaapp
//Updated 2014-06-17
Do you have an updated version of this or no? I know this is an old thread but someone pointed it out to me.
Dave
TT_Vert said:
Do you have an updated version of this or no? I know this is an old thread but someone pointed it out to me.
Dave
Click to expand...
Click to collapse
There is Car Service app that supports this among other fubctions
https://play.google.com/store/apps/details?id=com.petrows.mtcservice
It is preinstalled on e.g. Malaysk ROM. I would recommend to use it as is is stabile and proven to work on our units.
pa.ko said:
There is Car Service app that supports this among other fubctions
https://play.google.com/store/apps/details?id=com.petrows.mtcservice
It is preinstalled on e.g. Malaysk ROM. I would recommend to use it as is is stabile and proven to work on our units.
Click to expand...
Click to collapse
That's what I was using but I was having an issue w/ the first speed jump being more than the specified jump. The new Malaysk ROM fixed that though.
Dave
There are settings in RK3066 HEADUNIT, is this kph or if the unit is on MPH, do I use those values 2 settings for up and down?
Oldpapa49 said:
There are settings in RK3066 HEADUNIT, is this kph or if the unit is on MPH, do I use those values 2 settings for up and down?
Click to expand...
Click to collapse
Same question here.
I see the setting in the Malaysk ROM, but it's not quite clear what the numbers mean or what the reference units are. It'd be nice if there were further explanations.
I tried some settings. They are KPH values for each volume kick up or down. I did 40, 70, 100 and the volume goes up or down at those thresholds.
It was confusing for the default values.
Sent from my SM-G920T using XDA-Developers mobile app
Hi , the way, this discussion seems dead and the "Gala" application too. I'm looking for an app SDVC that increases volume based on speed on my PX5 android 6. Unfortunately Gala does not work on my unit like any other I've tried. I would like some developers to make an application for all Px5 MTCD or better yet updated " Gala" that supports MTCD Px5. I hope some genius will do it soon.
I am also (and many PX5 user too ) very interestest on a app like "RK3066 Headunit" or "S.D.V.C." (unfortunately Android 4.4/5.1.1 only) , which can provide Speed Depend Volume Change for Android 6 / PX5 users!
Come on Guys, i believe somebody can programming a small SDVC-tool - I would donate for it!
We hope that a developer will consider this request. Many Px5 users want it.
Do not you move a leaf for this? !!
Is anyone get this GALA function (increase volume from speed) i have PX3 with Malaysk 3.1 rom,but I not see MTC SERVICE in Malaysk rom,and I can't get this function to work in any way ???
I have created an app that does that https://play.google.com/store/apps/details?id=net.festinger.autovolume
ronenfe said:
I have created an app that does that https://play.google.com/store/apps/details?id=net.festinger.autovolume
Click to expand...
Click to collapse
...installed your app a few days ago - but can't figure out, how to set it up properly so that it works. is there even an option like a settings menu? all i can see, is the speedometer (working - means: the speed is shown) and the volume: recognizes the volume i set via volume-knob.. BUT: the volume does not change at all, no matter how fast or slow i drive... is there anything i can do?
how is this app supposed to work??
I've made an instruction video, see if it helps.
ronenfe said:
I've made an instruction video, see if it helps.
Click to expand...
Click to collapse
wow. thanks a lot for your work and uploading an explanation. but unfortunately this did not solve the problem. it seems, the app is not working on my head unit - it's a s32f0_leima, rk3368.
maybe your app is only for phones?!
i recorded a video of my last try with your app - i set the minimum volume to 8 and the max to 20 - for testing i set the speed between 10 and 120... your app is showing the speed, but the volume never changes - it only displays the current volume which i set via volume knob. it also recognizes, when i change the volume by myself via volumen knob - but the app unfortunately does not change the volume at all
...link to the recording: https://www.dropbox.com/s/d2nc5w0opc9i3de/VID-20230111-WA0000.mp4?dl=0
...any ideas? or maybe you can adapt the app for head units?! would be great!!
Sorry, you are correct, it won't work on head units, didn't work on mine either. Google doesn't think controlling volume from an app is needed there. https://issuetracker.google.com/issues/172344922?pli=1 .
volume control with buttonless MTCE
Hello all, So I purchased a buttonless PX5: https://www.aliexpress.com/item/Android-8-0-2-Din-8-Inch-Car-DVD-Player-Stereo-System-For-Porsche-911-997/32849648099.html?spm=a2g0s.9042311.0.0.qvQ36y However, none of the Android widgets or volume...
forum.xda-developers.com
One of the users told me he could use FCC launcher and the auto volume there worked. I don't know how they managed to do it, you can try it. https://play.google.com/store/apps/details?id=ru.speedfire.flycontrolcenter&hl=en&gl=US

Has anyone tried to hack the FiiO M6?

Hello. I just got this neat little music player which runs Android, but it will only install apks from a select white list. While it does what I bought it for, it would be nice to run some obscure simple apps not on the list like an iPod protocol simulator.
Anyone heard of anyone FiiO hacking?
Would be nice...
Hey there... I’m also keen to hear about this so let me know if you find anything.
I just think it could run better and I’d love something as simple as tapping the screen to wake the screen.
They have more or less said no more updates on their website. I really like it but I wish I did a bit more research as it’s not going to get much support.
Oh and a damn podcast app.
I've now come across a problem which, so far as I can tell, can only be solved by rooting the device (namely a very useful app which does NOT have an English version).
This is otherwise a very useful device and the lack of a rootkit is very annoying
Found this:
You can go to "Settings -> General -> About device" and tap 7 times on 'Kernel version' to remove the limitation,and then reboot the player. After that you will be able to install any third-party apps.
Click to expand...
Click to collapse
On http://fiio.me/forum.php?mod=viewthread&tid=45265&extra=&page=2
Actually I don't own a M6 put planned to, this info is really great!
I'm aware, but for whatever reason I still can't install the anker soundcore app
http://www.fiio.me/forum.php?mod=viewthread&tid=45173&extra=page=1
theballo said:
I'm aware, but for whatever reason I still can't install the anker soundcore app
http://www.fiio.me/forum.php?mod=viewthread&tid=45173&extra=page=1
Click to expand...
Click to collapse
Go to settings, general settings, about device. Tap 7 times to kernel and build number. Reboot
Now you can install any android app
Also you can try my firmware

Cubot Quest: HOW to remove Google search bar?

Hi, it seems search bar is locked in place on this device (Android 9 Pie). There is no obvious option to disable it.
It is the issue for a while already http://forum.cubot.net/viewtopic.php?t=1160
Did anyone find a solution how to remove it from the Home screen?
Thanks
urpi_ said:
Hi, it seems search bar is locked in place on this device (Android 9 Pie). There is no obvious option to disable it.
It is the issue for a while already http://forum.cubot.net/viewtopic.php?t=1160
Did anyone find a solution how to remove it from the Home screen?
Thanks
Click to expand...
Click to collapse
I recommend just installing a third party launcher instead. I too found no easy way to remove it.
it's a fixed position widget starting from Android 8
sadly the only way to remove it is third party launcher ...
I had this problem too. Like said above, the problem is solved immediatly with a third launcher. I've taken Nova Launcher and it works perfectly.
Otherwise, if you don't want to install another launcher, you can try this method : https://www.xda-developers.com/uninstall-carrier-oem-bloatware-without-root-access/
For a complete lists of your package, you can use the app : "App Inspector" on the playstore.
I did this for all google app. For the search bar, it didn't work fully but it was better than without this tip. I read that, for some people, it worked fully.
Hope you will succeed to remove it!
PegasuSeyar said:
I had this problem too. Like said above, the problem is solved immediatly with a third launcher. I've taken Nova Launcher and it works perfectly.
Click to expand...
Click to collapse
Thank you, using Nova Launcher was the best choice in the end.
urpi_ said:
Thank you, using Nova Launcher was the best choice in the end.
Click to expand...
Click to collapse
Happy that it worked for you too!
There is no special topic about this phone, does it work well for you?
I have it since last october ,it works pretty good! I would like to root it but I don't find a safe way to do it. I found some tip on german or russian forum but I don't speak those langages and the google trad is very approximative...
Do you find something to root it safely? ANd does this phone great for you?
PegasuSeyar said:
Happy that it worked for you too!
There is no special topic about this phone, does it work well for you?
I have it since last october ,it works pretty good! I would like to root it but I don't find a safe way to do it. I found some tip on german or russian forum but I don't speak those langages and the google trad is very approximative...
Do you find something to root it safely? ANd does this phone great for you?
Click to expand...
Click to collapse
I saw some guides but I didnt try to root this phone because I dont have a need for it, especially since the phone is already stock Android 9 where you can simply use adblocking DNS from within the Network settings.
Im generally satisfied with it, but proximity and finger sensors tend to misbehave sometimes, maybe its too sensitive to dust or dirt, I dont know.
My phone has V11 firmware, no updates available through the update manager, but there should be V13 available.
urpi_ said:
I saw some guides but I didnt try to root this phone because I dont have a need for it, especially since the phone is already stock Android 9 where you can simply use adblocking DNS from within the Network settings.
Im generally satisfied with it, but proximity and finger sensors tend to misbehave sometimes, maybe its too sensitive to dust or dirt, I dont know.
My phone has V11 firmware, no updates available through the update manager, but there should be V13 available.
Click to expand...
Click to collapse
yeah it's true that you can replace a lot of root's features with third app's with this phone but it will be cool for me to have full access for more fun! Like totaly uninstall some apps useless for me, more customisation etc etc...
But it's really cool like it is now!
With mine : I don't have trouble witj proximity sensors but fingers sensors react weirdly, indeed. I think your hypothesis is the answer : it's too sensitive to dust and dirt.
The light sensor is a little bit weird too, but I think it's due to an android feature : user'shabits learning. Weird at the beginning, but works good after.
In my case, I have the V13 firmware (install directly via Cubot's website). I don't think it will be more update later...
One question : Do you know if this phone works well in USA? I see that it has some US's band so I think so , but I would like a confirmation
I received message from Cubot support that there are no significant or important changes in V13, so I'll leave it at that.
I also noticed phones behavior and sensitivity of sensors has changed over time, maybe it's that habit learning you mentioned..
I'm in Europe, so I can't say if it works in US. Shouldn't be too hard to find out.
I'm generally satisfied with this phone, as I tend to drop it a lot (relatively speaking) and it holds together well, and the software support+performance is satisfactory as well.
@urpi_ > Thanks for the feedback Happy to share with a Quest's owner, there aren't many
Like you, I've dropped it sometimes and the shakeproof it's real! I haven't test yet the waterproof. I will do it this summer
In very good points, I found GPS, Wifi and bluetooth respond very quick and well!
For the GPS, even in a remote location, the Quest fixes very quick
And the blutooth works very well with my earplug, even in running.
For the price, it's a very good smartphone, I'm happy with it too
Since when do you have this phone? I have it for 5 months nearly.
PegasuSeyar said:
@urpi_ > Thanks for the feedback Happy to share with a Quest's owner, there aren't many
Like you, I've dropped it sometimes and the shakeproof it's real! I haven't test yet the waterproof. I will do it this summer
In very good points, I found GPS, Wifi and bluetooth respond very quick and well!
For the GPS, even in a remote location, the Quest fixes very quick
And the blutooth works very well with my earplug, even in running.
For the price, it's a very good smartphone, I'm happy with it too
Since when do you have this phone? I have it for 5 months nearly.
Click to expand...
Click to collapse
I'm using it about 3 months now.
One thing that annoys me sometimes is a side button...I dont know how to disable its long press fucntion that activates Google assistant.
urpi_ said:
One thing that annoys me sometimes is a side button...I dont know how to disable its long press fucntion that activates Google assistant.
Click to expand...
Click to collapse
That's one of the reasons I would like to root it. Like you, this functionnality annoys me, although this button is very usefull . It's too bad that we can't configure it like we want and with a root, it would be possible.
For now on, I don't find a tip for changing this long press function. Maybe someone will read this thread and will have an solution
If I found something , I will share it here
PegasuSeyar said:
That's one of the reasons I would like to root it. Like you, this functionnality annoys me, although this button is very usefull . It's too bad that we can't configure it like we want and with a root, it would be possible.
For now on, I don't find a tip for changing this long press function. Maybe someone will read this thread and will have an solution
If I found something , I will share it here
Click to expand...
Click to collapse
Yeah, I have used Key Mapper ( https://github.com/sds100/KeyMapper ) to change normal press (no root required) but I haven't found a way how change long-press behavior. Perhaps it's possible with Key Mapper too, and I just didnt find it?? Maybe.
@urpi_ > Thank you for the share, I will try it and search too if we can do something for long press configuration!
But for the normal press, you can already choose any application in settings. So, what does keymapper moreover?
Otherwise, about the fingerprint sensor:
I re-saved my fingerprints but differently :
Without perfectly clean up the sensor, like "out in the pocket" 's mode ( ) and with the "soft" part of the finger.
Before I saved it with the very extremity of the finger. This time, I used this "soft" part (a little bit under the top extremity of the finger) and with the finger kept flat.
It works pretty better now! Maybe it could make it work better for you too
Im pretty satisfied with the fingerprint sensor now, but yeah it can be probably fine-tuned to work better with this phone, like you said.
You can choose any application for normal (side-key) press, but I wanted to map it to something other than applications.
I used KeyMapper to make it a Pause/Play key for media.
urpi_ said:
but I haven't found a way how change long-press behavior. Perhaps it's possible with Key Mapper too, and I just didnt find it?? Maybe.
Click to expand...
Click to collapse
So I tried this app and I think I found for the long press mode.
When you are on the window for creating a new macro, clik on "more" and then choose "long press"
After,you click on "record trigger" and push the button you want to configure, then choose the action you want.
I tried for launching an app, it worked well
But I tried for togglethe torch and it crashed the app. ANd then, the app didn't work at all, I had to reinstalled it
Hope it will help you
By the way, can you tell me what does "Data protection" setting do exactly? I see it under Security & location - Advanced menu.
I know it asks for a security entry pattern, but what for? Phone is supposed to be encrypted by default.
Yeah good question! I wonder too and I never enter a pattern for this. I think it is an android protection by default, but there are another protection too. By the way, I think there is too much protection
Other subject : I had a security upate nearly by september, I found the fingerprint and thbe camera respond much better. DO you feel that way too?
PegasuSeyar said:
Other subject : I had a security upate nearly by september, I found the fingerprint and thbe camera respond much better. DO you feel that way too?
Click to expand...
Click to collapse
No update available for my phone. Still at February security update from 2019.
Strange, maybe you should visit the official website? If you do this, be careful : I've done the update via this way because the direct OTA way didn"t work. If the OTA's way is just an update; via the official website, it's a total reset, so, backup before doing this way

Categories

Resources