Manilla Problem - Touch Diamond, MDA Compact IV General

Read through this post , saw some people had the same problem as I am having now, but it was never assessed. I am modifying 26948339_manila and adding in the root <PageGroup name="Root"> the following to have the comm manager as one of my tabs:
<Page Order="10" Name="communications.page" PackageName="HTC" Title="[[Communications]]">
<ComponentReference Name="page" Mode9Path="HTC\settings.mode9" Component="CommunicationsPageComponent" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\icons.mode9" Component="Settings_Communication_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\icons.mode9" Component="Settings_Communication_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\icons.mode9" Component="Settings_Communication_Preview" />
</Page>
Click to expand...
Click to collapse
I even tried Title="[[IDS_COMMUNICATIONS]]" but whenever i restart TFL3D, it keeps telling me please tap here to start Touch Flow 3D.
My last Order is 9 with Programs
Any ideas?
Does having modified my COMM manager with "BG Diamond Style CommManager 10 Buttons" makes a difference?

Related

Call history tab added in TF3D (by mistake!)

I was changing my TF3D them using sushilange's new theme changing thingy (Props to him for that).
I tried to change the theme from unbranded to the Orange (with live tv etc), while changing the theme, the device froze whilst installing the mp4 decoder .dll (or maybe i was just too impatient ), and I did a soft reset.
I now have all of the tabs from the Orange theme, however all but the Orange TV and Download ones are in the original theme (oh and the SMS tab has a white background making it unreadable - if it wasn't for that I wouldn't have changed the theme back)
Screenie attached.
Does this mean there is someway to add the tab but keep the original theme?
Hope someone clever enough can work it out! - I know a lot of people would like this!
Yes of course it will work!
In the next days I'll release many new themes which are mixes of the current themes. For example the call history on all themes, or the O2-Icons on HTC Black, etc.
Woop!
Didn't realise you were gonna do this!! Gonna be keeping a close eye on your threads haha
Thanks a lot
Hey Sushi,
MarcLandis and me played a little bit around with this. But we haven't found the solution yet, what has to be happen to get the call log tab in the original HTC Black theme? Found the 3 files for call log for en and de (583098db_manila, 62b1c5d9_manila and 6c6fe4c7_manila). But when I try to just copy them to \windows I got told, that it is already existing. So where have to be made changes as well?
Regards from Berlin
MasterOfDesaster
You have to add this to 26948339_manila:
Code:
<Page Order="10" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]">
<ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
<ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
</Page>
Be careful with Page Order="10". Maybe you have to change the order-number.
I can't add those lines, I'm told the file is in use or I haven't rights to overwrite it! Do you have suggestions about it?
You should do this only if you know how... so it would be easier to use my themes...
You have to remove the file attributes "Read Only" and maybe "System" too.
I know what do you mean... but I have to try...just to learn something more about this system!
I really thank so much!
All we need now is someone to figure out how to add custom tabs to TF3D, to add things like batterystatus, or coreplayer tabs.
an SDK, an SDK, my old HTC Trinity for an SDK!
@Antimus: We are working on it, but I think it will still takes a long time until we figured it out.
I thought as much, I had a gander through the config files and it wasn't the simplest application I've ever seen.
DO NOTE ADD MY POSTED CODE INTO THE MANILA-FILE!
It is not working right at the moment.
yep, works fine until I want to switch to another TF3d tab. After that TF3d freezes )))
Hope, you'll find the solution.
saintman2 said:
yep, works fine until I want to switch to another TF3d tab. After that TF3d freezes )))
Hope, you'll find the solution.
Click to expand...
Click to collapse
Did you click on "Menu" on the call history tab? I think that will cause the problem.
sushilange said:
You have to add this to 26948339_manila:
Code:
<Page Order="10" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]">
<ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
<ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
</Page>
Be careful with Page Order="10". Maybe you have to change the order-number.
Click to expand...
Click to collapse
Really nice !
Wich other tabs that we can adding on TF3D ?
Thanks Sushi, for your great work !
A coffee from me soon ... Héhé
PS : Same like saintman2, TFD freeze after switching to another tab ...
sushilange said:
Did you click on "Menu" on the call history tab? I think that will cause the problem.
Click to expand...
Click to collapse
Tried, Diamond itself works OK, but TF3d is freezed.
saintman2 said:
Tried, Diamond itself works OK, but TF3d is freezed.
Click to expand...
Click to collapse
I just want to know whether TF3D freezes after you click on "Menu" on call history tab.
If I not click Menu everything works fine, but after clicking on "Menu" and then changing the tab it's freezing.
But I have figured out, what the problem is...
Hey guys,
try this:
Code:
<Page Order="4" Name="callhistory.page" PackageName="HTC" Title="[[IDS_CALLLOGTITLE]]" ExternalScriptPath="HTC\Scripts\orangecalllogtransitions.luac">
<ComponentReference Name="page" Mode9Path="HTC\CallLog.mode9" Component="GizmoRoot" SmartComponent="true" />
<ComponentReference Name="icon_normal" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Off" />
<ComponentReference Name="icon_selected" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_On" />
<ComponentReference Name="icon_preview" Mode9Path="HTC\Icons.mode9" Component="People_CallHistory_Preview" />
<ComponentReference Name="icon_notification" Mode9Path="HTC\Icons.mode9" Component="Notification_People_CallHistory" />
</Page>
And copy attached file (rename it to 1d1ee632_manila) to windows-directory.
sushilange,
After applying your second "version" freezing stoped when switching between tabs.
But still Windows generates an error report after clicking "Menu" in Call History.
In any way thanks for your efforts ))
hm... that's strange. If I click on Menu nothing happens.

