[TOOL] Change SIP when stylus removed/inserted (using Mortscript) - Touch Pro, Fuze General

I used the registry info posted in this thread to automate SIP selection.
Take the stylus out --> switch to Calligrapher
Insert the stylus --> switch to QWERTY Keyboard
My method uses Mortscript and this tool by Vijay555. Hopefully a real programmer can be inspired by my idea to create a standalone version.
This script loops in the background and constantly checks the state of the stylus. It should be possible to put a shortcut to it in the Startup folder so it runs automatically after a soft reset, though I haven't tried this yet. You should customize the first couple of lines to reflect your setup (the exact location of the "sipswitch" tool and the names of the SIPs you want to toggle between). For instance, I use Calligrapher with the stylus and the full QWERTY keyboard with my fingers, but you might want to toggle between the full QWERTY for the stylus and the Phone Pad for your fingers... it's up to you.
Download and install Mortscript, and download the sipswitch tool. Create a text file with the following code, then change its extention to ".mortrun". You can also start from the file I attached.
Code:
# Customize the first 4 lines!
# The names of your preferred SIPs should be typed
# exactly as they appear in the SIP popup menu
# (case sensitive).
# Change the polling time to make the script check more or less often.
Switcher = "\Programmabestanden\MortScript\sipswitch.exe"
Write = "Write Anywhere"
Type = "Volledige QWERTY"
PollingTime = 1000
RunCheck = 0
While (1)
StylusState = RegRead("HKCU", "ControlPanel\Keybd", "StylusOutStatus")
If (StylusState = 1 && RunCheck = 0)
Run ( Switcher, Write )
RunCheck = 1
EndIf
If (StylusState = 0 && RunCheck = 1)
Run ( Switcher, Type )
RunCheck = 0
EndIf
Sleep ( PollingTime )
EndWhile
Unfortunately, the sipswitch tool by Vijay555 not only changes the SIP, but also makes it pop up; this might not always be what you want but I can't change it.
Also, I don't know if running the script in the background will affect battery life.
[size=-2]Disclaimers: try this tool at you own risk. I can't be held responsible for any loss of data or other damages.[/size]

So um, has anyone tried this? Any feedback?
And what would really make me happy: is anyone thinking about making a "real" app for this?

Hey guys,that's great idea! I am using Letter Recognizer and Phone pad on the go. Yes,of course also hw keyboard. Just one question...how fast is the changing SIP? Takes it not much time to switch?

It's pretty fast and you can speed it up even more by using a smaller PollingTime.
It works well but a more elegant solution would be a real standalone application. I'm not a real programmer so I hope someone else will pick up my idea...

Nice work but consider using this: http://forum.xda-developers.com/showthread.php?t=420416 together with SipSwitch.
Unfortunately not for free…

*Cough*Cough*... someone had the idea already... and it works flawlessly on the Pro...
http://forum.xda-developers.com/showthread.php?t=414422

Oh hey, cool!! How could I have missed that? I searched and everything.
I guess that makes my solution obsolete. I'm gonna try it out now.
jznn: I knew about Kai's program but as you said, it's not free...

Robrecht said:
Oh hey, cool!! How could I have missed that? I searched and everything.
I guess that makes my solution obsolete. I'm gonna try it out now.
jznn: I knew about Kai's program but as you said, it's not free...
Click to expand...
Click to collapse
I recommend the link in here: http://forum.xda-developers.com/showpost.php?p=2566147&postcount=26
It works fine with English roms. For others, you need to change the shortcut in the autostart folder and the registry settings:
Code:
[HKEY_CURRENT_USER\Software\HtcExtFun]
"StylusOutSipName"="Keyboard"
"StylusInSipName"="Compact QWERTY"

Robrecht said:
Oh hey, cool!! How could I have missed that? I searched and everything.
I guess that makes my solution obsolete. I'm gonna try it out now.
jznn: I knew about Kai's program but as you said, it's not free...
Click to expand...
Click to collapse
Nevermind Robrecht. Nice try.
Thanks for sharring.

Related

program to complete multiple apps/actions?

