[REF] Zooper Guides, References and Advanced Parameter Snippets [Upated 01.04.14] - Zooper Widget General

Thought it might be a good idea to collect some links in a central place so people starting with Zooper have a little overview where to look for information
Please don't post your questions to this thread!
This thread is meant as collection and not as a general help thread
If you still have questions after checking out these tutorials, first have a look/search around these forums. There are already a lof of answered questions that may help you out. If you can't find your question or still can't make heads nor tails out of something, post your question to the forum. There are a lot of active people (including me) here that can help you out :good:
If you have a link, video or something else you want to see added to this overview please feel free to post here directly or send me a PM.
[General]
Zooper's market link: https://play.google.com/store/apps/details?id=org.zooper.zwpro
Zooper's official support site: http://zooper.themerapp.com/​[References]
List of available variables: http://zooper.themerapp.com/knowledgebase/articles/332874-variables
List of available codes for free date formats: http://zooper.themerapp.com/knowledgebase/articles/332876-date-format
List of available iconset XML tags:http://www.zooper.org/wp/android/zw/iconsets​[Tutorials]
Zooper and Tasker integration: http://www.jagwar.de/zooper-widget-tutorials/
Zooper and Media utilities integration: http://webermatters.com/everything-zooper/creating-a-zooper-media-widget-with-media-utilities/
How to make iconsets for Zooper with example: Simple ZW Battery Iconset example
Additional info for weather iconsets with example: Weather Iconset Example
How to make a module follow a progressbar: Make an element move in sync with your progress bar​[Video Tutorials]
Official basic setup and usage tutorial via Zooper's Play Store entry
Create Song Progress With A Progress Bar by screenlious
Themer: Zooper Widget Conditionals - The Basics by Marco Agas/mycolorscreen
Themer: Zooper Widget - Advanced Parameters by Marco Agas/mycolorscreen​
Hope this helps you out and happy Zooping everyone! :highfive:

Collection of advanced parameters
Here are some ready-made advanced parameter input for different usage scenarios.
[Cell signal strength]
The following code emulates the cell signal strength as it would show in your status bar. Depending on how you use it, you'll have to replace the numbers with links to bitmaps or something similiar.
Code:
$[#NCSIG#>=12] && [#NCSIG#<99]?4$
$[#NCSIG#>=8] && [#NCSIG#<12]?3$
$[#NCSIG#>=5] && [#NCSIG#<8]?2$
$[#NCSIG#>2] && [#NCSIG#<5]?1$
$[#NCSIG#<=2] || [#NCSIG#=99]?0$
Display Tomorrow/Today/Date for calendar events
This is the code for the next event. If you want to do it for other events too, you have to replace all the C0 with C1, C2, etc
Code:
$#C0SddMM#=#DddMM#?Today$$#C0SddMM#=#W1DddMM#?Tomorrow$$[#C0SddMM#!=#W1DddMM#] && [#C0SddMM#!=#DddMM#]?#C0SEEEE#$
[Count the days/hours/minutes/... to or from a specific date]
Code:
#D<year><month><day><hours><minutes>T<formatstring>#
This works for past as well as future dates. If for example you want to count the days since last christmas, you would write the following:
Code:
#D201312240000Td#
Display Wind Direction as N/W/E/etc.
By SportyRydr
Anyway, here is a formula I came up with to convert Zooper's wind direction degrees to cardinal (0°=N, 90°=E, etc):
$[#WCWDIR#>348.75 || #WCWDIR#<=11.25] && #WCWSPEED#!=0?N #WCWSPEED#$$[#WCWDIR#>11.25] && [#WCWDIR#<=33.75]?NNE #WCWSPEED#$$[#WCWDIR#>33.75] && [#WCWDIR#<=56.25]?NE #WCWSPEED#$$[#WCWDIR#>56.25] && [#WCWDIR#<=78.75]?ENE #WCWSPEED#$$[#WCWDIR#>78.75] && [#WCWDIR#<=101.25]?E #WCWSPEED#$$[#WCWDIR#>101.25] && [#WCWDIR#<=123.75]?ESE #WCWSPEED#$$[#WCWDIR#>123.75] && [#WCWDIR#<=146.25]?SE #WCWSPEED#$$[#WCWDIR#>146.25] && [#WCWDIR#<=168.75]?SSE #WCWSPEED#$$[#WCWDIR#>168.75] && [#WCWDIR#<=191.25]?S #WCWSPEED#$$[#WCWDIR#>191.25] && [#WCWDIR#<=213.75]?SSW #WCWSPEED#$$[#WCWDIR#>213.75] && [#WCWDIR#<=236.25]?SW #WCWSPEED#$$[#WCWDIR#>236.25] && [#WCWDIR#<=258.75]?WSW #WCWSPEED#$$[#WCWDIR#>258.75] && [#WCWDIR#<=281.25]?W #WCWSPEED#$$[#WCWDIR#>281.25] && [#WCWDIR#<=303.75]?WNW #WCWSPEED#$$[#WCWDIR#>303.75] && [#WCWDIR#<=326.25]?NW #WCWSPEED#$$[#WCWDIR#>326.25] && [#WCWDIR#<=348.75]?NNW #WCWSPEED#$$#WCWSPEED#=0mph?Calm$​
To be continued...

[Reserved for later use...]

awesome idea and thanks for all the help

kwerdenker said:
Here are some ready-made advanced parameter input for different usage scenarios.
[Cell signal strength]
The following code emulates the cell signal strength as it would show in your status bar. Depending on how you use it, you'll have to replace the numbers with links to bitmaps or something similiar.
Code:
$[#NCSIG#>=12] && [#NCSIG#<99]?4$
$[#NCSIG#>=8] && [#NCSIG#<12]?3$
$[#NCSIG#>=5] && [#NCSIG#<8]?2$
$[#NCSIG#>2] && [#NCSIG#<5]?1$
$[#NCSIG#<=2] || [#NCSIG#=99]?0$
Click to expand...
Click to collapse
To make a wifi signal strength i should follow the same path?

yudroid said:
To make a wifi signal strength i should follow the same path?
Click to expand...
Click to collapse
Not exactly. Wifi only goes from 0-9 and also has another mapping from values to bars/quality which I haven't taken a look at.

kwerdenker said:
Here are some ready-made advanced parameter input for different usage scenarios.
[Cell signal strength]
The following code emulates the cell signal strength as it would show in your status bar. Depending on how you use it, you'll have to replace the numbers with links to bitmaps or something similiar.
Code:
$[#NCSIG#>=12] && [#NCSIG#<99]?4$
$[#NCSIG#>=8] && [#NCSIG#<12]?3$
$[#NCSIG#>=5] && [#NCSIG#<8]?2$
$[#NCSIG#>2] && [#NCSIG#<5]?1$
$[#NCSIG#<=2] || [#NCSIG#=99]?0$
I'm using bitmap icon set. The signal images are shown as 0.png 1.png 2.png 3.png and 4.png. I've been struggling for over a hour to get it to show up but its just blank.​
Click to expand...
Click to collapse

TheSwaggeR said:
I'm using bitmap icon set. The signal images are shown as 0.png 1.png 2.png 3.png and 4.png. I've been struggling for over a hour to get it to show up but its just blank.
Click to expand...
Click to collapse
This code isn't meant for an icon set, it's only for the use in text modules or advanced parameters. What you could do, if you have saved these icons somewhere on your sd card is to use this as an advanced parameter on a bitmap module:
PHP:
$[#NCSIG#>=12] && [#NCSIG#<99]?[b]/path/to/pictures/4.png[/b]$
$[#NCSIG#>=8] && [#NCSIG#<12]?[b]/path/to/pictures/3.png[/b]$
$[#NCSIG#>=5] && [#NCSIG#<8]?[b]/path/to/pictures/2.png[/b]$
$[#NCSIG#>2] && [#NCSIG#<5]?[b]/path/to/pictures/1.png[/b]$
$[#NCSIG#<=2] || [#NCSIG#=99]?[b]/path/to/pictures/0.png[/b]$

kwerdenker said:
This code isn't meant for an icon set, it's only for the use in text modules or advanced parameters. What you could do, if you have saved these icons somewhere on your sd card is to use this as an advanced parameter on a bitmap module:
PHP:
$[#NCSIG#>=12] && [#NCSIG#<99]?[b]/path/to/pictures/4.png[/b]$
$[#NCSIG#>=8] && [#NCSIG#<12]?[b]/path/to/pictures/3.png[/b]$
$[#NCSIG#>=5] && [#NCSIG#<8]?[b]/path/to/pictures/2.png[/b]$
$[#NCSIG#>2] && [#NCSIG#<5]?[b]/path/to/pictures/1.png[/b]$
$[#NCSIG#<=2] || [#NCSIG#=99]?[b]/path/to/pictures/0.png[/b]$
Click to expand...
Click to collapse
Yeah that's what mine looked like before you replied. Here's a screenshot in the bitmap icon sets advanced parameters...
{
"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"
}
It still shows nothing. I wonder if I'm missing something like maybe a XML file? I wouldn't think it would need to rely on XML because there's nothing needed to call onto the XML to grab the proper png's.

TheSwaggeR said:
Yeah that's what mine looked like before you replied. Here's a screenshot in the bitmap icon sets advanced parameters...
It still shows nothing. I wonder if I'm missing something like maybe a XML file? I wouldn't think it would need to rely on XML because there's nothing needed to call onto the XML to grab the proper png's.
Click to expand...
Click to collapse
This is probably due to Tapatalk but what you are not seeing in the code I posted is that you need to put (b)(/b) (replace () with [], this is done just to circumvent the Tapatalk issue) tags around your filepath to make it work. Open my post in a browser instead of Tapatalk to see what I mean

kwerdenker said:
This is probably due to Tapatalk but what you are not seeing in the code I posted is that you need to put (b)(/b) (replace () with [], this is done just to circumvent the Tapatalk issue) tags around your filepath to make it work. Open my post in a browser instead of Tapatalk to see what I mean
Click to expand...
Click to collapse
OK redid the code following yours and still isn't showing up at all.
Would you mind telling me how you would do it step by step using WiFi icons from scratch? Maybe I messed up somewhere. This zooper widget wasn't created by me but shared by someone else and in his screen shot presentation it showed working Wi-Fi icons. When I added everything to zooper Wi-Fi and cellular were the only 2 not showing up.
I have tried asking him what he did to get it to work but I haven't heard back from him.
Here's 2 screen shots to provide clues maybe.
1st pic is bitmap icon sets where the WiFi icons are located according to how this guy created it. I didn't see parameters when I first opened it when checking why it wasn't showing up. Same with cellular.
2nd pic is the WiFi icons labeled as 0.PNG 1.PNG 2.PNG etc.

TheSwaggeR said:
OK redid the code following yours and still isn't showing up at all.
Would you mind telling me how you would do it step by step using WiFi icons from scratch? Maybe I'm messed up somewhere. This zooper widget wasn't created by me but shared by someone else and in his screen shot presentation it showed working Wi-Fi icons. When I added everything to zooper Wi-Fi and cellular were the only 2 not showing up.
I have tried asking him what he did to get it to work but I haven't heard back from him.
Here's 2 screen shots to provide clues maybe.
Click to expand...
Click to collapse
I just realized something: you are using this on a Bitmap Iconset module, right? That's not how this is supposed to work That module is only intended for iconsets in Zoopers ZIP format (for reference check both iconset links under the tutorial section in the first post). If you do it with advanced parameters, you have to use a normal Bitmap module.

kwerdenker said:
I just realized something: you are using this on a Bitmap Iconset module, right? That's not how this is supposed to work That module is only intended for iconsets in Zoopers ZIP format (for reference check both iconset links under the tutorial section in the first post). If you do it with advanced parameters, you have to use a normal Bitmap module.
Click to expand...
Click to collapse
Oh I think I get it. Since it isn't in zooper zip format I'll have to use bitmap static module and create separate module for each PNG.

TheSwaggeR said:
Oh I think I get it. Since it isn't in zooper zip format I'll have to use bitmap static module and create separate module for each PNG.
Click to expand...
Click to collapse
Actually you just need one Bitmap module with the code we worked out as advanced parameters. On a normal (static) Bitmap Module, this code should always load only one of the bitmaps, depending on the condition that renders true.

Just thought I'd chime in with a snippet of code that I used to get play/pause text working for my widget. I had to figure it out on my own, so I thought I'd post it here for anyone else who may want it in the future. (Remember you need Media Utilities to get zooper to work with the media player) I went for a minimalist effect, so I'm using text and not bitmaps. Quite possibly the same effect can be reached pointing to an image file instead of displaying text...
Code:
$#TMU_ISPLAYING#=0?Play$$#TMU_ISPLAYING#=1?Pause$

rachelm920 said:
Just thought I'd chime in with a snippet of code that I used to get play/pause text working for my widget. I had to figure it out on my own, so I thought I'd post it here for anyone else who may want it in the future. (Remember you need Media Utilities to get zooper to work with the media player) I went for a minimalist effect, so I'm using text and not bitmaps. Quite possibly the same effect can be reached pointing to an image file instead of displaying text...
Code:
$#TMU_ISPLAYING#=0?Play$$#TMU_ISPLAYING#=1?Pause$
Click to expand...
Click to collapse
Thank you for the contribution to this thread! :good:
You can also achieve the same effect with less typing by using the following code
Code:
$#TMU_ISPLAYING#=0?Play:Pause$
This works because Zooper supports an if/else conditional, meaning the part between the ? and the : is used if the condition is true and the part after the : is used in case it's false. It'll do the same as the code you posted but it's a bit faster to type.

Hi everyone! @kwerdenker I'm hoping for your response
I'm at the first attempt at using using Zooper and I'm trying to create a music widget using this guide: http://webermatters.com/everything-zooper/creating-a-zooper-media-widget-with-media-utilities/
The problem is that the widget isn't displaying next,play/pause,previous buttons, coverarts and infos about artist etc.. Buttons work though, in fact I can play music though the widget.
This is my Media Utilities configuration and my widget.
Thanks in advance for the support!

Wind direction degrees to cardinal
So, I've been addicted to Zooper since just before Christmas. lol I've been recreating a Windows Mobile today screen plugin I used to use. SBSH PocketWeather allowed you to make endlessly-customizable skins to display its extensive weather data. But it was never ported to Android. With Zooper assisted by Tasker, I finally have it back!
Anyway, here is a formula I came up with to convert Zooper's wind direction degrees to cardinal (0°=N, 90°=E, etc):
$[#WCWDIR#>348.75 || #WCWDIR#<=11.25] && #WCWSPEED#!=0mph?N #WCWSPEED#$$[#WCWDIR#>11.25] && [#WCWDIR#<=33.75]?NNE #WCWSPEED#$$[#WCWDIR#>33.75] && [#WCWDIR#<=56.25]?NE #WCWSPEED#$$[#WCWDIR#>56.25] && [#WCWDIR#<=78.75]?ENE #WCWSPEED#$$[#WCWDIR#>78.75] && [#WCWDIR#<=101.25]?E #WCWSPEED#$$[#WCWDIR#>101.25] && [#WCWDIR#<=123.75]?ESE #WCWSPEED#$$[#WCWDIR#>123.75] && [#WCWDIR#<=146.25]?SE #WCWSPEED#$$[#WCWDIR#>146.25] && [#WCWDIR#<=168.75]?SSE #WCWSPEED#$$[#WCWDIR#>168.75] && [#WCWDIR#<=191.25]?S #WCWSPEED#$$[#WCWDIR#>191.25] && [#WCWDIR#<=213.75]?SSW #WCWSPEED#$$[#WCWDIR#>213.75] && [#WCWDIR#<=236.25]?SW #WCWSPEED#$$[#WCWDIR#>236.25] && [#WCWDIR#<=258.75]?WSW #WCWSPEED#$$[#WCWDIR#>258.75] && [#WCWDIR#<=281.25]?W #WCWSPEED#$$[#WCWDIR#>281.25] && [#WCWDIR#<=303.75]?WNW #WCWSPEED#$$[#WCWDIR#>303.75] && [#WCWDIR#<=326.25]?NW #WCWSPEED#$$[#WCWDIR#>326.25] && [#WCWDIR#<=348.75]?NNW #WCWSPEED#$$#WCWSPEED#=0mph && #WCWDIR#=0?Calm$
This hasn't already been done, has it? It will display the wind direction, then the speed, or just Calm, e.g.:
NNW 20mph
SE 5mph
Calm
I had to make a correction to it just today, but I think that should be the last one. If you use it and find a mistake let me know!

hi
hi

Great! Thank you

Related

[ROM] PARANOIDANDROID [CM9HYBRID] Obsolete

{
"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"
}
​
This is an ongoing developer project to make way for a modification that will entirely transform your device, but retain the aesthetics and the experience of your phone. I know you've seen tablet mode roms before, and indeed it's a start, but this ain't enough. This thing has potential, but it is wasted the moment you try to stuff a full blown tablet into your poor phone. Yet we all know our high res phones can very well handle more than silly 1-column layouts. So the magic must be in between somewhere, a place that Google must have overlooked and left blank.
Yes, this rom strives to drop your device into tablet mode, but it won't stop there, it will reshape and redefine ICS to make it all a usefull addition and not just a cute novelty. i'm calling it: Hybrid Mode, best of both worlds.
Donations to CM http://forum.cyanogenmod.com/donate, to D4rKn3sSyShttp://forum.xda-developers.com/donatetome.php?u=3484876, to me http://forum.xda-developers.com/donatetome.php?u=4491046
​
If you come from another rom than CM9 or PA, factory wipe is a must (wipe data)
Install Rom: http://www.mediafire.com/?decddkaylv8bcby -DO NOT DOWNLOAD FROM YOUR PHONE!!!!!
Install Fix: http://www.mediafire.com/?8q9mrvmi6ht984m
Install Gapps: http://tjohansson.is-a-geek.com/files/gapps-ics-20120511-fixed.zip
Wipe Cache
Advanced/Wipe Dalvik Cache
If your statusbar is gone after the first reboot: longpress Powerbutton > Toggle Statusbar
Reboot and edit your Apps Dpi & Layout under Settings/Paranoid Settings
Go to Settings, System, Font size, set it to NORMAL
Check "Auto Hide" in Settings, System, Statusbar, to finally get Fullscreen
Trebuchet Settings: margins:SMALL, show permanent searchbar:YES, Grid: 5x4, resize all widgets:YES, Wallpaper scrolling: OFF
Themes and other goodies you can find here: http://forum.xda-developers.com/showthread.php?t=1646034
---
Tina: http://krebsmilk.de/
Cyanogenmod Team
Franko, for his Kernel
20120521v0.9beta: P.A.L., PROBABLY THE MOST AWESOME FEATURE EVER
First time in Android history that Per-App-Layout has been realized
Comes with a better panel
Allows you to switch between Phone mode (with curtain and bear paw buttons) and tablet UI seamlessly. PAD & PAL work in both domains. That means you can have 3d Youtube in 320 dpi standard Phone mode or mobile Chrome without those horrible tabs in 192 Dpi Tablet mode.
Since PAL solved all scaling issues our Trebuchet fork is now obsolete. It comes with Nova 1.1.4 projected into mobile layout.
20120517v0.6beta: Bugfixes, new PAD panel, Fullscreen-toggle
Fresh cm9 repo
Franco Milestone 3
Bugfixes for PAD preventing it from screwing up some apps (notification icons were bigger for some apps, launchers would display icons bigger or smaller, etc.)
New PAD panel, lists DPI's, can delete values again
Powermenu Fullscreen-toggle, this finally allows you to play games without navigationbar!
20120504v0.4preview: Apps were too small? Problem solved!
First ever Android ROM with Per-App-Density feature, it once and for all solves the problem that was tablet mode. You never, ever have to deal with apps that are too small again since now you can decide how apps, systemapps, framework-elements and even widgets are scaled by defining their native dpi seperately from the system DPI. Its an experimental feature and for now these values are defined in your /system/build.prop - it has drawbacks (maily notifications can look a bit strange), but that will be fixed in time. Warning: Keyboards MUST run in system DPI!
A list of apps and predefined values is included, this should include most of what you need. everything else is blown up to 210 dpi per standard. if you still need apps to be bigger, get a build.prop editor from the market, edit and reboot.
Trebuchet fixes: Folder Name cut-off, landscape name cut-off, divider bars
Please set your Font to "Normal" in the System Settings, you won't need "Huge" anymore and all this does now is provoke overlapping.
20120430v0.3alpha:
Freshest CM9 Repo
Forked Trebuchet and rewrote its layout and parts of its code to adapt it to tablet mode. I went for stock look plus tablet controls and changed the number of icons/widgets shown in the drawer. It's butter-smooth aswell. It has kinks left, those will be solved in the coming days!
100% fixed android standard keyboard
Better Bootanimation
Fixed Gapps package based on 20120429 including Gmail and a working Market
20120427v0.2pre-alpha-gapps:
Fixed Gapps package based on 20120422 including Gmail and a working Market
20120427v0.2pre-alpha:
PARANOIDANDROID custom bootanimation, still has some kinks - first sketch though
crystall clear thumbnails in the recents window, pixel mush no more!
brightness setting easier accessable
ICS toggle button fixes
20120425v0.1pre-alpha:
freshest CM9/nightly repo build (25/04)
recents window way nicer than before. close to stock. i only need to get rid of that darn gradient
keyboard looks like stock now
new bootanimation
camera works
comes with cm9 repo kernel, no color tint
notification clock is smaller, won't overlap so easy
20120425v0.0pre-alpha:
freshest CM9/nightly repo build set to tablet mode
Hacked Nova. I know 1.1 is out, but this one is still closer to stock
Androids keyboard reacts hellish in tablet mode. I fixed it but its still too large, tomorrow i'll fix it proper
I was trying make to recents window look more like stock. COULD be the thumbnails are a tad bigger than before but i'll get to that don't worry
2 notifications icons max in portrait for now to prevent overlapping
Settings comes as the first item in the notification panel, hated to scroll down every time
ALOT will follow, please be patient, i made all that stuff blind because it needed ~13 hours to compile. now compiling is alot faster and i'll see to it that we will have true hybrid mode very soon
many of you have requested it, so here it is. the coming upload will be for those who want to alpha-test only. i own gsm, i cannot test. start up your nandroids, this one could be botched as im not sure yet which vendor files you need. im uploading right now but im on asdsl, could take some time.
Thanks for this can't wait to test it.
Sent from my Galaxy Nexus using Tapatalk 2
This **** looks awesome.
molesarecoming said:
many of you have requested it, so here it is. the coming upload will be for those who want to alpha-test only. i own gsm, i cannot test. start up your nandroids, this one could be botched as im not sure yet which vendor files you need. im uploading right now but im on asdsl, could take some time.
Click to expand...
Click to collapse
Awesome! I'm glad to see you over here!!!
i cross my fingers guys, happy testing: ----uploading again, made an error
looks super clean! will flash and report back any findings! thanks for this!
aaarrghhhh, i made an error. i forgot to edit build.prop in this. for those of you who are downloading now, please make these adaptions to your build.prop:
/system/build.prop: ro.sf.lcd_density=192
/system/build.prop: qemu.hw.mainkeys=1
everyone else, please wait, i'm uploading again.
i hate being not able to test this, it really sucks
molesarecoming said:
i cross my fingers guys, happy testing: ----uploading again, made an error
Click to expand...
Click to collapse
you can thank verizon for that... their CDMA binaries are proprietary
downloading now, can't wait to test it out
but dont be surprised, what you downloaded will not go into tablet mode by itself. look one post above you. its an easy fix though. if you don't know your way around root explorers and such, in a couple of minutes comes the fixed version. im really sorry for this mess, for gsm i always flash it myself but yeah ... what can i do, except maybe trying to be a bit more concentrated. : D
ok, there you go: ------------------
report back please if it works... i cross my fingers
It's not booting. Do you have the MD5?
Here's a snippet from logcat:
D/AndroidRuntime( 1711): >>>>>> AndroidRuntime START com.android.internal.os.ZygoteInit <<<<<<
D/AndroidRuntime( 1711): CheckJNI is OFF
D/dalvikvm( 1711): DexOpt: incorrect opt magic number (0xff ff ff ff)
D/dalvikvm( 1711): ODEX file is stale or bad; removing and retrying (/cache/dalvik-cache/[email protected]@[email protected])
I/SurfaceFlinger( 1710): SurfaceFlinger is starting
I/SurfaceFlinger( 1710): SurfaceFlinger's main thread ready to run. Initializing graphics H/W...
E/IMGSRV ( 1710): :0: PVRSRVBridgeCall: Failed to access device. Function ID:3223086848 (Bad address).
E/IMGSRV ( 1710): :0: PVRSRVEnumerateDevices: BridgeCall failed
E/IMGSRV ( 1710): :0: PVRSRVConnect: Unable to enumerate devices.
E/IMGSRV ( 1710): :0: OpenPVRServices: Failed to open services connection
E/IMGSRV ( 1710): :0: hal_init: Failed to open services (err=-14)
E/IMGSRV ( 1710): :0: hal_open: Graphics HAL not initialized
E/FramebufferNativeWindow( 1710): couldn't open framebuffer HAL (Not a typewriter)
E/IMGSRV ( 1710): :0: hal_open: Graphics HAL not initialized
E/FramebufferNativeWindow( 1710): couldn't open gralloc HAL (Not a typewriter)
E/SurfaceFlinger( 1710): Display subsystem failed to initialize. check logs. exiting...
yeah its that vendor crap.
sucks. i'll try something else ,,,
Awesome ty
Sent from my Galaxy Nexus using xda premium
thanks for beta testing! i didn't plan to release this so early but i got so many requests that i did - with your help we'll hopefully have a working version soon. im uploading a new one right now. this one should have good chances.
I literally "Oohhhhhhhh"-ed out loud at work when I saw this. Looking forward to this as well!!
Thank you for your work!
I have been following your work from day one and like everyone else in here, I cannot wait to test it.
Sent from my Galaxy Nexus using xda premium
now please tell me its working: http://www.mediafire.com/file/fmnfaiop9cc9h98/ParanoidAndroid20120427v0.2paTORO
Most deff ready for this!... I've been on aokp 31 hybrid and I'm ready for a nice change. Been following your work for weeks now.
Sent from my Galaxy Nexus using Tapatalk 2 Beta-6

"Car mode" without dock

I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Yes that's what I do, however without stickers you should be able to say connection to a Bluetooth device and in the setting it should allow you to launch car mode
Sent from my Iconia A500 using Tapatalk 2
There's a car mode???
Bobb_o said:
I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Click to expand...
Click to collapse
It's a pain to get and install but the Google car home app can be set to launch upon connection to a specific bluetooth device.
Edit:
I assume that since this is not a paid app, posting a link is OK. If not, mods please remove.
https://www.box.com/shared/dc3822670881c5db4f3c
Sent from my Galaxy Nexus using Tapatalk 2
Acererak said:
This works http://forum.xda-developers.com/showthread.php?t=1081009
Sent from my Galaxy Nexus
Click to expand...
Click to collapse
So far, so good! Thanks for the link.
I didn't know there was a car mode either..... still no answer to your question (and now, mine)
gravis86 said:
There's a car mode???
Click to expand...
Click to collapse
usafle said:
I didn't know there was a car mode either..... still no answer to your question (and now, mine)
Click to expand...
Click to collapse
Yeah there is. You can enable it quite easily actually:
Code:
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 2
To return to normal mode
Code:
adb shell am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE 0
This simulates entry into the actual car dock. Instead of using an alternate "car" app this allows the home screen to rotate 90 degrees and re-arranges things a bit so the device is usable in this orientation.
1 is the desktop dock (if you're in desktop dock mode all calls answered automatically go on speaker mode for reference).
I'm working on triggering this via an NFC tag, but currently the runtime won't execute this (with or without root) and you can't broadcast the intent manually (permission denied). Hoping to get it working though as I'd, personally, use this quite a bit.
I'd be interested in that as well. For now I just side loaded the old Google Car Dock apk.
Good luck if you get it to work.
krohnjw said:
I'm working on triggering this via an NFC tag, but currently the runtime won't execute this (with or without root) and you can't broadcast the intent manually (permission denied). Hoping to get it working though as I'd, personally, use this quite a bit.
Click to expand...
Click to collapse
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
xsR1zU said:
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
Click to expand...
Click to collapse
Excellent, this is what I was missing It was getting frustrating trying to find out whey I couldn't spawn a shell to do what worked perfectly with adb shell. Much appreciated!
no other way via API
xsR1zU said:
You might have trouble with it working if LD_LIBRARY_PATH and BOOTCLASSPATH are missing from the environment (adb shell includes them for you, so that's why it works in adb).
Using Java, something like this works for me (obviously requires root):
Code:
static void setDockModeOn(boolean on) {
try {
ProcessBuilder process = new ProcessBuilder(
"/system/bin/su",
"-c",
"LD_LIBRARY_PATH='/vendor/lib:/system/lib' "
+ "BOOTCLASSPATH='/system/framework/core.jar:/system/framework/core-junit.jar:"
+ "/system/framework/bouncycastle.jar:/system/framework/ext.jar:"
+ "/system/framework/framework.jar:/system/framework/android.policy.jar:"
+ "/system/framework/services.jar:/system/framework/apache-xml.jar:/system/framework/filterfw.jar' "
+ "/system/bin/am broadcast -a android.intent.action.DOCK_EVENT --ei android.intent.extra.DOCK_STATE "
+ (on ? "2" : "0"));
process.start().waitFor();
} catch (IOException e) {
// TODO Auto-generated catch block
e.printStackTrace();
} catch (InterruptedException e) {
// TODO Auto-generated catch block
e.printStackTrace();
}
}
Click to expand...
Click to collapse
Is there no other way to fire the broadcast message via API without root?
ischi said:
Is there no other way to fire the broadcast message via API without root?
Click to expand...
Click to collapse
Not for the Galaxy Nexus. Because you're simulating a hardware broadcast (car dock entered) you can't request a permission to broadcast that intent and it's restricted.
For devices that don't use this hardware event broadcast you can use UI manager to implement it quite simply (this doesn't do anything on the Galaxy Nexus though other than put the car mode icon in the left hand corner, it doesn't actually put the device into car mode).
Bobb_o said:
I'm thinking the best way to achieve this would be to buy and program an NFC sticker to do whatever you'd want it to do (Bluetooth, GPS, etc.) Could anyone think of a better way?
Click to expand...
Click to collapse
Search "Car Widget Pro" in the Play Store. It works great.
Sent from my Galaxy Nexus using XDA
I was unable to find "Google Car Home" in the play store, and the .apk like that you posted was unable to install on my nexus
Sent from my Galaxy Nexus using XDA
redugas said:
I was unable to find "Google Car Home" in the play store, and the .apk like that you posted was unable to install on my nexus
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Do you have settings - security - allow unknown sources checked?
Sent from my Galaxy Nexus using Tapatalk 2
krohnjw said:
Not for the Galaxy Nexus. Because you're simulating a hardware broadcast (car dock entered) you can't request a permission to broadcast that intent and it's restricted.
For devices that don't use this hardware event broadcast you can use UI manager to implement it quite simply (this doesn't do anything on the Galaxy Nexus though other than put the car mode icon in the left hand corner, it doesn't actually put the device into car mode).
Click to expand...
Click to collapse
why is it working with adb? is adb daemon running as uid=0?
GreatBigDog said:
Do you have settings - security - allow unknown sources checked?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
Yea, I've downloaded plenty of other.apk files. This down downloads fine and when I hit install I get this response
{
"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"
}
Sent from my Galaxy Nexus using XDA
ischi said:
why is it working with adb? is adb daemon running as uid=0?
Click to expand...
Click to collapse
The DOCK_EVENT action is one of a number of "protected" broadcasts in Android. Only certain UIDs can send them: root (0), system (1000), phone (1001), and shell (2000). Also, certain system processes tagged "persistent" in their manifest can send them.
When using adb shell, the UID is 2000, so that's why it works.
FYI, the authorization code can be found here:
androidxref.com/source/xref/frameworks/base/services/java/com/android/server/am/ActivityManagerService.java#12238
redugas said:
Yea, I've downloaded plenty of other.apk files. This down downloads fine and when I hit install I get this response
View attachment 1132198
Sent from my Galaxy Nexus using XDA
Click to expand...
Click to collapse
Try downloading the latest gapps and adding the file into the zip under system/ app with the other Google apps then flash the gapps package with cwm. That's what I initially had to do to get it installed. Now, I just keep it backed up with Titanium backup (set to backup system apps) so that I just have to restore after system wipe.
Sent from my Galaxy Nexus using Tapatalk 2

[Shell Solution] when signal small fails/drop

Hello,
I was very tired from the issue in my networks "vodafone and u can see in google hundred reports about that" and some of the countries that I have visited, I saw in the network while you drop and cut off from coverage , and trying to operate a simple ping, its back simply.
This is what I offer here simply :fingers-crossed:
Now Go to test , just install Script Manager - SManager to run shell script
HTML:
https://play.google.com/store/apps/details?id=os.tools.scriptmanager
Now after install SManager go and open and select Browser as root
Copy the file to SD card && for sure rename from "checkinternet.sh.txt" to "checkinternet.sh"
Browse it and when open set "su" and "net" to run when network change like the capture
{
"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"
}
Note : not everyone is in need of this code, but some devices htc one x have "HT23.x && HT24.x" have this issue, this solution may be useful
i test this script it's safe and works very well
cheers
Great!!! We need this
Thank you very much:thumbup:
SkyDragon Team© Gente Nueva, El R5
dragonesdenano said:
Great!!! We need this
Thank you very much:thumbup:
SkyDragon Team© Gente Nueva, El R5
Click to expand...
Click to collapse
Under always serve you big master
Will this work on T-Mobile in US?
Sent from my HTC One X using xda premium
-Legion- said:
Will this work on T-Mobile in US?
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
Work in any countries so you have problem with signal
Sent from my HTC One X using xda premium
38 download , 200 views no one give feedback?
codexc said:
38 download , 200 views no one give feedback?
Click to expand...
Click to collapse
Thanks mate... I'm testing it now. As always you'll get feedback. All is working fine till now!
Cheers
Gesendet von meinem HTC One X mit Tapatalk 2
Unfortunately it doesn't seem to help here in the US on T-Mobile. My signal is still very bad and drops out a lot. But thank you for your effort.
Sent from my HTC One X using xda premium
My phone is still prepare sim...but it better b4...
Thanks...
Sent from my HTC One X using xda app-developers app
-Legion- said:
Unfortunately it doesn't seem to help here in the US on T-Mobile. My signal is still very bad and drops out a lot. But thank you for your effort.
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
If that your problem I think your installed wrong radio
Check radio version in bootloader not in setting to try install anthor one, so tell me are you have error "sim not found"
Sent from my HTC One X using xda premium
codexc said:
If that your problem I think your installed wrong radio
Check radio version in bootloader not in setting to try install anthor one, so tell me are you have error "sim not found"
Sent from my HTC One X using xda premium
Click to expand...
Click to collapse
I have no errors and I have tried multiple radios. I can't seem to find one that is working in my area.
Sent from my HTC One X using xda premium
duytrum444 said:
My phone is still prepare sim...but it better b4...
Thanks...
Sent from my HTC One X using xda app-developers app
Click to expand...
Click to collapse
Ok I need to test an idea
Please take sim from cover and put layer of tape 1/2 to get more strongly size in cover that fixed my issue b4
Tell me if helpful
Sent from my HTC One X using xda premium
Legion Check my radio theard I post to try somethink
Sent from my HTC One X using xda premium
codexc said:
Hello,
I was very tired from the issue in my networks "vodafone and u can see in google hundred reports about that" and some of the countries that I have visited, I saw in the network while you drop and cut off from coverage , and trying to operate a simple ping, its back simply.
This is what I offer here simply :fingers-crossed:
Now Go to test , just install Script Manager - SManager to run shell script
HTML:
https://play.google.com/store/apps/details?id=os.tools.scriptmanager
Now after install SManager go and open and select Browser as root
Copy the file to SD card && for sure rename from "checkinternet.sh.txt" to "checkinternet.sh"
Browse it and when open set "su" and "net" to run when network change like the capture
View attachment 1887132
Note : not everyone is in need of this code, but some devices htc one x have "HT23.x && HT24.x" have this issue, this solution may be useful
i test this script it's safe and works very well
cheers
Click to expand...
Click to collapse
Hi this is a great post, I own a HTC One X on T-mobile UK. I get weak network signals till it drops sometimes have to restart my phone, been experiencing late or delayed notification my question is aside helping with signal strength will this fix late or delayed notification on HTC?
Hey my friend,
me again
Thank you very much...
You solved my network issue!
He he, guys this person called codexc is rocking!
Cheers
Gesendet von meinem HTC One X mit Tapatalk 2
Newbie question, I ran the script. What happens next? I did not notice any improvement after with signal strength, please advice. I took a screen shot could someone explain what it really means
Thanks
What is this supposed to do?
This is the only part of the script that "does" something (not that it does anything IMO):
Code:
ssss ##echo "shell found."
count=2 # Maximum number to try.
while [[ $count -ne 0 ]] ; do
ping -c 1 8.8.8.8 # Try once.
rc=$?
if [[ $rc -eq 0 ]] ; then
count = 1 # If okay, flag to exit loop.
echo 'say The internet is back up'
fi
((count = count - 1)) # So we don't go forever.
done
if [[ $rc -eq 0 ]] ; then # Make final determination.
echo 'say The internet is back up'
fi
Apart from the first line which only spits an error, it could also be rewritten as:
Code:
ping -c 1 8.8.8.8 || ping -c 1 8.8.8.8
echo 'say Teh script did mugic!'
At first I thought it could be used to wake the wifi, but in my case there's a lot of communication going on even without any interaction (location/lattitude, IM services, background apps, update checks etc.), so apart from some corner cases I dare say this script does exactly nothing, sorry.
zvieratko said:
What is this supposed to do?
This is the only part of the script that "does" something (not that it does anything IMO):
Code:
ssss ##echo "shell found."
count=2 # Maximum number to try.
while [[ $count -ne 0 ]] ; do
ping -c 1 8.8.8.8 # Try once.
rc=$?
if [[ $rc -eq 0 ]] ; then
count = 1 # If okay, flag to exit loop.
echo 'say The internet is back up'
fi
((count = count - 1)) # So we don't go forever.
done
if [[ $rc -eq 0 ]] ; then # Make final determination.
echo 'say The internet is back up'
fi
Apart from the first line which only spits an error, it could also be rewritten as:
Code:
ping -c 1 8.8.8.8 || ping -c 1 8.8.8.8
echo 'say Teh script did mugic!'
At first I thought it could be used to wake the wifi, but in my case there's a lot of communication going on even without any interaction (location/lattitude, IM services, background apps, update checks etc.), so apart from some corner cases I dare say this script does exactly nothing, sorry.
Click to expand...
Click to collapse
yes the script do small ping to reslove the signal when have small drop that issue found in some provider like vodafone , T-Mobile , i know its not do big thinks !! but its reduce the signal drops
maybe your hox not have this issue cuz that not benefited from this script, anyway welcome for your idea for slove network drops
Infoseye said:
Newbie question, I ran the script. What happens next? I did not notice any improvement after with signal strength, please advice. I took a screen shot could someone explain what it really means
Thanks
Click to expand...
Click to collapse
set the script on su / network as my catpure on first page , so when drop try to ping automatic for network to slove it

Add custom widgets to Smart Bulletin without root

Hi guys,
I would like to share the way how to add widgets as a Smart Bulletin addon and encourage you to test widgets, because only few of them are easily adoptable (update: 1 from 10 sa far as I see).
All details can be found here: http://developer.lge.com/MOBILE_HEL...i/Documents/lgsmartbulletindeveloperguide.htm
You need:
1) APK of the widget
2) APKTool and SignAPK for the reverse engineering (to found here: http://forum.xda-developers.com/showthread.php?t=2737291)
3) Java (JRE)
Step-by-step guide (for Win):
1) Get your apk, put into the folder to APKTool and SignAPK, let's say C:\apk
2) Go to CMD, type "cd C:\apk"
3) Decompile the APK with a command "apktool d <name of APK>"
4) Go to the directory of the decompiled APK, navigate to res\layout
5) Check the main layout file (don't know how to find, I'm not Android dev, but file usually has logical name like "mainblabla") and check if uppermost tag LinearLayout has android:layout_height="wrap_content". If not, I think it will not work (at least not so easy), because SB expects to have auto-adjustable content.
6) If everything is fine, go to res\xml (may be several folders) and in each xml containing <appwidget-provider> tag add android:widgetCategory="0x100" property (to add property it should be inside the tag definition like: <appwidget-provider bla bla android:widgetCategory="0x100" bla bla/>). Do you modifications in Notepad++ to be sure for the encoding.
7) Compile the APK using the command "apktool b <name of the folder>". You'll find the generated APK in the "dist" folder.
8) Sign new APK with a command "java -jar signapk.jar certificate.pem key.pk8 <not signed apk> <new signed apk>"
9) Try to install, run, reboot and check Smart Bulletin.
These have been imported in the described way:
{
"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"
}
This is very cool. I'll give it a try tomorrow and let you know how it goes. Thanks for posting.
Sent from my VS990 using Tapatalk
Finally i cracked it: now meteogram works inside Bulletin, but i can't post links How can help?
GReader pro
Can someone do this to Greader pro apk, i want greader widgets to work on smart bulletin board, i will pay 20$ by paypal if someone get it working to me...
Atached file of Greader pro
morzafigas said:
Can someone do this to Greader pro apk, i want greader widgets to work on smart bulletin board, i will pay 20$ by paypal if someone get it working to me...
Atached file of Greader pro
Click to expand...
Click to collapse
I've managed to do that: http :// i.imgur.com / oGxIW5t.jpg (remove spaces in the url, I can't post anything here )
Scrollable widget is not really scrollable because the scroll action is being caught by Smart Bulletin
Medium doesn't fit good as well
Small works fine and buttons at the right work also
azrev said:
I've managed to do that: http :// i.imgur.com / oGxIW5t.jpg (remove spaces in the url, I can't post anything here )
Scrollable widget is not really scrollable because the scroll action is being caught by Smart Bulletin
Medium doesn't fit good as well
Small works fine and buttons at the right work also
Click to expand...
Click to collapse
Hello,
The most wanted is scrollable widget 4x4 like this one in my youtube video....
This is a modded lg g4 launcher apk but just works on android 5 not in 6!
I will wait for a good working one...
.https. :// youtu.be. /n3fV17JkegE
morzafigas said:
Hello,
The most wanted is scrollable widget 4x4 like this one in my youtube video....
This is a modded lg g4 launcher apk but just works on android 5 not in 6!
I will wait for a good working one...
.https. :// youtu.be. /n3fV17JkegE
Click to expand...
Click to collapse
I fear it is not possible, because if you scroll something in Smart Bulletin then you scroll Smart Bulletin but not the content of the widget.
azrev said:
I fear it is not possible, because if you scroll something in Smart Bulletin then you scroll Smart Bulletin but not the content of the widget.
Click to expand...
Click to collapse
Has you can see on video inside Greader pro widget you scroll the news, on top or bellow the widget you scroll smart bulletin...
So, it's possible, maybe not for you or me!
Thanks
morzafigas said:
Has you can see on video inside Greader pro widget you scroll the news, on top or bellow the widget you scroll smart bulletin...
So, it's possible, maybe not for you or me!
Thanks
Click to expand...
Click to collapse
In your video the device is rooted and LGHome.apk is modified. Of course by adjustments in LGHome.apk you can get what is on the video. In the way i've suggested you can try to adjust widgets on the not rooted device but without any guarantee of success.
azrev said:
In your video the device is rooted and LGHome.apk is modified. Of course by adjustments in LGHome.apk you can get what is on the video. In the way i've suggested you can try to adjust widgets on the not rooted device but without any guarantee of success.
Click to expand...
Click to collapse
I think the problem here is the size of the widgets, try to find where to change it, that's why you cannot see the medium size widget and the scrollable one working fine...
That's what I think
Stand corrected, it is useful, just bought it
1) APK of the Widget ?
where is this?
Please put LGHome.apk modified.
it would be SO nice if a shared space (Onedrive, Gdrive, BOX etc) was created and users posted links of their modded .apk
Hey I'm wondering if this would work on my sweet g flex 2
Does this work with mm?
Sent from my LG-H901 using Tapatalk
sugardad said:
it would be SO nice if a shared space (Onedrive, Gdrive, BOX etc) was created and users posted links of their modded .apk
Click to expand...
Click to collapse
I highly agree with you!
Would somebody be so kind as to create a folder in Google Drive, Drop Box, or some other similar service with modified APKs in it?
Your wish is my command, comrades: https://goo.gl/kIYs1a
I have already populated it with the first item, Super Reminder widget. Cheers!
L1061K said:
Your wish is my command, comrades: https://goo.gl/kIYs1a
I have already populated it with the first item, Super Reminder widget. Cheers!
Click to expand...
Click to collapse
Thanks so much for doing this!!! I really appreciate it! :laugh:
mrwinkle said:
Does this work with mm?
Sent from my LG-H901 using Tapatalk
Click to expand...
Click to collapse
Yes, I tried the apk posted by L1061K and it works on MM
Inviato dal mio LG-H955 utilizzando Tapatalk

How to display outside temperature from canbus as widget

This guide was created and tested with [ROM][PX5][HD] Malaysk ROMs for PX5 (2-4 Gb) 8.0 Android Oreo any yet known MTCD-MTCE, MCU manufacturer MX and car Peugeot 407.
You'll need these applications:
Tasker - https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm
Zooper Widget - https://play.google.com/store/apps/details?id=org.zooper.zwfree
Open tasker and add new Profile - Event - Intent Received
In Action field enter this string: com.canbus.temperature
In both Cat select Default
Go back by pressing Back button or arrow at top left corner
Select New Task, enter whatever name you want
Add new Task - Zooper Widget variable (search with filter at bottom)
Click on Configuration edit (pencil top right corner)
Set ZW variable to: temp and ZW text to: %temperature
Press save (floppy disk at top), go back by pressing Back button or arrow at top left corner
Now go to your home screen and add new widget (Zooper Widget) with any size
Click on new widget it will show widget configuration
Select Empty (first option)
Select Layout (first option)
Press Plus at top
Select Text (first option)
Scroll down slightly and select Edit text by hand
Enter this string: #Ttemp# and save by Tick mark at top right corner
And you are done! Your new widget will show outside temperature from canbus reading. Feel free to modify text scale, color and so on!
I'll add screenshots soon.
I appreciated your idea but it did not work for me. The widget only displays the word # Ttemp #. However I must say that I have not installed the Rom of Malaysk but Oreo original . I do not think this is the reason. Show some screenshots
Please check if your string you set in point 17 is exactly #Ttemp# This string cannot contain spaces otherwise it will not be substitued as variable by Zooper and you'll see this text # Ttemp # as you said. If you got right string you should see blank widget or -- or %temperature in widget.
com.canbus.temperature is sending intents only when temperature reading changes and canbus isn't in ECO mode. It should update a moment after starting car engine.
I'll show screenshots as I promised tomorrow once I got into car.
Bugscze said:
Please check if your string you set in point 17 is exactly #Ttemp# This string cannot contain spaces otherwise it will not be substitued as variable by Zooper and you'll see this text # Ttemp # as you said. If you got right string you should see blank widget or -- or %temperature in widget.
com.canbus.temperature is sending intents only when temperature reading changes and canbus isn't in ECO mode. It should update a moment after starting car engine.
I'll show screenshots as I promised tomorrow once I got into car.
Click to expand...
Click to collapse
It was just that my doubt "the string can not contain spaces" then why did you put them in the tutorial? So I will write the string without the spaces. I have not thought about doing it before. However, I already knew I had to wait for the widget to update via canbus. After this correction will I let you know how it went , ok?
Edit :
Correction performed. Stupidly I had not done it before. I congratulate you for the idea and the simple realization, good! For those who have set the small characters is an excellent remedy. ?
https://postimg.cc/gallery/2qb5jcf98/
bettuccio said:
It was just that my doubt "the string can not contain spaces" then why did you put them in the tutorial?
Click to expand...
Click to collapse
Sorry but there isn't any space in tutorial. Nevermind. I'm glad that you got it working. :good:
Not working for me
Hello, thank you for the tutorial, but is not working for me. Perhaps my head unit model is not apropiate. My head unit is AC8227l with android 6 and not root it yet. Tasker notification bar info that there is not profile active. I think is because tasker is not detecting the temperature event. The widget box is empty. Do you think it could be a problem with the worng event name? maybe is not com.canbus.temperature for my head unit or android version. Don´t think it is a non rooted device, i´m concern could be related to the vehicle info app that is stoling the event received from the system.
Sorry for my english but i´m from Argentina. Thanks in advance.
Show Outside Temperature in Statue Bar
Hello and thanks for your widget tutorial.
Is it also possible to show the Outside temperature in the status bar?
Remember that in Android 6 Tasker. apk had problems keeping the service active. Try installing a newer version of Tasker. In Android 8 The widget works but is not updated automatically so the temperature is always the one detected the first time he updates only if the car radio is restarted or after the display is on. I added the "pronunciation" action so that even if the widget gets stuck on the same temperature, the text to speack tells me the actual temperature.
I followed your steps as well and to no avail, does it work. I wonder if its because it reads differently on the canbus (Running a Dasaita HA 2.89 on a Toyota Rav4 2017 model)
hi in zooper when pressing edit by hand, there is already some text in line. should it remain and #Ttemp# be written after whats already there
others informations
Hi thanks for this.
is there other informations that we can have on the screeen from the canbus? like comsuption of fuel, battery voltage etc ...
Hi,
I want to show the temperature in a popup in Tasker.
What are the steps :
Open tasker and add new Profile - Event - Intent Received
1. In Action field enter this string: com.canbus.temperature
2. In both Cat select Default
3. Go back by pressing Back button or arrow at top left corner
Can I read the variable and show it in a popup ?
Yes it's possible. Just use %temperature variable as popup text.
Bugscze said:
Yes it's possible. Just use %temperature variable as popup text.
Click to expand...
Click to collapse
If I test "action", I get a popup 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"
}
I have a question, who write the temperature value inside the variable %temperature ?
Because i only set the intent on com.canbus.temperature, i must write the valure in %temperature ?
did't work for me ):
can you provide the finished product??
Hello everyone,
I'm testing to create this widget, but I don't find all steps into the App.. For the moment, i'm testing to create this app onto my Android phone, no problem if it don't work, just to test how to make.. But I don't found some steps..
Is it normal ?
Many thanks !!
Fahrenheit to Celsius
Hello.
Is it possible to view the widget in Celsius?
I tried with tasker variable convertion, but it doesn't recognice %temperture value and it broke down.
Thanks.
astrarvp said:
Hello.
Is it possible to view the widget in Celsius?
I tried with tasker variable convertion, but it doesn't recognice %temperture value and it broke down.
Thanks.
Click to expand...
Click to collapse
I found a solution.
In line 17 you must write $((#Ttemp#-32)*5/9)$°C.
Bye!
Do you guys have a list of all canbus intent that can be used in tasker? I would really love to play with That...
I have a renault megane 3 radio, teyes radio connected. I did everything as you showed but nothing is displayed. There is a blank field.
Teyes has turned off the temperature display from the canbus on his radio and I am looking for a solution how to display it. Has anyone succeeded?

Categories

Resources