[App] Spark Mod Manager - Beta 1 [5/9/2011] - Nexus S Android Development

A quick post here for those looking for an app like this, please note there will be little support from me here, XDA is no longer as higher priority on my list so things may take a bit longer to get to. For faster support come find me at http://rootzwiki.com/showthread.php?4526 and I will be happy to help out. Another way of looking at this is mostly community support only here.
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Spark Mod Manager - Beta 1​
About
Spark Mod Manager is a front end app for Ezekeel's kernel mods now found in many popular Nexus S kernels. These are usually turned off by default (in a init.d script set my the developer), and now you can easily turn them on or off until you reboot!
Usage
Open the app, check what features you wish to use (Screen Dimmer is old now, probably don't use it if you have Touch Wake enabled, they are aimed at the same thing), then hit apply. Give the app SU permissions and you should be set!
Notes
Your kernel must support these mods! There is currently no error checking (it's a beta, done on a Sunday arvo actually) so it could fail on you!
The timeout delay for these mods will vary from kernel to kernel. On my device, I have set it to custom values, but yours may differ. A future addition in the final version is to be able to change these within the app using sliders.
Download
Download the app below (hosted on Github for ease at my end).
Spark-Beta1.apk
Spark is also open source (licensed under the Open Source License 3.0), you can find all the sources here: https://github.com/jonathongrigg/SparkModManager
You will also need Action Bar Sherlock as a library project in Eclipse to get it to work (http://actionbarsherlock.com/)

Nice, finally a no brainer solution to such wicked mods. Cheers mate, will give it a shot.

Thanks, just what ive been looking for

Jonathon Grigg said:
A quick post here for those looking for an app like this, please note there will be NO support from me here. For support come find me at http://rootzwiki.com/showthread.php?4526 and I will be happy to help out. Another way of looking at this is community support only here.
Spark Mod Manager - Beta 1​
About
Spark Mod Manager is a front end app for Ezekeel's kernel mods now found in many popular Nexus S kernels. These are usually turned off by default (in a init.d script set my the developer), and now you can easily turn them on or off until you reboot!
Usage
Open the app, check what features you wish to use (Screen Dimmer is old now, probably don't use it if you have Touch Wake enabled, they are aimed at the same thing), then hit apply. Give the app SU permissions and you should be set!
Notes
Your kernel must support these mods! There is currently no error checking (it's a beta, done on a Sunday arvo actually) so it could fail on you!
The timeout delay for these mods will vary from kernel to kernel. On my device, I have set it to custom values, but yours may differ. A future addition in the final version is to be able to change these within the app using sliders.
Download
Download the app below (hosted on Github for ease at my end).
Spark-Beta1.apk
Spark is also open source (licensed under the Open Source License 3.0), you can find all the sources here: https://github.com/jonathongrigg/SparkModManager
You will also need Action Bar Sherlock as a library project in Eclipse to get it to work (http://actionbarsherlock.com/)
Click to expand...
Click to collapse
Grigg strikes again! Checking this app out now

Thanks man! Will make things easier lol
Sent from my HTC Sensation 4G using XDA App

thanks jonathon!

Awesome! This will be a great help for users unfamiliar will terminal and scripting.

like always I've got problems using touch wake, I apply the mod on the app but nothing appends

tonno16 said:
like always I've got problems using touch wake, I apply the mod on the app but nothing appends
Click to expand...
Click to collapse
Little bit of support here, just thought I'd check and see what happened. What it could be is that
a) your kernel doesn't support the functions (could use old versions)
b) the time out for touch wake is set really long
c) the time out for touch wake is set too short (aka 0)
d) touch wake and screen dimmer are both enabled (touch wake is newer and a better implementation)
You may also not know how touch wake works exactly (it took me a while). I thought it was independent to the system screen time out value (the one in settings, usually a minute long), but its not. What actually happens is after this value has automatically turned off the screen (say 1 minute later, that's the setting on my phone) then touch wake kicks in, allowing you to wake the phone up by touching the screen or keys below, for usually a period of 45 seconds. I hope that helps you a bit.
And thanks for the nice words guys, please try and help each other out here, I will only pop by every now and then.
Sent from my Nexus S

Ahahaha ok guys. I think that the mod work with button swich off also, instead it work with a wait of 45 seconds

Just thought I'd show everyone here what I have planned for the next version (currently working on it). It had a new UI and supports setting the time out of each function.
Sent from my Nexus S

Jonathon Grigg said:
Just thought I'd show everyone here what I have planned for the next version (currently working on it). It had a new UI and supports setting the time out of each function.
Sent from my Nexus S
Click to expand...
Click to collapse
Looking good

Jonathan Griggs has always come out with Brilliant Ideas. First, voltage control, and now the Ezeekeel mod control

window7 said:
Jonathan Griggs has always come out with Brilliant Ideas. First, voltage control, and now the Ezeekeel mod control
Click to expand...
Click to collapse
Hit the nail on the head.I like them because they are simple and unbloated
Sent from my Google Sexus S

Thanks JG, works perfectly but cant wait for the next update with the added sliders. Good work

sliders will seal the deal for me, looks very good.

handy toggle JG,
now i wonder if it is possible to add JUST the toggle got BLN into this manager too? so i can cut down one more app

noobhero said:
handy toggle JG,
now i wonder if it is possible to add JUST the toggle got BLN into this manager too? so i can cut down one more app
Click to expand...
Click to collapse
+1
Sent from my Nexus S using XDA App which costs money.

thanks for the useful app and wait for next version
a suggestion : by my mind a "set on boot" option can make the app more helpful

Jonathon Grigg said:
Just thought I'd show everyone here what I have planned for the next version (currently working on it). It had a new UI and supports setting the time out of each function.
Sent from my Nexus S
Click to expand...
Click to collapse
itz just wonderful... thank u for ur great work...
Sent from Divinus Nexus S...

Related

[APP] Widgetsoid2.x ... 3rd party Power Control Widget, and more... way more!

Just thought I'd pass this along. Before the NS, I used the hell out of "Extended Controls" ... Sadly, most of the toggles I would have liked to use do not work with the NS (2.3 compatibility issue?). Emailed the dev and got responses right away saying it will be updated next week. Next week came and gone ... came and gone again. Dev is probably behind with RL stuff so sooner or later it will be updated. In the mean time, I found an awesome alternative with more features ... and its free.
Widgetsoid2.X
Highly customizable power control widget ... and can even be configured to add a power control widget from your notification bar drop down.
Yeah I really like widgetsoid. Since cm team still hasn't got the flashlight working I use its flashlight widget inside the notification bar. Works great.
Sent from my Nexus S using XDA App
great app, been using it for a while now. but how do you put the widgets in the notification bar? can't seem to find it
Sent from my Nexus S using XDA App
ohh that's a nice find
Odd. Both my wife and I use extended controls fine. I find if you restore it via Titanium, it doesn't work but if you do a fresh install of it, everything functions great. Good find though.
jaker.the.skater said:
great app, been using it for a while now. but how do you put the widgets in the notification bar? can't seem to find it
Sent from my Nexus S using XDA App
Click to expand...
Click to collapse
The widget isn't really not put in the notification bar. It puts the image of your widget there but when you click on a power control it brings up the power control in an overlay of your screen where you then select which power control you want to turn on/off. For me (not short on screen space) its no quicker than using regular widget on the screen.
thanks! I've been using extended controls even though it wasn't fully operational w/gingerbread. Just dl'ed widgetzoid and bluetooth works! Liking the vertical option too..
I was really impressed by Widgetsoid and its developer 2 weeks ago. I found a bug, emailed the dev, and got a response in like an hour. Within like 2 hours of emailing him, he tracked down the bug and incorporated a fix into the next release. Now that's service.
we reported it a while ago
http://www.mobiflip.de/2011/01/andr...-benachrichtigungsleiste-einfach-nachruesten/
(p.s. google translate is your friend )
The thing I really like is how easy it is to edit existing widgets. Saves a lot of time if you just want to add or remove something from a power control type bar
the app is good, no doubt, but it's a major pain in the back to configure
some options are no longer available after you hit apply
so if you ever want to change them again, you can't (for example the invisible option, there are a few more that are no longer accessible after it was saved)
and the only alternative is to delete it, and create a new one
AllGamer said:
the app is good, no doubt, but it's a major pain in the back to configure
some options are no longer available after you hit apply
so if you ever want to change them again, you can't (for example the invisible option, there are a few more that are no longer accessible after it was saved)
and the only alternative is to delete it, and create a new one
Click to expand...
Click to collapse
Guess that's why I'm sticking with extended controls. Profiles are so easy to edit.
but once you master this App, it's a big treasure chest!
once everything was properly setup and configure, it easily replaced 7+ apps
TeslaLED
tons of On/Off Widgets
Ace Volume
Battery info
crap load of other ones i uninstalled
i setup 4 rows, maybe gonna add 1 more for 5 rows for Apps
that's the nice thing about this app, you can create custom shortcuts to make it launch your most used apps, from the Notification area
i simply love it
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Widgetsoid2.x
http://www.appbrain.com/app/widgetsoid2-x/com.jim2
solarus2011 said:
The widget isn't really not put in the notification bar. It puts the image of your widget there but when you click on a power control it brings up the power control in an overlay of your screen where you then select which power control you want to turn on/off. For me (not short on screen space) its no quicker than using regular widget on the screen.
Click to expand...
Click to collapse
well that's not really a problem. I just couldn't find the option in the settings. where exactly is it?
Sent from my Nexus S using XDA App
Top app, I paid the donation version because this kind of good developer need to be supported.
The dev answered my question and implemented my suggestion!
PS: No problem with applying profile. And if you do have, just email the dev, he will answer and fix.
are you guys able to enable/disable Data with Widgetsoid 2.x on Nexus S using Gingerbread 2.3.. (unrooted?).
Most items work, but this one does not toggle Mobile Data on/off on my phone. I dunno if this is a security limitation right now with this OS.
kwhy said:
are you guys able to enable/disable Data with Widgetsoid 2.x on Nexus S using Gingerbread 2.3.. (unrooted?).
Most items work, but this one does not toggle Mobile Data on/off on my phone. I dunno if this is a security limitation right now with this OS.
Click to expand...
Click to collapse
you need super user (root) for most of the features
solarus2011 said:
The widget isn't really not put in the notification bar.
Click to expand...
Click to collapse
Yeah I noticed this too. Was a shame, cause this is the main reason I was after this. I guess this functionality of directly enabling/disabling from the task bar cannot be enabled in stock roms without direct framework changes.
AllGamer said:
you need super user (root) for most of the features
Click to expand...
Click to collapse
Hi,
Widgetsoid need root only for the reboot toggle
For the data on Nexus S just restaur your apn, check your data is enable and go to global preferences of widgetsoid and check "disable all apn".
Now it have to work.
Yeah I noticed this too. Was a shame, cause this is the main reason I was after this. I guess this functionality of directly enabling/disabling from the task bar cannot be enabled in stock roms without direct framework changes
Click to expand...
Click to collapse
Android don't allow event on notifications it's an android limitation not an widgetsoid error/limitation.
On HTC rom it's works directly because HTC have modify android source code to allow this. HTC users are lucky. Next version have an option to disable popup after click on notification.

[APP] DHD Proximity Sensor Recalibrator 1.10 (26-Sep-12)

Due to many DHD's being incorrectly factory calibrated with regards to the proximity sensor, I wrote a little app to allow one to change the calibration on-the-fly and persist it over reboots.
This app is specifically for those experience issues with the proximity sensor.
Well known symptoms include the following:
- Screen fails to turn off when holding to face on a call
- Screen does turn off when holding to face on a call, but fails to come back on, requiring taking out the battery
These problems are common in custom kernels/ROM's. HTC has addressed this issue however in their kernels from 1.32 onwards, but have failed to provide an acceptable solution for some.
I present DHD Proximity Sensor Recalibrator. Download from the attachments below.
Here are some screenshots:
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Usage:
1. Install app.
2. Run app.
3. Press the toggle button to start monitoring.
4. Move your finger over the proximity sensor (the little LED next to the front facing speaker).
5. Adjust the High and Low threshold values to your liking.
For those whose screen does not turn off, it probably means the factory values are set too high.
For those whose screen does not turn back on, it probably means the factory values are set too low.
The setting will be saved, and will be applied every time you reboot your phone. No need to go through any of the steps unless you want to change the calibration. When the settings are applied at boot time, you will get a toasty indicating the calibration value applied.
Possible calibration procedure:
1. Put both values high (will show FAR).
2. Cover sensor with finger.
3. Lower High threshold till it says NEAR.
4. Lower Low threshold by a notch or 2.
5. Test behavior
Removal:
If for whatever reason you find the application does not work, or you do not want it anymore, just uninstall the app, and reboot. Your original factory settings will be in effect again. This application does not modify your system. It might require root rights.
Source code repo:
https://github.com/leppie/DHD-Proximity-Sensor-Recalibrator
Known issues:
- Permissions have changed in CM7 RC2, preventing the application from working correctly. The application will need root. Will investigate how to add that, if needed.
- Some reports that the Gingerbread leaked ROM is not working.
Gingerbread/newer kernel update:
Due to changes in the source code made by HTC to overcome this issue in the kernel, this app will probably not run correctly.
There are 2 problems (as found from latest CM kernel source):
1. When the kernel recalibrates the proximity on the fly, it fails to update the internal structures in the kernel. This makes the kernel not report correct values. I have made a kernel patch to rectify the issue. Please ask your kernel developer to apply the following changes: https://github.com/leppie/htc-kernel-msm7x30/commit/b1d0a85f3fe5252c8ab43ba98261bcb1b8498d8a
2. Secondly and more seriously, depending on the initial calibrated value (if LT is greater or equal to 0x50), the kernel will kick off a polling thread. This will overwrite the changes made by this app, as soon as you use the proximity sensor for the first time (eg the phone). Afterwards you can apply the values from this app again, and from my experiments the value sticks then (up to the next reboot). Unfortunately, this polling mechanism fixes the issue for most users, so it cannot just be disabled. It is easy to disable in the kernel source however, but will probably break most other people's proximity behavior if they do not have this app installed. As you can see, there is not much I can do about this. The best option is to compile your own kernel.
Manual cleaning of the sensor:
After time the sensor will become dirty from the environment. See http://forum.xda-developers.com/showpost.php?p=28495941&postcount=357 for details on cleaning it.
Please report any bug and suggestions.
Cheers
Revisions:
1.0
- Initial public release
1.1
- Replaced toggle button with normal one to resolve known issue
1.2
- Removed amount from Paypal, feel free to donate whatever you feel like. Beers are around US$2 here.
1.3
- Add some better handling when something goes not as planned (likely on non-DHD hardware).
1.4
- Added some alert dialogs to aid with the problems people are experiencing. (In case of error, please note both the title text, and the first few lines in the text of the alert dialog.)
1.5
- Only for CM7 users. Use nightly 92 or above. This includes the necessary kernel patch.
- Should work on SENSE with custom kernel. Apply this patch (or ask your kernel 'builder' to do so).
- Removed Beer button due to crappy paypal policy...
1.6
- Added support for calling 'su' when permissions are wrong. Thanks VampireWicked.
1.7
- Correct boot permissions for ICS
1.8
- Prevent app from being installed on SD card (which will cause issues) (thanks makarand14)
1.9
- Fix issues with sensor listener not getting disabled (thanks Roberto_Lim and Stoffl_)
1.10
- Fix issues with slow process manager in Android, notably in BlackOut ROM (thanks tonylee000 and others)
Supported kernels:
- CM7 nightly #92 or later
- LorDModUE V2.6 or later
great .. gona try this now ..!!
Simply works. Great job!
jkoljo said:
Simply works. Great job!
Click to expand...
Click to collapse
how do you get it to work? when i move my finger over the sensor nothing happens. it always says near?
Them you have to change the settings. The app works great btw!
Sent from my Desire HD using XDA App
If it says near, make your values higher.
In a bad case, keep your finger over the sensor, and then increase the low threshold till it changes.
Then work from the settings there.
Awesome!
This is my favorite app to date! I couldn't use any Cyanogen mod because of this issue. (My device was not waking up after the first phone call) Everything else worked fine.
Now I can use my phone as a phone too!
Would recommend to any O2 Germany DHD user having similar issues.
Stuclint said:
This is my favorite app to date! I couldn't use any Cyanogen mod because of this issue. (My device was not waking up after the first phone call) Everything else worked fine.
Now I can use my phone as a phone too!
Would recommend to any O2 Germany DHD user having similar issues.
Click to expand...
Click to collapse
Yep i'm O2 Germany DHD user too and had this issue.
This is really a life-saver app, thanks!
You are awesome, leppie!
I didn't even have a problem with my sensor, but I tuned it a little bit anyway. Awesome. THANK YOU
Thanks man! Helped me a lot!
Burkow
I had this sensor problem and did make enquiry in other thread but can't find anysolution.
However, (don't konw since when) it works without any problem now.
Guess I should subscribe this thread just in case I need it in future (hopefully not).
Thanks leppie!
5 stars rated.
Thanks for all the complements.
Added a link to the public source code repository on github.com for those interested.
Hi!
hi!! does anyone know about this app but for the HTC HD mini?
thanks!!!
boxer39 said:
hi!! does anyone know about this app but for the HTC HD mini?
thanks!!!
Click to expand...
Click to collapse
Sorry, that is a Windows Mobile phone. Can't help with that
Thank you guy!! Finally!! Great work
Ace app! Even though I'm on stock, I sometimes get problems with my screen coming on during a call, and my accidentally muting the call. This should help me fix it, by fixing the threshold distance!
Awesome, thanks
leppie said:
Sorry, that is a Windows Mobile phone. Can't help with that
Click to expand...
Click to collapse
it's ok, this thing is killing me!! I just didn't find a buyer yet, but i'm definitly changing it for the desire HD! the best one!!
thanks!!!
T-Mobile G2
hey
will this work on the T-Mobile G2 (Desire Z). If so I will be SOOO grateful to you and I probably will actually buy you a beer. My girlfriend and I both have G2's and the proximity sensor is the only problem with these phones.
Dave
hi,
i have both sensor problems! every second time my phone turns off the screen while phoning but not on again or somtimes the sreen is still on while phoneing
with the app i can set the sensor but still not working during a call
can someone help me?
sry for my bad english
Thank you. Will try it on my Desire HD later

[APP] NEW! CM7 LS HDMI Sound App V1.2 (Long Press Search FAST ACCESS!)

Took me a few hours to first know how to write an app, and I got this working! (Root required!)
Donation is appreciated!
You may use this on the new CM7 based ROMs to toggle your sound easily, devs, feel free to add it to your ROMs
Version 1.2 add support for better status tracking and keeps screen on when enabled
Version 1.1 adds the ability to launch from Long Press Search button!!! Much more convenient!
forumdoandroid - Private Server
If you are running a ROM with this built in, you need to update it using this zip (Backup Mirror)
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You might want to rename your file to. Apk... its a txt right now.. I renamed and installed it. Can't test, but looks like it works!
morrislee said:
Took me a few hours to first know how to write an app, and I got this working! (Root required!)
Donation is appreciated!
You may use this on the new CM based ROMs to toggle your sound easily, devs, feel free to add it to your ROMs
mediafire
Click to expand...
Click to collapse
Sent from my MB860 using XDA App
sublimejosh2000 said:
You might want to rename your file to. Apk... its a txt right now.. I renamed and installed it. Can't test, but looks like it works!
Sent from my MB860 using XDA App
Click to expand...
Click to collapse
If you downloaded directly from your device, yeah, the extension sometimes gets trimmed, I am not sure why, but it downloads as apk on my laptop in windows
Will this enable and diable hdmi sound if I plug my cm7 atrix to the lapdock? Much like uaing gscript????
Well done, sir!
Sent from my MB860 using xda premium
Works great. Thanks!
Sent from my MB860 using Tapatalk
sk8trix said:
Will this enable and diable hdmi sound if I plug my cm7 atrix to the lapdock? Much like uaing gscript????
Click to expand...
Click to collapse
It is a toggle button. It runs the script in the background. First run will require root
kennethpenn said:
Well done, sir!
Sent from my MB860 using xda premium
Click to expand...
Click to collapse
Thank you!
Just realized I had a grammar error in my UI MUAHAHAH, updated!
This is integrated into Morrisoft Gen V0.4 and above from now on
morrislee said:
Just realized I had a grammar error in my UI MUAHAHAH, updated!
Click to expand...
Click to collapse
I want to try to help you, but am just learning .. we need to try and make this a widget. i'll be reading today about it, but here is some info in case you want to try it. http://developer.android.com/guide/topics/appwidgets/index.html
this is the end game i think for this app... I will do my best, first timer here with app creation.
Other resource
http://developer.android.com/guide/practices/ui_guidelines/widget_design.html
Hello!
I use Neutrino 2.2 GT with Faux Kernel ad installed your App.
But somehow I can't hear a noice if I turn your App on.
I tried everything like restarting the phone but nothing solved my problem.
Blizzard22 said:
Hello!
I use Neutrino 2.2 GT with Faux Kernel ad installed your App.
But somehow I can't hear a noice if I turn your App on.
I tried everything like restarting the phone but nothing solved my problem.
Click to expand...
Click to collapse
Check and make sure you allowed it for root. Sometimes i press no by mistale when it asks...
I haven't tried this yet either.
Sent from my Xoom using Tapatalk
sublimejosh2000 said:
I want to try to help you, but am just learning .. we need to try and make this a widget. i'll be reading today about it, but here is some info in case you want to try it. http://developer.android.com/guide/topics/appwidgets/index.html
this is the end game i think for this app... I will do my best, first timer here with app creation.
Other resource
http://developer.android.com/guide/practices/ui_guidelines/widget_design.html
Click to expand...
Click to collapse
I actually wanted it to be in the CM7 notification toggle widgets, but i do not know how to add it there, must have to build from the original source or something. Doesnt look that easy.
CM7 team, maybe you can help???
Blizzard22 said:
Hello!
I use Neutrino 2.2 GT with Faux Kernel ad installed your App.
But somehow I can't hear a noice if I turn your App on.
I tried everything like restarting the phone but nothing solved my problem.
Click to expand...
Click to collapse
might want to try weekly6 with it
NEW VERSION UP! Adds ability to launch from long press search!
morrislee said:
NEW VERSION UP! Adds ability to launch from long press search!
Click to expand...
Click to collapse
Wonder if you could add a new feature in your app that allows to hide the soft keyboard toggle. That thing pops up all the time while I am using my lapdock.. annoying..
sublimejosh2000 said:
Wonder if you could add a new feature in your app that allows to hide the soft keyboard toggle. That thing pops up all the time while I am using my lapdock.. annoying..
Click to expand...
Click to collapse
I think I found the necessary parameters to do that. PM me where to send the test version. I probably wont be able to send it over right away, i am still out of my house
Edit: NVM, I can't seem to do that under SDK, probably requires the framework handling or overriding with NDK. I can disable keyboard pop up within the apps I create, but once the app is not in focus, keyboard respond the same as if nothing happened.
Even if I make it a service, there is no available features for me to disable keyboard globally.
I can, however, use a Broadcast event onreceive to see if the phone is "charging"(or docked, whichever is handled by Atrix on CM7) and prompt the user if they want to switch keyboard to something like this. So, this is one way if the dock is detected, ask if the user want to switch keyboard? But I can't get the permissions to pass the onReceive properly... I am too noob
Another possibility, but this is going to be hard unless CM7 team jumps in, add the docking listener to the default keyboard itself, therefore, if the keyboard itself sees the phone is "docked", dont bother showing up for text edit text fields
I wonder if the Sound Switch can't be handled by the event of pluggin in the cable insted of an app or a widget.
plug in the cable -> start script *sound over hdmi*
plug out the cable -> start scrout *sound over speaker*
edgeball said:
I wonder if the Sound Switch can't be handled by the event of pluggin in the cable insted of an app or a widget.
plug in the cable -> start script *sound over hdmi*
plug out the cable -> start scrout *sound over speaker*
Click to expand...
Click to collapse
CM 7 has HDMI enabled as soon as the screen is on. More of a software limitation right now.
No hardware call is passed from what I can understand

Gesture Control (root)

Please refer to the main thread in Android apps and Games: http://forum.xda-developers.com/showthread.php?t=1535740
I'm developing application that allows you to control tablet with multitouch gestures. Root access is needed. Currently it allows to execute following gestures:
Back:
Swipe 2 fingers from top downward
Home:
pinch 3-4 fingers
Show/Hide status bar:
Swipe 2 fingers from bottom upward
Please try it out and let me know what you think. What other features or actions would be helpful?
You can download it here:
Gesture Control Lite
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
USB Debugging must be enabled
Change log:
1.2.1
- Added check for USB Debugging
1.2.0
- Added option to switch multitouch/singletouch gestures
- Fixed bug: ROOT permission sometimes was not aquired
reserved ......................
I thought it was goingto be a useable version. Looks like just advertising
iOStoAndroid said:
I thought it was goingto be a useable version. Looks like just advertising
Click to expand...
Click to collapse
There are a lot of requests for status bar hiding widgets or apps. So you just start the application when you need to hide status bar (for example before browsing or gaming). You don't lock your device in the middle of gaming.
In my opinion it is still better than all other bar hiding apps (and I'm talking about free version of my app). You have to click something in all of them (and here you click - start app). Just in my app you have the opportunity to control your tablet while bar is hidden.
But if you think this version is useless, I value your opinion.
it does nothing..btw, still a good idea..great if work flawlessly
Sent from my GT-P6800 using xda premium
Working fine here. Nice app, doesn't lag either.
Would love to see more gestures/controls and an option to customize them. Please keep up the good work and don't stop working on it
haidharbbc said:
it does nothing..btw, still a good idea..great if work flawlessly
Sent from my GT-P6800 using xda premium
Click to expand...
Click to collapse
I'm developing on 7.7 myself, so it is tested well on it.
You don't get any error messages, notifications on gestures nothing? Does the last button in settings screen (Status bar toggle) works (hides/unhides) status bar?
I'm now using this and works brilliant. Finding the swipe gestures to suit me. Hiding and unhiding status bar no lag. Keep up the good work. Bought full version.
it doesn't work for..it just only state that it is hide, menu, and back
.but there is no action..
Sent from my GT-P6800 using xda premium
Works perfect.
...But the free(demo) version is annoyinng.
haidharbbc said:
it doesn't work for..it just only state that it is hide, menu, and back
.but there is no action..
Sent from my GT-P6800 using xda premium
Click to expand...
Click to collapse
I PM'ed you a few questions, please send me an answer when you have time to test it again and I will look into it.
stefan.pilsu said:
Works perfect.
...But the free(demo) version is annoyinng.
Click to expand...
Click to collapse
I will add setting to turn off toast message on unlock (when tutorial mode is switched off). However free version will stay for occational use. Application contains a lot of native code that will need support with new versions/devices. And the application is niche anyway. I really tried using this version myself and I find it usefull, but you can propose different model, I'm open for ideas.
StupidIdea said:
I PM'ed you a few questions, please send me an answer when you have time to test it again and I will look into it.
I will add setting to turn off toast message on unlock (when tutorial mode is switched off). However free version will stay for occational use. Application contains a lot of native code that will need support with new versions/devices. And the application is niche anyway. I really tried using this version myself and I find it usefull, but you can propose different model, I'm open for ideas.
Click to expand...
Click to collapse
The annoying part :
Three very, very small gestures for 1.5 coins...
I'll be happy to buy only one (taskbar hidding ) for 0.49.
This may be a joke...
Once again, the app works great.
stefan.pilsu said:
The annoying part :
Three very, very small gestures for 1.5 coins...
I'll be happy to buy only one (taskbar hidding ) for 0.49.
This may be a joke...
Once again, the app works great.
Click to expand...
Click to collapse
Well, there are other apps for this (HideBar - free, Honeybar - 1$), my intention is to evolve the gesture part. Allow to create your own gestures and define your own actions.
Any chance of making the gestures more like the ipad? E.g. 5 finger pinch to home? Its a more natural closing type gesture imo
Sent from my GT-I9100 using Tapatalk
I am using tab 7.7. I can download the demo version but cannot buy the full version. It said device not compatible...
jimmyx said:
I am using tab 7.7. I can download the demo version but cannot buy the full version. It said device not compatible...
Click to expand...
Click to collapse
Weird, checked with my device, and I can see it as available with other account.
I have excluded some devices, but definitely not 7.7.
StupidIdea said:
I'm developing application that allows you to control tablet with gestures. Root access is needed. Currently it allows to execute following gestures:
Back:
down - left
Home:
down - right
Show/Hide status bar:
up - right
Please try it out and let me know what you think. What other features or actions would be helpful?
You can download it here:
market
Click to expand...
Click to collapse
Why you dont post that in Themes and Apps Section
???
Moved To Themes And Apps​
As the thread title suggests, this section is for Android Development. This needs to be in the Themes and Apps section.​
crunchie-uk said:
Any chance of making the gestures more like the ipad? E.g. 5 finger pinch to home? Its a more natural closing type gesture imo
Sent from my GT-I9100 using Tapatalk
Click to expand...
Click to collapse
Changed gestures to multitouch (see first post).
Also fixed a bug that I think prevented actions from working on some devices.
Excellent, thanks!
I just bought it and it recognises my gestures fine but it stopped doing anything after the first gesture?
It still pops up with home etc but doesnt do the action.
If i open the gesture app and disable and reenable the service again it works for one action and stops again

[TABLET Z COMPETITION ENTRY] Open Source IR Blaster + Robots

[About]
What This Project Is About ?
There are some really cool android devices that are out that include an IR (infra red) "blaster" transmitter, however there is yet no open method of making use of this within apps. This project intends to create an open method for developers to create apps that make use of this device type.
Where does robotics come in to it ?
I thought it would be fun to bring this project together in a way that isnt just zapping TV's on and off so i will construct some sort of robotic platform that will be controled by the Z and its IR transever (however i presume there will be some TV zapping involved as well)
[Progress]
[29/06/2013] Tablet Z has arrived and I have started to examine the data passed to and from the IR device /dev/ttyHSL2
[01/07/2013] Refined the control procedure for the IR blaster & found some of the important commands (get version & send key code)
[08/07/2013] Pushed current code to github (ability to learn and send learnt commands)
[14/07/2013] Updated app to enable in tree building for cm10.1 (see links section)
Reserved
[Links]
Github :- https://github.com/BuzzBumbleBee/lib_sony_ir (LGPL)
Current test APK :- https://dl.dropboxusercontent.com/u/15005030/OpenIR.apk
[Building For CM10.1]
As of 14/07/2013 you will need the following patches from the CM review site
1) http://review.cyanogenmod.org/#/c/45560/
2) http://review.cyanogenmod.org/#/c/45562/
And the following git repo (branch cm-10.1) synced under packages/apps/SonyOpenIR/
https://github.com/BuzzBumbleBee/android_packages_apps_SonyOpenIR/tree/cm-10.1
Reserved
Reserved #2
Subscribed - I would love to see an open source IR feature.
The tablet Z has arrived, im now starting to examine the data passed to the IR device
Looks a nice project, would be keen to see what can be done with the IR remote if there was an open API
Iv had a quick mess around with monitoring the data ...... here is the result (soon to be) totally open powering on/off of a TV
Not bad for the first day
As I haven't got ability to see all the device keys that the IR controller supports I have started work on the IR learn and send features. I hope to publish a test binary (not APK) tonight :victory:
PS turning a TV on and off via recovery ...... gets old fast
when this project is finished will be absolutely perfect.ir is the only serious thing missing from cm(and every other derivative like p.a.c.) and it is extremely useful so some open source binaries and an open source app would be awesome.it could also control other devices like a/c.infrared has million uses...
this project + halo in pac rom can act like the hover remote in sony firmware
looking forward to it
Another quick video of my progress (sorry for the low volume)
Apache14 said:
Another quick video of my progress (sorry for the low volume)
Click to expand...
Click to collapse
that's great.i just hope that when it's finished it works on aosp roms
pangiotis24 said:
that's great.i just hope that when it's finished it works on aosp roms
Click to expand...
Click to collapse
Thats the plan this will work with AOSP roms in its current form, however its easy to develop alongside the stock app to check the functionality.
Just pushed current code to github and thrown up a test APK, find them in the 2nd post of this thread
i have downloaded and installed just fine on cm10.1 nd pacman but evertime i go into the app it as for superuser the first time i allow forever. but i guess it ask for superuser a second time but i get no pop window asking for su permissions. and superuser gets denied a this second check. so cant even proper su to even run app correctly
Sent from my SGP311 using xda app-developers app
Almost finished the android app redesign ......
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
What does everyone think ?
Looking good, I think there is a lot of unused space on the screen though. I would suggest bigger buttons. Furthermore I think SwiftKey did something really great with their tablet keyboard by splitting it. I would like to have a layout option which supports something like this as well, with many used buttons (like ch+ ch- volume buttons and maybe navigation buttons) on the far left and far right side of the screen.
Verstuurd van mijn SGP311 met Tapatalk
remma said:
Looking good, I think there is a lot of unused space on the screen though. I would suggest bigger buttons. Furthermore I think SwiftKey did something really great with their tablet keyboard by splitting it. I would like to have a layout option which supports something like this as well, with many used buttons (like ch+ ch- volume buttons and maybe navigation buttons) on the far left and far right side of the screen.
Verstuurd van mijn SGP311 met Tapatalk
Click to expand...
Click to collapse
Thank you for your feedback, ill attempt to increase the button size however i have the intention of adding more buttons (allong with a device type specific layout) however im not brilliant at android UI stuff :/
It would be cool if you could drag and drag the buttons to configure your layout however you like. Straight up bonus if it included resizing like on your home screen. Some sort of grid system?
Apache14 said:
Thank you for your feedback, ill attempt to increase the button size however i have the intention of adding more buttons (allong with a device type specific layout) however im not brilliant at android UI stuff :/
Click to expand...
Click to collapse
the device type specifi layout would be perfect.also you could ask the dev of this http://forum.xda-developers.com/showthread.php?t=2271113 for permission to use his ir code database so that you can have options for many tvs instantly without the need of learning ir codes.he will also benefit from this as the codes learned by your app could be uploaded on his database(same as his app) so both apps will be better

Categories

Resources