Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,783,010 Members 44,080 Now Online
XDA Developers Android and Mobile Development Forum

[UPDATE - 30/8/14]Smartwatch 2 host app hack[V 0.4]

Tip us?
 
manu0466
Old
(Last edited by manu0466; Yesterday at 04:51 PM.) Reason: Changelog update
#1  
Member - OP
Thanks Meter 103
Posts: 34
Join Date: Dec 2010

 
DONATE TO ME
Thumbs up [UPDATE - 30/8/14]Smartwatch 2 host app hack[V 0.4]

Hi all xda members
This is a my personal hack of the sony sw2 host at the moment this app do this things:
  1. Ability of placing overdarwed widget.
  2. Chnage watch face trought tasker or other program like it.
  3. Navigating from watchfaces directly from your current watch face(only if you install and configure sw2 multi watchface extension) Idea by @AlexOB1.

I hope that with time the features increase

How to update:
 

-Uninstall Smartwatch 2 host app
-Download "sw2-host-app.apk" attached below.
-Install the apk
-Go to setting -> bluettoth -> smartwatch 2 -> unpair
-From the smartwatch go to settings -> bluetooth -> Make visible for pairing
-Repair your smartwatch 2
-Open smart connect
-Have fun

How to install:
 

-Uninstall Smartwatch 2 host app + Smart connect (becouse smart connect check the certificate of smartwatch 2 app)
-Download "smart_connect_mod.apk" + "sw2-host-app.apk" attached below.
-Install the two apks
-Go to setting -> bluettoth -> smartwatch 2 -> unpair
-From the smartwatch go to settings -> bluetooth -> Make visible for pairing
-Repair your smartwatch 2
-Open smart connect
-Have fun

How to return to original :
 

-Uninstall Smartwatch 2 host app + Smart connect
-Reinstall from play store
-Go to setting -> bluettoth -> smartwatch 2 -> unpair
-From the smartwatch go to settings -> bluetooth -> Make visible for pairing
-Repair your smartwatch 2
-Open smart connect


Tasker Configuration Tutorial.
 

1)Open tasker and go into "TASKS" tab.
2)Click on the "+" button(placed at bottom right of the screen) and insert a label for your task.
3)Now whill open a new windows,now hit on the plus placed on bottom of the screen.
4)Select "Misc".
5)Select "Send Intent".
6)Now on "Action" write "com.zeus.sw2.hack.FILTER"(Whitout semicolons) and on "Extra" write "name:your watch face name" (the watch face name is case sensitivity!!)
7)Save it and test .


Multi watchface extension
 

What is it?
Are 2 trasparent widget that permise to change the watch face directly from it,like your launcher when you swipe left and right for switch between your home pages.
Unfortunaly the SW2 widget api don't handle the swipe on the watchface only click.
The goal of this app is to make your sw2 watchface like your smartphone home screen
At the moment support only 3 watch face. but in the future the number of page while be user custumizable

How to use:
  1. Open the sw2 app and open the Extension settings page.
  2. A list of tree item while be showed.
  3. Tap on the first item to chose your first home page.
  4. Another listview containing your watchfaces name while be showed,thap over a watchface name to select it.
  5. To this thing for all the two remaining watchfaces.
  6. At the and go to all your of your selected watchfaces and add:
  7. he widget named "Left Side" on the left side of the watchface.
  8. the widget named "Right Side" on the Right side of the watchface.
  9. now it's all ready,
N.B.
For an optimal work put the widget only over a widget do not handle click event(like the clock).

Changelog:
V1.0
  1. -Initial Release

V1.1
  1. -Fixed some bug.
  2. -User configurable watchface number.


At the moment the xposed module don't support the features introduced after version 0.1.
For people who love Xposed there is also an xposed module made by @kimagure here : http://forum.xda-developers.com/show...93990918691626
Pleas also say thaks to him for her work.

Changelog
:

 

V 0.1
  1. -Added the ability to overdraw the widget.

V 0.2
  1. -Added the posibility of changing watchface over broadcast intet.
    code example:
    Code:
    Intent i = new Intent("com.zeus.sw2.hack.FILTER");
    i.putExtra("name","watch face name");
    sendBroadcast(i);

V 0.3
  1. Now the watchface editor is 17x5(this new layout for me provide a better widget positioning, but if you dislike report to me and i will return to stock layout).
  2. Added Multi Watchface extension support.