WM 6.5 Highlight of the start button

After pressing the start button in WM 6.1 the start button was hightlighted. In WM 6.5 the button is not highlighted...so in the folder "\SYS\23016\DPI_192\COMMON\Base_DPI_192" is an png called "black_taskbarHighlight.png" which is for highlighting the start button.
For Hightlighting the honeycomb icons we have to add the following line to "StartMenu_GridScene_480x800.cpr":
<Image ID="Selection" Left="0" Top="0" Width="192" Height="166" Source=".\StartMenu_Selection.png" />
So the question is what do we have to add for making the start button highlight available?`Any ideas?
ANDYx1975 said:
After pressing the start button in WM 6.1 the start button was hightlighted. In WM 6.5 the button is not highlighted...so in the folder "\SYS\23016\DPI_192\COMMON\Base_DPI_192" is an png called "black_taskbarHighlight.png" which is for highlighting the start button.
For Hightlighting the honeycomb icons we have to add the following line to "StartMenu_GridScene_480x800.cpr":
<Image ID="Selection" Left="0" Top="0" Width="192" Height="166" Source=".\StartMenu_Selection.png" />
So the question is what do we have to add for making the start button highlight available?`Any ideas?
Click to expand...
Click to collapse
I would start by using a similar line just replace with the correct .png. You might have to play with the values of left and top a little to get it centered and width and height. just try it and see if it works.
The top taskbar is not controlled by a cpr file, so no simple text editing. I'm pretty sure you would have to edit the Shellressometing.dll.mui, so no simple text editing.
And next time, don't post 3 different threads.
dwizzy130
bobsbbq said:
I would start by using a similar line just replace with the correct .png. You might have to play with the values of left and top a little to get it centered and width and height. just try it and see if it works.
Click to expand...
Click to collapse
The values for top and line are already at 0...so you can not move up to the taskbar. Dwizzy130 might be right.

[Q] Configure the 'long press search button'

There is any way to disable/enable the applications that shown when I long press the search button?
I have too many apps that I want to delete from this "complete action using" at search.
I'v noticed this code (about adding app to the long press search):
<intent-filter>
<action android:name="android.intent.action.SEARCH_LONG_PRESS" />
<category android:name="android.intent.category.DEFAULT" />
</intent-filter>
Click to expand...
Click to collapse
Anyway I guess there is a way to disable this code from the applications that shown on the 'search button'.
How do I do that ?
I also tried to find any application that doing this, but didn't find any.
anyone have any idea ?
If you decompile the apps that you don't want to capture the long press, change their Manifest and recompile them - you'll be able to achieve what you want. I believe it isn't the right way - apps get updated, once modified - you'll lose the updates.
The only other way is to uninstall the apps.
So there isn't actually a way to cut them off...
Thanks mate!

[Q] Need some DEV assistance for soft lock button

