[DEV] Create custom home screen pages for the Pace - Amazfit

I've previously hinted that I was working on getting custom pages working for the launcher on the Pace - well here it is
This allows for custom home screen pages with your own content, there's very little in terms of limits. Code is standard Android Java, you just need to include a library (see GitHub) and follow the example code (the class MUST extend AbstractPlugin, again see the GitHub)
When compiled, the example code shows this on the homescreen page:
{
"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"
}
Example code and guide for use on GitHub

You are the man! I see you are on flames, I have some suggestions for improvements!
...Calender is coming!
Edit:
I tryied to make a new exactly identical project with yours, it installed with no errors, but i couldn't see it anywhere... Is there anything else we should notice when making a new project? Except form API version to android 5.0 etc... We make a project for phone not androidware right? (i later added the "android.support.wear" in manifest but without luck).
On the other hand, changing your project worked (i really can't find the problem with mine). However, i tried to load a JS calendar through webview without luck. I see a blank page and if change to app mode, the app crashes :/
Any good way to debug all these from adb? (couldn't find sth in logcat)

Whilst working on a little something (see the spoiler below), I found there's something quite important I hadn't mentioned. To update views, you need to run code on the UI thread. There's usually not an easy way to do this - remember, a plugin is not an Activity so we can't do the normal things.
However, Huami thought of this, so you can run:
Code:
getHost().runTaskOnUI(this, new Runnable() {
@Override
public void run() {
...
}
});
Coming soon (WIP UI and not complete):
I want to get a circular progress bar for the song's duration working as well as iron out some bugs before release. Sadly album art background isn't possible (but would look amazing, especially with palette colour icons!) as the art is not sent to the watch - this page is hooking the built in music control from the phone, no bluetooth trickery at all!

GreatApo said:
You are the man! I see you are on flames, I have some suggestions for improvements!
...Calender is coming!
Edit:
I tryied to make a new exactly identical project with yours, it installed with no errors, but i couldn't see it anywhere... Is there anything else we should notice when making a new project? Except form API version to android 5.0 etc... We make a project for phone not androidware right? (i later added the "android.support.wear" in manifest but without luck).
On the other hand, changing your project worked (i really can't find the problem with mine). However, i tried to load a JS calendar through webview without luck. I see a blank page and if change to app mode, the app crashes :/
Any good way to debug all these from adb? (couldn't find sth in logcat)
Click to expand...
Click to collapse
Sometimes the page loading can be a bit strange. Make sure you're doing nothing demanding in getView - I've found that even adding a listener in getView can cause it to come up blank this evening (use onActive instead)
In terms of logcat, use a normal logcat with no filter, as the logging is split between the launcher itself logging when a page is loaded/unloaded and the app logging when you tell it to. If you want to just show the logs from the app or launcher, I recommend using pidcat
It's also entirely possible the watch struggles with webviews, or may do within the launcher. I've not tested it, but I know they're pretty demanding usually - better to do it in Java because the watch is not that powerful

Quinny899 said:
Sometimes the page loading can be a bit strange. Make sure you're doing nothing demanding in getView - I've found that even adding a listener in getView can cause it to come up blank this evening (use onActive instead)
In terms of logcat, use a normal logcat with no filter, as the logging is split between the launcher itself logging when a page is loaded/unloaded and the app logging when you tell it to. If you want to just show the logs from the app or launcher, I recommend using pidcat
It's also entirely possible the watch struggles with webviews, or may do within the launcher. I've not tested it, but I know they're pretty demanding usually - better to do it in Java because the watch is not that powerful
Click to expand...
Click to collapse
I am just editing your project :highfive: again, awesome work!
WebView was a dead end for me, i am a javascript quy thats why i was trying it...
Anyway, i edited a simple calendarView (damn it needs a lot of tests), and boom! We have a calendar!
I am adding new icons and i am uploading it as version 1.0.0. Colors are NOT so visible in watch's sreen. I will try to change them (no luck untill now, any idea?) or i will try to use this lib.

It's possible to add home screen's WatchDroid ? Thanks

kwet said:
It's possible to add home screen's WatchDroid ? Thanks
Click to expand...
Click to collapse
I think no. The app should be changed to do so...

Coming soon

GreatApo said:
I am just editing your project :highfive: again, awesome work!
WebView was a dead end for me, i am a javascript quy thats why i was trying it...
Anyway, i edited a simple calendarView (damn it needs a lot of tests), and boom! We have a calendar!
I am adding new icons and i am uploading it as version 1.0.0. Colors are NOT so visible in watch's sreen. I will try to change them (no luck untill now, any idea?) or i will try to use this lib.
Click to expand...
Click to collapse
Hi all, I imported the Example in Android Studio (Hello world).
It compile with success, but when playing, it tells that no Activity is present.
How to run the example?
Thank you

Fabrizio Casellato said:
Hi all, I imported the Example in Android Studio (Hello world).
It compile with success, but when playing, it tells that no Activity is present.
How to run the example?
Thank you
Click to expand...
Click to collapse
You can't run it for bebug in PC since this is not a new activity, you just extend the activity of your watch's launcher. So, you install it, reboot your launcher and see the results
I suppose you will have to make a new normal apk first to test your code in your PC.

I've a Pace. I'm trying to compile on it.
Now, I do: Run -> Run... -> Edit Configuration... -> Launch Nothing.
This creates an apk and installs it on the watch.
I rebooted the Pace, but I can't see any new plugin.
Soooob
What am I wrong?
---------- Post added at 06:20 PM ---------- Previous post was at 06:18 PM ----------
However, I've deployed an app of Activities, that I'd like to transform to plugin (as the beautiful calendar!).
May... I have the project, so to copy the steps from it?
Thank you very much

Fabrizio Casellato said:
I've a Pace. I'm trying to compile on it.
Now, I do: Run -> Run... -> Edit Configuration... -> Launch Nothing.
This creates an apk and installs it on the watch.
I rebooted the Pace, but I can't see any new plugin.
Click to expand...
Click to collapse
It extends your watch's launcher activity so you can't run it in Studio. Build apk, install it with adb in your watch and run the given command to reboot your launcher. It should appear at the end of you widgets, else it doent run (remember to uninstall it before reinstalling).
Fabrizio Casellato said:
However, I've deployed an app of Activities, that I'd like to transform to plugin (as the beautiful calendar!).
May... I have the project, so to copy the steps from it?
Thank you very much
Click to expand...
Click to collapse
I can upload them tomorrow at github as a fork of @Quinny899 's project. I haven't provided the sources yet since the changes are small.

good job!

You're hyping me :')

So, you guys making a custom watch home screen, a cool looking calendar app and new themes (judging from the color of remote music player )for the watch?

GreatApo said:
It extends your watch's launcher activity so you can't run it in Studio. Build apk, install it with adb in your watch and run the given command to reboot your launcher. It should appear at the end of you widgets, else it doent run (remember to uninstall it before reinstalling).
I can upload them tomorrow at github as a fork of @Quinny899 's project. I haven't provided the sources yet since the changes are small.
Click to expand...
Click to collapse
Great! I really appreciate

bmMachine said:
So, you guys making a custom watch home screen, a cool looking calendar app and new themes (judging from the color of remote music player )for the watch?
Click to expand...
Click to collapse
There's no custom themes involved in the music player, it's just coloured buttons and a custom view for the arc, nothing special

Hello everyone!
I'm new to developing android apps, I've never needed to create my own app. Now I got an idea - I have my own smarthome system and decided to get deeper and create widget with buttons to turn on/off light in my house.
First of all - is this possible? I want to send a UDP packet for static IP and port in my local network.
I'm guessing that this and this should be used?
Thanks in advance for any info

Michalec said:
Hello everyone!
I'm new to developing android apps, I've never needed to create my own app. Now I got an idea - I have my own smarthome system and decided to get deeper and create widget with buttons to turn on/off light in my house.
First of all - is this possible? I want to send a UDP packet for static IP and port in my local network.
I'm guessing that this and this should be used?
Thanks in advance for any info
Click to expand...
Click to collapse
The generic internet companion only sends requests, not raw packets. You'd need to either use the WiFi on the watch or create your own companion app for your phone too

Quinny899 said:
The generic internet companion only sends requests, not raw packets. You'd need to either use the WiFi on the watch or create your own companion app for your phone too
Click to expand...
Click to collapse
Okay, so this could be achieved by using WiFI - I do not need internet connection - only access to my local network.
Any "tutorial" how to use WiFI connection on Amazfit?

Related

[APP] sneakText 1.0 - encrypt/decrypt any simple text message for any purpose

A little tool I wrote for WinMo 5 and up. Uses a custom built alphanumeric text cipher to secure just about any text-related operations you can think of. Enter a message in the interface, followed by a codeword, select 'sneak' or 'unsneak', and hit 'do it'. The app will then either securely encrypt the message, or decrypt it. Maybe good for those couples who both use WinMo
Tech note: Requires .NET CF 2.0 or later
EULA note: Use of this app is subject to an EULA located here. The basic points are:
- You CAN freely distribute this app in its original .cab file
- You CANNOT reverse engineer, decompile or modify this app in any way
- You CANNOT charge a fee to distribute this app
- This app is provided as-is, I don't accept any responsibility or liability for any damage or loss caused in any way by using this app, directly or indirectly
And just for you ROM chefs
- You CAN include this app in any ROMs you cook. (This part isn't written in the official EULA but take it from me here, include it in a ROM if you want )
You can also check out my blog at http://ltbrenton.wordpress.com
{
"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"
}
Screenshot by the0ne
NEW: An iPhone version has been released on the App Store for 99 cents - if you like the work I do here, feel free to purchase a copy on iTunes for either you or your friend... now your iPhone-using friends and colleagues can join in the fun too! Get it here at http://itunes.com/app/sneaktext
Edit: WOW this has been awesome! Got probably 100+ downloads on this within 2 days, so glad you seem to like it so much
If you want, feel free to post any success-stories or reviews in this thread, I wanna know how you guys are using it and what you think, whether I could improve it or what features I could add/remove... if you want of course
And again, totally optional, but this would be awesomely helpful if you could (my Wizard is really starting to perform its death-rattle now, battery's starting to screw up), please donate and help me on my way to a Touch HD so I can keep on writing apps for you guys, maybe even learn to cook and push a few ROMs out
YAEdit: Doesn't seem like I can embed a button that easy, so if anyone is interested in donating, PM me and I'll give you my paypal details
New version uploaded today (11/29/2009), same version number because it's a bugfix/minor change
Changes:
- Removed 'help' menu and replaced with 'edit' (about button is now in functions menu)
- Added 'edit' menu which enables you to copy from and paste to the 'message' field. You still need to type your key, but IMO that's good practice...keeps the keys memorabl
I changed the attachment in the first post to point to the latest version, so you can download it exactly the same
If you have any suggestions on what I could do to improve the app, let me know in this thread
LtBrenton said:
A little tool I wrote for WinMo 5 and up. Uses a custom built alphanumeric text cipher to secure just about any text-related operations you can think of. Enter a message in the interface, followed by a codeword, select 'sneak' or 'unsneak', and hit 'do it'. The app will then either securely encrypt the message, or decrypt it. Maybe good for those couples who both use WinMo
Tech note: Requires .NET CF 2.0 or later
EULA note: Use of this app is subject to an EULA located here. The basic points are:
- You CAN freely distribute this app in its original .cab file
- You CANNOT reverse engineer, decompile or modify this app in any way
- You CANNOT charge a fee to distribute this app
- This app is provided as-is, I don't accept any responsibility or liability for any damage or loss caused in any way by using this app, directly or indirectly
And just for you ROM chefs
- You CAN include this app in any ROMs you cook. (This part isn't written in the official EULA but take it from me here, include it in a ROM if you want )
You can also check out my blog at http://ltbrenton.wordpress.com
Click to expand...
Click to collapse
LtBrenton, sorry for the dumb question but how do I sent the encrypted message via text. What is the procedure? do I copy and paste or is stored in a folder somewhere?
Hey, just copy and paste the resultant ciphertext into a new SMS. Remember the receiving party also needs to have a copy of the app and know your codeword they then paste it into the app and decode it
LtBrenton said:
Hey, just copy and paste the resultant ciphertext into a new SMS. Remember the receiving party also needs to have a copy of the app and know your codeword they then paste it into the app and decode it
Click to expand...
Click to collapse
Thanks,
Well I've had nearly 40 downloads already just from here, so I wanna ask, how are you guys doing? Any comments on features, stuff I should add, change, or whatever? Drop them here, I'd love to hear your input
Also take a look at http://twickret.wordpress.com <- It's just a desktop edition right now, with an iPhone version imminent, but I'd like to see a show of hands for anyone who wants me to bash out a WinMo version of this for you guys to include in your ROMs Let me know what you think
here is the screenshot
the0ne said:
here is the screenshot
Click to expand...
Click to collapse
thanks for that, I think it looks pretty sweet in green
WOW this has been awesome! Got probably 100+ downloads on this within 2 days, so glad you seem to like it so much
If you want, feel free to post any success-stories or reviews in this thread, I wanna know how you guys are using it and what you think, whether I could improve it or what features I could add/remove... if you want of course
Great app!
Is there a way to implement copy/paste withing the app, by tapping & holding? On my touch pro i need to use the keyboard to ctrl+c/v to copy/paste the text, but on my HD I can't copy paste text at all.
Other than that great work!
hey, on the HD for now you'll need to use the windows SIP ctrl+c/ctrl+v. I wasn't aware the tap/hold menu didn't work. I'll get this fixed in the next release as soon as my ISP stops dicking around with the 3G node...mobile lines suck when they're your main link
Update, it's fixed and the binary's been built. Unfortunately got no way to upload it for now but it's coming VERY soon
Changes:
- Removed 'help' menu and replaced with 'edit' (about button is now in functions menu)
- Added 'edit' menu which enables you to copy from and paste to the 'message' field. You still need to type your key, but IMO that's good practice...keeps the keys memorable
OK, fixed version is now downloadable from the first post in this thread Have fun
Out of interest, would anybody be interested in a "Secure-XDA" ROM consisting of a pile of crypto tools bundled? I was thinking of something like the following:
- sneakText installed by default
- Notes replaced by encrypted version
- Lockscreen replaced with a PIN/password prompt, which can have configurable 'consequences' for bad entries (such as forensic-wipe of certain files, SMS alert to configurable number, or in an extreme case, forensic wipe -> hard-reset)
- Built-in support for file/email encryption with PGP or similar
- other similar features
- Cool 'secret agent' theme
Any thoughts?
i will try and get a video of the app this weekend ..
Sweet, thanks for that man Looking forward to it
LtBrenton said:
Out of interest, would anybody be interested in a "Secure-XDA" ROM consisting of a pile of crypto tools bundled? I was thinking of something like the following:
- sneakText installed by default
- Notes replaced by encrypted version
- Lockscreen replaced with a PIN/password prompt, which can have configurable 'consequences' for bad entries (such as forensic-wipe of certain files, SMS alert to configurable number, or in an extreme case, forensic wipe -> hard-reset)
- Built-in support for file/email encryption with PGP or similar
- other similar features
- Cool 'secret agent' theme
Any thoughts?
Click to expand...
Click to collapse
That would be great!
Just an update for any of you on the 'dark side' - a Windows .NET version and an iPhone version of one of my other crypto apps is available now for download on my other blog, http://twickret.wordpress.com - shout out if you want to see a WinMo version
Just bumping this to say sneaktext is available now for iPhone as well - so if you know anybody on the Apple side of the fence they can now receive your encrypted messages: check out the post on the blog
Direct link to post:
http://ltbrenton.wordpress.com/2009/12/16/sneaktext-iphone-version-now-available-for-download/
App Store link:
http://itunes.com/app/sneaktext

[APP]BGSwitchPPC - Change Today Screen Background Image Automatically

This is my first ever smartphone app, but it's based on a full-fledged windows app of mine that I've been using for a few years now.
Basically, I like to change my desktop background alot, each time I log on in fact. So I wanted something similar for my phone. Also, I wanted a way of having an appropriately dimensioned image for when the keypad was open/closed as I own an Xperia X1.
So I've created this little app for my X1.
What it does is choose a random image from a preset directory (different directory for portrait/landscape images - to allow for correct dimensions - can be the same dir if you're not fussed) and sticks it in as your Today Screen background image.
Current Features
Random Background Selection
Supports any resolution device
Different Image For Portrait/Landscape mode
Supports Different Directories To Select Portrait/Landscape Iamge From
Preview Backgrounds In The Config Util
Scheduling Support
Timer Support
New Background After Hard Reset Option
Current Wishlist:
Automatic image resizing/scaling etc
New Background After Suspend
Current Known Bugs
Hard Reset update seems buggy - but could just be my phone taking a while to load up! You might get a very scary error, but your phone won't be borked! I promise.
View attachment BGSwitchPPC.zip V0.5
Installation notes:
Copy the .exe file to wherever you want it on your WinMo device
Run the exe
Please download it and have a play. Any/All feedbacks, criticism and requests more than welcome. Let me know if you like it too
Currently tested on windows mobile 6, 6.1 and 6.5 via my X1 and the microsoft device emulators.
After you close the program it remains resident in memory? It still continues to change wallpaper, cause it would have been nice if... It's a great program, and waiting for new features like automatically changing wallpaper after a custom time (15-30 minutes for example).
The program doesn't remain in memory. It sets itself to run as a notified program at the appropriate time. Much the same as a windows scheduled task.
I should be able to make it run every xx minutes as opposed to at a set scheduled time though. So watch this space!
Ok, thanks. And there's a little thing that worries me, on my HD2, it hangs the OS for some time after I press to change wallpaper (I'm on 1.66 stock ROM), then it lets go and OS works normally after a while. Maybe others encountered the same? Also, will it change the lock screen too?
how long are we talking about the OS hanging here?
it takes a few seconds, maybe 5 to 10 on my phone to do the file copies when you're setting an image. I get the spinning timer, and don't believe i've tried to access the start menu, although I doubt it'd work. I imagine it would lock for longer if you're using bigger pictues, all mine are 800x640 or 640x800 to start with.
and it should change the lock screen, providing of course you're using the standard winmo one.
Something missing for all the other similar programs:
Choose DESTINATION.
I mean i could have a wallpaper for WAD2, one for S2U2, one for PowerRadio, one for G-Alarm etc. etc. etc.. and each of them have it on different paths.
Your program would need a way to choose multiple pairs like:
SOURCE PATHS -> DESTINATION FILE
I hope my request it's clear
Thank you very much
I'm using stock ROM (as stated above) and it hangs the OS for some time, need to do more testing how long. Could the proggie be updated to change pictures at regular intervals, in the near future?
Well, the app is hanging the OS, it won't quit or respond to taps, not even to OK or anything else just right after I choose the wallpaper and set it, then I have to keep pressing keys until the phone responds and end program with X on taskbar. The wallpapers are 480x800 normal size.
deio:
What phone / version of WinMo are you using? I've only got my X1 for testing and the Windows Mobile SDK Emulators. Therefore only tested on WinMo 6.1 and 6.5.
I'll have the timer based update wrote today I reckon, just need to get some coding done between watching old lost eps
dagosjt:
to clarify: What you want is a way of changing wallpapers other than the windows today screen one. And to do this you want the ability for the program to replace a custom image file you specify when its run?
New version with timer support uploaded and added to front post
Graymi said:
deio:
What phone / version of WinMo are you using? I've only got my X1 for testing and the Windows Mobile SDK Emulators. Therefore only tested on WinMo 6.1 and 6.5.
I'll have the timer based update wrote today I reckon, just need to get some coding done between watching old lost eps
dagosjt:
to clarify: What you want is a way of changing wallpapers other than the windows today screen one. And to do this you want the ability for the program to replace a custom image file you specify when its run?
Click to expand...
Click to collapse
Absolutely yes! just to make an example, there are apps like G-Alarm or PowerRadio (and many others) supporting custom backgrounds. So I ask for something like:
/My Wallpapers/ -> /PowerRadio/backPowerRadio.jpg
/My Wallpapers/ -> /G-Alarml/backGAlarm.jpg
even if /My Wallpapers is the same directory, I would like the chance to choose different images (so the randomizing would happen two times, one for PowerRadio, one for GAlarm). Instead for people who like having everything the same, you could make only one randomizing for the same source, and copying that chosen image to all destination.
Hope I was clear, thanks a lot for your attention!
cool, i should be able to do that.
As a word of warning, I can't garauntee that changing the original file will make these progs auto update. it might be they cache the bg somehow (an issue that caused me a few probs with the tday bg)
But changing additional BGs should be doable. Will take me a while to add an extra config screen, but as always, watch this space!
Well, no one ask you to make other programs update their background
I'm asking this features because I've already a mortscript doing everything I'm asking. However it has two "big" shortcomings:
- It's quite difficult to configure for the other people
- I've implemented the scheduled update (let's say every 30 minutes) however often something block the update and I've to relaunch the script.
Hope your application will be able to make better than my script
well, I'm speccing it at the moment, probably take me a week or so to write the actual code (My evenings tend to get tied up doing other stuff). But fingers crossed, should have something by next weekend.
Another little request, if you don't mind
you could give the option to use your program command line, for example:
BGSwitchPPC -path:1 -next
BGSwitchPPC -path:2 -previous
BGSwitchPPC -path:3 -random
Where path:<id> needs to refer to one of the configured path list, while next, previous, random option let you move around in chosen path file.
This would be handy for somebody wanting to build a slideshow/photoframe inside applications like WAD2 or HS++ or iPhoneToday or similar
Thanks again
Your program crashes on my SE X1 whenever I try to specify the wallpaper directory.
Code:
BGSwitchPPC.exe
IOException
at System.IO.__Error.WinIOError()
at System.IO.Directory.InternalGetFileDirectoryNames()
at System.IO.DirectoryInfo.GetDirectories()
at BGSwitchPPC.frmDirPicker.RecurseNodes()
at BGSwitchPPC.frmDirPicker.RecurseNodes()
at BGSwitchPPC.frmDirPicker.RecurseNodes()
at BGSwitchPPC.frmDirPicker.frmDirPicker_Load()
at System.Windows.Forms.Form.OnLoad()
at System.Windows.Forms.Form._SetVisibleNotify()
at System.Windows.Forms.Control.set_Visible()
at System.Windows.Forms.Form.ShowDialog()
at BGSwitchPPC.frmDirPicker.ShowDialog()
at BGSwitchPPC.frmMain.btnPortraitPick_Click()
at System.Windows.Forms.Control.OnClick()
at System.Windows.Forms.Button.OnClick()
at System.Windows.Forms.ButtonBase.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterModalDialog()
at System.Windows.Forms.Form.ShowDialog()
at BGSwitchPPC.SharedSubs.main()
works great on my HD2
thanks
Can you make it change the lock screen wallpaper too? that would be fantastic
Antimus said:
Can you make it change the lock screen wallpaper too? that would be fantastic
Click to expand...
Click to collapse
you mean like this:
{
"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"
}
screen ?
because it does at mine
That's the one, but the lock screen wallpaper is different to the home screen wallpaper.
Does this app change lock screen too?
Antimus said:
That's the one, but the lock screen wallpaper is different to the home screen wallpaper.
Does this app change lock screen too?
Click to expand...
Click to collapse
Because you're using HTC Sense. This one only changes the wallpaper on default winmo interface iirc.
google for antworks wallpaper changer.

[APP] < CarPal > Monitor maintenance for several cars with autoreminders | v0.91 beta

[APP] < CarPal > Monitor maintenance for several cars with autoreminders | v0.91 beta
UPDATE April 4: I decided to stop the development for the WM OS. I sold my WM phones and switched over to Android (N1). I'll continue working on this app for that OS. Sorry to whoever was waiting for updates for WM, and a HUGE "thank you" to guys who provided feedback/requests for features.
The whole idea was to create a modernly-designed application for my Rhodium that would keep track of different maintenance tasks for my car. What makes this app different from the others is that you set how many miles you drive per day (on the average we drive same amount, give or take), that will allow the App to "predict" what your car's odometer shows. Based on that (+ depending on how many days ahead you want the reminder to be) it will throw a reminder telling you about that particular task.
Currently, the project in is beta. It's fully usable, but not yet as easy/convenient/cool as I want it to be. Of course, I expect there to be bugs, but mostly visual, non-critical stuff that I'm still working on. For curious minds, data is stored in CarPalData.xml in the working folder, unencrypted. I decided to keep it that way for easy access and modification.
If anybody wants to tinker with this on his/her own, lemme know, I'll make it open-source.
Update Feb 26: Sorry guys, got a real big project at work right now, no time for on-the-side development... Should free up next week or so, I definitelly want to add some cool new features to CarPal. Thanks for all the feedback - I'll use it to prioritize the new features. Most likely expect the bike support, gas usage/stats and Dutch/Spanish/Italian languages in next release. Hang tight =)
Please send me your translations!
To translate the app, follow these simple steps:
1. Install the app.
2. Go to \Device\Program Files\CarPal\ and grab the CarPalTranslations.xml file from there.
3. Inside the file, duplicate the "English" node, and rename it to your language name.
4. Translate all the strings in your new node, just make sure you keep the node names intact, only rename the contents of the "string" attribute.
5. Send me your file and you'll see your language in the new release!
Features:
Works with any "decent" resolution (Q|VGA, W|VGA, landscape + portrait).
Wizard-based data entry
High-contrast design to be easily visible outside
Keep track of multiple cars in the same app
Create multiple tasks for every car
Automatic reminders based on how many miles you drive per day on average
Add additional details to your tasks, like locations, owners, etc.
New in version 0.91b:
Multi-language support. Comes with English and Russian by default. Very easy XML translation, contact me if you wanna translate it.
New item in settings - can switch languages from there.
Screenshots (made in WVGA):
{
"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"
}
Still being worked on:
If you hide the app instead of exiting, it will hide too damn well. hard to bring it back up.
Some visual bugs
Get rid of that horrible icon.
Integrating reminders into system reminders
Testing how well the app behaves when it's hidden (running in the background)
Improving interface to be more clear as to where user is at, etc
Non-touchscreen device support. So far app relies on users tapping on buttons.
Add csv importing funtions
Some easy method of translating interface to diff. languages
Other things on my list...
I'd love some feedback, if you tried it - let me know how it worked for you, and what are your thoughts.
And remember - I keep all data in a separate xml file, so you won't lose any data as the app is updated. So feel free to enter your stuff into the app, just backup the CarPalData.xml as needed.
Kilometers?
Awesome app wish it was in kilometers..
dirtydevious said:
Awesome app wish it was in kilometers..
Click to expand...
Click to collapse
Same here!
@DarkDvr, would like to translate it in Dutch for you!
Plus, I would like to add my maintenance schedule without having to insert a reminder.
dirtydevious said:
Awesome app wish it was in kilometers..
Click to expand...
Click to collapse
Excellent point, and an obvious one too.. how could I miss it
While I'm adding that to settings, you can still use it fine, numbers are numbers, there's nothing in the functionality that would "care" if it's in actual miles, kilometers or millimeters =)
I'll add that setting today/tomorrow.
jolas said:
Plus, I would like to add my maintenance schedule without having to insert a reminder.
Click to expand...
Click to collapse
Mm, good idea. Something like a table of maintenance with all the tasks in it to view/edit?
luckyuser said:
Same here!
@DarkDvr, would like to translate it in Dutch for you!
Click to expand...
Click to collapse
Glad to hear that =)
I'm working on a language xml file that will allow you to translate it to w/e language you want. Gimme some time and I'll let you know when I'm done.
DarkDvr said:
Mm, good idea. Something like a table of maintenance with all the tasks in it to view/edit?
Click to expand...
Click to collapse
Exactly!
Do not forget CSV support to get all my SciLor's Fuel Blaster users
scilor said:
Do not forget CSV support to get all my SciLor's Fuel Blaster users
Click to expand...
Click to collapse
Shouldn't be too hard, can you upload an example csv? Hopefully with title row, so I know what's what =)
Everything in my SciLor's Fuel Blaster Readme (On the Website)
Would be nice to be able to do an exchange in both tools!
New version - 0.91beta:
Multi-language support. Comes with English and Russian by default.
New item in settings - can switch languages from there.
If you want to translate it, let me know so I can add your language to the install package.
Translation is very easy - install the CAB, then get the CarPalTranslation.xml file from the install directory.
In there, just create a new "Language" node, copy/paste any existing language, and modify the strings. You can test it right there, just launch the App, go to settings, and switch to your language. Remember that app-restart is required.
More stuff is coming in the next version...
very, very interesting! this would be a very useful app. i'm looking forward to it. i am also for a list of regular maintenance that can be ticked for each car, e.g. oil change, tire rotation, wheel alignment, etc., and reminds you of it based on the set mileage, let's say, every 3,000 miles.
joshzzz2001 said:
very, very interesting! this would be a very useful app. i'm looking forward to it. i am also for a list of regular maintenance that can be ticked for each car, e.g. oil change, tire rotation, wheel alignment, etc., and reminds you of it based on the set mileage, let's say, every 3,000 miles.
Click to expand...
Click to collapse
At this time you can do all of that, except for creating one task for several cars at the same time. I'm still working on that.
If you have just 1 car, that won't really make a difference for you, so you're good to go. For several cars, I'm working on creating a nice table that will let you handle all of them easily and at the same time.
Give it a nice test run and let me know if it works for ya =)
P.S: table functionality is coming next week, most likely.
Thanks=)
Looking forward to try this out.
looks nice
requests (if you please):
- different background (I for one use this for my motorcycle, not car)... if you can't allow us to choose background then at least give two options: (1) MY bike (a BMW R1200GS) (2) a plain background (maybe the popular carbon fiber one)
- ability to import CSV
that's all before I even try it more after I do
View attachment 285099
DarkDvr said:
New version - 0.91beta:
Multi-language support. Comes with English and Russian by default.
New item in settings - can switch languages from there.
If you want to translate it, let me know so I can add your language to the install package.
Translation is very easy - install the CAB, then get the CarPalTranslation.xml file from the install directory.
In there, just create a new "Language" node, copy/paste any existing language, and modify the strings. You can test it right there, just launch the App, go to settings, and switch to your language. Remember that app-restart is required.
More stuff is coming in the next version...
Click to expand...
Click to collapse
Made a Dutch translation for you, but can't get it work. I'm sure you wil fix it.I overwrote the English text in the editor and after that I saved the file again. I do not know what I've done wrongI hope you can add it soon! Could not upload the xml.file, so i did it in text format
TATAAAAAAAAAAAAAA, it works great now!
I add the English file again and now it works
I also commended alongside a few comments or suggestions. Obviously intended positive
- ability to add dealer or servicepoint, contactperson, adres etc.(maybe dealerlogo) or linked with a Pocket Outlook Contact.
- larger field for notes, more information about task/service
- more matching fontsize in userinterface and textinput fields.
Userinterface is a bit to small, text input to big in my opinion.
- task/service planning also possible with scheduling (pocket agenda), not only by km or miles(Most services are km based but also time based)Sound Alerts can also be planned with the Agenda alarmfunction.
- background change or switch for each car or motorcycle(more evident).At aglance you can see more quickly which car ot motorcycle is meant for a service.
- creating a masterlist for service or maintenance with checkbox option.
So that you can create a todo-list from that masterlist for each service, car or motorcycle.
Succes with development!
ok tried it - seems it is missing the most important feature for me - fuel and fuel statistics
anyway keep up the good work, I'll check it out from time to time
nice app... will definitely give it a try...: )
does this app require the GPS to be turned on all the time or do you periodically update the distance travelled?