V 0.4 [Same apk of post #216]
  1. -Fixed the multifatchwace issues (i hope..)
  2. -Added the posibility of toggle debugmode whit a broadcast intent (do this only if you want study the sw2 core).
    code example:
    Code:
    //enble
    Intent i = new Intent("com.zeus.sw2.hack.FILTER");
    i.putExtra("dbg",true); 
    sendBroadcast(i);
    //disable
    Intent i = new Intent("com.zeus.sw2.hack.FILTER");
    i.putExtra("dbg",false); 
    sendBroadcast(i);


Any suggestions for improve this mod are welcome

If you like my work you can donete through this

Attached Thumbnails
Click image for larger version

Name:	watchface1_app.jpg
Views:	6589
Size:	64.7 KB
ID:	2716013   Click image for larger version

Name:	watchface2_app.jpg
Views:	5805
Size:	66.9 KB
ID:	2716014   Click image for larger version

Name:	watchface2_watch.jpg
Views:	5791
Size:	249.7 KB
ID:	2716015   Click image for larger version

Name:	watchface1_watch.jpg
Views:	5296
Size:	239.4 KB
ID:	2716139   Click image for larger version

Name:	tasker_screenshot.png
Views:	512
Size:	124.3 KB
ID:	2909189  

Attached Files
File Type: apk smart_connect_mod.apk - [Click for QR Code] (6.27 MB, 179 views)
File Type: apk sw2-host-app_V0.4.apk - [Click for QR Code] (6.92 MB, 42 views)
File Type: apk multi_watchface_extension_V1.1.apk - [Click for QR Code] (105.6 KB, 27 views)
The Following 54 Users Say Thank You to manu0466 For This Useful Post: [ Click to Expand ]
 
iT iS Me
Old
#2  
Senior Member
Thanks Meter 34
Posts: 343
Join Date: Jan 2008
Location: Saudi Arabia, Jeddah

 
DONATE TO ME
Excellent, I was looking for this. I will try it right now
 
manu0466
Old
#3  
Member - OP
Thanks Meter 103
Posts: 34
Join Date: Dec 2010

 
DONATE TO ME
Quote:
Originally Posted by iT iS Me View Post
Excellent, I was looking for this. I will try it right now
Tanks,give it a try and report me what do you thik
 
iT iS Me
Old
#4  
Senior Member
Thanks Meter 34
Posts: 343
Join Date: Jan 2008
Location: Saudi Arabia, Jeddah

 
DONATE TO ME
First face



Sent from my SM-N9005 using Tapatalk
The Following User Says Thank You to iT iS Me For This Useful Post: [ Click to Expand ]
 
AlexOB1
Old
#5  
Senior Member
Thanks Meter 40
Posts: 126
Join Date: Jun 2013
So, what happens if content is overlapping on the actual watch?
Nexus 4 running CM11 Official Nightlies | HP Tochpad running CM10 (awaiting bluetooth to install CM10.1) | HTC Desire running 4.4 Chromium's Beanstalk | Nook Simple Touch running an Android version from the dark ages
 
pcb_one
Old
#6  
Junior Member
Thanks Meter 4
Posts: 29
Join Date: Nov 2009
Quote:
Originally Posted by manu0466 View Post
Hi all I wont release my mod of smartwatch 2 host app.
This mod allow you to have overdrawed watchface widgets or the ability to uncenter some clock widget.

For examples there are some screenshot attached below.

How to install:
-Uninstall Smartwatch 2 host app + Smart connect (becouse smart connect check the certificate of smartwatch 2 app)
-Download "smart_connect_mod.apk" + "smartwatch2_host_app_mod.apk"
-Install the two apks
-Go to setting -> bluettoth -> smartwatch 2 -> unpair
-From the smartwatch go to settings -> bluetooth -> Make visible for pairing
-Repair your smartwatch 2
-Open smart connect
-Have fun

How to return to original :
-Uninstall Smartwatch 2 host app + Smart connect
-Reinstall from play store
-Go to setting -> bluettoth -> smartwatch 2 -> unpair
-From the smartwatch go to settings -> bluetooth -> Make visible for pairing
-Repair your smartwatch 2
-Open smart connect

Any suggestions for improve this mod are welcome
Xperia Z users may have problems to uninstall smart connect - it's a built-in app...can't uninstall
The Following User Says Thank You to pcb_one For This Useful Post: [ Click to Expand ]
 
AlexOB1
Old
#7  
Senior Member
Thanks Meter 40
Posts: 126
Join Date: Jun 2013
Second question, what affect does this installing and uninstalling have on previously installed smartwatch apps and settings? Resets the settings but leaves the apps I'm guessing?
Nexus 4 running CM11 Official Nightlies | HP Tochpad running CM10 (awaiting bluetooth to install CM10.1) | HTC Desire running 4.4 Chromium's Beanstalk | Nook Simple Touch running an Android version from the dark ages
 
manu0466
Old
#8  
Member - OP
Thanks Meter 103
Posts: 34
Join Date: Dec 2010

 
DONATE TO ME
Quote:
Originally Posted by AlexOB1 View Post
So, what happens if content is overlapping on the actual watch?
Nothing
 
iT iS Me
Old
#9  
Senior Member
Thanks Meter 34
Posts: 343
Join Date: Jan 2008
Location: Saudi Arabia, Jeddah

 
DONATE TO ME
Quote:
Originally Posted by AlexOB1 View Post
Second question, what affect does this installing and uninstalling have on previously installed smartwatch apps and settings? Resets the settings but leaves the apps I'm guessing?
Nothing everything is untouched.

Sent from my SM-N9005 using Tapatalk
 
manu0466
Old
#10  
Member - OP
Thanks Meter 103
Posts: 34
Join Date: Dec 2010

 
DONATE TO ME
Quote:
Originally Posted by pcb_one View Post
Xperia Z users may have problems to uninstall smart connect - it's a built-in app...can't uninstall
Thaks for reporting. if some one provide me the original smart connect app a can search for a solution

Quote:
Originally Posted by AlexOB1 View Post
Second question, what affect does this installing and uninstalling have on previously installed smartwatch apps and settings? Resets the settings but leaves the apps I'm guessing?
When you unistall the app you lose only the Smart connect settings(profile , ecc) and the watchface.
The settings of the smartwach app remain unchanged.

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes