Hi people
All you know that we can use Operator tab as second launcher. Also there is an application from HTC called Action Screen. So I have an idea to transform operator tab to Action Screen tab. But I am not a programmer, so need help.
{
"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 created cab, test it and leave feedback. All created though the registry. I know it is not comfortable. So maybe one Hero-programmer will realize my idea to complete application??
About cab
Before install please make a backup. Why it is necessary? Because in the cab there is my HTC Homesettings.xml file and I have non-htc device (HP Ipaq 614c), so I don’t know how it will work on your device. Also want to say that I have TouchFLO version 1.0.1818.3719 cooked in ROM
As you can see now it has six icons:
Message (Start new SMS)
Mail (Start new Mail)
Alarm (don’t work (how to create direct shortcut to start new alarm???))
Appointment (New Appointment)
Task (New Task)
Note (New Note)
If you want to change an application to open with, go to registry HKLM\Software\HTC\Manila2D\Operator\2\ and change Path (for example I use G-Alarm to start New Alarm or ThumbCal to start new Appointment and new Task)
Also there are two softkeys: Calendar and Setting. Now don’t work, it is for future. (it can be changed through the registry)
TEST IT AND LEAVE FEEDBACK
PS Sorry for my English ))
great work!
Works great. Thanks. You were right. I had to use my own HomeSettings xml file. After installation TF2D didn't start up.
Another usefull addition to TF2D.
I think you made a backup
Strange grafics you have...
OK lets do so
Edit the HTCHomeSettings.xml as follow:
Find:
Code:
<Image index="227" name="\ManilaGFX\hh_fw_focus_background.png" />
Add this below
Code:
<Image index="228" name="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Image index="229" name="HH_LAUNCHER_BTN_OPR.png" />
<Image index="230" name="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Image index="231" name="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Image index="232" name="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Image index="233" name="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png"/>
Find
Code:
<OperatorWidget>***</OperatorWidget>
Replace with my code
Code:
<Property name="IDOPERATORWG_START_POINT" id="0" value="0, 10" />
<Property name="IDOPERATORWG_Y_INTERVAL" id="1" value="10" />
<Property name="IDOPERATORWG_ROW" id="2" value="3" />
<Property name="IDOPERATORWG_COLUMN" id="3" value="3" />
<Property name="IDOPERATORWG_LASTPROP" id="4" value="0" />
<Property name="IDOPERATORWG_BTNSELECTED_IMGID" id="5" value="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Property name="IDOPEARTORWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png" />
<Property name="IDOPERATORWG_BTNPRESSED_IMGID" id="7" value="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Property name="IDOPERATORWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Property name="IDOPERATORWG_BTN_IMGID" id="9" value="HH_LAUNCHER_BTN_OPR.png" />
<Property name="IDOPERATORWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Property name="IDOPERATORWG_BTNICON" id="11" value="68" />
<Property name="IDOPERATORWG_BTNTEXT_RECT" id="12" value="3, 90, 80, 77" />
sergiorus said:
I think you made a backup
Strange grafics you have...
Click to expand...
Click to collapse
I think it has adapted the graphics from my current theme which is no problem. It complements the rest of the graphics in theme.
This looks promising. I'll give it a try tonight after my son goes to bed. Thanks for the innovation!
Syd159
post here your HTC Homesettings.xml file
sergiorus said:
Syd159
post here your HTC Homesettings.xml file
Click to expand...
Click to collapse
Here you go.
Code:
<OperatorWidget>
<Property name="IDOPERATORWG_START_POINT" id="0" value="13, 2" />
<Property name="IDOPERATORWG_Y_INTERVAL" id="1" value="0" />
<Property name="IDOPERATORWG_ROW" id="2" value="6" />
<Property name="IDOPERATORWG_COLUMN" id="3" value="3" />
<Property name="IDOPERATORWG_LASTPROP" id="4" value="0" />
<Property name="IDOPERATORWG_BTNSELECTED_IMG" id="5" value="HH_LAUNCHER_BTN_SELECTED.png" />
<Property name="IDOPEARTORWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_SELECTED_MASK.png" />
<Property name="IDOPERATORWG_BTNPRESSED_IMG" id="7" value="HH_LAUNCHER_BTN_PRESS.png" />
<Property name="IDOPERATORWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_PRESS_MASK.png" />
<Property name="IDOPERATORWG_BTN_IMG" id="9" value="HH_LAUNCHER_BTN.png" />
<Property name="IDOPERATORWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_MASK.png" />
<Property name="IDOPERATORWG_BTNICON_DIMENSION" id="11" value="32" />
<Property name="IDOPERATORWG_BTNTEXT_RECT" id="12" value="-7, 61, 68, 73" />
<Property name="IDLAUNCHERWG_BTN_LASTPROP" id="13" value="0" />
</OperatorWidget>
My Image Index ends at 226.
Replace with this
Code:
<OperatorWidget>
<Property name="IDOPERATORWG_START_POINT" id="0" value="0, 10" />
<Property name="IDOPERATORWG_Y_INTERVAL" id="1" value="10" />
<Property name="IDOPERATORWG_ROW" id="2" value="3" />
<Property name="IDOPERATORWG_COLUMN" id="3" value="3" />
<Property name="IDOPERATORWG_LASTPROP" id="4" value="0" />
<Property name="IDOPERATORWG_BTNSELECTED_IMG" id="5" value="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Property name="IDOPEARTORWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png" />
<Property name="IDOPERATORWG_BTNPRESSED_IMG" id="7" value="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Property name="IDOPERATORWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Property name="IDOPERATORWG_BTN_IMG" id="9" value="HH_LAUNCHER_BTN_OPR.png" />
<Property name="IDOPERATORWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Property name="IDOPERATORWG_BTNICON_DIMENSION" id="11" value="68" />
<Property name="IDOPERATORWG_BTNTEXT_RECT" id="12" value="3, 90, 80, 77" />
<Property name="IDLAUNCHERWG_BTN_LASTPROP" id="13" value="0" />
</OperatorWidget>
After 226 image add below
Code:
<Image index="227" name="HH_LAUNCHER_BTN_OPR_MASK.png" />
<Image index="228" name="HH_LAUNCHER_BTN_OPR.png" />
<Image index="229" name="HH_LAUNCHER_BTN_OPR_PRESS.png" />
<Image index="230" name="HH_LAUNCHER_BTN_OPR_PRESS_MASK.png" />
<Image index="231" name="HH_LAUNCHER_BTN_OPR_SELECTED.png" />
<Image index="232" name="HH_LAUNCHER_BTN_OPR_SELECTED_MASK.png" />
Let me know if it works
I bet it should work what you are implying, but i like it this way.
Request... could you add a toggle for wifi, bluetooth and phone sound/vibrate? That would be very nice.
I also wanted to re-use that tab, for the m3d weather remade on flash:
http://forum.xda-developers.com/showthread.php?t=471461
Could this be done?
:/
Syd159 said:
I bet it should work what you are implying, but i like it this way.
Request... could you add a toggle for wifi, bluetooth and phone sound/vibrate? That would be very nice.
Click to expand...
Click to collapse
I will try to do additional icons.
I also wanted to re-use that tab, for the m3d weather remade on flash:
http://forum.xda-developers.com/showthread.php?t=471461
Could this be done?
:/
Click to expand...
Click to collapse
Yeah i tested your work, but how to make it work with manila 2D i dont know. I think you should ask a question to BeyondInvisible, he is an author of second weather tab .
Syd159 said:
Request... could you add a toggle for wifi, bluetooth and phone sound/vibrate? That would be very nice.
Click to expand...
Click to collapse
Here M2D Action Screen tab with BT, WiFi and phone sound/vibrate.
Awesome !!
Thanks for sharing !!
Sweet work! I need to try this out later! I can't have anything wrong happen with my device now, but I'll try it tomorrow!
I'm happy to say that it works fine for me, after manually editing my original xml file. Any idea on what reg keys I need to look for to get the softkeys working? And could you either make a contact icon in the style you're posting, or could you provide the blank icon background so we can make our own?
Thanks, and nice job!
sergiorus said:
Strange grafics you have...
Click to expand...
Click to collapse
It's no strange.....
Operator widget have rectangle built in, but if you set btnicon to 68 image overwrite it.
Try to change this row in xml
Code:
<Property name="IDOPERATORWG_BTNICON" id="11" value="[b]45[/b]" />
Thanks for sharing.
Now I have it on my Omnia: with 240 x 400 resolution i can use 3 rows (total 9 buttons)
sergiorus said:
I will try to do additional icons.
Yeah i tested your work, but how to make it work with manila 2D i dont know. I think you should ask a question to BeyondInvisible, he is an author of second weather tab .
Click to expand...
Click to collapse
Thanks, will do that.
sergiorus said:
Here M2D Action Screen tab with BT, WiFi and phone sound/vibrate.
Click to expand...
Click to collapse
This with "New Appointment" instead of "Alarm" would be wonderful
Sascha
it will be nice if we make this tab run once landscape mode is turned on
imagine when u silde out keyboard, m2D become landscape mode (by xml?...whatever ) and automatically goes to action tab (or maybe all tab hide off during this mode....dreaming)
ian't it nice??
ftp.rgrfm.be/httpdocs/rgrsite/maxradio/iphone.php
<?php
include("onair.txt");
function displaySubStringWithStrip($string, $length=NULL)
{
if ($length == NULL)
$length = 50;
$stringDisplay = substr(strip_tags($string), 0, $length);
if (strlen(strip_tags($string)) > $length)
$stringDisplay .= ' ...';
return $stringDisplay;
}
?>
<!DOCTYPE html>
<html>
<head>
<title>RGR FM playlist</title>
<meta charset="UTF-8" />
<meta http-equiv="refresh" content="5" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="style.css?c=<?=time()?>" />
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
</head>
<body>
<ul>
<li><div class="image">next</div><div class="right"><?=displaySubStringWithStrip($titel3, 20)?><br /><?=displaySubStringWithStrip($artiest3, 20)?></div></li>
<li>
<div class="image"><!-- <img src="../Available.jpg?t=1349774035" width="80" height="80" align="left" /> -->Current</div>
<div class="right">
<table cellpadding="0" cellspacing="0">
<tr>
<td height="80" valign="middle">
<?=displaySubStringWithStrip($titel2, 15)?><br />
<?=displaySubStringWithStrip($artiest2, 15)?></td>
</tr>
</table>
</div>
</li>
<li><div class="image">previous</div><div class="right"><?=displaySubStringWithStrip($titel1, 20)?><br /><?=displaySubStringWithStrip($artiest1, 20)?></div></li>
</ul>
</body>
</html>
Click to expand...
Click to collapse
ftp.rgrfm.be/httpdocs/rgrsite/maxradio/inair.txt
<?
$titel1="Bulletproof";
$artiest1="La Roux";
$foto1="a.jpg";
$tijd1="08/03/2013 11:41:09";
$titel2="Like A G 6 Bootleg";
$artiest2="Far East Movement";
$foto2="aa.JPG";
$tijd2="08/03/2013 11:45:01";
$titel3="Drivers Seat";
$artiest3="Sniff & The Tears";
$foto3="sniff.JPG";
$tijd3="08/03/2013 11:48:31";
?>
Click to expand...
Click to collapse
inair.txt gets modified as the tracks play on their radio internet stream.
Now I want to display the track information in my Android application I am making for them. But I have no idea where to start with this.
Can someone point me in the right direction what I might be looking for to display the tracks information using these two files or maybe only inair.txt ?
Hiya all
I've got this piece of code from an xml in my settings.apk (SecSettings actually) that contains tutorials on motion settings.
Code:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="@string/motion_tutorial_settings_title" android:key="parent"
xmlns:android="http://schemas.android.com/apk/res/android">
<Preference android:title="@string/turn_over_title" android:key="turn_over" android:summary="@string/turn_over_summary" />
<Preference android:title="@string/shake_title" android:key="shake" android:summary="@string/shake_summary" />
<Preference android:title="@string/pick_up_to_call_out_title" android:key="pick_up_to_call_out" android:summary="@string/pick_up_to_call_out_summary" />
[Color=red] <Preference android:title="@string/air_glance_view" android:key="glance_view" android:summary="@string/air_glance_view_descption" />
<Preference android:title="@string/pick_up_title" android:key="pick_up" android:summary="@string/pick_up_summary" />
<Preference android:title="@string/double_tap_title" android:key="double_tap" android:summary="@string/double_tap_summary" />
<Preference android:title="@string/tilt_title" android:key="tilt" android:summary="@string/tilt_summary" />
<Preference android:title="@string/tilt_to_scroll_list_title" android:key="tilt_to_scroll_list" android:summary="@string/tilt_to_scroll_list_summary" />
<Preference android:title="@string/pan_title" android:key="pan" android:summary="@string/pan_summary" />
<Preference android:title="@string/pan_to_browse_image_title" android:key="pan_to_browse_image" android:summary="@string/pan_to_browse_image_summary" />
<Preference android:title="@string/palm_swipe_title" android:key="palm_swipe" android:summary="@string/palm_swipe_summary" />
<Preference android:title="@string/palm_touch_title" android:key="palm_touch" android:summary="@string/palm_touch_summary" />
<Preference android:title="@string/tap_and_twist_title" android:key="tap_and_twist" android:summary="@string/tap_and_twist_summary" />[/color]
</PreferenceScreen>
In there, all the red parts contain tutorials on settings that don't actually work on my device, and for OCD sake, I don't want them appearing in my settings because of it.
But simply cutting them out of that file will make the settings app crash whenever i open that menu :crying:
So question is: is there a way to hide these settings without impairing their functions?
XML style ofcourse, as I don't dare touch smali
bump! I am still struggling with this :crying:
Is there really no simple xml line for this?
If not, is it possible to resize the not-working menu's to zero pixels? (thus making them invisible)
for the record, adding android:visibility="gone" / androi:visibility="invisible" and android:layout_height="0.0dip" all do nothing
you need to remove also the line inside a smali sir. removing the line will just force the app to close . i also want to remove a category sir, but im not good at smali so i just remove the strings and leave it blank xD
sorry for my english xD
Hi guys,
I'm a bit confused about the CTS v2 plans.
If I run "run cts" from the cts tradefed console how is it different from saying "run everything" ?
Also I notice that the default cts plan
Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration description="Runs CTS from a pre-existing CTS installation">
<include name="cts-common" />
<include name="cts-exclude" />
<include name="cts-exclude-instant" />
<option name="plan" value="cts" />
</configuration>
include a config called "cts-exclude"
which looks like this
Code:
<?xml version="1.0" encoding="utf-8"?>
<configuration description="Excluded tests from main CTS runs">
<!-- b/64127136 -->
<option name="compatibility:exclude-filter" value="CtsSecurityHostTestCases android.security.cts.SELinuxHostTest#testNoExemptionsForBinderInVendorBan" />
<option name="compatibility:exclude-filter" value="CtsSecurityHostTestCases android.security.cts.SELinuxHostTest#testNoExemptionsForSocketsBetweenCoreAndVendorBan" />
<option name="compatibility:exclude-filter" value="CtsSecurityHostTestCases android.security.cts.SELinuxHostTest#testNoExemptionsForVendorExecutingCore" />
<!-- Test Harness Mode tests are not a part of CTS. They are a part
of their own testing plan, as they reset the device during the
test. It's possible and ideal in the future to incorporate the
tests into CTS, but until then, they should be excluded. -->
<option name="compatibility:exclude-filter" value="CtsTestHarnessModeTestCases" />
</configuration>
Which seems to exclude some tests from a module called CtsSecurityHostTestCases.
Why does the default plan do this?
If i were to run CTS to certify some Android Mods should I run the default plan or the everything plan?.
Apologies if my question is a bit cryptic, it's my first post on here and I will make any modifications you ask to make my question better
How to play Mini DayZ on Windows Phone
This tutorial was written on Linux, however the process should be pretty much the same for Windows.
Requirements:
1. Mini DayZ apk
2. A computer with node and cordova installed
Steps:
First of all rename the apk to .zip and extract it.
Go inside the folder and go to the assets folder. Right click and open in terminal.
In the terminal type:
Code:
cordova platform add browser
Then in the same folder create a file called
Code:
config.xml
and paste the following into it:
Code:
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.cordova.hellocordova" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>HelloCordova</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="[email protected]" href="http://cordova.io">
Apache Cordova Team
</author>
<preference name="windows-appx-target" value="uap" />
<preference name="windows-arch" value="arm" />
<preference name="windows-target-version" value="10.0" />
<preference name="windows-phone-target-version" value="10.0" />
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
<platform name="windows">
<preference name="windows-appx-target" value="uap" />
<preference name="windows-arch" value="arm" />
<preference name="windows-target-version" value="10.0" />
<preference name="windows-phone-target-version" value="10.0" />
</platform>
</widget>
Then do:
Code:
cordova run
If you get the following error:
Code:
cordova-custom-config: Skipping auto-restore of config file backup(s)
Unable to load PlatformApi from platform. Error: Cannot find module 'cordova-common'
Unhandled error. ('The platform "browser" does not appear to be a valid cordova platform. It is missing API.js. browser not supported.')
Then do the following:
Code:
npm i cordova-common
Then do:
Code:
cordova run
Now if you get the following error:
Code:
Cannot find module 'cordova-serve'
Then do the following:
Code:
npm i cordova-serve
And finally do:
Code:
cordova run
You should see something like:
Code:
Static file server running @ http://localhost:8000/index.html
Go to that url in your browser and it should be working.
Now to get it working on your phone make sure both your phone and laptop are connected to the same network.
Now you must find your laptop's local ip. On Linux do the following:
Code:
hostname -I
You should see something like
Code:
192.168.0.xxx
Go to your phones browser and go to http://192.168.0.xxx:8000/index.html
AND VOILA IT SHOULD BE WORKING!!
Once everything is loaded it should be safe to shut down the server on your laptop. And the best part is your game gets saved in your browser so you can continue playing where you left off.
If someone is generous enough to host this on heroku or your own website, please let me know.
If you know any other games that are built with cordova please let me know.
ERRORS:
1. For some reason the audio works on my laptop but it doesn't work on my phone. If anyone can fix this please let me know.
2. I tried to pack this into an .appx file via Phonegap but it didnt work. The appx file was getting installed but whenever I opened it I just got a black screen. Can anyone get it to work?
Thanks for the guide! Check out https://nextdev65.github.io/MiniDayZ/