Video camera resolution setting missing? - Nexus 4 Q&A, Help & Troubleshooting

Hi All,
I'm not sure what happened, but I started getting Force Closes on the Gallery app for a while that I would have to clear data to start using the camera again. Then, last night, the camera would focus but not take the picture. I rebooted and it started working again, but now when switching to video camera mode, the setting to select resolution is missing, and my videos are non-HD. Any thoughts?
Thanks,
Ben

Fmstrat said:
Hi All,
I'm not sure what happened, but I started getting Force Closes on the Gallery app for a while that I would have to clear data to start using the camera again. Then, last night, the camera would focus but not take the picture. I rebooted and it started working again, but now when switching to video camera mode, the setting to select resolution is missing, and my videos are non-HD. Any thoughts?
Thanks,
Ben
Click to expand...
Click to collapse
In media_profiles.XML its probably missing something
Using a file explorer go to etc>media_profiles.XML long press in it and select open with text editor. Delete everything in that file and copy and paste this into it instead when done hit save.
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE MediaSettings [
<!ELEMENT MediaSettings (CamcorderProfiles,
EncoderOutputFileFormat+,
VideoEncoderCap+,
AudioEncoderCap+,
VideoDecoderCap,
AudioDecoderCap)>
<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
<!ELEMENT EncoderProfile (Video, Audio)>
<!ATTLIST EncoderProfile quality (high|low) #REQUIRED>
<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
<!ATTLIST EncoderProfile cameraId (0|1) #REQUIRED>
<!ELEMENT Video EMPTY>
<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
<!ATTLIST Video bitRate CDATA #REQUIRED>
<!ATTLIST Video width CDATA #REQUIRED>
<!ATTLIST Video height CDATA #REQUIRED>
<!ATTLIST Video frameRate CDATA #REQUIRED>
<!ELEMENT Audio EMPTY>
<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
<!ATTLIST Audio bitRate CDATA #REQUIRED>
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
<!ATTLIST Audio channels (1|2) #REQUIRED>
<!ELEMENT ImageEncoding EMPTY>
<!ATTLIST ImageEncoding quality (90|80|70|60|50|40) #REQUIRED>
<!ELEMENT ImageDecoding EMPTY>
<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
<!ELEMENT Camera EMPTY>
<!ELEMENT EncoderOutputFileFormat EMPTY>
<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
<!ELEMENT VideoEncoderCap EMPTY>
<!ATTLIST VideoEncoderCap name (h264|h263|m4v|wmv) #REQUIRED>
<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
<!ELEMENT AudioEncoderCap EMPTY>
<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
<!ELEMENT VideoDecoderCap EMPTY>
<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
<!ELEMENT AudioDecoderCap EMPTY>
<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
<!ELEMENT VideoEditorCap EMPTY>
<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
<!ELEMENT ExportVideoProfile EMPTY>
<!ATTLIST ExportVideoProfile name (h264|h263|m4v) #REQUIRED>
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
]>
<!--
This file is used to declare the multimedia profiles and capabilities
on an android-powered device.
-->
<MediaSettings>
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="m4v"
bitRate="128000"
width="320"
height="240"
frameRate="15" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="5000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1920"
height="1080"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="5000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="12000000"
width="1920"
height="1080"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<CamcorderProfiles cameraId="1">
<EncoderProfile quality="qvga" fileFormat="3gp" duration="60">
<Video codec="m4v"
bitRate="128000"
width="320"
height="240"
frameRate="15" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="5000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="192000"
width="176"
height="144"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1200000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="5000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="1" />
</EncoderProfile>
<ImageEncoding quality="95" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<EncoderOutputFileFormat name="3gp" />
<EncoderOutputFileFormat name="mp4" />
<!--
If a codec is not enabled, it is invisible to the applications
In other words, the applications won't be able to use the codec
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="12000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="2000000"
minFrameWidth="176" maxFrameWidth="800"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="15" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="4000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1080"
minFrameRate="15" maxFrameRate="30" />
<AudioEncoderCap name="aac" enabled="true"
minBitRate="758" maxBitRate="288000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="heaac" enabled="true"
minBitRate="8000" maxBitRate="64000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="aaceld" enabled="true"
minBitRate="16000" maxBitRate="192000"
minSampleRate="16000" maxSampleRate="48000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrwb" enabled="true"
minBitRate="6600" maxBitRate="23050"
minSampleRate="16000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrnb" enabled="true"
minBitRate="5525" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />
<!--
FIXME:
We do not check decoder capabilities at present
At present, we only check whether windows media is visible
for TEST applications. For other applications, we do
not perform any checks at all.
-->
<VideoDecoderCap name="wmv" enabled="false"/>
<AudioDecoderCap name="wma" enabled="false"/>
<!--
The VideoEditor Capability configuration:
- maxInputFrameWidth: maximum video width of imported video clip.
- maxInputFrameHeight: maximum video height of imported video clip.
- maxOutputFrameWidth: maximum video width of exported video clip.
- maxOutputFrameHeight: maximum video height of exported video clip.
- maxPrefetchYUVFrames: maximum prefetch YUV frames for encoder,
used to limit the amount of memory for prefetched YUV frames.
For this platform, it allows maximum 30MB(3MB per 1080p frame x 10
frames) memory.
-->
<VideoEditorCap maxInputFrameWidth="1920"
maxInputFrameHeight="1080" maxOutputFrameWidth="1920"
maxOutputFrameHeight="1080" maxPrefetchYUVFrames="10"/>
<!--
The VideoEditor Export codec profile and level values
correspond to the values in OMX_Video.h.
E.g. for h264, profile value 1 means OMX_VIDEO_AVCProfileBaseline
and level 4096 means OMX_VIDEO_AVCLevel41.
Please note that the values are in decimal.
These values are for video encoder.
-->
<!--
Codec = h.264, Baseline profile, level 4.0
-->
<ExportVideoProfile name="h264" profile= "1" level="2048"/>
<!--
Codec = h.263, Baseline profile, level 70
-->
<ExportVideoProfile name="h263" profile= "1" level="128"/>
<!--
Codec = mpeg4, Simple profile, level 5
-->
<ExportVideoProfile name="m4v" profile= "1" level="128"/>
</MediaSettings>

Thanks for the input. As it turned out once I looked at that file, the permissions were set wrong. Fixing those and rebooting did the trick.

Fmstrat said:
Thanks for the input. As it turned out once I looked at that file, the permissions were set wrong. Fixing those and rebooting did the trick.
Click to expand...
Click to collapse
OK no problem, but next time if you have a question please post in the q&a section.Thank you :highfive:

Related

Manila 2D for QVGA Landscape Devices