does anyone know of a program to perform multiple actions or launch multiple apps?
i want something which would allow me to create a exe file (which i can put in start menu or assign to a button) which will complete several actions after being selected.
such as: wifi on, launch ie or bluetooth on, launch wmp or close all, power off... etc,
you get the idea i hope
mortscript
Midget_1990 said:
mortscript
Click to expand...
Click to collapse
i should have expected that but thanks
however, i was hoping for something with a ui, and without a 60 page manual which looks to complicated for me on the first contents page
i guess i'll have to start reading the accumulation thread and manual a lot
Hi and thanks guys,
I finally started using mortscript, it's actually very simple to use (at least for what i want) it just looks very difficult to use when you read the site and the manual. Though it did take me all of today to work out why i could not get vjvolubilis to work (i missed a "," out ) and a while to create .mscr instead of .txt.
But it's a shame it only supports system, and not ring volume changing.
I love this site - every time i think my ppc is as good as i can get it, something else pops up to make it better

HTC Manila interface.....did you configured on your device..??

Hi everybody
looking around to find out what is the status of HTC concerning a probably new drivers release for the devices with Qualcomm 7200 chipset, i've found the file below, which should contain a new User Interface code name MANILA.
I'm sure most of you hear about it.
Well, i've been trying to install the file, but in some way i don't get it, even if I edit the cab and write a new setup.xml. May be because I have the Original O2 ROM on my Orbit 2, i'm not sure at all
Could some of you try if the install works on your cooked HTC Roms ??
Download link:
http://rapidshare.com/files/87504139/manila.1.0.0103.0.release.zip.html
THX in advance
Metanol
Well I can install the file (but can't uninstall it).
Seems to slow down my phone a bit, and it doesn't work.
It does show a plugin on the today screen "Tap here to start HTC Home.".
But it will respond with a "HTC Home is terminated unexpectedly, please tap here to start HTC Home."
What can I say, it looks interesting, but won't run for me.
Originally from this site maybe?
Some of it has LUA scripts. Break out your World of Warcraft scripting skills now, if LUA is how the UI is going to be configured and used.
looks nice but dont work
darn
HTC Manila
doesn't work on my device (UdK Lizard 6.3). There is also "Tap here to start HTC Home" and then "HTC Home is terminated unexpectedly...".
When i reset, HTC Home is shown before entering my PIN, after it's gone and the "Tap here..." text is there..... and it's true, it's slowing down the device a bit...
damn....looks really cool, hope someone get this working!
qtek_metanol said:
Hi everybody
looking around to find out what is the status of HTC concerning a probably new drivers release for the devices with Qualcomm 7200 chipset, i've found the file below, which should contain a new User Interface code name MANILA.
I'm sure most of you hear about it.
Well, i've been trying to install the file, but in some way i don't get it, even if I edit the cab and write a new setup.xml. May be because I have the Original O2 ROM on my Orbit 2, i'm not sure at all
Could some of you try if the install works on your cooked HTC Roms ??
Download link:
http://rapidshare.com/files/87504139/manila.1.0.0103.0.release.zip.html
THX in advance
Metanol
Click to expand...
Click to collapse
It seems similar to PointUI http://www.pointui.com/Home.aspx, haven't tested but claims to work with WM from 2003 to 6.
iruja said:
Well I can install the file (but can't uninstall it).
Seems to slow down my phone a bit, and it doesn't work.
It does show a plugin on the today screen "Tap here to start HTC Home.".
But it will respond with a "HTC Home is terminated unexpectedly, please tap here to start HTC Home."
What can I say, it looks interesting, but won't run for me.
Click to expand...
Click to collapse
I get the same error Message, when I go to the explorer and try to exexute the manila.exe, it shows a certificate or missing components error. I modify the cab and installed completed on \Windows directory and same error.
NuShrike said:
Originally from this site maybe?
Some of it has LUA scripts. Break out your World of Warcraft scripting skills now, if LUA is how the UI is going to be configured and used.
Click to expand...
Click to collapse
exactly LUA language is inside, e.g.:
-- Adapted from class function at http://lua-users.org/wiki/SimpleLuaClasses
function __class_ctor(class_tbl, ...)
local obj = {};
setmetatable(obj, class_tbl);
if (class_tbl.__init) then
class_tbl.__init(obj, ...);
else
if class_tbl._base and class_tbl._base.__init then
class_tbl._base.__init(obj, ...);
end
end
return obj;
end
function class(base)
local c = {};
if type(base) == 'table' then
-- Shallow copy of base, including all functions and properties.
for i,v in pairs(base) do
c = v;
end
c._base = base;
end
c.__index = c;
local mt = {};
mt.__call = __class_ctor;
setmetatable(c, mt);
return c;
end
Click to expand...
Click to collapse
qtek_metanol said:
I get the same error Message, when I go to the explorer and try to exexute the manila.exe, it shows a certificate or missing components error. I modify the cab and installed completed on \Windows directory and same error.
Click to expand...
Click to collapse
Did you disable the security certificate requirement in the registry?
anyone get it to work?
nope did not work for me.
Vinny75 said:
Did you disable the security certificate requirement in the registry?
Click to expand...
Click to collapse
I did, my problem now is my own work on the office
The problem is in Manila.exe not in scripts and in the today plugin, even properly signed it still returns an error
are you sure that this is a full package of manila
disable the security certificate requirement in the registry
I found it in the registry. How exactly do I disable this?
I got it working, but it isn't exactly doing anything, and slow as hell (note the fps meter in the corner)
Btw the weird stuff on the bar is the molski.biz lvm top battery plugin going crazy when the ppc is docked or charged.
Some screenshots:

			
				
So how did you get it working?
Holy s....!! what you did..?? you say that you can not execute anything with it..??
can you post your result file....??
Handige jongens die Nederlanders!
Looks nice, is it running on a VGA-device?
Wow... yeah... plz upload your result file...
or plz tell how you got it working...

registry hack wm 6.1

Does anyone explain further this registry hack that I got from other site for newbie like me...........before I screw upmy HTC touch viva (hahahahaa cheap unit)......
Thanks
******************************************************
Improve graphic layer cache performance
HKEY_LOCAL_MACHINE\System\GDI\GLYPHCACHE\
Change the value of ‘limit’ from 8192 to 16384, 32768 or 65536 can be used as well but thats an overkill.
Increase Font Cache
HKEY_LOCAL_MACHINE\System\GDI\SYSFNT\CS=16384
Values same as glyph but currently this doesn’t show any gains so leave 0.
Enable file cache
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\
CacheSize=0×1000(4096)
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\
EnableCache=0×1(1)
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt\
ReplStoreCacheSize=0×1000(4096)
Speed up SD Card Transfer
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\
MMC_CLASS
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\
SDMEMORY_CLASS
HKEY_LOCAL_MACHINE\Drivers\SDCARD\ClientDrivers\Class\
SDMEMORY_CLASS\High_Capacity
Change ‘BlockTransferSize’ from 64 to 16. This makes SD much more responsive with 4x faster read times!
Enable IE faster caching
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\
Internet Settings\AggressiveCache=1
Remove Wireless Manager icon from right-bottom corner of today
HKEY_LOCAL_MACHINE\Services\WlsMngSrv
In our case Keep = 0 doesn’t work so I change the filename of WlsMngSrv.dll in this reg key to sth like WlsMngSrv.dllxxx. You can delete the whole key as well but it’s easier to get back to it if you would ever need to. You can still load it from programs menu or assign a hardware button.
Today bottom keys
Create the following keys and strings in the registry:
HKEY_CURRENT_USER\Software\Microsoft\Today\Keys\112
HKEY_CURRENT_USER\Software\Microsoft\Today\Keys\113
112 is the left key and 113 is the right. Now for each key create two new strings for example: Default=Notes and Open=\Windows\notes.exe
Clear Type for horizontal mode
HKEY_LOCAL_MACHINE\System\GDI\ClearTypeSettings\OffOnRotation=0
Note that 0 is enabled and 1 is disabled!
Enable Cleartype in Pocket Internet Explorer
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\
Internet Settings\ClearTypeText=1
GPRS/EDGE keep alive
Change this if you constantly need internet access and don’t want to wait for connection to establish. It doesn’t drain your battery as this is only a GSM network state flag and nothing is transferred, so there is no way why you shouldn’t use this. The device is simply prepared to send/receive data. This also prevents the red phone button when pressed from closing data connection.
HKEY_LOCAL_MACHINE\Comm\ConnMgr\Providers\
{7C4B7A38-5FF7-4bc1-80F6-5DA7870BB1AA}\
Connections\*your connection name*\AlwaysOn = 1
Change Wireless Manager to default WM style
This will revert default Microsoft Wireless Manager which is much cleaner and faster than Eten’s. You will need an initWiFi script though… so this trick is for advanced users only. Run Windows\wrlsmgr.exe to see how it looks.
HKEY_LOCAL_MACHINE\ControlPanel\WrlsMgr\
Redirect=\Windows\wrlsmgr.exe
Disable SMS threading in WM6.1
Create binary value:
HKEY_CURRENT_USER\Software\Microsoft\Inbox\Settings\
OEM\SMSInboxThreadingDisabled=01
overview.
There are numerous hacks within the text. The text contains headings and steps. First you need a registry editor (PHM registry editor? Sorry, do a search - I've been using MemMaid, which does more, but at a price). Then open up those paths and edit / create the values indicated for the effect that is listed above.
example.
Clear Type for horizontal mode
HKEY_LOCAL_MACHINE\System\GDI\ClearTypeSettings\Of fOnRotation=0
Note that 0 is enabled and 1 is disabled!
explanation.
This registry hack enables / disables ClearType, or font smoothing, when the phone is in landscape mode. This is sometimes not desirable, as some phones have some issues with the RGB layout within the pixels for landscape. Open up your registry editor, navigate to the path / key "HKEY_LOCAL_MACHINE\System\GDI\ClearTypeSettings\OffOnRotation", and change the value of "OffOnRotation" - to "0" to enable and to "1" to disable.
question.
Do you need everything translated, or can you work it out yourself? I'll be happy to explain the rest if you want. Just gave an example to demonstrate what I meant.
Increase Font Cache
HKEY_LOCAL_MACHINE\System\GDI\SYSFNT\CS=16384
Values same as glyph but currently this doesn’t show any gains so leave 0.
Enable file cache
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\
CacheSize=0×1000(4096)
HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\
EnableCache=0×1(1)
HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt\
ReplStoreCacheSize=0×1000(4096)
Thanks Bro. but this I want to know more.... Do I have to edit/change the value in that order or delete the first one and subtitute the enclosed value.
And if you wish bro. add more registry hack for better wm 6.1 performance ...........hahahaha.
It doesn't matter what order you edit them in; just do them all at once and soft reset. Before you do anything (with PHM or dotFred Regedit), just back up your registry (select 'export all' with dotfred). You should also just do a full system backup with sprite or whatever you use. If you really screw up, you can always hard reset and then do a restore. Or, you can copy the default.hv (hklm and hkcr) and the user.hv (hkcu) from your \windows folder (not \documents and settings) onto a pc and open it up with ceregeditor. It will look just like a normal registry, and you can see what the original reg values were on the device in factory conditions and restore them (note: it's possible that some of these change during customization after a hard reset/flash, but this will work for probably >98% of them).
You can also look up Advanced Configuration-a lot of those tweaks are included in it, particularly the cache tweaks (under performance). If you do them manually, make sure you get the numeric format correct (hex vs. decimal-you can normally choose).
n00b
hey can someone help me here. i want to change the cooked in ie from wm6 to the ie6 from 6.5.3 . which i have. im just not finding it anywhere. is there a registry hack for this because i have pie6 cab but it doesnt replace it

how can you choose another keyboard

i can't even choose wii controller in tnt? i just got tnt lite 2.0 going and i just realized i can't even use wiimote because tnt won't let you change keyboards. this sucks bad, that would be great if someone figured out a way to bypass this little security measure they have to keep you from using other keyboards.
Yea, i paid $20 for a bluetooth keyboard i can't use because of that...
I am a developer though I already have the android source on my computers so perhaps i will have some time to look tomorrow at how exactly they do it in the code.
Usually that stuff is restricted but perhaps there is a way around as root. I know there is a command you can run to force apps to install to the SDcard on my droid under froyo, perhaps the same command can change this setting.
Has anybody tried loading up the stock froyo settings app?
--Robert
FYI: it's in android-source/packages/apps/Settings/src/com/android/settings/LanguageSettings.java
Code:
Settings.Secure.putString(getContentResolver(),
Settings.Secure.ENABLED_INPUT_METHODS, builder.toString());
Settings.Secure.putString(getContentResolver(),
Settings.Secure.DISABLED_SYSTEM_INPUT_METHODS, disabledSysImes.toString());
Settings.Secure.putString(getContentResolver(),
Settings.Secure.DEFAULT_INPUT_METHOD,
mLastInputMethodId != null ? mLastInputMethodId : "");
Read from
Code:
mLastInputMethodId = Settings.Secure.getString(getContentResolver(),
Settings.Secure.DEFAULT_INPUT_METHOD);
String enabledStr = Settings.Secure.getString(getContentResolver(),
Settings.Secure.ENABLED_INPUT_METHODS);
final TextUtils.SimpleStringSplitter splitter = mStringColonSplitter;
splitter.setString(enabledStr);
the Settings.secure permission is restricted from normal apps- but maybe we can gain that permission if we put the app in the /System/ folder?
This would be a major accomplishment if you figure this out. For the life of me I don't know why they would have done this...makes no sense.
Sent from my ADR6300 using XDA App
I did find a way into the accounts and settings (sync settings) - but I don't have checkboxes to enable syncing on contacts and calendars for some reason....
Perhaps i did the tntlite2.0 upgrade wrong - i did NOT do a factory reset because I didn't want to reinstall everything
I'll try to remember to post the sync settings launcher app tonight after i get home from work- all it does is fire the necessary intention to get into the app (com.android.providers.subscribedfeeds/com.android.settings.ManageAccountsSettings)
Hopefully they screwed up the settings app, which i can probably fix by making a new one, but if they hosed the settingsProvider that is supposed to store this stuff we might be screwed :-(
I just figured out how to write a video streaming app (from android) for my work, so this should be easy by comparison
On a dissapointed note- my sound is still F-ed up after the 11/22 update (randomly stops working, plays static and floods the logs w/ errors) anybody else have this problem?
Thanks for working on this, this is one of my biggest complaints with tnt.
Sent from my ADR6300 using XDA App
If anybody could find a way to get around this:
PackageManager W Not granting permission android.permission.WRITE_SECURE_SETTINGS to package com.DroidMunkey.gTabletHacks (protectionLevel=3 flags=0xbe44)
I would have this finished.
Sticking it in /system/app doesn't work so i must be missing something - it's rejected in: android-source/frameworks/base/services/java/com/android/server/PackageManagerService.java if anybody else wants to take a look
I figured it out, but they screwed something else up in the system and must have disabled it on purpose...
if i select a different keyboard the input box expands to take up the entire screen when i click on it!
So if you have an alt keyboard selected and you hit the search key, you can't see the history below, or the icons next to the box to do the voice search/location selection!!!
see attached image
Very annoying.. wasted an entire day to figure this out. I suppose it wasn't a total waste though I learned alot about the android core
Are there any other settings missing that people need? I might put together an app that will let you do this despite the annoying bug if people are still interested.
I already wrote an app like HomeCatcher, but it shows me the "recent apps" list, since you can't long-press the damn home-key anymore. Anybody interested in something like that?
BTW- since nobody spells out in plain english how to get the WRITE_SECURE_SETTINGS permission, here it is for those of you hitting this page via Googling my error
1) You need to request the permission in your app manifest
2) the app has to be in /system/app/
3) it has to be owned by root w/ the correct permissions (nobody tells you this part!)
4) when you reboot, the app will be automatically installed, and you will get the additional permissions (if it's already installed, you have to uninstall it before you reboot!)
5) you will NOT be able to uninstall the app after you do this (just delete it, but make SURE you manually 'clear cache' for the app in settings->applications->manage->yourapp before you delete it or all your extra settings data will be orphaned in memory!!)
su
mount -o remount,rw -t yaffs2 /dev/block/mtdblock3 /system
cat /sdcard/YourApp.apk > /system/app/YourApp.apk
chown 0.0 /system/app/YourApp.apk
chmod 0644 /system/app/YourApp.apk
mount -o remount,ro -t yaffs2 /dev/block/mtdblock3 /system
reboot
Click to expand...
Click to collapse
KinkyMunkey said:
I figured it out, but they screwed something else up in the system and must have disabled it on purpose...
if i select a different keyboard the input box expands to take up the entire screen when i click on it!
So if you have an alt keyboard selected and you hit the search key, you can't see the history below, or the icons next to the box to do the voice search/location selection!!!
Click to expand...
Click to collapse
Thanks! Mind if I ask you which alternate keyboard you are using? On my another device I also get this exact same huge textbox if I some alternate keyboard (e.g. the Better Keyboard), but not all (e.g. the Thumb Keyboard).
Also: which ROM are you using? Does it matter (with respect to your 5-steps procedure)?
Are there any other settings missing that people need? I might put together an app that will let you do this despite the annoying bug if people are still interested.
I already wrote an app like HomeCatcher, but it shows me the "recent apps" list, since you can't long-press the damn home-key anymore. Anybody interested in something like that?
Click to expand...
Click to collapse
Absolutely! (I know that it's available via roebeet's TnT Lite 2.0.2 supplement, but I'd like to stick to 2.0.0's contact & calendar...)
Thanks!
Save time just install zpad . Cleaner look runs faster and can use other keyboard inputs.. played super Mario bros 3 with wiimote this morning. I just need a stand now
I tried the blueInput and full keyboard, both did it, they do not do it on my droid which is why i am convinced something is wrong with the tablet
I have been thinking about it, I wonder if there is a build setting (related to the USB keyboard support) that is telling android to do this. I can't imagine why it would happen unless it's a "feature" for phones w/ small screens or no touchscreen.
It happens in every input box, so it's GOTTA be an android setting, going to dig around and see if i can figure out what causes it
btw here is the code i used, combined w/ the steps to gain the SETTING_SECURE priv above, in case anybody is pulling their hair out to do it.
Code:
InputMethodManager imm = (InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE);
List<InputMethodInfo> mInputMethodProperties = imm.getInputMethodList();
StringBuilder builder = new StringBuilder(256);
int N = (mInputMethodProperties == null ? 0 : mInputMethodProperties.size());
for (int i = 0; i < N; ++i) {
InputMethodInfo property = mInputMethodProperties.get(i);
String prefKey = property.getId();
CharSequence label = property.loadLabel(getPackageManager());
Log.i(LOGTAG, "found " + label);
if (builder.length() > 0) builder.append(':');
builder.append(prefKey);
}
String mLastInputMethodId = Settings.Secure.getString(getContentResolver(), Settings.Secure.DEFAULT_INPUT_METHOD);
String enabledStr = Settings.Secure.getString(getContentResolver(),
Settings.Secure.ENABLED_INPUT_METHODS);
Log.i(LOGTAG, "last: " + mLastInputMethodId + " enabled " + enabledStr + " we would like: " + builder.toString());
try {
Settings.Secure.putString(getContentResolver(), Settings.Secure.ENABLED_INPUT_METHODS, builder.toString());
Toast.makeText(getApplicationContext(), "SUCCESS!! keyboard enabled!", Toast.LENGTH_LONG).show();
} catch (Exception e) {
Toast.makeText(getApplicationContext(), "Failed to set keyboard: " + e.getMessage(), Toast.LENGTH_LONG).show();
}
KinkyMunkey said:
I tried the blueInput and full keyboard, both did it, they do not do it on my droid which is why i am convinced something is wrong with the tablet
Click to expand...
Click to collapse
Thanks! Could you try the thumb keyboard
http://forum.xda-developers.com/showthread.php?t=830772
and see if you get the same result?
yes, same problem with thumb keyboard
I did get "hidd --search" to find my bluetooth keyboard! I can use it without doing anything special now, works just like a usb keyboard would
KinkyMunkey said:
yes, same problem with thumb keyboard
I did get "hidd --search" to find my bluetooth keyboard! I can use it without doing anything special now, works just like a usb keyboard would
Click to expand...
Click to collapse
http://code.google.com/p/androidobex/downloads/detail?name=hidd
get that, stick it in /system/bin, go into a terminal (adb shell) do su, then type 'hidd --search'
that will automatically search for bluetooth HIDD devices and connect to any it finds
Then, the bluetooth keyboard will work w/out having to switch input methods
This may reset your wifi connection and force a reconnect when it does it's bluetooth scan, not sure why it does that, if you use the --connect option and specify the bluetooth ID instead of searching it won't do that
http://linux.die.net/man/1/hidd
Horray for linux based phones!
KinkyMunkey said:
http://code.google.com/p/androidobex/downloads/detail?name=hidd
get that, stick it in /system/bin, go into a terminal (adb shell) do su, then type 'hidd --search'
that will automatically search for bluetooth HIDD devices and connect to any it finds
Then, the bluetooth keyboard will work w/out having to switch input methods
This may reset your wifi connection and force a reconnect when it does it's bluetooth scan, not sure why it does that, if you use the --connect option and specify the bluetooth ID instead of searching it won't do that
http://linux.die.net/man/1/hidd
Horray for linux based phones!
Click to expand...
Click to collapse
awesome so you got it to work? i was never able to get adb to proplerly work though. i may work on that later.
if you are on linux- you need a rule for it in /etc/udev/rules/ so ADB has permission to access the device (otherwise you have to run adb as sudo)
create an android file if you don't have it (i use the file name '99-android.rules' so it runs last)
Code:
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0955", ATTRS{idProduct}=="7100", MODE="0666"
(FYI, you use the 'lsusb' command to get these numbers if you have a new device- Bus 001 Device 008: ID 0955:7100 NVidia Corp.)
didn't know if anyone had seen this thread, they say this method works but seems like it may be a hassle to switch back and forth between keyboards http://forum.xda-developers.com/showthread.php?t=856476

