yashsingh1/xdaforums huggingface dataset:
[Touch Pro2, Tilt 2 Windows Mobile General] andrew-in-woking:
Registry

He paphko

The solution is in the registry. Go to:

[HKLM/Software/HTC/Manila/ProgramLauncher/X]

where X is the number of the launcher button that you want to customise.

In this Key you need to make the following registry changes (without the quotes):

Command = "--switchtopage Manila://settings.page"

Dispname = "[[IDS_SETTINGSTITLE]]

IconPath = "\Windows\HTC\Assets\Images\programlauncher\Program_icon\settings_88.qtc"

IsReadOnly = "0"

Path = "\Windows\Manila"

Out of interest you can see the relevant tab title and display name under:

[HKLM/Software/HTC/Manila/Configuration/X]

again, where X is the number of the tab you want to view. Also, there are various *.qtc files in the windows folder (if you display the folder sorting by extension they become obvious). These files can be used in the Manila Start Menu and Program Launcher.

Hope that helps

andrew-in-woking
[Touch Pro2, Tilt 2 Windows Mobile General] McDoPDA:
Thanks for your help, it is useful for me too. Can you precise if the first button number is 0 ou 1 ?

EDIT : I answer myself, first button is 0. It works fine ;)
[Touch Pro2, Tilt 2 Windows Mobile General] mika34:
Smaberg`s Power button action screen!!!

There You go. Someone was asking about it. Works good.

http://rapidshare.com/files/258397957/Smaberg_X1_Powerbutton_12_icons_actionscreen_v_1.0.cab
[Touch Pro2, Tilt 2 Windows Mobile General] McDoPDA:
The bluetooth switch doesn't work on my TP2. Does it work for you ?
[Touch Pro2, Tilt 2 Windows Mobile General] paphko:
Great job, works like a charm :cool:

Thank you!!!
[Touch Pro2, Tilt 2 Windows Mobile General] andrew-in-woking:
TF3D font substitution

Hi all

Check out my font substitution and example in this thread:

http://xdaforums.com/showthread.php?t=539091

The method is not perfect so if anybody knows a better way of doing it please update the forum.

Cheers

andrew-in-woking
[Touch Pro2, Tilt 2 Windows Mobile General] ronh:
No it doesn't.

The program was written for the Xperia X1, and the X1 uses the Microsoft BT stack.

The Rhodium uses the Widcomm BT stack.

So it won't work until Smaberg is willing to write a new version... :rolleyes:
[Touch Pro2, Tilt 2 Windows Mobile General] McDoPDA:
:( Thanks for your answer.
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
Hi,

I've just bought a TP2 and reading through the forum I've picked up that the TP2 is customisable.

My questions are basically

-how customisable is the TP2?? i.e. is it only themes n ringtones that can be changed or can anything be changed on the phone??

Also ive read that applications like radio dont come standard on the TP2 need to be added manually.

-how hard is it to do this and does anybody have any tutorials on how to add apps and where can i get them from??

thanks
[Touch Pro2, Tilt 2 Windows Mobile General] mallman:
the device isnt the variable in customization, virtually every aspect of the TP2 is customizable and as the days go by and the devs create more things the options just become greater.

the radio add is simply installing the radio cab file, takes all of 10 seconds. All you really need to do (for the most part) for different app installs is to read if they support your resolution (480x800).
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
so regarding customising to confirm basically got to wait for the realse of items for the phone.

is there a tutorial on how to add a cab file as this is my 1st HTC phone,,,

also where can i get these apps from pls??

thanks
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
O btw got another Q

the customisation of the TP2 isnt customising the phone but the windows OS is that right??

so if i find a good thing for windows OS and its for the right version and correct resolution it should work??
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
thanks for your help btw

there doesnt seem to be a thanks button

thanks again
[Touch Pro2, Tilt 2 Windows Mobile General] beast0898:
Hi,

Welcome to forums.

Yes there are literaly millions of apps out there for WinMo from any category you can think of, productivity, media players / streamers, games, tools etc etc.

Most apps come in two forms, .cab file extension which can be copied to the memory on the device and run from the file manager, or .exe (the windows normally executable) these are installed on your desktop and the app is then installed to the device the next time you sync it with active sync.

Before getting too in depth, I advise you to read the Wiki, and the first post at the top of this forum. Familiarise yourself with the devices basic functions and where everything in the OS, that way you'll pick things up a lot quicker when reading through posts on the forum.

The entire OS is customisable, skins, pre-installed apps, added functionality (patching missing or poor functionality (NFFP issues) and anything else you can think. What we do here is port newer builds from newer devices to get the latest OS builds and optimisations for our current devices.

Have a good read, you'll understand a lot better.:cool:

Cheers,

Beasty
[Touch Pro2, Tilt 2 Windows Mobile General] beast0898:
You can thank us all by donating to the site mate (not mandatory at all) but it helps keeps this place going.

Cheers,

Beasty
[Touch Pro2, Tilt 2 Windows Mobile General] quarintus:
Indeed welcome to the forums.

It seems this is your first windows mobile phone? you can compare it with your windows pc a bit, only it's a bit less complex, though it still is.

On windows you can install every application that is ment for windows. As long as your system meets the system requirements of the software. It's the same with your Touch pro 2.

A lot of software has diffrent versions of their applications, each for a diffrent screen size. This reduces the size of the application (instead of installing the application for all sizes).

There are . CAB files. These are the regular installation files for you phone. Copy them to your phone and run it. (you can upload by bluetooth, but active sync is easier and faster) Then there are .exe files for mobile apps. These you install on you pc while you phone is connected via active sync. Your computer will then install it on your phone.

Now for the customisation part. This is indeed customising the OS. In the (near?) future, there will be a lot of selfmade (cooked) roms available. This goes with a lot of testing, it's the trial and error way of working.

As this is your first WM mobile?, I suggest you wait a while before customizing anything and installing custom roms. I would wait untill there are some stable roms available. Also you need to install HardSPL to make flashing (installing new Roms, and thus new OS versions) less risky. Because flashing and customizing isn't without risk.

I've been doing it quite a while (flashing) and it never went wrong, but there are also people where it did went wrong.
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
first off thanks beast & quarin when i get paid ill try to donate something to the site.

I'll definatly have a read into the wiki before doing anything to the phone and yes this is my 1st windows mobile so I will just it for a while to get used to it then possible start customising it.

In regards to the apps i can get apart from in this forum are there any other sites where i can download them from??

Also i do have 1 more question but its a just in case kind of question.

Ive bought the HTC sim free, 1 of my main worries is that with my Three(3) network contract SIM. I know I should be able to make calls and send text messages my query is in regards to the internet settings will they automatically be picked up via the SIM card coz when i had my iphone i had to manually put in the address for the APN and im just wondering will i have to do the same??

Thanks
[Touch Pro2, Tilt 2 Windows Mobile General] orb3000:
That´s what I call a fantastic explanation!!

I wish I had one of those when first step in here:D:eek:

Cheers Beasty!
[Touch Pro2, Tilt 2 Windows Mobile General] quarintus:
Most likely, the settings will be set automaticly. If not you can set them via Settings (also automaticly). But if you have pre-paid, be carefull when the settings are set. at the moment you open a browser, youtube or other apps that use internet, internet connection will automatic establish. (sorryfor my bad language)
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
yea it is the wiki helped me alot,,,

just a question where can i find these apps except from in this forum??
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
no problem quarin i understand what your saying,,,

where you've said if i have pre-paid be careful can you please elaborate (tell my why) this??

thanks
[Touch Pro2, Tilt 2 Windows Mobile General] quarintus:
I was targetting the internet costs. They can add up. Don't know you country, but here you can't have internet prepaid without paying a lot of money. So you have too look out (in that case) not to use internet. And it uses internet automaticaly when using a program that's internet related.
[Touch Pro2, Tilt 2 Windows Mobile General] ustahir_1:
O ok i understand now

no with my pre-paid Three(3) Sim i have an internet allowance thanks for the tip though :D
[G1 Android Development] billc.cn:
I am not really sure how the bluetooth stack works, but does the OPUSH profile has its own process or it there someway to detect its presence?

If so we could easily implement some detecting mechanism in the loop body.

Another possibility is to check the error returned by obexserver if it implements any.
[G1 Android Development] corp769:
im gonna check out the source tree for you, cause i was just looking last night. i will post again as a read into the source a lot more
[G1 Android Development] juanmasg:
The obex profile does not have it's own process, sdptool simply enables it in one of the bluez daemons (don't know which of them)

The "problem" here is that obexserver does not get any error when I disable bluetooth, it simply continues waiting for a connection. I'll try to look at the openobex API to see if we can get the bluetooth status or force some error. Sorry, my knowledgement about the bluetooth protocol is quite limited.

The curious thing about this, is that if I execute obexserver, disable bt, re-enable bt, and add the opush profile, without restarting the obexserver it still works. :confused:
[G1 Android Development] corp769:
so maybe this is running on a seperate process? no its entirely own, but maybe a child process? seems kinda weird to me... and its gonna be a while before i can start checking this out along with you, i need to re-download the android repo >.<
[G1 Android Development] MarcusMaximus04@gmail.com:
As long as you have that script that has to be run every time you want 1 file, would it be possible to do that every, say, 3 seconds in a loop? Maybe even have an obex app where you can press a button to have the script start running the loop and press again to kill the process. I'm thinking something similar to the wifi tether for root users in terms of interface.

EDIT: so something similar to this in terms of scriptage(can't remember the exact syntax for loops)

while 1
do
#!/system/bin/sh

obex_status=`sdptool browse local 2>&1| egrep "^Service Name: OBEX Object Push|^Failed to connect"`

case "$obex_status" in
Failed*)
# bt disabled
echo "Please, enable bluetooth first!"
exit
;;
"")
# bt enabled, but no OPUSH profile
sdptool add --channel=4 OPUSH
;;
*)

# bt enabled, opush enabled
;;
esac

test -d /sdcard/bluetooth_downloads || mkdir /sdcard/bluetooth_downloads

cd /sdcard/bluetooth_downloads && obexserver
sleep 3;
done;
[G1 Android Development] juanmasg:
I think that we shouldn't monitor the obex profile status, but spawn the profile activation when bluetooth gets active. This will be more efficient.

We can monitor the bluetooth status with "getprop init.svc.hcid". This could be used in the script loop, but it would save a lot of work if we simply could (de)activate it when the bluetooth gets enabled or disabled.

I'm looking at /etc/bluez in the G1 and in my linux desktop to see if some file could do the magic.

:eek:

be patient my friend :D
[G1 Android Development] cyanogen:
Can't you just do this from init with the other daemons?

service hfag /system/bin/sdptool add --channel=10 HFAG

user bluetooth

group bluetooth net_bt_admin

disabled

oneshot

service hsag /system/bin/sdptool add --channel=11 HSAG

user bluetooth

group bluetooth net_bt_admin

disabled

oneshot

...etc
[G1 Android Development] corp769:
haha, i have no patience man, i'm in the military, and patience is not a virtue to me, i just want to get sh*t done :D

as far as what you are talking about, i understand what you mean. i'm also looking at the obex source in my linux distro (fedora 10) and kinda pondering if we could write a completely new routine (as a script for now of course) that would only be called when we need it, as in running it at boot and run in the background constantly. that hopefully wouldn't run up the processor tho...

and by the way, i would really like to help in everyway because i always wanted bluetooth file transfer on my G1 :D
[G1 Android Development] juanmasg:
Already tried that, but didn't work :(. Those "services" seem to be requested by the a2dp daemon when it starts, and the a2dp daemon starts and stops when bluetooth is enabled or disabled, so we still would need to get our daemon spawned with all the bluetooth stuff.

Thanks anyways.
[G1 Android Development] cyanogen:
BluetoothDeviceService.java does the work, would be trivial to patch this in..

private final Handler mHandler = new Handler() {
@Override
public void handleMessage(Message msg) {
switch (msg.what) {
case MESSAGE_REGISTER_SDP_RECORDS:
//TODO: Don't assume HSP/HFP is running, don't use sdptool,
if (isEnabled()) {
SystemService.start("hsag");
SystemService.start("hfag");
}
break;
case MESSAGE_FINISH_DISABLE:
finishDisable(msg.arg1 != 0);
break;
}
}
};
[G1 Android Development] juanmasg:
Thanks cyanogen, that is what I was looking for.

I wanted to avoid to recompile the android core server, but It seems that we'll have to :-/.
[G1 Android Development] laloch:
Exactly. Let's add the opush service here...
[G1 Android Development] cyanogen:
I'd love to patch it into my next ROM release :)
[G1 Android Development] juanmasg:
I added to the first post a modified version of the script that can be run as a "daemon".

Anyway, the way to implement this seems to be patching BluetoothDeviceService.java.

Can't wait for it :p
[G1 Android Development] juanmasg:
As for sending files, I was thinking about creating a mime handler that could be used with, p.e Filer (http://android.hlidskialf.com/software/filer) so that it could be able to send files via OBEX also.

Any idea?
[G1 Android Development] laloch:
The more I think about it, the more I feel, that it should be done in ObexServer initialisation (ObexServer.java) ... which should be started from BluetoothDeviceService
[G1 Android Development] corp769:
here is my question... ok, we have the obex server for receiving files. now as far as sending files, how will that be set up? like will it be a seperate script to run the program, or will it be combined with the obex server?
[G1 Android Development] corp769:
an idea or two... juan, you mentioned about setting up a mime handler to send files. what it be possible to set up the handler for both receiving and sending files? it could most definitely be accomplished by creating a whole separate APK, and have that register the handles for the system, running as a service in the background. also we could use that for a graphical interface in the long run after we get the basics down pat, and have a file browser for sending files. i know this is jumping the gun, but it is all my ideas i have going on. on that note though, i think it would be the best way, unless you have a better idea :p

EDIT: now that i think of it, the APK would be best off other wise so we wouldnt have to have everyone who wants file transfer to reflash their whole phone just for a partially modified kernel
[G1 Android Development] laloch:
I'd rather make part of the framework ready to be accepted by the AOSP than some kind of hack running only on rooted devices. Which brings another question: I was just starting to port the obexserver, when I realized that the OpenOBEX library is licensed under LGPL ... can we use it?
[G1 Android Development] cyanogen:
WebCore is LGPL, I don't see why not.
[G1 Android Development] laloch:
I think it's LGPL/BSD dual-licensed.
[G1 Android Development] corp769:
most definitely, i would think. and i was thinking that too, but then again anything goes. a APK would be cool, but embedded in the framework would be even better.
[G1 Android Development] berish:
im not sure what profile bluetooth keyboards need; would all this help towards that end?
[G1 Android Development] corp769:
as far as what is going on with the file transfer that we are doing here, the keyboard profile is a different stack i believe? correct me if i am wrong, but the keyboard profile would be a lot different from an obex stack because it supports only file transfer
[G1 Android Development] juanmasg:
I like the idea of develop some reusable code in Java, start the service running as the bluetooth user i.e (don't require root, don't be too exposed to some buffer overflow in the code or limit the access to some files), start and stop an obexserver service with the (de)activation of the bluetooth , etc.

As for the licensing issues, I linked it against openobex 1.3. The COPYING file in the source tree of openobex 1.3 states that the code is GPLv2. I Don't know too much about all these licensing issues, so, is there any problem with merging some GPLv2 code into the android distribution?

I'm curious about what exactly are you porting to ObexServer.java, is it a class that automatically would spawn the obexserver process on demand, or are you really porting the obexserver code to Java and linking it somehow to openobex.so?
[G1 Android Development] laloch:
Would require root for installation IMO.

See COPYING.LIB. I would link against openobex.so, which is LGPL.

yep, really porting obexserver and linking to openobex.so (JNI), thats why the license is a major issue here.
[G1 Android Development] juanmasg:
It could be done in an APK, or integrated into the android bluetooth services. The idea is to have a file manager that be able to send files to a bluetooth device, and also that receiving files presents some dialog the the phone user for him to be able to save the file anywhere.

If we develop this into the android framework, then every single app will be able to send and receive files into it using this obex action and event.

I still didn't read too much about developing java apps for android, so all that mess about intents, activities, etc is still unknown to me :o. I'll take a look at it to see how exactly it should be done (in android words).
[G1 Android Development] juanmasg:
Hmmm.. why exactly? if init.rc includes the opush service, and the obexserver is part of the core server, where would root be needed?

Section 6 in the COPYING.LIB states:

6. As an exception to the Sections above, you may also combine or
link a "work that uses the Library" with the Library to produce a
work containing portions of the Library, and distribute that work
under terms of your choice, provided that the terms permit
modification of the work for the customer's own use and reverse
engineering for debugging such modifications.

So, as I understand, unless you plan your work to be closed source, we should have no problem. Any lawyer over here? :p

Nice. As for the future, we should look at obex-data-server (http://wiki.muiline.com/obex-data-server), which is more powerful than the simple obexserver.c.
[G1 Android Development] corp769:
So how is this looking? Close to done? I am very curious :D
[G1 Android Development] sangeet.003:
Hope All these stuff gets Pre-Integrated into the ROM's framework Coz, Making an apk Would need to re-spawn an application every time + if running a slow ROM, would cause delay on apk startup, insted if its in framework, it would be run from the system(Framework) running from the main Memory (RAM) & would boost the transfers as its priority would be highest as saying its the base system needed to run other apk's...

Even its true that pricing an apk which provides the system essential functionality (BT-File Transfer) of an phone is not good idea, so if its Integrated into ROM's would Be Better.

And also If Its Integrated Into System, It will be running as an System Process & even Wont Need ROOT Privilages.

At last Good Work & Best Of Luck For Future Developement...
[G1 Android Development] animehawaii:
Man now we need an easy way to push stuff out, that mean we need a UI. Gosh i would of figured that Google would of done this by now.
[G1 Android Development] juanmasg:
Hi, I'm too busy these days and I cannot do any significant progress to this until next week.

In my free time I'm looking for some open android file managers where it could be easy to integrate this functionality, but we'll need some time to get any of them patched with the bluetooth OBEX capabilities.

laloch, any advance porting the ObexServer.java?
[G1 Android Development] laloch:
Same problem here, sorry. Besides, I'm not sure about new OBEX API yet.
[G1 Android Development] Breach:
Did this project die?

Rick
[G1 Android Development] DroidPeak:
Help me

Hi...

I'm using xperia miro , when i tried to connect another phone through bluetooth ftp ,it says obex ftp is absent in my phone , how can i enable obex ftp in my stock kernal please help me....

Where i can i find this bluetoothdeviceservice.java file
[JAM, MDA Compact, S100 General] Prerna:
http://i.gizmodo.com/5284997/eye+fi-pro-wireless-sd-card-review

Looks nice for our Magicians! Don't know yet if it would work straight away, or if a driver is needed...
[Touch HD Accessories] sar3vok:
Sorry if a similar thread already exist, i used the search and i didn't find anything.

The problem is that I can't control another media player instead of windows media player with the buttons of my bluetooth device.

I have tried to install various programs like TCPMP and mortplayer, and tried to do again the pairing procedure, but when i click on the play button of my bt device, it open the damn windows media player:mad:.

Please help:(

I don't know what to do.
[Touch HD Accessories] M@d_Hunter:
S2P

Have you ever tried S2P (Slide to Play) ?

It works great with my Sony DR-BT21G.:)

S2U automatically launch windows media player in background to use avcrp control.
[Touch HD Accessories] sar3vok:
s2p is a good software but it seems to have small bugs with spb mobile shell, for example don't start when i tap on the icon.

Anyway i think that the cause of these little bugs is mobile shell because with manila the hd was perfect (almost).
[Touch HD Accessories] M@d_Hunter:
S2P & spb ms3

I'm using spb Mobile shell 3 with S2P. I don't have this kind of bugs.

Sometimes it doesn't start when I press the play button of my bluetooth headset and I have to launch it whith the shortcut. Once launched, there is no more bugs.

Have you got the last version of theses softwares ?
[Touch HD Accessories] Chris Cross:
In my opinion, S2P is very buggy. I have tried it with different ROMs (including stock ROM) and with no other software installed - and it never seems to work right. Eventually it freezes or it looks like it is playing but it really is not, or it plays but the volume shows as being muted, when it is really not muted. And the cover-flow view is either very choppy or it goes really fast - hard to control. So, I wouldn't bother with S2P. It's unfortunate because it looks nice.

I also have the jabra bt3030 and I am only able to use it with Manila or with Windows Media Player. I don't know that there is a way to use it with other programs, but I hope I'm wrong.

So, I'm with sar3vok. If anyone knows how to do this, please let us know.