I am not sure this will be useful to many people, but I am trying to get TouchFlo 2D working on landscape QVGA devices (I have a TechFaithWireless Ubiquio 501). Basically I've installed the Manila cabs and read up about editing the homesettings.xml file.
Manila 2d cabs: http://forum.xda-developers.com/showthread.php?t=398173
HomeSettings.xml explained: http://forum.xda-developers.com/showthread.php?t=427531
You will also need to install the HTC Opal Blue theme and the edited graphics (attached below).
Tab Widget
This brings the tabs to the bottom of the screen when in QVGA.
Code:
<TabWidget>
<Property name="IDTABWG_WIDGET_RECT" id="0" value="0,0,240,230, 0,0,320,230" />
<Property name="IDTABWG_TITLE_RECT" id="1" value="8,0,224,25, 8,0,304,25" />
<Property name="IDTABWG_TAB_RECT" id="2" value="0,217,240,51, 0,140,320,51" />
<Property name="IDTABWG_TABBG_ICON_WIDTH" id="3" value="48, 55" />
<Property name="IDTABWG_TABBG_IMAGE" id="4" value="2" />
<Property name="IDTABWG_TABBTN_IMAGE" id="5" value="3,4, 3,4" />
<Property name="IDTABWG_TABBTN_FOCUS_RECT" id="6" value="8,6,54,45, 8,6,54,45" />
<Property name="IDTABWG_WIDGETBG_IMAGE" id="7" value="1" />
<Property name="IDTABWG_BIGICON_YPOS" id="8" value="52, 10" />
<Property name="IDTABWG_BIGTEXT_RECT" id="9" value="0,133,240,30, 0,100,320,30" />
<Property name="IDTABWG_MOVE_FRAMERATE" id="10" value="12, 12" />
<Property name="IDTABWG_BACKGROUND_IMAGE" id="11" value="0, 0" />
<Property name="IDTABWG_UNREAD_IMAGE" id="12" value="5,6" />
<Property name="IDTABWG_UNREAD_TABBG_POS" id="13" value="23,12, 23,12" />
<Property name="IDTABWG_UNREAD_TABBTN_POS" id="14" value="35,25, 35,25" />
<Property name="IDTABWG_UNREAD_TEXT_TABBG_RECT" id="15" value="23,8,26,30, 23,8,26,30" />
<Property name="IDTABWG_UNREAD_TEXT_TABBTN_RECT" id="16" value="35,21,26,30, 35,21,26,30" />
<Property name="IDTABWG_WIDGET_FOCUS_BG_IMG" id="17" value="227, 227" />
</TabWidget>
Home Screen
{
"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"
}
Code updated 2008-10-03: The end of appointments used to be chopped off if the text was more than 218 pixels wide. This has now been fixed so it spans the whole home screen.
The xml code for this is as follows:
Code:
<HomeWidget>
<Property name="IDHMWG_CLOCKBTN_BGIMG" id="0" value="40" />
<Property name="IDHMWG_CLOCKBTN_BGIMG_POS" id="1" value="145, 78" />
<Property name="IDHMWG_CLOCKBTN_RECT" id="2" value="12, 31, 308, 86" />
<Property name="IDHMWG_CLOCKBTN_1STDIGIT_POS" id="3" value="208, 61" />
<Property name="IDHMWG_CLOCKBTN_2NDDIGIT_POS" id="4" value="221, 61" />
<Property name="IDHMWG_CLOCKBTN_SEPARATOR_POS" id="5" value="236, 66" />
<Property name="IDHMWG_CLOCKBTN_3RDDIGIT_POS" id="6" value="241, 61" />
<Property name="IDHMWG_CLOCKBTN_4THDIGIT_POS" id="7" value="254, 61" />
<Property name="IDHMWG_CLOCKBTN_ALARM_POS" id="8" value="283, 66" />
<Property name="IDHMWG_CLOCKBTN_AMPM_POS" id="9" value="268, 69" />
<Property name="IDHMWG_CLOCKBTN_FOCUS_POS" id="10" value="12, 31" />
<Property name="IDHMWG_CLOCKBTN_IMG_0" id="11" value="48" />
<Property name="IDHMWG_CLOCKBTN_IMG_1" id="12" value="49" />
<Property name="IDHMWG_CLOCKBTN_IMG_2" id="13" value="50" />
<Property name="IDHMWG_CLOCKBTN_IMG_3" id="14" value="51" />
<Property name="IDHMWG_CLOCKBTN_IMG_4" id="15" value="52" />
<Property name="IDHMWG_CLOCKBTN_IMG_5" id="16" value="53" />
<Property name="IDHMWG_CLOCKBTN_IMG_6" id="17" value="54" />
<Property name="IDHMWG_CLOCKBTN_IMG_7" id="18" value="55" />
<Property name="IDHMWG_CLOCKBTN_IMG_8" id="19" value="56" />
<Property name="IDHMWG_CLOCKBTN_IMG_9" id="20" value="57" />
<Property name="IDHMWG_CLOCKBTN_IMG_SEPARATOR" id="21" value="47" />
<Property name="IDHMWG_CLOCKBTN_IMG_ALARM_ON" id="22" value="41" />
<Property name="IDHMWG_CLOCKBTN_IMG_ALARM_OFF" id="23" value="42" />
<Property name="IDHMWG_CLOCKBTN_IMG_AM" id="24" value="43" />
<Property name="IDHMWG_CLOCKBTN_IMG_PM" id="25" value="44" />
<Property name="IDHMWG_CLOCKBTN_IMG_FOCUS" id="26" value="178" />
<Property name="IDHMWG_CLOCKBTN_IMG_FOCUS_DN" id="27" value="179" />
<Property name="IDHMWG_MISSEDCALLBTN_RECT" id="30" value="12,88,291,118" />
<Property name="IDHMWG_MISSEDCALLBTN_IMG" id="31" value="45" />
<Property name="IDHMWG_MISSEDCALLBTN_IMGPOS" id="32" value="29,95" />
<Property name="IDHMWG_MISSEDCALLBTN_TEXT_RECT" id="33" value="55,89,291,118" />
<Property name="IDHMWG_MISSEDCALLBTN_IMG_FOCUS" id="34" value="181" />
<Property name="IDHMWG_MISSEDCALLBTN_IMG_FOCUS_DN" id="35" value="182" />
<Property name="IDHMWG_CALENDARBTN1_RECT" id="40" value="12,117,291,137" />
<Property name="IDHMWG_CALENDARBTN1_IMG" id="41" value="46" />
<Property name="IDHMWG_CALENDARBTN1_IMGPOS" id="42" value="29,124" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_RECT" id="43" value="55,124,291,147" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_TIME_RECT" id="44" value="29,114,291,137" />
<Property name="IDHMWG_CALENDARBTN1_TEXT_SUBJECT_RECT" id="45" value="29,130,291,147" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS" id="46" value="181" />
<Property name="IDHMWG_CALENDARBTN1_IMG_FOCUS_DN" id="47" value="182" />
<Property name="IDHMWG_ANALOGCLOCK_RECT" id="80" value="0,0,320,240" />
<Property name="IDHMWG_ANALOGCLOCK_CENTER_POS" id="81" value="159,73" />
<Property name="IDHMWG_ANALOGCLOCK_ALARM_IMG" id="82" value="121,122,123,124" />
<Property name="IDHMWG_ANALOGCLOCK_HOUR_IMG" id="83" value="125,126,127,128" />
<Property name="IDHMWG_ANALOGCLOCK_MINUTE_IMG" id="84" value="209,210,211,212" />
<Property name="IDHMWG_ANALOGCLOCK_DOT_IMG" id="85" value="213,214,215,216" />
<Property name="IDHMWG_ALARMSTATUS_RECT" id="90" value="29,7,291,139" />
<Property name="IDHMWG_ALARMSTATUS_IMG_ON" id="91" value="41" />
<Property name="IDHMWG_ALARMSTATUS_IMG_OFF" id="92" value="42" />
<Property name="IDHMWG_LINE_IMG" id="100" value="180" />
<Property name="IDHMWG_LINE1_IMGPOS" id="101" value="28,88" />
<Property name="IDHMWG_LINE2_IMGPOS" id="102" value="28,117" />
<Property name="IDHMWG_LINE3_IMGPOS" id="103" value="28,146" />
<Property name="IDHMWG_DATE_RECT" id="104" value="28,127,291,148" />
</HomeWidget>
Weather
There isn't much space in the QVGA format so I've found it difficult to squeeze the full five day forecast into this tab, hence only current weather shows. The xml for this is:
Code:
<WeatherWidget>
<Property name="IDWEWG_LASTUPDATEBTN_RECT" id="0" value="160,40,70,15,202,0,15,15"/>
<Property name="IDWEWG_WEATHERBTN_RECT" id="1" value="4,47,232,60,4,47,292,60" />
<Property name="IDWEWG_LOCATIONBTN_RECT" id="2" value="4,51,232,200,4,136,312,23" />
<Property name="IDWEWG_STATUSTXT_RECT" id="3" value="15,91,210,60,45,102,275,60" />
<Property name="IDWEWG_LOCATIONTXT_RECT" id="4" value="15,121,210,22,55,104,210,22" />
<Property name="IDWEWG_LASTUPDATETXT_RECT" id="5" value="156,50,82,15,164,54,151,15" />
<Property name="IDWEWG_ADDCITYTXT_RECT" id="6" value="15,51,210,60,15,51,290,60" />
<Property name="IDWEWG_ARROWTXT_RECT" id="7" value="0,28,10,13,0,28,10,13" />
<Property name="IDWEWG_TEMPERATURETXT_RECT" id="8" value="8,33,80,40,8,33,80,40" />
<Property name="IDWEWG_DOWNARROWRELEASE_IMGID" id="9" value="83" />
<Property name="IDWEWG_DOWNARROWPRESS_IMGID" id="10" value="82" />
<Property name="IDWEWG_REFRESH_IMGID" id="11" value="84" />
<Property name="IDWEWG_SEPERATELINE_IMGID" id="12" value="86" />
<Property name="IDWEWG_DOWNARROW_POS" id="14" value="216,110,300,108" />
<Property name="IDWEWG_UPARROW_POS" id="15" value="216,82,300,82" />
<Property name="IDWEWG_REFRESH_POS" id="16" value="220,116,300,10" />
<Property name="IDWEWG_WEATHER_POS" id="17" value="0,0,100,5" />
<Property name="IDWEWG_SEPERATELINE_POS" id="18" value="0,210,0,210" />
<Property name="IDWEWG_HIGHTEMPTEXT_TODAY_RECT" id="19" value="8,78,60,15,8,78,60,15" />
<Property name="IDWEWG_LOWTEMPTEXT_TODAY_RECT" id="20" value="8,93,60,15,8,93,60,15" />
<Property name="IDWEWG_DAYTEXT_WEEK_RECT" id="27" value="0,4,100,12,0,5,100,25" />
<Property name="IDWEWG_HIGHTEMPTEXT_WEEK_RECT" id="28" value="0,0,26,15,175,5,30,15" />
<Property name="IDWEWG_LOWTEMPTEXT_WEEK_RECT" id="29" value="0,0,26,15,210,5,25,15" />
<Property name="IDWEWG_SEPERATELINE_IMGID_P" id="30" value="116" />
<Property name="IDWEWG_SEPERATELINE_POS1" id="31" value="47,123,47,125" />
<Property name="IDWEWG_SEPERATELINE_POS2" id="32" value="0,166,0,168" />
<Property name="IDWEWG_LOCATIONINDEXTXT_RECT" id="33" value="205,100,34,20,288,90,34,20" />
<Property name="IDWEWG_FORECASTCONTROL_RECT" id="34" value="0,0,0,62,0,0,0,62" />
<Property name="IDWEWG_LASTUPDATETITLE_RECT" id="35" value="90,38,150,15,167,40,151,15" />
<Property name="IDWEWG_SEPERATELINE1_IMGID" id="36" value="197" />
<Property name="IDWEWG_SEPERATELINE2_IMGID" id="37" value="198" />
<Property name="IDWEWG_WEATHERTEXT_RECT" id="38" value="0,141,240,22,15,122,290,22" />
<Property name="IDWEWG_UPARROWRELEASE_IMGID" id="39" value="85" />
<Property name="IDWEWG_UPARROWPRESS_IMGID" id="40" value="84" />
</WeatherWidget>
Launcher
The code for this is:
Code:
<LauncherWidget>
<Property name="IDLAUNCHERWG_START_POINT" id="0" value="20, 2" />
<Property name="IDLAUNCHERWG_Y_INTERVAL" id="1" value="2" />
<Property name="IDLAUNCHERWG_ROW" id="2" value="6" />
<Property name="IDLAUNCHERWG_COLUMN" id="3" value="4" />
<Property name="IDLAUNCHERWG_LASTPROP" id="4" value="0" />
<Property name="IDLAUNCHERWG_BTNSELECTED_IMG" id="5" value="HH_LAUNCHER_BTN_SELECTED.png" />
<Property name="IDLAUNCHERWG_BTNSELECTED_MASKIMG" id="6" value="HH_LAUNCHER_BTN_SELECTED_MASK.png" />
<Property name="IDLAUNCHERWG_BTNPRESSED_IMG" id="7" value="HH_LAUNCHER_BTN_PRESS.png" />
<Property name="IDLAUNCHERWG_BTNPRESSED_MASKIMG" id="8" value="HH_LAUNCHER_BTN_PRESS_MASK.png" />
<Property name="IDLAUNCHERWG_BTN_IMG" id="9" value="HH_LAUNCHER_BTN.png" />
<Property name="IDLAUNCHERWG_BTN_IMGMASK" id="10" value="HH_LAUNCHER_BTN_MASK.png" />
<Property name="IDLAUNCHERWG_BTNPLUS_IMG" id="11" value="HH_LAUNCHER_ITEM_ADD.png" />
<Property name="IDLAUNCHERWG_BTNPLUS_IMGMASK" id="12" value="HH_LAUNCHER_ITEM_ADD_MASK.png" />
<Property name="IDLAUNCHERWG_BTNDELETE_IMG" id="13" value="HH_LAUNCHER_ITEM_DELETE.png" />
<Property name="IDLAUNCHERWG_BTNDELETEPRESSED_IMG" id="14" value="HH_LAUNCHER_ITEM_DELETE_PRESS.png" />
<Property name="IDLAUNCHERWG_BTNLOCK_IMG" id="15" value="HH_LAUNCHER_ITEM_LOCK.png" />
<Property name="IDLAUNCHERWG_BTNLOCKPRESSED_IMG" id="16" value="HH_LAUNCHER_ITEM_LOCK_PRESS.png" />
<Property name="IDLAUNCHERWG_BTN_DELETE_LOCK_MASKIMG" id="17" value="HH_LAUNCHER_ITEM_LOCK_PRESS_MASK.png" />
<Property name="IDLAUNCHERWG_BTT_DELETE_ICON_POS" id="18" value="36, 36" />
<Property name="IDLAUNCHERWG_BTNICON_DIMENSION" id="19" value="32" />
<Property name="IDLAUNCHERWG_BTN_LASTPROP" id="20" value="0" />
</LauncherWidget>
I am working on the other tabs but it really is unbelieveably tedious, so I'd appreciate it if there are other people out there interested who could take over some of the other tabs!
This may also be useful for those interested in manila 2D on 320x320 devices. Unfortunately I don't have such a device and can't 'see' what goes on below the bottom edge of the landscape QVGA screen, so it might be a mess!
excellent work, will try it on my Kaiser
hmmmm. interesting. I can't guinea pig right now though. My day is about to start.
I must warn you that for some of the tabs there is no differentiation between portrait and landscape. The home tab for instance does not have a separate definition for landscape. That means the layout probably won't work on devices which can switch from portrait to landscape.
YMMV!
just awesome...i've been playing around with editing the .xml too - tough getting it just right for landscape. this looks great...loading now! Looks awesome on my ipaq 910.
I also like the way btprice2001 did his weather page...a little more detail (http://forum.xda-developers.com/showpost.php?p=2716480&postcount=1680)
ZSX said:
I must warn you that for some of the tabs there is no differentiation between portrait and landscape. The home tab for instance does not have a separate definition for landscape. That means the layout probably won't work on devices which can switch from portrait to landscape.
YMMV!
Click to expand...
Click to collapse
Umm..
Did you see this?
Good Work!!! 2 bad i went back to spb shell until this app uses up less than half the memory that it does not and allows 4x contacts along with all the other things that can be done in spb shell that this app cant..
eazy2001x said:
Good Work!!! 2 bad i went back to spb shell until this app uses up less than half the memory that it does not and allows 4x contacts along with all the other things that can be done in spb shell that this app cant..
Click to expand...
Click to collapse
True, but I will switch back to SPB Mobile Shell when they fix the battery drain!
That thing sucks up my battery so fast.
looks great...but somehow lost the analog clock in the transfer. any ideas? i copied your xml into mine (complete change...no leftovers). but can't get the clock to show. thanks in advance.
if we get all taps in landscape i will put in a new update on main 2d manila thread
Music
The code for this is:
Code:
<MusicWidget>
<Property name="IDMUSICWG_MUSICBTN_IMG" id="0" value="87" />
<Property name="IDMUSICWG_MUSICBTNPRESSED_IMG" id="1" value="105" />
<Property name="IDMUSICWG_MUSICBTN_IMG_LANDSCAPE" id="2" value="88" />
<Property name="IDMUSICWG_MUSICBTNPRESSED_IMG_LANDSCAPE" id="3" value="106" />
<Property name="IDMUSICWG_PREVIOUSBTN_ENABLE_IMG" id="4" value="102" />
<Property name="IDMUSICWG_PREVIOUSBTN_DISABLE_IMG" id="5" value="103" />
<Property name="IDMUSICWG_PREVIOUSBTN_PRESSED_IMG" id="6" value="104" />
<Property name="IDMUSICWG_PREVIOUSBTN_RECT" id="7" value="200, 47, 238, 85" />
<Property name="IDMUSICWG_PREVIOUSBTN_RECT_LANDSCAPE" id="8" value="276, 24, 308, 62" />
<Property name="IDMUSICWG_PREVIOUSBTN_LASTPROP" id="9" value="0" />
<Property name="IDMUSICWG_PLAYBTN_ENABLE_IMG" id="10" value="99" />
<Property name="IDMUSICWG_PLAYBTN_DISABLE_IMG" id="11" value="100" />
<Property name="IDMUSICWG_PLAYBTN_PRESSED_IMG" id="12" value="101" />
<Property name="IDMUSICWG_PAUSEBTN_ENABLE_IMG" id="13" value="96" />
<Property name="IDMUSICWG_PAUSEBTN_DISABLE_IMG" id="14" value="97" />
<Property name="IDMUSICWG_PAUSEBTN_PRESSED_IMG" id="15" value="98" />
<Property name="IDMUSICWG_PLAYPAUSEBTN_RECT" id="16" value="199, 90, 237, 128" />
<Property name="IDMUSICWG_PLAYPAUSEBTN_RECT_LANDSCAPE" id="17" value="276, 55, 308, 93" />
<Property name="IDMUSICWG_PLAYPAUSEBTN_LASTPORP" id="18" value="0" />
<Property name="IDMUSICWG_NEXTBTN_ENABLE_IMG" id="19" value="93" />
<Property name="IDMUSICWG_NEXTBTN_DISABLE_IMG" id="20" value="94" />
<Property name="IDMUSICWG_NEXTBTN_PRESSED_IMG" id="21" value="95" />
<Property name="IDMUSICWG_NEXTBTN_RECT" id="22" value="200, 133, 238, 171" />
<Property name="IDMUSICWG_NEXTBTN_RECT_LANDSCAPE" id="23" value="276, 88, 308, 126" />
<Property name="IDMUSICWG_NEXTBTN_LASTPORP" id="24" value="0" />
<Property name="IDMUSICWG_LAUNCHERBTN_ENABLE_IMG" id="25" value="90" />
<Property name="IDMUSICWG_LAUNCHERBTN_DISABLE_IMG" id="26" value="91" />
<Property name="IDMUSICWG_LAUNCHERBTN_PRESSED_IMG" id="27" value="92" />
<Property name="IDMUSICWG_LAUNCHERBTN_RECT" id="28" value="2, 2, 22, 2" />
<Property name="IDMUSICWG_LAUNCHERBTN_RECT_LANDSCAPE" id="29" value="230, 27, 295, 62" />
<Property name="IDMUSICWG_LAUNCHERBTN_LASTPORP" id="30" value="0" />
<Property name="IDMUSICWG_INFO_DEFAULT_IMG" id="31" value="119" />
<Property name="IDMUSICWG_INFO_IMG_RECT" id="32" value="45, 32, 189, 176" />
<Property name="IDMUSICWG_INFO_ANIAREA_RECT" id="33" value="0, 0, 193, 180" />
<Property name="IDMUSICWG_INFO_TITLE_RECT" id="34" value="29, 180, 205, 198" />
<Property name="IDMUSICWG_INFO_ARTIST_RECT" id="35" value="29, 202, 205, 218" />
<Property name="IDMUSICWG_INFO_TIME_RECT" id="36" value="172, 194, 237, 204" />
<Property name="IDMUSICWG_INFO_TIMECURRENT_RECT" id="37" value="2, 194, 67, 204" />
<Property name="IDMUSICWG_INFO_IMG_RECT_LANDSCAPE" id="38" value="120, 30, 194, 104" />
<Property name="IDMUSICWG_INFO_ANIAREA_RECT_LANDSCAPE" id="39" value="120, 30, 198, 108" />
<Property name="IDMUSICWG_INFO_TITLE_RECT_LANDSCAPE" id="40" value="29, 110, 285, 278" />
<Property name="IDMUSICWG_INFO_ARTIST_RECT_LANDSCAPE" id="41" value="29, 130, 285, 298" />
<Property name="IDMUSICWG_INFO_TIME_RECT_LANDSCAPE" id="42" value="178, 125, 312, 135" />
<Property name="IDMUSICWG_INFO_TIMECURRENT_RECT_LANDSCAPE" id="43" value="2, 125, 67, 135" />
<Property name="IDMUSICWG_INFO_LASTPROP" id="44" value="0" />
<Property name="IDMUSICWG_PROGRESS_BGIMG" id="45" value="109" />
<Property name="IDMUSICWG_PROGRESS_FILLIMG" id="46" value="108" />
<Property name="IDMUSICWG_PROGRESS_RECT" id="47" value="32, 199, 202, 201" />
<Property name="IDMUSICWG_PROGRESS_BGIMG_LANDSCAPE" id="48" value="107" />
<Property name="IDMUSICWG_PROGRESS_FILLIMG_LANDSCAPE" id="49" value="89" />
<Property name="IDMUSICWG_PROGRESS_RECT_LANDSCAPE" id="50" value="32, 129, 282, 131" />
<Property name="IDMUSICWG_PROGRESS_LASTPROP" id="51" value="0" />
<Property name="IDMUSICWG_LOOPBTN_ENABLE_ON_IMG" id="52" value="184" />
<Property name="IDMUSICWG_LOOPBTN_ENABLE_OFF_IMG" id="53" value="185" />
<Property name="IDMUSICWG_LOOPBTN_DISABLE_ON_IMG" id="54" value="186" />
<Property name="IDMUSICWG_LOOPBTN_DISABLE_OFF_IMG" id="55" value="187" />
<Property name="IDMUSICWG_LOOPBTN_PRESSED_IMG" id="56" value="188" />
<Property name="IDMUSICWG_LOOPBTN_RECT" id="57" value="220, 5, 233, 17" />
<Property name="IDMUSICWG_LOOPBTN_RECT_LANDSCAPE" id="58" value="302, 5, 319, 17" />
<Property name="IDMUSICWG_LOOPBTN_LASTPORP" id="59" value="0" />
<Property name="IDMUSICWG_SHUFFLEBTN_ENABLE_ON_IMG" id="60" value="189" />
<Property name="IDMUSICWG_SHUFFLEBTN_ENABLE_OFF_IMG" id="61" value="190" />
<Property name="IDMUSICWG_SHUFFLEBTN_DISABLE_ON_IMG" id="62" value="191" />
<Property name="IDMUSICWG_SHUFFLEBTN_DISABLE_OFF_IMG" id="63" value="192" />
<Property name="IDMUSICWG_SHUFFLEBTN_PRESSED_IMG" id="64" value="193" />
<Property name="IDMUSICWG_SHUFFLEBTN_RECT" id="65" value="204, 5, 217, 17" />
<Property name="IDMUSICWG_SHUFFLEBTN_RECT_LANDSCAPE" id="66" value="286, 5, 303, 17" />
<Property name="IDMUSICWG_SHUFFLEBTN_LASTPORP" id="67" value="0" />
</MusicWidget>
There are currently several problems with this tab which i am not sure it is possible to fix just by editing the xml file.
Progress bar: I just can't get the progress bar to display at all in landscape. You can see a bit of it appears between the title of the song and the name of the artiste but no more than that!
Time elapsed / time remaining counters: If you play the track the timers do not change in real time. If you pause they will update themselves, but if you resume the timers once again do not change.
Animations: The way the animations occur in TF2D is by blanking out a segment of the screen 193 px by 180 px and then redrawing the new album art over it. This is invisible in portrait but in landscape it takes out half the tab bar, like this:
If you refresh the page (e.g. by pausing and restarting the track) the page refreshes and it looks fine.
Anyone have ideas on how to fix this?
pmorganii said:
just awesome...i've been playing around with editing the .xml too - tough getting it just right for landscape. this looks great...loading now! Looks awesome on my ipaq 910.
I also like the way btprice2001 did his weather page...a little more detail (http://forum.xda-developers.com/showpost.php?p=2716480&postcount=1680)
Click to expand...
Click to collapse
That's great. I do like his layout. The good thing about the xml file is that the code for each tab can be interchanged easily, so you can really choose the tab layout you prefer. I'm hoping that other people will come up with the code for the other tabs as well!
pmorganii said:
looks great...but somehow lost the analog clock in the transfer. any ideas? i copied your xml into mine (complete change...no leftovers). but can't get the clock to show. thanks in advance.
Click to expand...
Click to collapse
Hmm. Very odd. Do the clock hands show when you use the default xml file? It is working fine on mine. I am assuming that you took the code and just pasted it over the corresponding section in your own xml file? It really should work.
eazy2001x said:
Umm..
Did you see this?
Good Work!!! 2 bad i went back to spb shell until this app uses up less than half the memory that it does not and allows 4x contacts along with all the other things that can be done in spb shell that this app cant..
Click to expand...
Click to collapse
Yes of course I saw that!
What I mean is that for some of the tabs (e.g. music) there is a separate xml code for the different layouts in portrait and landscape formats. The home tab doesn't have this, which means that in devices which switch orientation, the portrait version looks like this:
good point...you are right. do you have the default xml on hand?...i was using a build that I had made. duh....
ZSX said:
That's great. I do like his layout. The good thing about the xml file is that the code for each tab can be interchanged easily, so you can really choose the tab layout you prefer. I'm hoping that other people will come up with the code for the other tabs as well!
Hmm. Very odd. Do the clock hands show when you use the default xml file? It is working fine on mine. I am assuming that you took the code and just pasted it over the corresponding section in your own xml file? It really should work.
Click to expand...
Click to collapse
This is great. is anyone working on both portrait and landscape coinciding
great idea, thnk you for your share
ZSX said:
I am not sure this will be useful to many people, but I am trying to get TouchFlo 2D working on landscape QVGA devices (I have a TechFaithWireless Ubiquio 501). Basically I've installed the Manila cabs and read up about editing the homesettings.xml file.
Manila 2d cabs: http://forum.xda-developers.com/showthread.php?t=398173
HomeSettings.xml explained: http://forum.xda-developers.com/showthread.php?t=427531
You will also need to install the HTC Opal Blue theme and the edited graphics (attached below)...
Okay, so now I'll sound like a real noob, but...
I've looked at the files and the other links provided and can't figure out how this installs. I guess I'm too used to cabs. Any direction towards a page with instructions would be greatly appreciated.
Nice work!
-OZ
Click to expand...
Click to collapse
Nice work I will have to have a look at it when I get the time
NICE WORK
You Does Nice Work It Is So Usefull To Manila Lover Community
Your Work Appreciated By Us
does your rain animation work? mine is not.
ZSX said:
Weather
Click to expand...
Click to collapse

Location based search on the new Oboe internet tab

Cooks, did you noticed the reference to location based search on the new internet tab of the OBOE rom? It seems that there is a same sort of functionality added here like on the HD Mini: Youtube vid demonstration
Does anyone managed to cook this functionality in?
Content of the Internet_Pages.xml in the Manila_Internet_2_5_20161412_0/files dir:
Code:
- <Manila>
- <Navigation>
<PageGroup Name="Root" />
</Navigation>
- <DialogManager>
- <DialogGroup Name="Dialogs">
- <SimpleDialog Name="internet_add_remove.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
- <DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]" />
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]" />
</DialogItem>
</SimpleDialog>
- <SimpleDialog Name="internet_add_remove_location_disable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
- <DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]" />
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]" />
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_ENABLE]]" />
</DialogItem>
</SimpleDialog>
- <SimpleDialog Name="internet_add_remove_location_enable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
- <DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]" />
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]" />
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_DISABLE]]" />
</DialogItem>
</SimpleDialog>
- <SimpleDialog Name="internet_add_remove_search_cmcc.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
- <DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]" />
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]" />
- <DialogItem Name="Search" Title="[[IDS_INTERNET_MENU_CHANGESEARCH]]">
<DialogItem Name="CMCC" Title="[[IDS_INTERNET_MENU_CMCC]]" />
<DialogItem Name="Baidu" Title="[[IDS_INTERNET_MENU_BAIDU]]" />
</DialogItem>
</DialogItem>
</SimpleDialog>
- <SimpleDialog Name="internet_add_remove_search_cmcc_location_enable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
- <DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]" />
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]" />
- <DialogItem Name="Search" Title="[[IDS_INTERNET_MENU_CHANGESEARCH]]">
<DialogItem Name="CMCC" Title="[[IDS_INTERNET_MENU_CMCC]]" />
<DialogItem Name="Baidu" Title="[[IDS_INTERNET_MENU_BAIDU]]" />
</DialogItem>
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_DISABLE]]" />
</DialogItem>
</SimpleDialog>
- <SimpleDialog Name="internet_add_remove_search_cmcc_location_disable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true" />
- <DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]" />
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]" />
- <DialogItem Name="Search" Title="[[IDS_INTERNET_MENU_CHANGESEARCH]]">
<DialogItem Name="CMCC" Title="[[IDS_INTERNET_MENU_CMCC]]" />
<DialogItem Name="Baidu" Title="[[IDS_INTERNET_MENU_BAIDU]]" />
</DialogItem>
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_ENABLE]]" />
</DialogItem>
</SimpleDialog>
</DialogGroup>
</DialogManager>
</Manila>
I have tried to insert only the .xml file without any change in the Internet Tab.
My location does display in the Tab.
have a look at the search url in the registry. (internet.searchURL)
The search box on the hd2 internet tab passes the query by apending &q=%s to the search url, perhaps it passes the location by something equally simple?
samsamuel said:
have a look at the search url in the registry. (internet.searchURL)
The search box on the hd2 internet tab passes the query by apending &q=%s to the search url, perhaps it passes the location by something equally simple?
Click to expand...
Click to collapse
Have found the same issue but the reg key doesn't work... it seems to have the search engines hard coded... bud I coudn't find where... at least it is not on internet tab manila files...
Have anybody else had this problem?
the red key was in operator-package rgu. maybe it's related to location search.
[HKEY_CURRENT_USER\Software\HTC\Manila]
"Internet.DisableSearch"=dword:00000001
"Internet.EnableMyLocation"=dword:1
"Internet.SearchURL"=""
"Internet.IsLocationSupportURL"=dword:0
"Internet.EnableSearchChange"=dword:0
reg-keys of 1.36 hd mini rom:
[HKEY_CURRENT_USER\Software\HTC\Manila]
"Internet.CountOfPush"=dword:A
"DefaultBrowserIsIE"=dword:1
"Internet.BannerImage"="\\Windows\\HTC\\Internet\\Assets\\Images\\InternetPortal\\_COM_banner.png"
"Internet.BannerImageWidth"=dword:140
"Internet.BannerImageHeight"=dword:64
"Internet.HideBannerURL"=dword:1
"Internet.EnableMyLocation"=dword:0
"Internet.SearchURL"=""
"Internet.IsLocationSupportURL"=dword:0
hd mini 1.36 internet_pages.xml:
Code:
<Manila>
<Navigation>
<PageGroup Name="Root"/>
</Navigation>
<DialogManager>
<DialogGroup Name="Dialogs">
<SimpleDialog Name="internet_add_remove.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true"/>
<DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]"/>
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]"/>
</DialogItem>
[COLOR="Red"] </SimpleDialog>
<SimpleDialog Name="internet_add_remove_location_disable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true"/>
<DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]"/>
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]"/>
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_ENABLE]]"/>
</DialogItem>
</SimpleDialog>
<SimpleDialog Name="internet_add_remove_location_enable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true"/>
<DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]"/>
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]"/>
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_DISABLE]]"/>
</DialogItem>
</SimpleDialog>[/COLOR]
<SimpleDialog Name="internet_add_remove_search_cmcc.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true"/>
<DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]"/>
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]"/>
<DialogItem Name="Search" Title="[[IDS_INTERNET_MENU_CHANGESEARCH]]">
<DialogItem Name="CMCC" Title="[[IDS_INTERNET_MENU_CMCC]]"/>
<DialogItem Name="Google" Title="[[IDS_INTERNET_MENU_GOOGLE]]"/>
<DialogItem Name="Baidu" Title="[[IDS_INTERNET_MENU_BAIDU]]"/>
</DialogItem>
</DialogItem>
</SimpleDialog>
[COLOR="Red"] <SimpleDialog Name="internet_add_remove_search_cmcc_location_enable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true"/>
<DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]"/>
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]"/>
<DialogItem Name="Search" Title="[[IDS_INTERNET_MENU_CHANGESEARCH]]">
<DialogItem Name="CMCC" Title="[[IDS_INTERNET_MENU_CMCC]]"/>
<DialogItem Name="Google" Title="[[IDS_INTERNET_MENU_GOOGLE]]"/>
<DialogItem Name="Baidu" Title="[[IDS_INTERNET_MENU_BAIDU]]"/>
</DialogItem>
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_DISABLE]]"/>
</DialogItem>
</SimpleDialog>
<SimpleDialog Name="internet_add_remove_search_cmcc_location_disable.dialog" PackageName="HTC">
<ComponentReference Name="dialogItem" Mode9Path="HTC\Common\simpledialog.mode9" Component="SimpleDialog" SmartComponent="true"/>
<DialogItem Name="Menu">
<DialogItem Name="Add" Title="[[IDS_INTERNET_MENU_ADD]]"/>
<DialogItem Name="Remove" Title="[[IDS_INTERNET_MENU_REMOVE]]"/>
<DialogItem Name="Search" Title="[[IDS_INTERNET_MENU_CHANGESEARCH]]">
<DialogItem Name="CMCC" Title="[[IDS_INTERNET_MENU_CMCC]]"/>
<DialogItem Name="Google" Title="[[IDS_INTERNET_MENU_GOOGLE]]"/>
<DialogItem Name="Baidu" Title="[[IDS_INTERNET_MENU_BAIDU]]"/>
</DialogItem>
<DialogItem Name="Location" Title="[[IDS_INTERNET_MENU_LOCATION_ENABLE]]"/>
</DialogItem>
</SimpleDialog>[/COLOR]
</DialogGroup>
</DialogManager>
</Manila>
edit:
red key completely disables search bar.. maybe it gets replaced by the location search bar...
htc geo service find in this rom:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\HTCGeoService]
"TimeOut4GetCityName"=dword:00002710 (key is not inside 2.13 rom for example)