Enable flash on your website

I've written a quick script to enable flash on whichever website you prefer.
It only works one at a time
it will force quit iexplorer and attempt to reload it
it requires administrator for silent reg import
Needs work.
save as .bat and put it in its own folder somewhere like the desktop.
enjoy :]
@echo off
color F8
echo !!!NEEDS ADMINISTRATOR PRIVILEGES!!!
echo Windows RT/Metro flash enabler
set /p www=Which website would you like to add to the FLASH WHITELIST?:
echo Windows Registry Editor Version 5.00 > %www%.reg
echo [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\Flash] >> %www%.reg
echo "DebugDomain"="%www%" >> %www%.reg
taskkill /f /IM iexplore.exe
regedit /s %www%.reg
del %www%.reg
Click to expand...
Click to collapse
thank but...
simmos said:
I've written a quick script to enable flash on whichever website you prefer.
It only works one at a time
it will force quit iexplorer and attempt to reload it
it requires administrator for silent reg import
Needs work.
save as .bat and put it in its own folder somewhere like the desktop.
enjoy :]
Click to expand...
Click to collapse
Tank you ! it Work !
it important to write correctly the name of the site !!
for exemple:
palmashow.com and not http://palmashow.com/
@+
Good to hear its working for you.
It's a bit rough so you may need to play around to get it to work. i'll note that some sites embed videos from other sites so you will need to add them instead.
Wow, welcome to at least a month ago...
EDIT: over two months ago... but it's been in my signature for a month or so
No offense, but your script is kind of crude. There's absolutely no need to kill off IE (just refresh the page!) and the use of a temp file constantly is wasteful, just use reg.exe
...
Or you could use the script pair that I wrote (and posted on this site) for exactly this purpose over a month back. In addition to a script that does what yours does (less wastefully), it also includes a script that changes the permissions on the registry key in question so that subsequent changing of the relevant registry value can be done without needing admin (the permission-changer script must be run as admin, but only needs to be run once per device).
Seriously, use Search before posting! Your thread even has almost exactly the same subject line.
GoodDayToDie said:
Wow, welcome to at least a month ago...
EDIT: over two months ago... but it's been in my signature for a month or so
No offense, but your script is kind of crude. There's absolutely no need to kill off IE (just refresh the page!) and the use of a temp file constantly is wasteful, just use reg.exe
...
Or you could use the script pair that I wrote (and posted on this site) for exactly this purpose over a month back. In addition to a script that does what yours does (less wastefully), it also includes a script that changes the permissions on the registry key in question so that subsequent changing of the relevant registry value can be done without needing admin (the permission-changer script must be run as admin, but only needs to be run once per device).
Seriously, use Search before posting! Your thread even has almost exactly the same subject line.
Click to expand...
Click to collapse
I'm sorry to hear you spent time on this before. I did not realise.
I'm not trying to steal credit, I just created this for myself last night on my surface and thought it would be worth posting.
I'll make sure to use search next time :] [I did have a quick look on the front page before posting, link to thread?]
It's in my signature... http://forum.xda-developers.com/showthread.php?p=33412065

Categories

Resources