[MOD][XPOSED] Macro / Text Expansion

Automatically expand text sequences in any text box in (almost) all apps!
Featured on XDA-portal. Thanks to @Will Verduzco (willverduzco) for the article!
This is an Android Xposed module to perform Macro / Text expansion. The module allows short key sequences to be transformed into other, usually more time-consuming, sequences of keystrokes. This means that frequently used or repetitive sequences of keystrokes can easily be automated. Since it uses Xposed and operates at the text widget level, it works with all factory and third party keyboards, and can be added to user dictionaries for even faster use.
After creating my fun I am Groot module, I thought I'd do something more practical with run-time text processing using Xposed.
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"
}
Requirements
Android 4.0+ with root
Xposed Framework installed
Instructions
Download apk from Xposed Module Repository
Install module as a normal apk
Open Xposed Installer and click checkbox to enable
Reboot device to activate module
Download
v1.2 - Xposed Module Repository
Tips & Hints
It's best to set the macro phrase to a term that is not normally used in conversation, since all instances of this phrase will be replaced.
For example, using the macro 'address' to denote your home address would be a poor choice, since this would change a statement like 'enter your email address' into 'enter your email '123 xyz street'
A better choice is to add a symbol and set the alias to something like '@addr' to prevent inadvertent text expansion.
Changes to macro list require reboot to activate.
AutoHotKey import file notes
Import macro lines that match ::macro::expansion
Does not yet handle AutoHotKey wildcards/regular expressions
Lines containing non-ASCII characters are also ignored
Enable import/restore debug logging to troubleshoot missed macro issues
Any AutoHotKey text file should be importable without modification.
If the module is not able to handle the macro (yet) it will simply ignore the line.
The module does not have an upper limit on the number of macros that can be entered/imported, but performance will degrade on significantly large lists, especially on older devices.
Known Issues
FC issue with MultiAutoCompleteTextViews; temporarily disabled
Not yet working in web browsers & WebViews; work in progress
Macros should be functional with these browsers: Atlas, Dolphin, Now Browser Extended
Limited/no function with these browsers: AOSP, Chrome, Chrome Beta, Now Browser Pro
Support for these in progress
Disclaimer
I try my best to thoroughly test everything I publish, but given the staggering number of devices, ROMs, and apps I cannot make any guarantee that something will go wrong. Use at your own risk!
Source code
This module is open source software, available on my Github page, licensed under the Apache 2.0 license
If you are a developer and want to contribute, fork the repo and submit a pull request.
Credits
@rovo89 and @Tungstwenty for Xposed framework
@GermainZ for code example from @Hodor module
The entire XDA community for being awesome.
Problems/feedback
If you find this useful, click thanks!
If something is broken, let me know and I'll try my best to fix it!
If a feature is missing, suggest it and I'll try to add it!
Changelog
Version 1.2 (current)
Backup/export & restore/import macro list in AutoHotKey & JSON formats
Support for MultiAutoCompleteTextView boxes
Option to disable macro expansion in password boxes
Option to make macro expansion case insensitive
In-app about/support/donation links
Version 1.1
Removed the regular expression restriction from macros
Update minimum SDK for ICS support (API Level: 14 and up)
Version 1.0
Initial release
Mmmm good work, but I will pass, I prefer to fight with my lazyness instead to save sensible data in the phone or third app with root access. Anyways good work dude!.
I was sooo happy when I saw this module tonight, but soon realized that it's not really usable for me. Just because those chars that are forbidden because reg exp.
I use similar app on OS X and BlackBerry has it natively. I replace [email protected] with my email and a number of Skype smiles (cch becomes (chuckle)), but because of those limitations, none of the above examples cannot be actually used.
Could you please explain more in detail what exactly seems to be the problem with those banned chars? Could there be an option to switch them if user needs them?
-V-O-Y-A-G-E-R- said:
I was sooo happy when I saw this module tonight, but soon realized that it's not really usable for me. Just because those chars that are forbidden because reg exp.
Click to expand...
Click to collapse
Thanks for the feedback. I've been able to correct the issue and have removed the regular expression restriction. The updated module has been pushed to the Xposed Module Repository. Let me know if you have any more issues!
I was looking for a way to get the look of disapproval --> ಠ_ಠ into a keyboard emoticon list but now with this mod i can insert it via a macro shortcut.. probably not really the purpose of the module but until I can think of something more productive to add in there it's just for that haha :highfive:
good work!
Nice module and thamxxx for sharing but whatsapp+ is crashing. ☺
Nice, Now I can make shortcut on Swiftkey... but it requires reboot everytime I add new shortcut? Would be nice if we can add on the fly ...
is0l4ted said:
Nice module and thamxxx for sharing but whatsapp+ is crashing. ☺
Click to expand...
Click to collapse
Can you PM me your Xposed logs so I can get this issue fixed?
undaclazz said:
Nice, Now I can make shortcut on Swiftkey... but it requires reboot everytime I add new shortcut? Would be nice if we can add on the fly ...
Click to expand...
Click to collapse
Thanks for the feedback. I'll see if I can remove the reboot requirement!
mikmitch said:
Thanks for the feedback. I've been able to correct the issue and have removed the regular expression restriction.
...
Let me know if you have any more issues!
Click to expand...
Click to collapse
Thanks! Now . and () work, but $ is making problems. :$ gets expanded into : only $ sign is gone.
Fantastic module!
I can foresee this have having some problems with LastPass fill for long, random passwords. Let's say I had @ly as a macro for "love you", those three characters could occur together in a password and when filled, you'll automatically get "love you" in the password field!
oh, want too, want too! But I have only ICS, and the package seems not to be compiled to support it
Could you pretty please make it compatible with ICS, Puuhleeeze
Thanks!
-V-O-Y-A-G-E-R- said:
Thanks! Now . and () work, but $ is making problems. :$ gets expanded into : only $ sign is gone.
Click to expand...
Click to collapse
This is probably due to the significance of '$' in regular expressions (and why the first release of the module didn't permit any regex chars at all!).
Try adding a backslash in front of the dollar sign \$ to make sure it is interpreted as literal text (in the macro editing screen, not when you are actually using the macro). I'll look into a more permanent fix as well.
MattKneale said:
Fantastic module!
I can foresee this have having some problems with LastPass fill for long, random passwords. Let's say I had @ly as a macro for "love you", those three characters could occur together in a password and when filled, you'll automatically get "love you" in the password field!
Click to expand...
Click to collapse
Good point. I'm a LastPass user too and definitely have some long random passwords with special characters that might inadvertently get matched to a macro! I'll see if I can find a way to exclude text that gets filled by specific apps.
chw9999 said:
oh, want too, want too! But I have only ICS, and the package seems not to be compiled to support it
Could you pretty please make it compatible with ICS, Puuhleeeze
Thanks!
Click to expand...
Click to collapse
Re-compiled to support ICS (API Level: 14 and up). Updated version now available now available at the Xposed Module Repository.
mikmitch said:
Try adding a backslash in front of the dollar sign \$ to make sure it is interpreted as literal text (in the macro editing screen, not when you are actually using the macro). I'll look into a more permanent fix as well.
Click to expand...
Click to collapse
It works with $ defined as \$, thank you
mikmitch said:
Good point. I'm a LastPass user too and definitely have some long random passwords with special characters that might inadvertently get matched to a macro! I'll see if I can find a way to exclude text that gets filled by specific apps.
Click to expand...
Click to collapse
Thanks, that'd be great. Might be easier to just implement an 'ignore password fields' option.
I will test thkx
mikmitch said:
Re-compiled to support ICS (API Level: 14 and up). Updated version now available now available at the Xposed Module Repository.
Click to expand...
Click to collapse
big thanks! Works flawlessly on ICS now [emoji1]

CASUALWear Watchface [FOSS] [Analog & Digital]

Hi guys,
Rumor on the street has it that there is no API for making watchfaces.. Well, that's just plain wrong. I've been working with Daniel "Master of Time" Ortiz, aka @kuronosan. We've worked out a ton of the details in order to make watchface APKs easy! It's as simple as making some png resources and then putting code behind them. You just need a framework and that framework is right here! We are going to squash that "no API" rumor here and now. We've not only got the APis here, we've added nice things like transitions which you won't find on many of the other watches!
{
"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's it all about?
This package consists of 2 major parts, the Mobile App, and the Wear App.
mobile app
The mobile app's job is to deploy the Wear app and provide an icon/view which gets installed in the app drawer, allowing the user easy access to uninstallation. After the Wear "MicroApp" App is deployed, this application serves little function. Its a little funny as the MicroApp is much larger than the primary app due to resources
Wear App
The Wear App has two entirely different activities built into it; Analog and Digital. Wear applications are basically live wallpapers. They use the Background Provider permission and they have a few additional properties such as the need to react to the DisplayManager's Screen On, Screen Dim and Screen Off commands. Aside from this, they are simply eye-candy.
Digital
The Digital section of this watch was written entirely from scratch by yours truely. I found that the animations involved in watchfaces can bloat an activity significantly. So, I use Java Inheritance to extend the classes in order to logically separate things in this way
DigitalWatchfaceActivity - Handles setting up the views and intent receivers for date/time/battery and updating the time
DigitalWatchfaceActions - Handles PowerManager commands and aesthetic elements such as animations/transitions.
DigitalWatchfaceApp - Used to launch the activity, reserved for future use.
Analog
Watchface-Gears has provided an awesome starter for Analog Watches. Rather than reinvent the wheel, we've used their base. I had to rework a considerable chunk to add in fading transitions and refactoring for analog/digital separation. When all was said and done, between mine and Daniel Ortiz's work, the only thing that's original is Watchface-Gears library. We kept Watchface-Gears in tact because it is an awesome library. It also set the license used throughout the project. (Apache)
How do I make my own?
Here's how you get started. Being that this is mostly artwork, I can't tell you "how" to do it... But, I can do what to do.
Download the source.
Load it into Android Studio
Modify the package name suffix (watchface/gradle.properties: currentApplicationIdSuffix=MyCustomWatchName), and make it unique string, so when you generate a signed APK it doesn't collide with mine or others. Better yet, you should rename the entire package but that is a detailed operation.
Modify both the Mobile and Wear (watchface/wear/src/main/AndroidManifest.xml & watchface/mobile/src/main/AndroidManifest.xml) files to rename the watch faces and app names for the Wear Picker.
Build the package now to verify it works after you've changed properties.
If you want to customize the Analog watchface app, all you need to do is modify the PNGs in watchface/wear/src/main/res.
If you want to customize the Digital watchface app, you will rework both the wear/src/main/res/layout/digital_watch_layout_awake.xml and the wear/src/main/res/layout/digital_watch_layout_dim.xml. These are standard Android XML layouts.
If you don't want to use the Analog or Digital, remove the AnalogWatchfaceActivity's or DigitalWatchfaceActivity's <activty> entry from watchface/wear/src/main/AndroidManifest.xml
When you're done with the layouts, update the PNG files in watchface/wear/src/main/res/drawable with screenshots for the Background Provider picker (shown near the bottom).
Get creative!
CASUALWear Images
see attached images
Transitioning through Background Providers:
See attachments
Downloads and Source
You can get source here: https://github.com/adamoutler/watchface
Download it free here: https://play.google.com/store/apps/details?id=com.casual_dev.CASUALWatch.release
Get the donate version and give me an excuse for my wife here: https://play.google.com/store/apps/details?id=com.casual_dev.CASUALWatch
Wow!!!!
You guys are awesome... Great to see you two were able to pull this project that is otherwise much needed. Thanks Dan and Adam. =D
excellent. thankyou.
Sent from my D6603 using Tapatalk
Nice and thanks!
BTW any news about the new Android Wear 2 that was due to be released on Nov 3?
great
:good: If Adam wouldnt do it then who will try it . great work Adam
AdamOutler said:
Hi guys,
Rumor on the street has it that there is no API for making watchfaces.. Well, that's just plain wrong. I've been working with Daniel "Master of Time" Ortiz, aka @kuronosan. We've worked out a ton of the details in order to make watchface APKs easy! It's as simple as making some png resources and then putting code behind them. You just need a framework and that framework is right here! We are going to squash that "no API" rumor here and now. We've not only got the APis here, we've added nice things like transitions which you won't find on many of the other watches!
What's it all about?
This package consists of 2 major parts, the Mobile App, and the Wear App.
mobile app
The mobile app's job is to deploy the Wear app and provide an icon/view which gets installed in the app drawer, allowing the user easy access to uninstallation. After the Wear "MicroApp" App is deployed, this application serves little function. Its a little funny as the MicroApp is much larger than the primary app due to resources
Wear App
The Wear App has two entirely different activities built into it; Analog and Digital. Wear applications are basically live wallpapers. They use the Background Provider permission and they have a few additional properties such as the need to react to the DisplayManager's Screen On, Screen Dim and Screen Off commands. Aside from this, they are simply eye-candy.
Digital
The Digital section of this watch was written entirely from scratch by yours truely. I found that the animations involved in watchfaces can bloat an activity significantly. So, I use Java Inheritance to extend the classes in order to logically separate things in this way
DigitalWatchfaceActivity - Handles setting up the views and intent receivers for date/time/battery and updating the time
DigitalWatchfaceActions - Handles PowerManager commands and aesthetic elements such as animations/transitions.
DigitalWatchfaceApp - Used to launch the activity, reserved for future use.
Analog
Watchface-Gears has provided an awesome starter for Analog Watches. Rather than reinvent the wheel, we've used their base. I had to rework a considerable chunk to add in fading transitions and refactoring for analog/digital separation. When all was said and done, between mine and Daniel Ortiz's work, the only thing that's original is Watchface-Gears library. We kept Watchface-Gears in tact because it is an awesome library. It also set the license used throughout the project. (Apache)
How do I make my own?
Here's how you get started. Being that this is mostly artwork, I can't tell you "how" to do it... But, I can do what I can do.
Download the source.
Load it into Android Studio
Modify the package name suffix (watchface/gradle.properties: currentApplicationIdSuffix=MyCustomWatchName), and make it unique string, so when you generate a signed APK it doesn't collide with mine or others. Better yet, you should rename the entire package but that is a detailed operation.
Modify both the Mobile and Wear (watchface/wear/src/main/AndroidManifest.xml & watchface/mobile/src/main/AndroidManifest.xml) files to rename the watch faces and app names for the Wear Picker.
Build the package now to verify it works after you've changed properties.
If you want to customize the Analog watchface app, all you need to do is modify the PNGs in watchface/wear/src/main/res.
If you want to customize the Digital watchface app, you will rework both the wear/src/main/res/layout/digital_watch_layout_awake.xml and the wear/src/main/res/layout/digital_watch_layout_dim.xml. These are standard Android XML layouts.
If you don't want to use the Analog or Digital, remove the AnalogWatchfaceActivity's or DigitalWatchfaceActivity's <activty> entry from watchface/wear/src/main/AndroidManifest.xml
When you're done with the layouts, update the PNG files in watchface/wear/src/main/res/drawable with screenshots for the Background Provider picker (shown near the bottom).
Get creative!
CASUALWear Images
mobile app: http://forum.xda-developers.com/attachment.php?attachmentid=2996683&stc=1&d=1414986371
Digital:
Analog
Transitioning through Background Providers:
See attachments
Downloads and Source
You can get source here: https://github.com/adamoutler/watchface
Download it free here: https://play.google.com/store/apps/details?id=com.casual_dev.CASUALWatch.release
Get the donate version and give me an excuse for my wife here: https://play.google.com/store/apps/details?id=com.casual_dev.CASUALWatch
Click to expand...
Click to collapse
purchased (so the wife is more likely to allow future indulgences)
Does this solve the issue of notifications not being sizeable to a less intrusive size like the default faces?
Thanks Adam
Hi Adam,
I managed to get watchface build and run on a previous version of android studio. Now that I have updated it I'm unable to build it anymore. Damn! I've changed some gradle properties according to:
http://tools.android.com/tech-docs/new-build-system
Renamed a few properties to make things more consistent.
BuildType.runProguard -> minifyEnabled
BuildType.zipAlign -> zipAlignEnabled
BuildType.jniDebugBuild -> jniDebuggable
BuildType.renderscriptDebug -> renderscriptDebuggable
ProductFlavor.renderscriptSupportMode -> renderscriptSupportModeEnabled
ProductFlavor.renderscriptNdkMode -> renderscriptNdkModeEnabled
Click to expand...
Click to collapse
But I'm getting stranded on:
Code:
Error:(27, 0) Could not find property 'outputFile' on com.and[email protected]a49d4b5.
I know I'm not the greatest dev in the world so I need some help here. Please?
Awesome thank you! Now time to bang my head on the keyboard for a while and make this work!
With Android Wear 5.01 this maybe old?
AstroDigital said:
With Android Wear 5.01 this maybe old?
Click to expand...
Click to collapse
Yes, received an email from Google 2 days ago saying I need to update to use API 5.02 otherwise my app will cause problems and stop working after January 31st 2015.
Managed to mangle my way through a Google provided template, but having issues using images instead of drawPaint for the hands....time to learn.
SchmilK said:
Yes, received an email from Google 2 days ago saying I need to update to use API 5.02 otherwise my app will cause problems and stop working after January 31st 2015.
Managed to mangle my way through a Google provided template, but having issues using images instead of drawPaint for the hands....time to learn.
Click to expand...
Click to collapse
Code:
canvas.save(Canvas.MATRIX_SAVE_FLAG); //Saving the canvas and later restoring it so only this image will be rotated.
canvas.rotate(angle);
canvas.drawBitmap(bitmap, left, top, null);
canvas.restore();
This is the method I use to rotate bitmaps.
By the way what do you think about my first watchface: https://dl.dropboxusercontent.com/u/4281191/Line2.apk ?
After some fiddling around I was able to add a settings menu on the watch itself ^^
seahorsepip said:
Code:
canvas.save(Canvas.MATRIX_SAVE_FLAG); //Saving the canvas and later restoring it so only this image will be rotated.
canvas.rotate(angle);
canvas.drawBitmap(bitmap, left, top, null);
canvas.restore();
This is the method I use to rotate bitmaps.
By the way what do you think about my first watchface: https://dl.dropboxusercontent.com/u/4281191/Line2.apk ?
After some fiddling around I was able to add a settings menu on the watch itself ^^
Click to expand...
Click to collapse
I'll have to try that, thanks! All this time I"ve spent trying to hack through sample code, I probably could have learned how to program myself. :-/
Is there any software to hack instagrams on this thing bruh

Categories

Resources