Moto X Hidden Hardware (4K Video, 20MP Camera)

I was reading a Brazilian forum today, and a guy posted a topic saying that some guys found out the Moto X has some hidden features, that are not yet activated.
"In fact, Motorola has specified that the device can record up to 1080p/Full HD videos, but actually the hardware is capable of much more than that. According to information from the chip manufacturer (PDF) and Moto X sensor, the set can record videos in Ultra HD or 2K/4K. Yes, this is possible in a smartphone, but just not yet since Motorola has cut the wings of his younger puppy. This happened because the device is not capable of dealing with videos with that quality for several limitations.
Furthermore, the camera, which was rated at 10.5MP, can actually shoot up to 20MP with the RGBC system being converted RGB Bayer with a chip that the device already includes. In that case, why limit that if the device has spare hardware?
The answers to our questions can be up to a name: Android 4.4 Kit Kat, which is only available for Nexus line and has hidden codes that would support Ultra HD videos. Will some features be just waiting to be awakened by an update?"
Click to expand...
Click to collapse
Original thread is here: http://www.motoxbrasil.com.br/threads/20-Moto-X-com-gravação-em-4K-e-verdadeiro-sensor-20MP-Será
What do you think about that?
dicarli said:
I was reading a Brazilian forum today, and a guy posted a topic saying that some guys found out the Moto X has some hidden features, that are not yet activated.
Original thread is here: http://www.motoxbrasil.com.br/threads/20-Moto-X-com-gravação-em-4K-e-verdadeiro-sensor-20MP-Será
What do you think about that?
Click to expand...
Click to collapse
I would assume that how you get this done is by going into system/etc and change the values in the media_profiles.xml
Here's a sample of higher values, if the phone can really go to 4k, you can change these to something drastically higher.
Code:
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2010 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<!DOCTYPE MediaSettings [
<!ELEMENT MediaSettings (CamcorderProfiles,
EncoderOutputFileFormat+,
VideoEncoderCap+,
AudioEncoderCap+,
VideoDecoderCap,
AudioDecoderCap,
VideoEditorCap,
ExportVideoProfile)>
<!ELEMENT CamcorderProfiles (EncoderProfile+, ImageEncoding+, ImageDecoding, Camera)>
<!ELEMENT EncoderProfile (Video, Audio)>
<!ATTLIST EncoderProfile quality (timelapse1080p|timelapse720p|timelapse480p|timelapsehigh|timelapselow|480p|qcif|high|low) #REQUIRED>
<!ATTLIST EncoderProfile fileFormat (mp4|3gp) #REQUIRED>
<!ATTLIST EncoderProfile duration (30|60) #REQUIRED>
<!ELEMENT Video EMPTY>
<!ATTLIST Video codec (h264|h263|m4v) #REQUIRED>
<!ATTLIST Video bitRate CDATA #REQUIRED>
<!ATTLIST Video width CDATA #REQUIRED>
<!ATTLIST Video height CDATA #REQUIRED>
<!ATTLIST Video frameRate CDATA #REQUIRED>
<!ELEMENT Audio EMPTY>
<!ATTLIST Audio codec (amrnb|amrwb|aac) #REQUIRED>
<!ATTLIST Audio bitRate CDATA #REQUIRED>
<!ATTLIST Audio sampleRate CDATA #REQUIRED>
<!ATTLIST Audio channels (1|2) #REQUIRED>
<!ELEMENT ImageEncoding EMPTY>
<!ATTLIST ImageEncoding quality (100|100|100|60|50|40) #REQUIRED>
<!ELEMENT ImageDecoding EMPTY>
<!ATTLIST ImageDecoding memCap CDATA #REQUIRED>
<!ELEMENT Camera EMPTY>
<!ATTLIST Camera previewFrameRate CDATA #REQUIRED>
<!ELEMENT EncoderOutputFileFormat EMPTY>
<!ATTLIST EncoderOutputFileFormat name (mp4|3gp) #REQUIRED>
<!ELEMENT VideoEncoderCap EMPTY>
<!ATTLIST VideoEncoderCap name (h264|h263|m4v|wmv) #REQUIRED>
<!ATTLIST VideoEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST VideoEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap minFrameRate CDATA #REQUIRED>
<!ATTLIST VideoEncoderCap maxFrameRate CDATA #REQUIRED>
<!ELEMENT AudioEncoderCap EMPTY>
<!ATTLIST AudioEncoderCap name (amrnb|amrwb|aac|wma) #REQUIRED>
<!ATTLIST AudioEncoderCap enabled (true|false) #REQUIRED>
<!ATTLIST AudioEncoderCap minBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxBitRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap maxSampleRate CDATA #REQUIRED>
<!ATTLIST AudioEncoderCap minChannels (1|2) #REQUIRED>
<!ATTLIST AudioEncoderCap maxChannels (1|2) #REQUIRED>
<!ELEMENT VideoDecoderCap EMPTY>
<!ATTLIST VideoDecoderCap name (wmv) #REQUIRED>
<!ATTLIST VideoDecoderCap enabled (true|false) #REQUIRED>
<!ELEMENT AudioDecoderCap EMPTY>
<!ATTLIST AudioDecoderCap name (wma) #REQUIRED>
<!ATTLIST AudioDecoderCap enabled (true|false) #REQUIRED>
<!ELEMENT VideoEditorCap EMPTY>
<!ATTLIST VideoEditorCap maxInputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxInputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameWidth CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxOutputFrameHeight CDATA #REQUIRED>
<!ATTLIST VideoEditorCap maxPrefetchYUVFrames CDATA #REQUIRED>
<!ELEMENT ExportVideoProfile EMPTY>
<!ATTLIST ExportVideoProfile name (h263|h264|m4v) #REQUIRED>
<!ATTLIST ExportVideoProfile profile CDATA #REQUIRED>
<!ATTLIST ExportVideoProfile level CDATA #REQUIRED>
]>
<!--
This file is used to declare the multimedia profiles and capabilities
on an android-powered device.
-->
<MediaSettings>
<!-- Each camcorder profile defines a set of predefined configuration parameters -->
<!-- Back Camera -->
<CamcorderProfiles cameraId="0">
<EncoderProfile quality="low" fileFormat="3gp" duration="60">
<Video codec="m4v"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1920"
height="1088"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
<Video codec="m4v"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="qvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="320"
height="240"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1536000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="4000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- [G][AUDIO_FWK_Start] 2012-07-12, [email protected], [common] Change Audio Profile-->
<Audio codec="aac"
bitRate="320000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1088"
frameRate="30" />
<Audio codec="aac"
bitRate="320000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="14000000"
width="1920"
height="1088"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="256000"
width="320"
height="240"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1536000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="4000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- [G][AUDIO_FWK_Start] 2012-07-12, sunghun1[email protected], [common] Change Audio Profile-->
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="320000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapse1080p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="20000000"
width="1920"
height="1088"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="320000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageEncoding quality="100" />
<ImageDecoding memCap="40000000" />
</CamcorderProfiles>
<!-- Front Camera -->
<CamcorderProfiles cameraId="1">
<EncoderProfile quality="low" fileFormat="3gp" duration="60">
<Video codec="m4v"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="high" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- [G][AUDIO_FWK_Start] 2012-07-12, [email protected], [common] Change Audio Profile-->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="qcif" fileFormat="3gp" duration="60">
<Video codec="m4v"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="qvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="256000"
width="320"
height="240"
frameRate="15" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="cif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1536000"
width="352"
height="288"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="4000000"
width="720"
height="480"
frameRate="30" />
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- [G][AUDIO_FWK_Start] 2012-07-12, [email protected], [common] Change Audio Profile-->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapselow" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsehigh" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- [G][AUDIO_FWK_Start] 2012-07-12, [email protected], [common] Change Audio Profile-->
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<EncoderProfile quality="timelapseqcif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="384000"
width="176"
height="144"
frameRate="30" />
<Audio codec="amrnb"
bitRate="12200"
sampleRate="8000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapseqvga" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="256000"
width="320"
height="240"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapsecif" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="1536000"
width="352"
height="288"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse480p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="4000000"
width="720"
height="480"
frameRate="30" />
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="16000"
channels="1" />
</EncoderProfile>
<EncoderProfile quality="timelapse720p" fileFormat="mp4" duration="30">
<Video codec="h264"
bitRate="8000000"
width="1280"
height="720"
frameRate="30" />
<!-- [G][AUDIO_FWK_Start] 2012-07-12, [email protected], [common] Change Audio Profile-->
<!-- audio setting is ignored -->
<Audio codec="aac"
bitRate="96000"
sampleRate="48000"
channels="2" />
</EncoderProfile>
<ImageEncoding quality="90" />
<ImageEncoding quality="80" />
<ImageEncoding quality="70" />
<ImageDecoding memCap="20000000" />
</CamcorderProfiles>
<EncoderOutputFileFormat name="3gp" />
<EncoderOutputFileFormat name="mp4" />
<!--
If a codec is not enabled, it is invisible to the applications
In other words, the applications won't be able to use the codec
or query the capabilities of the codec at all if it is disabled
-->
<VideoEncoderCap name="h264" enabled="true"
minBitRate="64000" maxBitRate="20000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1088"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="h263" enabled="true"
minBitRate="64000" maxBitRate="8000000"
minFrameWidth="176" maxFrameWidth="800"
minFrameHeight="144" maxFrameHeight="480"
minFrameRate="1" maxFrameRate="30" />
<VideoEncoderCap name="m4v" enabled="true"
minBitRate="64000" maxBitRate="20000000"
minFrameWidth="176" maxFrameWidth="1920"
minFrameHeight="144" maxFrameHeight="1088"
minFrameRate="1" maxFrameRate="30" />
<!-- [G][AUDIO_FWK_Start] 2012-07-12, [email protected], [common] Change Audio Profile-->
<AudioEncoderCap name="aac" enabled="true"
minBitRate="8000" maxBitRate="320000"
minSampleRate="8000" maxSampleRate="48000"
minChannels="1" maxChannels="2" />
<AudioEncoderCap name="amrwb" enabled="true"
minBitRate="6600" maxBitRate="23050"
minSampleRate="16000" maxSampleRate="16000"
minChannels="1" maxChannels="1" />
<AudioEncoderCap name="amrnb" enabled="true"
minBitRate="4750" maxBitRate="12200"
minSampleRate="8000" maxSampleRate="8000"
minChannels="1" maxChannels="1" />
<VideoDecoderCap name="wmv" enabled="true"/>
<AudioDecoderCap name="wma" enabled="true"/>
<VideoEditorCap maxInputFrameWidth="1920" maxInputFrameHeight="1088" maxOutputFrameWidth="1920" maxOutputFrameHeight="1088" maxPrefetchYUVFrames="3"/>
<ExportVideoProfile name="h263" profile="1" level="16"/>
<ExportVideoProfile name="h264" profile="1" level="16"/>
<ExportVideoProfile name="m4v" profile="1" level="16"/>
</MediaSettings>
You should read
http://www.ovt.com/products/sensor.php?id=135
dicarli said:
Android 4.4 Jellybean
Click to expand...
Click to collapse
Uh-huh.
This sounds a little crazy to me, honestly, but maybe it's related to the camera APIs that Google removed from 4.4 just prior to launch.
http://arstechnica.com/gadgets/2013...a-new-android-camera-api-supports-camera-raw/
It would be pretty amazing to see a bunch of new "hidden" functionality activated once the code is ready for release.
Sent from my Nexus 7
The image sensor of Moto X is not 20 MP, but indeed is capable of capturing 2k and 4K images, as the OmniVision specs says. The companion chip, the OV660, is the one that supports up to a 20 MP sensor.
What I really would like to see and was a really bummer to my is the possibility to shoot 720p 120fps for a better slow-mo shooting. Just like the iPhone. Any thoughts about that? Maybe is the hardware really too limited for this?
xd1936 said:
Uh-huh.
Click to expand...
Click to collapse
It was written 4.3 Jelly Bean on the official thread, but as we are on KitKat already I changed that myself, and forgot to change the "Jelly Bean" part.
Julianocas said:
You should read
http://www.ovt.com/products/sensor.php?id=135
Click to expand...
Click to collapse
"It supports a primary RGBC camera sensor of up to 20-megapixel in resolution and a secondary RGBC front-facing camera sensor."
So, is it possible?
Being able to record 4k video is plausible. No reason why it shouldn't be able to actually.
dicarli said:
"It supports a primary RGBC camera sensor of up to 20-megapixel in resolution and a secondary RGBC front-facing camera sensor."
So, is it possible?
Click to expand...
Click to collapse
Probably not. Just because the accompanying chip supports it doesn't mean the sensor Moto chose actually is 20mp. Additionally, the way most higher-megapixel sensors get better quality for a lower-resolution output is by something called "pixel binning" - this involves sampling multiple photosites to create one output pixel.
However, this doesn't work on a 2:1 basis - you really need at least a 4:1 reduction in order to get a proper sample. So it'd have to be a 40mp sensor that they were binning down to 10mp. Simply resizing the data after capture doesn't make much sense, when you aren't getting the benefits of binning, you aren't getting the benefits of listing 20mp on your camera spec, you're taking a hit on the processing speed to do the resize, and you're paying a lot of extra money for all of this.
In regards to 4k video, if the processor can handle it, 4k video is actually only about 8 megapixels. Usually, the limitation of 4k video isn't the sensor, it's that the data pipelines can't handle sending 8mp at a rate of 30 frames per second.
So, a year and a half later, is it possible to mod the moto x's camera or somehow enable it's ability to record in 4k similar to how nexus 5 is able to do so on lollipop utilizing snap camera hdr?
I think the 16 GB not enough to recording with 20mb
Q: is it possible reduce the resolution to 480p or 360p?
whgp said:
I think the 16 GB not enough to recording with 20mb
Q: is it possible reduce the resolution to 480p or 360p?
Click to expand...
Click to collapse
Use a 3rd party camera app like "camera KK" which has settings for you to set the audio and video qualities
Bhargav4591 said:
Use a 3rd party camera app like "camera KK" which has settings for you to set the audio and video qualities
Click to expand...
Click to collapse
with 3rd party can't use feature the wrist to launch the camera
whgp said:
with 3rd party can't use feature the wrist to launch the camera
Click to expand...
Click to collapse
Where there is a will, there is a way :silly: :http://venturebeat.com/2013/08/08/twisty-launcher/ ; http://forum.xda-developers.com/moto-x/themes-apps/xposed-twisty-switch-customize-moto-xs-t2722112
Thank you Bhargav4591
video player
can video player of moto x 2013 play 4k videos effortlessly or it will lag?

