Hey Guys,
I was searching for a bluetooth remote app to control camera app of my phone.
I only found some app:
https://play.google.com/store/apps/details?id=com.apprture.bluetooth_shutter
but the limitations were too uncool (only specific BT headset compatible).
Also I found a "Muku Labs Camera Shutter Remote Control for iOS and Android Devices", but with an expensive price...
So I looked arround and tried LLama and Tasker to get my "Sony SBH20" headset working.
Now, I created a tasker profile to get any kind of bluetooth headset working witch any camera app. I think this should also work on any other phone.
The only things you need is:
- ROOT
- Tasker App (3$) https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=de
- Bluetooth Headset with buttons
Ok, so here is my tasker profile:
Trigger:
-> Display on
-> Media Button -> button "play" -> grab [x]
-> App at foreground (all sony camera apps (AR-Effect, etc...))
So if, all of these triggers are set, the task "Bt CAM SHUTTER" will be started:
Run Shell
-> Command:
input tap 1090 300
Click to expand...
Click to collapse
(This will emulate a touch at the camera button on your screen at: x= 1090px y=300px)
-> Set "use Root"
Congratulations, you got it!
Now start your sony camera app, connect your BT headset and press play button.
Hope I could help someone!
If you want to use this on any other phone / app, you have to modify the command. If you need to know, where the touch emulation has to be, you have to go to android settings -> dev. settings -> show cursor position:
Note: You can download the latest profiles and tasks here:
http://forum.xda-developers.com/showpost.php?p=54574088&postcount=14
Interesting. Mind attaching the tasker profile? The pictures aren't showing up on my end, firewall and all..
Trigger:
<TaskerData sr="" dvi="1" tv="4.3u4m">
<Profile sr="prof9" ve="2">
<cdate>1401550126651</cdate>
<edate>1401688701016</edate>
<id>9</id>
<mid0>2</mid0>
<nme>Trigger BT Remote</nme>
<State sr="con0" ve="2">
<code>123</code>
<Int sr="arg0" val="1"/>
</State>
<State sr="con1" ve="2">
<code>105</code>
<Int sr="arg0" val="0"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
<Int sr="arg3" val="0"/>
</State>
<App sr="con2" ve="2">
<cls0>com.sonymobile.androidapp.cameraaddon.areffect.AREffectApp</cls0>
<cls1>com.sony.motionshot.unlock.animation.UnlockAnimationActivity</cls1>
<cls2>com.sony.motionshot.record.RecordActivity</cls2>
<cls3>com.sonymobile.backgrounddefocus.ViewFinderActivity</cls3>
<cls4>com.sonyericsson.android.camera.CameraActivity</cls4>
<cls5>com.sonymobile.motiongraphforxperia.CaptureActivity</cls5>
<flags>2</flags>
<label0>AR-Effekt</label0>
<label1>Bewegungsaufnahme - Effekt [Animation]</label1>
<label2>Bewegungsaufnahme</label2>
<label3>Hintergrund-Unschärfe</label3>
<label4>Kamera</label4>
<label5>Motiongraph for Xperia™</label5>
<pkg0>com.sonymobile.androidapp.cameraaddon.areffect</pkg0>
<pkg1>com.sony.motionshot.unlock.animation</pkg1>
<pkg2>com.sony.motionshot</pkg2>
<pkg3>com.sonymobile.backgrounddefocus</pkg3>
<pkg4>com.sonyericsson.android.camera</pkg4>
<pkg5>com.sonymobile.motiongraphforxperia</pkg5>
</App>
</Profile>
<Task sr="task2">
<cdate>1401548223226</cdate>
<edate>1401652399441</edate>
<id>2</id>
<nme>Bt CAM SHUTTER</nme>
<pri>10</pri>
<Action sr="act0" ve="5">
<code>443</code>
<Int sr="arg0" val="4"/>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act1" ve="5">
<code>123</code>
<Str sr="arg0" ve="3">input tap 1090 300</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
</Action>
<Action sr="act2" ve="5">
<code>254</code>
<Int sr="arg0" val="1"/>
</Action>
<Action sr="act3" ve="5">
<code>30</code>
<Int sr="arg0" val="100"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act4" ve="5">
<code>538</code>
<Str sr="arg0" ve="3">Remote Pic</Str>
<Str sr="arg1" ve="3"/>
<Img sr="arg2" ve="2"/>
<Int sr="arg3" val="0"/>
<Str sr="arg4" ve="3">/system/media/audio/camera/sound1/shutter_done.wav</Str>
<Int sr="arg5" val="3"/>
</Action>
<Action sr="act5" ve="5">
<code>30</code>
<Int sr="arg0" val="300"/>
<Int sr="arg1" val="2"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act6" ve="5">
<code>254</code>
<Int sr="arg0" val="0"/>
</Action>
</Task>
</TaskerData>
Click to expand...
Click to collapse
Task:
<TaskerData sr="" dvi="1" tv="4.3u4m">
<Task sr="task2">
<cdate>1401548223226</cdate>
<edate>1401652399441</edate>
<id>2</id>
<nme>Bt CAM SHUTTER</nme>
<pri>10</pri>
<Action sr="act0" ve="5">
<code>443</code>
<Int sr="arg0" val="4"/>
<Int sr="arg1" val="0"/>
</Action>
<Action sr="act1" ve="5">
<code>123</code>
<Str sr="arg0" ve="3">input tap 1090 300</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
</Action>
<Action sr="act2" ve="5">
<code>254</code>
<Int sr="arg0" val="1"/>
</Action>
<Action sr="act3" ve="5">
<code>30</code>
<Int sr="arg0" val="100"/>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act4" ve="5">
<code>538</code>
<Str sr="arg0" ve="3">Remote Pic</Str>
<Str sr="arg1" ve="3"/>
<Img sr="arg2" ve="2"/>
<Int sr="arg3" val="0"/>
<Str sr="arg4" ve="3">/system/media/audio/camera/sound1/shutter_done.wav</Str>
<Int sr="arg5" val="3"/>
</Action>
<Action sr="act5" ve="5">
<code>30</code>
<Int sr="arg0" val="300"/>
<Int sr="arg1" val="2"/>
<Int sr="arg2" val="0"/>
<Int sr="arg3" val="0"/>
<Int sr="arg4" val="0"/>
</Action>
<Action sr="act6" ve="5">
<code>254</code>
<Int sr="arg0" val="0"/>
</Action>
</Task>
</TaskerData>
Click to expand...
Click to collapse
It works! I also have an SBH-20 and I could never figure out how to make this work. Thanks to this I could have all sorts of BT Triggers
If anyone's interested, I attached the xml file for tasker importing, just add AR in the application context if you have it coz I uninstalled it from my phone.
Nice to hear. Enjoy!
I'm just trying to get Shutter sound via soundspeaker while connected via Bluetooth...
aikon96 said:
Nice to hear. Enjoy!
I'm just trying to get Shutter sound via soundspeaker while connected via Bluetooth...
Click to expand...
Click to collapse
Yeah I noticed that too. Sometimes the shutter sound plays on the first try, but never plays on the consecutive tries, even when shutter sound is set to on in the camera settings.
On a side note, it works on my old MW600! (which I would really love to use instead of the SBH20 but the clip broke ) At least it'll have some use instead of gathering dust.
EDIT: I've been trying to get SoundAbout to work on this, but I have no luck. Don't want to buy the pro version if it won't work.
aikon96 said:
Nice to hear. Enjoy!
I'm just trying to get Shutter sound via soundspeaker while connected via Bluetooth...
Click to expand...
Click to collapse
Got it to work, albeit a slight workaround.
I used Play Ringtone instead of notify. It'll play even if phone is set to Vibrate mode because of the Notification volume action.
Can anyone test? I attached the tasker profile (unzip then import in tasker).
Thanks for the tip.
thanks working on my z1 with sbh20
Hey guys, anyone have any idea how to stop Google now/S voice opening whenever I click the button on my headset? If possible can it be done so that it is only disabled while in the camera app??
aikon96 said:
Hey Guys,
I was searching for a bluetooth remote app to control camera app of my phone.
I only found some app:
https://play.google.com/store/apps/details?id=com.apprture.bluetooth_shutter
but the limitations were too uncool (only specific BT headset compatible).
Also I found a "Muku Labs Camera Shutter Remote Control for iOS and Android Devices", but with an expensive price...
So I looked arround and tried LLama and Tasker to get my "Sony SBH20" headset working.
Now, I created a tasker profile to get any kind of bluetooth headset working witch any camera app. I think this should also work on any other phone.
Click to expand...
Click to collapse
You are very smart and clever, I want to do that with tasker for a long time but just have no time to research things.
I've tested it works on my bluetooth handset but can't do burst shooting, only can take single picture. Is that possible to make it also works in burst mode?
TheEndHK said:
You are very smart and clever, I want to do that with tasker for a long time but just have no time to research things.
I've tested it works on my bluetooth handset but can't do burst shooting, only can take single picture. Is that possible to make it also works in burst mode?
Click to expand...
Click to collapse
Hm, yap it seems like this can be done, but you'll need to emulate the camera hardware button.
Have a look here:
https://groups.google.com/forum/#!topic/tasker/LJhmfxT2mj8[1-25-false]
But you'll need this plugin:
http://forum.xda-developers.com/showthread.php?t=734370
All you need to do:
- Install plugin
- create new task -> select "plugin" section -> select "execute" --> select "edit" and enter
"input keyevent 27"
Click to expand...
Click to collapse
Now start this new task with the already available bluetooth trigger and you're done.
Just realized that you need long press emulation for camera button, so look here also:
https://groups.google.com/forum/#!topic/tasker/LJhmfxT2mj8[26-50-false]
I'm just at work, otherwise I already had tried it... If someone is faster than me, you can post the tasker profile here ^^
aikon96 said:
Hm, yap it seems like this can be done, but you'll need to emulate the camera hardware button.
I'm just at work, otherwise I already had tried it... If someone is faster than me, you can post the tasker profile here ^^
Click to expand...
Click to collapse
I just took a brief reading but I'm not familiar with tasker so I got many newbie questions to ask.
I guess the 27 KEYCODE_CAMERA is to emulate the hardware shutter key present on z1c? So, I think maybe it can launch the camera up by using our remote even the screen is off? and I also found 4 KEYCODE_BACK so I can remote turn off the camera by emulate to press the back button and also using 26 KEYCODE_POWER to lock the screen remotely?
In that specific thread, the guy wanted to emulate a long press on power button to call up the phone restart/shutdown menu but he used sendevent method, not the input keyevent.
!sendevent /dev/input/event5 1 116 1
!sendevent /dev/input/event5 1 116 0
!sendevent /dev/input/event5 1 116 1
sleep 1
!sendevent /dev/input/event5 1 116 0
The first line is to emulate the hold down and press on power and the second line is to emulate release the power button. This two commands combined will unlock the screen(assume the lockscreen is disabled). The third line is to emulate again to press the power but this time the forth line will emulate to press it for one second then the fifth line to release it again. This will open the phone restart/shutdown menu.
But how can I do that for burst shooting?
@TheEndHK:
Sooooryyyy, there was a misunderstanding...
I thought u want to use the "burst" shooting, which is implemented by sony, when you are holding the camera button when you are using the sony camera app... So now I understood what you meant... Didn't realize that the bursh shot mode isn't available at tasker app selection, so I had to modify the tasks.
Now, when you start your camera app, the bluetooth will always trigger the touch input, even when you are not at camera app, until you turn off your display again.
In short:
Camera app on: --> Bluetooth trigger enabled
Display off: --> Bluetooth trigger disabled until you start camera app again
BTW: In zip file you'll find also the modified cam_shutter task, which will play a shutter sound (so you'll know, when trigger has finished).
Thanks for Xaeons again, who found the solution for playing sounds at camera.^^
ovgandroid said:
Hey guys, anyone have any idea how to stop Google now/S voice opening whenever I click the button on my headset? If possible can it be done so that it is only disabled while in the camera app??
Click to expand...
Click to collapse
To disable Google now meanwhile camera app, you'll need to install "Secure Settings" (plugin for Tasker).
Then, setup a trigger:
When Camera app active -->
TASK: disable google now
Select Action Category "Plugin" -> Secure Settings -> Configuration -> Root Actions -> Package State -> choose Google Now -> check "disable"
Camera app inactive --> enable google now
Select Action Category "Plugin" -> Secure Settings -> Configuration -> Root Actions -> Package State -> choose Google Now -> check "enable"
This will freeze Google Now until you leave camera app.
Hope I could help...
aikon96 said:
@TheEndHK:
Sooooryyyy, there was a misunderstanding...
I thought u want to use the "burst" shooting, which is implemented by sony, when you are holding the camera button when you are using the sony camera app... So now I understood what you meant... Didn't realize that the bursh shot mode isn't available at tasker app selection, so I had to modify the tasks.
Click to expand...
Click to collapse
??? no misunderstanding there, I was just figured tasker remote is funny only.:laugh: I mainly want the burst shooting by Sony and yes it is holding the camera button to do it. Do you have any idea?
I guess can't just use single method(like ask the remote to press play button) to do burst because this is a single action. We have to use like sendevent to emulate a long press 10s and then ask the play button to active it but then everytime we will have to take a 10s burst shooting.
aikon96 said:
To disable Google now meanwhile camera app, you'll need to install "Secure Settings" (plugin for Tasker).
Then, setup a trigger:
When Camera app active -->
TASK: disable google now
Select Action Category "Plugin" -> Secure Settings -> Configuration -> Root Actions -> Package State -> choose Google Now -> check "disable"
Camera app inactive --> enable google now
Select Action Category "Plugin" -> Secure Settings -> Configuration -> Root Actions -> Package State -> choose Google Now -> check "enable"
This will freeze Google Now until you leave camera app.
Hope I could help...
Click to expand...
Click to collapse
Brilliant! I'll let you know how I get on
aikon96 said:
To disable Google now meanwhile camera app, you'll need to install "Secure Settings" (plugin for Tasker).
Then, setup a trigger:
When Camera app active -->
TASK: disable google now
Select Action Category "Plugin" -> Secure Settings -> Configuration -> Root Actions -> Package State -> choose Google Now -> check "disable"
Camera app inactive --> enable google now
Select Action Category "Plugin" -> Secure Settings -> Configuration -> Root Actions -> Package State -> choose Google Now -> check "enable"
This will freeze Google Now until you leave camera app.
Hope I could help...
Click to expand...
Click to collapse
ok, this works - both are disabled, thank you...
But it still wouldn't work, I finally realised that nothing was even starting in the tasker profile 'trigger BT remote' so I tested it with a wired headset and it worked! because it uses a play/pause button : /
But the bluetooth headset does not and I cant find anything to detect this button - at first I thought it was the menu long press since both bring up google now... but no it is different... Any ideas? do you know of an app that can tell me what button is being pressed (on headset), I tried using a logcat but I couldn't see anything (But then again I'm not sure how to use it )
Edit: could it be the same as the double tap home button?
ovgandroid said:
ok, this works - both are disabled, thank you...
But it still wouldn't work, I finally realised that nothing was even starting in the tasker profile 'trigger BT remote' so I tested it with a wired headset and it worked! because it uses a play/pause button : /
But the bluetooth headset does not and I cant find anything to detect this button - at first I thought it was the menu long press since both bring up google now... but no it is different... Any ideas? do you know of an app that can tell me what button is being pressed (on headset), I tried using a logcat but I couldn't see anything (But then again I'm not sure how to use it )
Edit: could it be the same as the double tap home button?
Click to expand...
Click to collapse
Hm, didn't try that app, but this could help you:
https://play.google.com/store/apps/details?id=com.kober.headset&hl=de
I think, your headset has only one button so this button is for answering calls. Perhaps try also long pressing this button...
The good thing in this app: it can use also Tasker profiles/tasks...
Give it a try...
@TheEndHK:
Huh? Okay...
So I'll try a trick... I cannot test it, cause I've disabled burst mode in some Xposed module and didn't find the option to enable it again, so please report if this thing works:
I think, longpress at touchscreen at camera button should also result into a burst shooting, so here we go.
This task will emulate a minimal swipe at the camera button --> long press.
So, default long press is set to 5000ms = 5secs...
All you have to do: Import this task, and add a new trigger (vol up/down) to start this task and report back...
BTW: U can also set the pause/play LONGPRESS trigger, just enable "Held down" at button trigger "Media Button".
--> short press button-> single pic
--> long press button -> burst mode
so it's like the camera button ^^
<TaskerData sr="" dvi="1" tv="4.4u2m">
<Task sr="task3">
<cdate>1407020681604</cdate>
<edate>1407189977734</edate>
<id>3</id>
<nme>BT CAM MULTI SHUTTER</nme>
<pri>10</pri>
<Action sr="act0" ve="6">
<code>123</code>
<Str sr="arg0" ve="3">input touchscreen swipe 1090 300 1091 301 5000</Str>
<Int sr="arg1" val="0"/>
<Int sr="arg2" val="1"/>
<Str sr="arg3" ve="3"/>
<Str sr="arg4" ve="3"/>
<Str sr="arg5" ve="3"/>
</Action>
</Task>
</TaskerData>
Click to expand...
Click to collapse
aikon96 said:
Hm, didn't try that app, but this could help you:
https://play.google.com/store/apps/details?id=com.kober.headset&hl=de
I think, your headset has only one button so this button is for answering calls. Perhaps try also long pressing this button...
The good thing in this app: it can use also Tasker profiles/tasks...
Give it a try...
@TheEndHK:
Huh? Okay...
So I'll try a trick... I cannot test it, cause I've disabled burst mode in some Xposed module and didn't find the option to enable it again, so please report if this thing works:
I think, longpress at touchscreen at camera button should also result into a burst shooting, so here we go.
This task will emulate a minimal swipe at the camera button --> long press.
So, default long press is set to 5000ms = 5secs...
All you have to do: Import this task, and add a new trigger (vol up/down) to start this task and report back...
BTW: U can also set the pause/play LONGPRESS trigger, just enable "Held down" at button trigger "Media Button".
--> short press button-> single pic
--> long press button -> burst mode
so it's like the camera button ^^
Click to expand...
Click to collapse
Searches always brought me to this app too but I tested and it seems to only support wired headsets ?
Related
Please insert here all things for modifying ....
HTCHomeSettings.xml -> there you can enable disable the tabs + ordering ...
Code:
<Tabs>
<HomeWidget enable="1" tab_bg_icon="7,8" tab_icon="69,70" big_icon="29,30" />
<MessagingWidget enable="1" tab_bg_icon="15,16" tab_icon="115,165" big_icon="37,38" />
<EmailWidget enable="1" tab_bg_icon="11,12" tab_icon="111,112" big_icon="33,34" />
<PeopleWidget enable="1" tab_bg_icon="19,20" tab_icon="168,169" big_icon="59,60" />
<WeatherWidget enable="1" tab_bg_icon="27,28" tab_icon="176,177" big_icon="67,68" />
<LauncherWidget enable="1" tab_bg_icon="23,24" tab_icon="172,173" big_icon="63,64" />
<MusicWidget enable="1" tab_bg_icon="17,18" tab_icon="166,167" big_icon="39,58" />
<PhotoWidget enable="1" tab_bg_icon="21,22" tab_icon="170,171" big_icon="61,62" />
<InternetWidget enable="1" tab_bg_icon="9,10" tab_icon="71,110" big_icon="31,32" />
<OperatorWidget enable="0" tab_bg_icon="120,129" tab_icon="145,147" big_icon="200,218" />
<MyFavesWidget enable="0" tab_bg_icon="219,220" tab_icon="221,222" big_icon="223,224" />
<LocationWidget enable="1" tab_bg_icon="13,14" tab_icon="113,114" big_icon="35,36" />
<SettingsWidget enable="1" tab_bg_icon="25,26" tab_icon="174,175" big_icon="65,66" />
</Tabs>
Skins: http://forum.xda-developers.com/showthread.php?t=425974
Sick! Thanks!
Enabled the operator widget to see what it was. I was hoping for some "LEET HAX AT&T FOR GREAT JUSTICE"
It's not... but I think it will learn me a little.
so where is this xml file?
ANSWER: somewhere in \Windows
The file is already under \Windows\
Do NOT use the quoted lines as your xml file. There is a lot more not contained in that block of text.
Why did you open another thread for this? It has already been covered in the main thread and the skinning thread.
what ARE the operator and MyFaves widgets?
Because we need to figure out how to get other things on the home screen (if possible) and how to increase the count of next appointments! Then we can take over the world!
More cowbell!
i tried to enable the myfaves and operator tabs and my touchflo just didnt even start anymore, anyone have any luck with those?
blazingwolf said:
Why did you open another thread for this? It has already been covered in the main thread and the skinning thread.
Click to expand...
Click to collapse
probably because the other thread moves too damn fast and its too much info at one time.. This Thread is a good Idea because it singles out one aspect of modifying manilla2d
? bout modifiing tabs
Has anyone figured out how to keep mods after softreset. I think in the skin thread they mentioned no being able to.
Damn this is awesome. reminds me when kinetic scrolling and touch cube were introduced. I cant wait to see what the week brings.
Add more Items on Internet Page
Want to add a program like Internet Explorer under the Youtube Icon on the Internet Page?
Goto settings\today and unselect Touchflo, then with your fav regeditor...
HKLM\Software\HTC\Manila2d\InternetWidget\Customized
The Key 0 holds the info for the Youtube Program, change it if you want or...
1. Change CustomizedCount to 2. (Keep incrementing for each item you place on the page.)
2. Add a new key "1" (2,3, etc for each item you add)
3. In Key 1,
.... add string "CustomizedIcon" value=\windows\Earth.bmp ( I used HH_INTERNET_EARTH.bmp and resized it to 22*23 pixels and named it Earth.bmp)
.... add string "CustomizedTitle" value= "Internet Explorer"
.... add string "CustomizedURL" value= \Windows\iexplore.exe
.... add DWORD "NoDescription" value= 1 (dec)
Exit regeditor and then go to settings and reselect Touchflo
The String "CustomizedDescription" with text for the value doesn't seem to work. I imagined it would show a popup of sorts when the icon was held but nothing.
Enjoy...
Anyone figured out how the YouTube-Broadcast Yourself link got on the Internet page? Thought it might be from my favorites in Opera but when deleted from favorites it's still there.
Change Internet Link on Internet Page
You've probably already realized it but just in case you haven't
HKLM\Software\HTC\Manila2d\InternetWidget\Customized
"BannerURL" change value to your favorite start page, properly formated
"BannerURLText" change value to, well you get it
Any idea how to adjust the weather icon position
and also why is the audio manager keep starting even we never trun it on
how to stop it from running till we want it to be run
thanks for the info about the tab
Artanis said:
Has anyone figured out how to keep mods after softreset. I think in the skin thread they mentioned no being able to.
Damn this is awesome. reminds me when kinetic scrolling and touch cube were introduced. I cant wait to see what the week brings.
Click to expand...
Click to collapse
I know, it's f'in awesome to see everyone getting together, creating new things, ripping TF2D for other HTC devices, modifying and bettering it. It just adds to what makes owning a WM device so great. *tear* lol
i just need a place to add some additional today plugins. is that possible?
when i click on browser never opens, what browser do i need to install or link it to and how ?... im still reading the other thread...
manila2d works fast on my wing and i dont have it overclocked... Might have to use this for a while and test it out
kwill said:
i just need a place to add some additional today plugins. is that possible?
Click to expand...
Click to collapse
Yes adding thumbcal or other calendar as a tab would be great!
I played with the HTCHomeSettings.xml file changed this line to move the weather picture down
<Property name="IDWEWG_WEATHER_POS" id="17" value="58,35,165,45" />
in value,
first digit(58) is the X place of picture
second (35) is the Y place of picture
what the other two number mean i dont know..
And also i moved by pixels some up and down arrows in weather and in messages tab but again there is the X & Y place and there are additional number i didnt know what they mean
So who knows what each number meaning please post explanation
I agree, without additional plugins Manila2D isn't that useful - I cannot live without SPB Phone Suite and MVBKLight...
Guys,
Keep heads up as Herg saying.
This app has just two days and it's beta. So don't except really much now guys. It's good to post suggestions anyway.
I'm using this app as normal today plugin It's great for me, and I'm waiting for improvments too. For example:
I think its the first step to make TF3D ,
Plugins as Tab would be usefull...
Landscape mode for Kaiser?
There is still many things to do. But its great app.
Hi everyone,
As the title asks, has anyone come up with a way to do this? It's very annoying when the screen turns itself off on answering a call..
Regards,
wackyD.
I actually know people who prefer the screen goes off during a call. My sister said she hated after making a call on her phone she realised her ear opened various apps on the screen. I think its best the screen is off for that reason alone.
tboy2000 said:
her ear opened various apps on the screen.
Click to expand...
Click to collapse
that makes me laugh only
She has a talented ear. During a call, not only can she open the messaging app, but also write an sms and send it too - all with the muscular pressures of her talented ear
Automatic keylock off:
In the registry at:
HKEY_CURRENT_USER \ Control Panel \ Backlight
parm name="AutoDeviceLockEnable" value="0"
HKLM\Drivers\BuiltIn\RIL
parm name="BatteryTimeoutInCall" value="0"
parm name="BattSuspendTimeoutInCall" value="0"
parm name="EnableFastDormantDisplayDuringCall" value="0"
HKCU\ControlPanel\Phone
parm name="Sleep" value="0"
HKCU\ControlPanel\BackLight
parm name="LightSensorPollingEnable" value="0"
you could try just removing the stilus when in mid call, seems to work for me.
Steve
eleco said:
Automatic keylock off:
In the registry at:
HKEY_CURRENT_USER \ Control Panel \ Backlight
parm name="AutoDeviceLockEnable" value="0"
HKLM\Drivers\BuiltIn\RIL
parm name="BatteryTimeoutInCall" value="0"
parm name="BattSuspendTimeoutInCall" value="0"
parm name="EnableFastDormantDisplayDuringCall" value="0"
HKCU\ControlPanel\Phone
parm name="Sleep" value="0"
HKCU\ControlPanel\BackLight
parm name="LightSensorPollingEnable" value="0"
Click to expand...
Click to collapse
It's in the wiki now!
Steve_HD said:
you could try just removing the stilus when in mid call, seems to work for me.
Steve
Click to expand...
Click to collapse
Great trick, that was really annoying me when you get through to an automated message and it asks you to press 1 for this and 2 for that and the screen is off
alternatively, download HD tweak. it has the option listed as LIGHTSENSOR
I disabled it with HD tweak
I've seen a few other similar threads, but none that both matched my problem and had answers, so sorry if this retreads familiar ground.
I've got a browser and I'm trying to catch the same intents as the google browser. I've even gone so far as to copy and paste them directly from Froyo's browser. They are listed down below for reference. However, when I try to send an intent to create the chooser so the user can select my browser as the default it does not always appear. Here is the code for creating the intent (url-i-want-to-open is an actual url in the code, but I can't post it because I'm a new user):
Code:
Intent anIntent = new Intent("android.intent.action.VIEW",
"url-i-want-to-open");
anIntent.addCategory(Intent.CATEGORY_BROWSABLE);
startActivity(anIntent);
and the logcat output:
Code:
08-26 14:53:25.698: INFO/ActivityManager(85): Starting activity: Intent {
act=android.intent.action.VIEW cat=[android.intent.category.BROWSABLE]
dat=url-i-want-to-open cmp=com.android.browser/.BrowserActivity }
For some reason the intent is automatically resolving to Google's browser unless one of the following is true:
1) I've cleared the defaults from the google browser via application settings,
2) I've installed a third browser, or even just a HelloWorld app with the intent-filters listed below, or
3) I'm running on a platform earlier than 2.2
What is really confusing is #2. It doesn't matter what that third app is. I've used a default hello world with just the first intent-filter and that's enough to trigger something behind the scenes that tells Google it's no longer the only default browser. However, it's not enough in my own app, and the only differences in the two manifests are that mine has a sharedUserId, a couple of extra activities (none of which have intent-filters) and permissions (none of which have anything to do with browsing, in fact HelloWorld doesn't have any permissions at all).
The program flow is: user opens browser, it sees that it's not fully installed and opens another activity, that activity does some stuff (none of which deals with intents) and then checks to see if my browser is the default, if not it fires off the aforementioned intent to create the chooser so the user can set the default.
When I reverse the process (install my app first, then HelloWorld) and have a button in HelloWorld that calls startActivity, the same thing happens: HelloWorld cannot show the chooser unless I've already installed a third app.
Is there a change in froyo that would cause an application to not be able to use startActivity with a generic intent that matches to its own package? Or some other change to the way activities are resolved or installed that broke the way preferred activities are defined? I know that the PackageManager preferred activity functions have changed, but I'm not using them at all.
----- the intent-filters -----
Code:
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.BROWSABLE" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="about" />
<data android:scheme="javascript" />
</intent-filter>
<!-- For these schemes where any of these particular MIME types
have been supplied, we are a good candidate. -->
<intent-filter>
<action android:name="android.intent.action.VIEW" />
<category android:name="android.intent.category.BROWSABLE" />
<category android:name="android.intent.category.DEFAULT" />
<data android:scheme="http" />
<data android:scheme="https" />
<data android:scheme="inline" />
<data android:mimeType="text/html"/>
<data android:mimeType="text/plain"/>
<data android:mimeType="application/xhtml+xml"/>
<data android:mimeType="application/vnd.wap.xhtml+xml"/>
</intent-filter>
<!-- We are also the main entry point of the browser. -->
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.LAUNCHER" />
<category android:name="android.intent.category.BROWSABLE" />
</intent-filter>
followup: It seems that the OS is remembering preference orders in between installations. So if they ever chose the google browser over mine, the OS will always choose the google browser over mine until either:
1) the google browser's defaults are cleared, or
2) another application is installed that listens to those intents, resetting the need for a chooser
I am in the process of developing an android Home Screen Application, also known as Launcher.
However I ran into a couple of setbacks, setbacks which I will try to describe as best as I can, so hopefully one of you will be able to help me.
My main problem is when I quit my application by setting Android's launcher default as always, I can no longer use my home app, it just doesn't open up again.
This is how my manifest looks like:
<activity
android:name="com.modset.launcher.MainActivity"
android:label="@string/app_name" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter>
</activity>
<activity-alias
android:name=".MainActivityAlias"
android:targetActivity="com.modset.launcher.MainActivity"
>
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.HOME" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.MONKEY"/>
</intent-filter>
</activity-alias>
</activity>
With just this on the manifest whenever I press the HOME button I get the launcher chooser, if I opt for my Launcher everything works just fine, however if I opt for Android's stock launcher I can no longer use my app again.
It either just doesn't open, or if it does I can no longer use it as a Home app again.
I found this extra code which should be able to help me but it doesn't because after using it a message comes up saying "android settings have stopped working".
PackageManager manager = getPackageManager();
ComponentName compName = new ComponentName("com.modset.launcher", "com.modset.launcher.MainActivityAlias");
//ComponentName compName = new ComponentName("<Package Name>", "<Package Name.Alias Name>");
manager.setComponentEnabledSetting(compName,
PackageManager.COMPONENT_ENABLED_STATE_DISABLED, PackageManager.DONT_KILL_APP);
My biggest problem is that just by adding those lines in the manifest, the first code I mentioned, if I add that, after leaving my app by choosing android stock launcher as default, when i get back to my app it opens just fine however I can't use it as a home app again.
So...
I programatically thought of a work around, by using this code:
Intent selector = new Intent(Intent.ACTION_MAIN);
selector.addCategory(Intent.CATEGORY_HOME);
startActivity(selector);
And it is with this code I have the biggest problem, because when I add this in, the app simply doesn't open up again after exiting it and setting android stock launcher as the default home screen.
Please anyone help me solve this issue.
It will look more tidy if you put your code into
Code:
tags. ;)
Is there a way to setup auto DND (Do Not Disturb) mode? I like the alert slider, but would also like to have the phone to go into DND automatically regardless where the alert slider is set to at say from 11pm to 6am every night.
+1
I miss that too!
Check this https://forums.oneplus.net/threads/do-not-disturb-automatic-rules.546381
But chances are minimal.... Their alert slider implementation changed native DnD in many ways so any changes in this respect would generate them a lot of work, testing, etc, etc and I have a feeling they can't afford it.
There is even a design flaw that can potentially affect 3rd party apps that contain logic based on current interruption filter set.
My bug report here: https://forums.oneplus.net/threads/alert-slider-implementation-affects-android-public-api.555216/
This is very easily done with Tasker.
I use LIama for this...
Hi, I made a launcher to "Do not disturb" mode: https://play.google.com/store/apps/details?id=com.aiuspaktyn.nodisturb
Aiuspaktyn said:
Hi, I made a launcher to "Do not disturb" mode: https://play.google.com/store/apps/details?id=com.aiuspaktyn.nodisturb
Click to expand...
Click to collapse
Nice, but unfortunately it is not enough. It won't work at least on official OOS 4.1.6 as auto-DnD has been disabled at framework level by removing
config_system_condition_providers
Even if you modify framework-res.apk is is still not enough due to another changes that broke default DnD zen mode settings values.
This results in another bug I reported here: https://forums.oneplus.net/threads/alert-slider-implementation-affects-android-public-api.555216/
Not working for me, it does not activate silent mode
This is a feature I do miss.
I did have EmotionOS on my OP3, and DND was included (tweaked in the menu). Hopefully this will come to us soon....
Its possible with Tasker.
I use Tasker for this, too and that allows to control it by time, even consider holidays or weekends as well as locations (silent at work). And that is only a small thing, Tasker can do.
Guys who use tasker, care to share your Profile for it?
dustintinsley said:
Guys who use tasker, care to share your Profile for it?
Click to expand...
Click to collapse
I have it set as a time profile (from 0:00 till 6:15) and the task is called "Do Not Disturb" and there u can set it as None (no notifications), Alarms, Priority and All (which is DND off).
I use Tasker and the Sound Mode Plugin.
Create two tasks (Silent and Normal), where you use the Sound Mode Plugin to switch to the desired mode.
Create a profile with the proper condition (time, week-day, location) and use the Silent Task as In- and the Normal Task as Exit Task.
That's it. With additional work, you can even evaluate your calendar for holidays to control a variable so your phone stays silent on week holidays...
Hi guys,
I tried to do something with Tasker but it didn't work. Could help me please?
Here's my profile:
Code:
<TaskerData sr="" dvi="1" tv="5.0u5m">
<Profile sr="prof6" ve="2">
<cdate>1503938438883</cdate>
<edate>1503990405048</edate>
<id>6</id>
<mid0>5</mid0>
<nme>Dnd Dim-jeu</nme>
<Day sr="con0">
<wday0>4</wday0>
<wday1>1</wday1>
<wday2>5</wday2>
<wday3>3</wday3>
<wday4>2</wday4>
</Day>
</Profile>
<Task sr="task5">
<cdate>1503938299209</cdate>
<edate>1503989725138</edate>
<id>5</id>
<nme>DND semaine</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>312</code>
<Int sr="arg0" val="1"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%TIME</lhs>
<op>7</op>
<rhs>09.00</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%TIME</lhs>
<op>6</op>
<rhs>07.00</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
</TaskerData>
And my task:
Code:
<TaskerData sr="" dvi="1" tv="5.0u5m">
<Task sr="task5">
<cdate>1503938299209</cdate>
<edate>1503991151598</edate>
<id>5</id>
<nme>DND semaine</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>312</code>
<Int sr="arg0" val="1"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%TIME</lhs>
<op>7</op>
<rhs>22.00</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%TIME</lhs>
<op>6</op>
<rhs>07.00</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
</TaskerData>
godzifa said:
Hi guys,
I tried to do something with Tasker but it didn't work. Could help me please?
Here's my profile:
Code:
<TaskerData sr="" dvi="1" tv="5.0u5m">
<Profile sr="prof6" ve="2">
<cdate>1503938438883</cdate>
<edate>1503990405048</edate>
<id>6</id>
<mid0>5</mid0>
<nme>Dnd Dim-jeu</nme>
<Day sr="con0">
<wday0>4</wday0>
<wday1>1</wday1>
<wday2>5</wday2>
<wday3>3</wday3>
<wday4>2</wday4>
</Day>
</Profile>
<Task sr="task5">
<cdate>1503938299209</cdate>
<edate>1503989725138</edate>
<id>5</id>
<nme>DND semaine</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>312</code>
<Int sr="arg0" val="1"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%TIME</lhs>
<op>7</op>
<rhs>09.00</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%TIME</lhs>
<op>6</op>
<rhs>07.00</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
</TaskerData>
And my task:
Code:
<TaskerData sr="" dvi="1" tv="5.0u5m">
<Task sr="task5">
<cdate>1503938299209</cdate>
<edate>1503991151598</edate>
<id>5</id>
<nme>DND semaine</nme>
<pri>100</pri>
<Action sr="act0" ve="7">
<code>312</code>
<Int sr="arg0" val="1"/>
<ConditionList sr="if">
<bool0>And</bool0>
<Condition sr="c0" ve="3">
<lhs>%TIME</lhs>
<op>7</op>
<rhs>22.00</rhs>
</Condition>
<Condition sr="c1" ve="3">
<lhs>%TIME</lhs>
<op>6</op>
<rhs>07.00</rhs>
</Condition>
</ConditionList>
</Action>
</Task>
</TaskerData>
Click to expand...
Click to collapse
There is a built in task (in Tasker) called "Do Not Disturb". Use that for the task - my profile was time based to trigger it. That's all you should need for a basic one. If you are trying to make it more complicated, maybe post a screen shot as it's difficult for me to read through the text programming of Tasker that you posted.
rage77 said:
This is very easily done with Tasker.
Click to expand...
Click to collapse
Can you post your profile? I used to do this with Tasker once upon a time but those profiles do not work on the OP5. Seems like OP fubar-ed the Dnd function royally with that incredibly stupid slider decision
Aiuspaktyn said:
Hi, I made a launcher to "Do not disturb" mode: https://play.google.com/store/apps/details?id=com.aiuspaktyn.nodisturb
Click to expand...
Click to collapse
Unfortunately this does not work for me. Does the slider need to be in a particular position for this to work? When I set it in the lowest (enabled) position the alarms come through?
astracd said:
I use LIama for this...
Click to expand...
Click to collapse
Again, details please. If I don't find a solution I am sending the OP5 back. This is a complete deal breaker for me. Having to physically flip a switch when the OS has done that for quite some time is just plain dumb.
---------- Post added at 12:17 AM ---------- Previous post was at 12:10 AM ----------
arabcamel said:
There is a built in task (in Tasker) called "Do Not Disturb". Use that for the task - my profile was time based to trigger it. That's all you should need for a basic one. If you are trying to make it more complicated, maybe post a screen shot as it's difficult for me to read through the text programming of Tasker that you posted.
Click to expand...
Click to collapse
This is what my profile does but it does not appear to silence the phone. I set up a basic task
Condition
Time 22:00-07:00
Day MTWRF
Entrance task
Do not disturb: Priority
Exit task
Do not disturb: All
When the profile is active incoming emails will still produce alarms when the slider is in the bottom position. Suggestions?
GroovyGeek said:
This is what my profile does but it does not appear to silence the phone. I set up a basic task
Condition
Time 22:00-07:00
Day MTWRF
Entrance task
Do not disturb: Priority
Exit task
Do not disturb: All
When the profile is active incoming emails will still produce alarms when the slider is in the bottom position. Suggestions?
Click to expand...
Click to collapse
Putting the slider in the middle position does the same as putting Tasker DND to priority. If you are looking for "Silent" function which is similar to putting Tasker in up position, then choose the audio tasks and silence notifications, media, and Ringtones separately. Your exit task for the profile can be to raise the volume of all 3 back to normal.
Here are my profiles (for week day and the weekend):
Code:
<TaskerData sr="" dvi="1" tv="5.0u6m">
<Profile sr="prof4" ve="2">
<cdate>1505366333629</cdate>
<edate>1506002648183</edate>
<id>4</id>
<mid0>3</mid0>
<nme>Semaine</nme>
<Time sr="con0">
<fh>22</fh>
<fm>0</fm>
<th>6</th>
<tm>45</tm>
</Time>
<Day sr="con1">
<wday0>4</wday0>
<wday1>1</wday1>
<wday2>5</wday2>
<wday3>2</wday3>
<wday4>3</wday4>
</Day>
</Profile>
<Task sr="task3">
<cdate>1505366236467</cdate>
<edate>1505419999663</edate>
<id>3</id>
<nme>Dnd</nme>
<Action sr="act0" ve="7">
<code>312</code>
<Int sr="arg0" val="1"/>
</Action>
</Task>
</TaskerData>
<TaskerData sr="" dvi="1" tv="5.0u6m">
<Profile sr="prof2" ve="2">
<cdate>1505366333629</cdate>
<clp>true</clp>
<edate>1506002644564</edate>
<id>2</id>
<mid0>3</mid0>
<nme>Weekend</nme>
<Time sr="con0">
<fh>23</fh>
<fm>30</fm>
<th>9</th>
<tm>0</tm>
</Time>
<Day sr="con1">
<wday0>7</wday0>
<wday1>6</wday1>
</Day>
</Profile>
<Task sr="task3">
<cdate>1505366236467</cdate>
<edate>1505419999663</edate>
<id>3</id>
<nme>Dnd</nme>
<Action sr="act0" ve="7">
<code>312</code>
<Int sr="arg0" val="1"/>
</Action>
</Task>
</TaskerData>
And my task:
Code:
<TaskerData sr="" dvi="1" tv="5.0u6m">
<Task sr="task3">
<cdate>1505366236467</cdate>
<edate>1505419999663</edate>
<id>3</id>
<nme>Dnd</nme>
<Action sr="act0" ve="7">
<code>312</code>
<Int sr="arg0" val="1"/>
</Action>
</Task>
</TaskerData>
They all work!
GroovyGeek said:
Again, details please. If I don't find a solution I am sending the OP5 back.
Click to expand...
Click to collapse
LIama
Create new profile
Change ringtone volume / change notification volume / change ring/vibrate/silent mode
So you can change all 3 however you prefer...
Save profile... and each time you open LIama... and press on that profile it will switch to whatever you decided to have...
Also you can make it to do it by location, trigger by apps... etc...
I have few profiles... for car when I get to car it makes volume higher... when I get home it makes it lower... when I get to work it make it silent + vibration...
I believe you can make it by time as well, but I never try so it is not 100%...