Hey guys! I need some help putting soft lock button on the upper right part of the screen next to the clock like in SVA roms I don't want to mess my power button on the phone so i tought that it might be useful to use the screen lock button from SVA So I decompiled framework-res.apk, SystemUI.apk but I couldn't find where exactly are the codes for this. I'm a bit of a newbie but i learn fast so... I'm using this only for educational purposes and i'm not going to steal SVA's work! Thanks in advance and Happy new year! Cheers!
Decompile SystemUI.apk
Code:
<ImageView android:gravity="center" android:id="@id/battery" android:layout_width="wrap_content" android:layout_height="wrap_content" />
</LinearLayout>
Look for the above line in SystemUI.apk\res\layout/tw_status_bar.xml and add the below code with your choice of ic_sysbar_lock.png in SystemUI.apk\res\drawable-xhdpi
Code:
<com.android.systemui.statusbar.policy.KeyButtonView android:id="@id/back" android:paddingLeft="0.5dip" android:paddingRight="0.5dip" android:layout_width="25.0dip" android:layout_height="fill_parent" android:src="@drawable/ic_sysbar_lock" android:layout_toRightOf="@id/recent_apps" android:contentDescription="@string/accessibility_back" systemui:keyCode="26" systemui:glowBackground="@drawable/ic_sysbar_highlight" />
recomplie systemUI.apk
Jeez nokiamodeln91... I'm watching you since I joined xda and how the hell you have answer to every question?? Thanks a lot I'm going to try this and let's see what happens... My idea is to put this screen lock button to Angry rom... Is it going to be a problem with this rom because of the density changing? Hope not.. I'll try this and will write what happens
hmmm dont know about changed density. but worth a try.. be sure to keep a backup of the systemUI.apk.. incase something goes wrong. a reference can be used by downloading the darboc/Olifexs mods that have a lock button, unzip the systemui and decompile and check the above file i mentioned.. this way you will have something tor refer when changing your original fine.
Thanks a lot nokia!!!!! It works on all densities! here is a screenshot
Yea... You made it.
Sent from my GT-N7000 using xda premium
kokodv said:
Thanks a lot nokia!!!!! It works on all densities! here is a screenshot
Click to expand...
Click to collapse
Nice I too hate using power button for locking..but I yet to start learning the things which you did now..so, I use this for time being & it works without being seen on screen as widget

Widgets positions on apk are not the same from Design View

Hello there! I'm starting to learn about Android development and Android Studio.
I'm building some simple apks but when I run them on my phone (or BlueStacks simulator), all of the fields/widgets are on top of the screen and on top of each other.
Can anyone please help me? I have no idea why this is hapening.
Could you post what your xml looks like?
mrgiles said:
Could you post what your xml looks like?
Click to expand...
Click to collapse
<Button
android:id="@+id/btOk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="OK"
tools:layout_editor_absoluteX="148dp"
tools:layout_editor_absoluteY="198dp" />
<TextView
android:id="@+id/tvTitulo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Bloco de Notas"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
On Design View the button and the TextView are exactly where I put them (Text View on left top and button on the middle of the screen) but when I install the APK on my phone or simulator the button are on top of the screen and on top of the TextView (left top).
(I had to remove some lines because since I'm new this forum won't let me post outside links)
manubittencourt said:
<Button
android:id="@+id/btOk"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="OK"
tools:layout_editor_absoluteX="148dp"
tools:layout_editor_absoluteY="198dp" />
<TextView
android:id="@+id/tvTitulo"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Bloco de Notas"
tools:layout_editor_absoluteX="16dp"
tools:layout_editor_absoluteY="16dp" />
On Design View the button and the TextView are exactly where I put them (Text View on left top and button on the middle of the screen) but when I install the APK on my phone or simulator the button are on top of the screen and on top of the TextView (left top).
(I had to remove some lines because since I'm new this forum won't let me post outside links)
Click to expand...
Click to collapse
What's your root layout? I would recommend not using the absoluteX and absoluteY. Instead use layout_alignParentTop or layout_below if you are using a relative layout. If you are using a constraintLayout you can use anchor points to make sure they are in the part of the screen you want. You can also use margin and padding to help give it the spacing you want.
use LinearLayout with vertical orientation as your parent root so everything will be aligned vertically

Categories

Resources