Dialog or List Preference?

Hi. I have a question.
I have a build a service. Before i start the service, there is an activity. In this Activity the User has 5 Buttons. My Problem now, the user should be able to select an installed app for every Button.
How i can realize it?
My Code looks like this
HTML:
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content">
<PreferenceCategory
android:key="first_category"
android:title="Einstellungen">
</PreferenceCategory>
<PreferenceScreen
android:defaultValue="false"
android:key="Sub1"
android:summary="Nothing to Change"
android:title="Button 1" />
<PreferenceScreen
android:defaultValue="false"
android:key="Sub2"
android:summary="Nothing to Change"
android:title="Button 2" />
<PreferenceScreen
android:defaultValue="false"
android:key="Sub3"
android:summary="Nothing to Change"
android:title="Button 3" />
<CheckBoxPreference
android:defaultValue="false"
android:key="Sub4"
android:summaryOff="WhatsApp"
android:summaryOn="Telegram"
android:title="Button 4" />
<CheckBoxPreference
android:defaultValue="false"
android:key="Sub5"
android:summaryOff="Facebook"
android:summaryOn="Google Play"
android:title="Button 5" />
<CheckBoxPreference
android:defaultValue="false"
android:key="Sub6"
android:summaryOff="Choose Musik Player"
android:summaryOn="Shuttle"
android:title="Button 6" />
<CheckBoxPreference
android:defaultValue="false"
android:key="Sub7"
android:summaryOff="Gallery"
android:summaryOn="QuickPic"
android:title="Button 7" />
<ListPreference
android:entries="@array/listentries"
android:entryValues="@array/listvalues"
android:key="PREF_LIST"
android:summary="Untertitel"
android:title="Überschrift+Dialog" />
<!--<******.samples.Preferences.WorkingDialogPreference-->
<!--android:dialogIcon="@android:drawable/btn_dialog"-->
<!--android:dialogLayout="@layout/activity_menu_with_overlay"-->
<!--android:dialogMessage="Are you sure you wish to reset your quest progress? This action cannot be undone!"-->
<!--android:key="@string/prefKeyResetQuests"-->
<!--android:negativeButtonText="Cancel"-->
<!--android:positiveButtonText="Clear Quests"-->
<!--android:summary="Reset all quest-progress."-->
<!--android:title="Reset Quests" />-->
</PreferenceScreen>
HTML:
[user=439709]@override[/user]
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
addPreferencesFromResource(R.xml.preferences);
}
public class WorkingDialogPreference extends DialogPreference {
public WorkingDialogPreference(Context context, AttributeSet attrs) {
super(context, attrs);
// TODO Auto-generated constructor stub
}
When i enable DialogPreference in preferences.xml my app stop. Sry for my bad English, but i hope you will understand.
Thx for Help!

Please post your favorite controller maps/key maps/remaps for Kodi/SPMC!

I think this should work for both Kodi/SPMC: https://github.com/koying/SPMC/blob/spmc-jarvis/system/keymaps/joystick.xml.sample
Have you ever wanted to customize the buttons on the Shield TV controller? Well, just create a joystick.xml file using the template above and copy it to this location on your Shield TV:
/sdcard/Android/data/com.semperpax.spmc16/files/.spmc/userdata/keymaps
Here's a guide on what the button ID's are:
{
"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'm hoping that we can build up a repository of cool custom controller button remaps for everyone to use and share!
Here's my joystick/controller keymap. All the functions should be self explanatory. Feel free to try it and build upon it to make it better!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Button Mappings : -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 A -->
<!-- 2 B -->
<!-- 3 X -->
<!-- 4 Y -->
<!-- 5 Left Shoulder -->
<!-- 6 Right Shoulder -->
<!-- 7 Back -->
<!-- 8 Start -->
<!-- 9 Left Stick Button -->
<!-- 10 Right Stick Button -->
<!-- 11 D-Pad Up -->
<!-- 12 D-Pad Down -->
<!-- 13 D-Pad Left -->
<!-- 14 D-Pad Right -->
<!-- 15 Back -->
<!-- Axis Mappings: -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 Left Stick L/R -->
<!-- 2 Left Stick U/D -->
<!-- 3 limit +1 Left Trigger -->
<!-- 3 limit -1 Right Trigger -->
<!-- 4 Right Stick L/R -->
<!-- 5 Right Stick U/D -->
<keymap>
<global>
<joystick>
<!-- A selects. B goes back. X gets context menu. Y goes fullscreen and back. -->
<button id="1">Select</button>
<button id="2">Back</button>
<button id="3">ContextMenu</button>
<button id="4">Info</button>
<button id="5"></button>
<button id="6"></button>
<button id="7">Notification(button pressed,7)</button>
<button id="8">RunScript("script.trailer.shortcut")</button>
<!-- Left stick click activates the shutdown menu. -->
<button id="9">Queue</button>
<button id="10">Queue</button>
<button id="11">Up</button>
<button id="12">Down</button>
<button id="13">Left</button>
<button id="14">Right</button>
<button id="15">PreviousMenu</button>
<axis id="1" limit="-1">Up</axis>
<axis id="1" limit="+1">Down</axis>
<axis id="2" limit="-1">Left</axis>
<axis id="2" limit="+1">Right</axis>
<axis id="3" limit="+1">ScrollUp</axis>
<axis id="3" limit="-1">ScrollDown</axis>
<!-- Push up on the right stick for volueme up. Push down for volume down. -->
<axis id="5" limit="-1">PageUp</axis>
<axis id="5" limit="+1">PageDown</axis>
<axis id="4" limit="-1">PrevLetter</axis>
<axis id="4" limit="+1">NextLetter</axis>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
<hat id="1" position="left">Left</hat>
<hat id="1" position="right">Right</hat>
</joystick>
</global>
<Home>
<joystick>
<button id="8">Skin.ToggleSetting(HomeViewToggle)</button>
</joystick>
</Home>
<MyFiles>
<joystick>
<button id="6">Highlight</button>
</joystick>
</MyFiles>
<MyMusicPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyMusicPlaylist>
<MyMusicFiles>
</MyMusicFiles>
<MyMusicLibrary>
</MyMusicLibrary>
<FullscreenVideo>
<joystick>
<!--
A pauses and starts the video.
B stops the video.
X opens the onscreen display.
Y switches in and out of full screen
-->
<button id="1">PlayPause</button>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="4">OSD</button>
<!--
Left shoulder changes aspect ratio.
Right shoulder changes subtitles.
Right stick changes Audio Language.
Start button displays info.
-->
<button id="5">AspectRatio</button>
<button id="6">ShowSubtitles</button>
<button id="8">PlayPause</button>
<button id="9">ZoomOut</button>
<button id="10">ZoomIn</button>
<button id="11">BigStepForward</button>
<button id="12">BigStepBack</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<!-- D-pad does what you'd expect. Triggers fast forward and rewind. Left stick scans forward and back. -->
<axis id="1" limit="+1">volampdown</axis>
<axis id="1" limit="-1">volampup</axis>
<axis id="2" limit="+1">FastForward</axis>
<axis id="2" limit="-1">Rewind</axis>
<axis id="4" limit="+1"></axis>
<axis id="4" limit="-1"></axis>
<axis id="5" limit="+1">NextSubtitle</axis>
<axis id="5" limit="-1">info</axis>
<hat id="1" position="up">BigStepForward</hat>
<hat id="1" position="down">BigStepBack</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenVideo>
<FullscreenLiveTV>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenLiveTV>
<FullscreenRadio>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenRadio>
<FullscreenInfo>
<joystick>
<button id="2">Close</button>
<button id="3">OSD</button>
<button id="8">Close</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
</joystick>
</FullscreenInfo>
<PlayerControls>
<joystick>
<button id="3">Close</button>
<button id="9">Close</button>
<button id="10">Close</button>
</joystick>
</PlayerControls>
<Visualisation>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="3">ActivateWindow(MusicOSD)</button>
<button id="5">ActivateWindow(VisualisationPresetList)</button>
<button id="6">Info</button>
<button id="10">ActivateWindow(MusicOSD)</button>
<button id="11">SkipNext</button>
<button id="12">SkipPrevious</button>
<button id="13">PreviousPreset</button>
<button id="14">NextPreset</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
<hat id="1" position="up">SkipNext</hat>
<hat id="1" position="down">SkipPrevious</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</Visualisation>
<MusicOSD>
<joystick>
<button id="3">Close</button>
<button id="6">Info</button>
</joystick>
</MusicOSD>
<VisualisationSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationSettings>
<VisualisationPresetList>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationPresetList>
<SlideShow>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="4">ZoomNormal</button>
<button id="5">Rotate</button>
<button id="6">CodecInfo</button>
<button id="11">ZoomIn</button>
<button id="12">ZoomOut</button>
<button id="13">PreviousPicture</button>
<button id="14">NextPicture</button>
<axis id="1">AnalogMove</axis>
<axis id="2">AnalogMove</axis>
<axis id="3" limit="+1">ZoomOut</axis>
<axis id="3" limit="-1">ZoomIn</axis>
<hat id="1" position="up">ZoomIn</hat>
<hat id="1" position="down">ZoomOut</hat>
<hat id="1" position="left">PreviousPicture</hat>
<hat id="1" position="right">NextPicture</hat>
</joystick>
</SlideShow>
<ScreenCalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</ScreenCalibration>
<GUICalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</GUICalibration>
<VideoOSD>
<joystick>
<button id="3">Close</button>
</joystick>
</VideoOSD>
<VideoMenu>
<joystick>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="5">AspectRatio</button>
<button id="8">Info</button>
</joystick>
</VideoMenu>
<OSDVideoSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDVideoSettings>
<OSDAudioSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDAudioSettings>
<VideoBookmarks>
<joystick>
<button id="5">Delete</button>
</joystick>
</VideoBookmarks>
<MyVideoLibrary>
</MyVideoLibrary>
<MyVideoFiles>
</MyVideoFiles>
<MyVideoPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyVideoPlaylist>
<VirtualKeyboard>
<joystick>
<button id="2">BackSpace</button>
<button id="4">Symbols</button>
<button id="5">Shift</button>
<button id="9">Enter</button>
<button id="3">VoiceRecognizer</button>
<axis id="3" limit="+1">CursorLeft</axis>
<axis id="3" limit="-1">CursorRight</axis>
</joystick>
</VirtualKeyboard>
<ContextMenu>
<joystick>
<button id="2">Close</button>
<button id="3">Close</button>
</joystick>
</ContextMenu>
<Scripts>
<joystick>
<button id="3">Info</button>
</joystick>
</Scripts>
<Settings>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</Settings>
<AddonInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonInformation>
<AddonSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonSettings>
<TextViewer>
<joystick>
<button id="2">Close</button>
</joystick>
</TextViewer>
<shutdownmenu>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">PreviousMenu</button>
</joystick>
</shutdownmenu>
<submenu>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</submenu>
<MusicInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MusicInformation>
<MovieInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MovieInformation>
<NumericInput>
<joystick>
<button id="2">BackSpace</button>
<button id="9">Enter</button>
</joystick>
</NumericInput>
<GamepadInput>
<joystick>
<button id="9">Stop</button>
</joystick>
</GamepadInput>
<LockSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</LockSettings>
<ProfileSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</ProfileSettings>
</keymap>
You must install the attached zip file in order for the one touch movie trailers feature to work.
I really love using my controller with Kodi/SPMC now!!
Links to some Kodi commands:
http://kodi.wiki/view/list_of_built-in_functions
http://kodi.wiki/view/Keyboard_controls
Here's the thread for the Nvidia Shield TV Remote:
http://forum.xda-developers.com/shield-tv/help/remapping-nvidia-shield-tv-game-t3290726
on the original xbmc for the old xbox, you could use the analogue triggers as analogue fast forward/rewind, so as when you pressed gently it would go at 2×, then the more you pressed down on the trigger, the faster it got. would be good to be able to do that.
Neo3D said:
Here's my joystick/controller keymap. All the functions should be self explanatory. Feel free to try it and build upon it to make it better!
Code:
<?xml version="1.0" encoding="UTF-8"?>
<!-- Button Mappings : -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 A -->
<!-- 2 B -->
<!-- 3 X -->
<!-- 4 Y -->
<!-- 5 Left Shoulder -->
<!-- 6 Right Shoulder -->
<!-- 7 Back -->
<!-- 8 Start -->
<!-- 9 Left Stick Button -->
<!-- 10 Right Stick Button -->
<!-- 11 D-Pad Up -->
<!-- 12 D-Pad Down -->
<!-- 13 D-Pad Left -->
<!-- 14 D-Pad Right -->
<!-- 15 Back -->
<!-- Axis Mappings: -->
<!-- -->
<!-- ID Button -->
<!-- -->
<!-- 1 Left Stick L/R -->
<!-- 2 Left Stick U/D -->
<!-- 3 limit +1 Left Trigger -->
<!-- 3 limit -1 Right Trigger -->
<!-- 4 Right Stick L/R -->
<!-- 5 Right Stick U/D -->
<keymap>
<global>
<joystick>
<!-- A selects. B goes back. X gets context menu. Y goes fullscreen and back. -->
<button id="1">Select</button>
<button id="2">Back</button>
<button id="3">ContextMenu</button>
<button id="4">Info</button>
<button id="5"></button>
<button id="6"></button>
<button id="7">Notification(button pressed,7)</button>
<button id="8">RunScript("script.trailer.shortcut")</button>
<!-- Left stick click activates the shutdown menu. -->
<button id="9">Queue</button>
<button id="10">Queue</button>
<button id="11">Up</button>
<button id="12">Down</button>
<button id="13">Left</button>
<button id="14">Right</button>
<button id="15">PreviousMenu</button>
<axis id="1" limit="-1">Up</axis>
<axis id="1" limit="+1">Down</axis>
<axis id="2" limit="-1">Left</axis>
<axis id="2" limit="+1">Right</axis>
<axis id="3" limit="+1">ScrollUp</axis>
<axis id="3" limit="-1">ScrollDown</axis>
<!-- Push up on the right stick for volueme up. Push down for volume down. -->
<axis id="5" limit="-1">PageUp</axis>
<axis id="5" limit="+1">PageDown</axis>
<axis id="4" limit="-1">PrevLetter</axis>
<axis id="4" limit="+1">NextLetter</axis>
<hat id="1" position="up">Up</hat>
<hat id="1" position="down">Down</hat>
<hat id="1" position="left">Left</hat>
<hat id="1" position="right">Right</hat>
</joystick>
</global>
<Home>
<joystick>
<button id="8">Skin.ToggleSetting(HomeViewToggle)</button>
</joystick>
</Home>
<MyFiles>
<joystick>
<button id="6">Highlight</button>
</joystick>
</MyFiles>
<MyMusicPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyMusicPlaylist>
<MyMusicFiles>
</MyMusicFiles>
<MyMusicLibrary>
</MyMusicLibrary>
<FullscreenVideo>
<joystick>
<!--
A pauses and starts the video.
B stops the video.
X opens the onscreen display.
Y switches in and out of full screen
-->
<button id="1">PlayPause</button>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="4">OSD</button>
<!--
Left shoulder changes aspect ratio.
Right shoulder changes subtitles.
Right stick changes Audio Language.
Start button displays info.
-->
<button id="5">AspectRatio</button>
<button id="6">ShowSubtitles</button>
<button id="8">PlayPause</button>
<button id="9">ZoomOut</button>
<button id="10">ZoomIn</button>
<button id="11">BigStepForward</button>
<button id="12">BigStepBack</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<!-- D-pad does what you'd expect. Triggers fast forward and rewind. Left stick scans forward and back. -->
<axis id="1" limit="+1">volampdown</axis>
<axis id="1" limit="-1">volampup</axis>
<axis id="2" limit="+1">FastForward</axis>
<axis id="2" limit="-1">Rewind</axis>
<axis id="4" limit="+1"></axis>
<axis id="4" limit="-1"></axis>
<axis id="5" limit="+1">NextSubtitle</axis>
<axis id="5" limit="-1">info</axis>
<hat id="1" position="up">BigStepForward</hat>
<hat id="1" position="down">BigStepBack</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenVideo>
<FullscreenLiveTV>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenLiveTV>
<FullscreenRadio>
<joystick>
<button id="11">ChannelUp</button>
<button id="12">ChannelDown</button>
<button id="13">StepBack</button>
<button id="14">StepForward</button>
<hat id="1" position="up">ChannelUp</hat>
<hat id="1" position="down">ChannelDown</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</FullscreenRadio>
<FullscreenInfo>
<joystick>
<button id="2">Close</button>
<button id="3">OSD</button>
<button id="8">Close</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
</joystick>
</FullscreenInfo>
<PlayerControls>
<joystick>
<button id="3">Close</button>
<button id="9">Close</button>
<button id="10">Close</button>
</joystick>
</PlayerControls>
<Visualisation>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="3">ActivateWindow(MusicOSD)</button>
<button id="5">ActivateWindow(VisualisationPresetList)</button>
<button id="6">Info</button>
<button id="10">ActivateWindow(MusicOSD)</button>
<button id="11">SkipNext</button>
<button id="12">SkipPrevious</button>
<button id="13">PreviousPreset</button>
<button id="14">NextPreset</button>
<axis id="3" limit="+1">AnalogRewind</axis>
<axis id="3" limit="-1">AnalogFastForward</axis>
<hat id="1" position="up">SkipNext</hat>
<hat id="1" position="down">SkipPrevious</hat>
<hat id="1" position="left">StepBack</hat>
<hat id="1" position="right">StepForward</hat>
</joystick>
</Visualisation>
<MusicOSD>
<joystick>
<button id="3">Close</button>
<button id="6">Info</button>
</joystick>
</MusicOSD>
<VisualisationSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationSettings>
<VisualisationPresetList>
<joystick>
<button id="2">Close</button>
</joystick>
</VisualisationPresetList>
<SlideShow>
<joystick>
<button id="1">Pause</button>
<button id="2">Stop</button>
<button id="4">ZoomNormal</button>
<button id="5">Rotate</button>
<button id="6">CodecInfo</button>
<button id="11">ZoomIn</button>
<button id="12">ZoomOut</button>
<button id="13">PreviousPicture</button>
<button id="14">NextPicture</button>
<axis id="1">AnalogMove</axis>
<axis id="2">AnalogMove</axis>
<axis id="3" limit="+1">ZoomOut</axis>
<axis id="3" limit="-1">ZoomIn</axis>
<hat id="1" position="up">ZoomIn</hat>
<hat id="1" position="down">ZoomOut</hat>
<hat id="1" position="left">PreviousPicture</hat>
<hat id="1" position="right">NextPicture</hat>
</joystick>
</SlideShow>
<ScreenCalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</ScreenCalibration>
<GUICalibration>
<joystick>
<button id="3">ResetCalibration</button>
<button id="5">NextResolution</button>
<button id="6">NextCalibration</button>
</joystick>
</GUICalibration>
<VideoOSD>
<joystick>
<button id="3">Close</button>
</joystick>
</VideoOSD>
<VideoMenu>
<joystick>
<button id="2">Stop</button>
<button id="3">OSD</button>
<button id="5">AspectRatio</button>
<button id="8">Info</button>
</joystick>
</VideoMenu>
<OSDVideoSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDVideoSettings>
<OSDAudioSettings>
<joystick>
<button id="5">AspectRatio</button>
<button id="3">Close</button>
</joystick>
</OSDAudioSettings>
<VideoBookmarks>
<joystick>
<button id="5">Delete</button>
</joystick>
</VideoBookmarks>
<MyVideoLibrary>
</MyVideoLibrary>
<MyVideoFiles>
</MyVideoFiles>
<MyVideoPlaylist>
<joystick>
<button id="5">Delete</button>
</joystick>
</MyVideoPlaylist>
<VirtualKeyboard>
<joystick>
<button id="2">BackSpace</button>
<button id="4">Symbols</button>
<button id="5">Shift</button>
<button id="9">Enter</button>
<button id="3">VoiceRecognizer</button>
<axis id="3" limit="+1">CursorLeft</axis>
<axis id="3" limit="-1">CursorRight</axis>
</joystick>
</VirtualKeyboard>
<ContextMenu>
<joystick>
<button id="2">Close</button>
<button id="3">Close</button>
</joystick>
</ContextMenu>
<Scripts>
<joystick>
<button id="3">Info</button>
</joystick>
</Scripts>
<Settings>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</Settings>
<AddonInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonInformation>
<AddonSettings>
<joystick>
<button id="2">Close</button>
</joystick>
</AddonSettings>
<TextViewer>
<joystick>
<button id="2">Close</button>
</joystick>
</TextViewer>
<shutdownmenu>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">PreviousMenu</button>
</joystick>
</shutdownmenu>
<submenu>
<joystick>
<button id="2">PreviousMenu</button>
</joystick>
</submenu>
<MusicInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MusicInformation>
<MovieInformation>
<joystick>
<button id="2">Close</button>
</joystick>
</MovieInformation>
<NumericInput>
<joystick>
<button id="2">BackSpace</button>
<button id="9">Enter</button>
</joystick>
</NumericInput>
<GamepadInput>
<joystick>
<button id="9">Stop</button>
</joystick>
</GamepadInput>
<LockSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</LockSettings>
<ProfileSettings>
<joystick>
<button id="2">PreviousMenu</button>
<button id="9">Close</button>
</joystick>
</ProfileSettings>
</keymap>
You must install the attached zip file in order for the one touch movie trailers feature to work.
I really love using my controller with Kodi/SPMC now!!
Click to expand...
Click to collapse
Could you make an alternate version of this just with b as back button instead of stop so it behaves like back button if you know what I mean...
Mr Creosote said:
on the original xbmc for the old xbox, you could use the analogue triggers as analogue fast forward/rewind, so as when you pressed gently it would go at 2×, then the more you pressed down on the trigger, the faster it got. would be good to be able to do that.
Click to expand...
Click to collapse
Code:
<!-- 3 limit +1 Left Trigger -->
<!-- 3 limit -1 Right Trigger -->
I couldn't get the analog triggers to work.
Code:
<axis id="3" limit="-1">Notification(button pressed,3minus)</axis>
<axis id="3" limit="+1">Notification(button pressed,3plus)</axis>
Slayerkodi said:
Could you make an alternate version of this just with b as back button instead of stop so it behaves like back button if you know what I mean...
Click to expand...
Click to collapse
Just change "Stop" to "Back" in the xml file.
Did anyone find a way to get the triggers working at all?
Anyway to get this working with spmc 17? Doesnt seem to be working for me. Also im using titan media beta skin and using the netflix view, a option on this skin is to auto play trailer like netflix Does, but only seem to working for the first trailer for me Does anyone else have this issue

Categories

Resources