help me - Galaxy Y GT-S5360 and Duos 6102 Q&A, Help & Troubl

Good day !
i just want to ask if anyone here knows how to help me,
my problem is i'm trying to add a shortcut of an app in my settings, i have finished that but i want that app to be completely hidden from the drawer (like the cpu states or cpu nofrills control in most custom roms), been searchin in xda but didn't find one, please please help me ....

it will be in the androidmanifest.xml of the app
for example look for the line that starts
Code:
<application [COLOR="Red"]android:label="@string/app_name" android:icon="@drawable/icon"[/COLOR]
the string is the text and the drawable is the png so delete these (just the parts in red - leave the rest of the line and the name of the string and the drawable value will be different in each app)
dont forget since you have now change the manifest of the app you will need to resign the app
you can use zipsigner - use a testkey for normal app and either a testkey or a platform key for system app depending on permisssions

zhian14 said:
Good day !
i just want to ask if anyone here knows how to help me,
my problem is i'm trying to add a shortcut of an app in my settings, i have finished that but i want that app to be completely hidden from the drawer (like the cpu states or cpu nofrills control in most custom roms), been searchin in xda but didn't find one, please please help me ....
Click to expand...
Click to collapse
yup you have to delete android manifest activity line with LAUCHER keyword to hide it from drawer :good:

Related

Chage Icons?

Haya guys and or galls...
I'm trying to edit the icons of the shortcuts in my start menu.
I want to use this, so that I can use the Icons of programs like tomtom to startup via the overclock tool....
But now, sice the shortcut starts with the omapclock tool, the icon is the same as the tool...
Also, there is an app called flitsnav, which also launches Tomtom, and I want to use the tomtom icon rof this shortcut...
I can't seem to find the solution in this forum anywhere, but maybe I looked over it in my search..
Can someone help me???
http://forum.xda-developers.com/viewtopic.php?t=40230&highlight=completeness
V
hmmm
okay..tnx for the advice..
Although I'm not really sure what all that means ou guys wrote there..
No easier way? just to change the icon of a .exe?
Anyway thanks..
p50kombi: if you want to change the icon for the executable, which you don't (since you want to change icons for shortcuts), you would use a resource editor on your PC. That's not too easy, but it's doable.
Using custom icons on shortcuts on the PDA is not difficult.
Basically, copy this into notepad, and call it VJMail.lnk
Code:
38#\windows\tmail.exe?\windows\DIM.exe,0
38
- Ignore this (it's the length of everything after #)
\windows\tmail.exe
- this is the app you want to launch
?\windows\DIM.exe,0
- this is the icon it should show instead of its default one
- it means, take the first (ie 0th) icon in \windows\dim.exe as the icon
It's not hard. This is just an example. Use your own programs etc of course.
V
i'll try it right away..
Thanks VJ!!!!
It worked!!!!
Thanks VJ.....
It wasn't that hard afterall indeed!!!
Anyone got any way of extending the backlight of the keyboard allready?

Titanium Clock Edit

I need to edit the reg for the default clock so that when I tap on the clock panel it opens \program files\Chronos\chronos.exe
instead of opening the default system clock page.
I can't figure out how to do this...
thanks.
charlie71 said:
I need to edit the reg for the default clock so that when I tap on the clock panel it opens \program files\Chronos\chronos.exe
instead of opening the default system clock page.
I can't figure out how to do this...
thanks.
Click to expand...
Click to collapse
Change the link with CHome Editor.
I tried, there is nothing to edit in there that I can find that changes anything.
charlie71 said:
I tried, there is nothing to edit in there that I can find that changes anything.
Click to expand...
Click to collapse
You are right, i tried also to create a new action url in the registry but it wont work....looks like hardwired as all standard titanium plugins.
Does that mean you have to edit the cpr file or something? I've never done that and don't think I know how or have to tools to do so...
charlie71 said:
Does that mean you have to edit the cpr file or something? I've never done that and don't think I know how or have to tools to do so...
Click to expand...
Click to collapse
To edit the cpr file you need only a Notepad text editor. But it is not that easy. In the cpr there are only specified layouts, fonts, colors, images, anything visual.
I guess the action url paths for the standard titanium panels are in the bronzeres.dll, but to edit it you need special tools to hack the resources. That is not at all easy, i would not touch that if you have not at least basic programming skills.
I would say I have basic programming skills. (VBA in Word and Outlook) Would I need some kind of program code editor, or is it something I could modify with notepad, or this XML notepad I just installed? I'd really like to get it to refer to my Chronos app instead of the default clock app.
thanks.
charlie71 said:
I would say I have basic programming skills. (VBA in Word and Outlook) Would I need some kind of program code editor, or is it something I could modify with notepad, or this XML notepad I just installed? I'd really like to get it to refer to my Chronos app instead of the default clock app.
thanks.
Click to expand...
Click to collapse
No it is no text file like the cpr or xml files, and therefore it cannot be edited with notepad. I am not sure what tools you have to use to modify dll files.
charlie71 said:
I need to edit the reg for the default clock so that when I tap on the clock panel it opens \program files\Chronos\chronos.exe
instead of opening the default system clock page.
I can't figure out how to do this...
thanks.
Click to expand...
Click to collapse
HKLM/software/microsoft/shell/rai/msclock
change string 1 from clock.exe to chronos.exe
lioryte said:
HKLM/software/microsoft/shell/rai/msclock
change string 1 from clock.exe to chronos.exe
Click to expand...
Click to collapse
looks like this is correct as i set my right softkey to g-alarm and this also changed the action when selecting the clock. Checked out this reg key and its linked to g-alarm so prob correct. Finally the answer for you.
yes lioryte is correct, that is how I got it to associate with Samsung clock lol.
Opening Chronos via tap of the clock panel:
...well, Chronos.exe is located in Program Files/Chronos/Chronos.exe
None of these work for MSClock/1:
Chronos.exe
Program Files/Chronos/Chronos.exe
/Program Files/Chrono/Chronos.exe
They give me the messege, "The file Chronos cannot be opened. Either it is not signed with a trusted certificate, or ..."
If I move the executable Chronos.exe from Program Files into Windows, it does open up Chronos, but this sounds like it would cause other problems with the program???
Is there some other value I could asign to MSClock/1 to lead to /Program Files/Chronos/Chronos.exe?
Is it alright to just move that .exe???
try just making a shortcut to the .exe in windows and then put chronos.lnk in the reg..
Oh, I tried that too...
Using total commander, I create a shortcut 'chrono.lnk' in the window dir that pointed to \program files\chronos\chronos.exe, and set it for the value of MSClock/1, but it too would give me an error.
AH, I got it!
use quotes.
"\Program Files/Chronos/...
include the quotes in the value
More specifically:
"\Windows\ChronosStartup.exe" alarms
"\Windows\ChronosStartup.exe" Timers
...these work for right soft key, & MSClock

[REF] Rotating apps using registry and finding classes

Hi All,
I have written this little tutorial by piecing togethor bits of info from other forums and threads. Some of you will probably know this already but this is for those who are struggling:
To get the g sensor rotating any application that doesnt do so already you will need to edit the registry on your device.
Using your preferred registry editor navigate to:
HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
Here you must create a new string value. The name of your string is whatever you want it to be. The value of your string would be the path to the exe of the program you wish to rotate.
Once this is done you must then navigate to:
HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
Here you must again create a new string value.
The name again is whatever you want it to be... the value would be the class name of the application you are attempting to rotate.
For example.... to get excel rotating with the G sensor:
HKCU\Software\HTC\HTCSENSOR\GSensor\ModuleName
Create new string value... i named it Excel Mobile. Value is:
windows\pxl.exe
HKCU\Software\HTC\HTCSENSOR\GSensor\WhiteList
Create new string value... again i named it Excel Mobile. Value is:
BOOKWIN
Create second new string value... i named it Excel Mobile2. Value is:
PXLMainWnd
Exit your registry editor and soft reset the device. Job done. Excel will now rotate within the open file browser (PXLMainWnd) and also within any open workbook (BOOKWIN)
For any particular app you should be able to figure out what the full path is to your exe but to get class names use dotfreds task manager:
http://www.dotfred.net/TaskMgr.htm
Once the task manager is installed.... start your app... then start the task manger... go to applications tab and long press on your app which will be listed if it is still running... select details. Go to the windows tab... this screen will list all of the classes currently accessed by your app. Ususally the ones to add into the whitelist will be the ones that are preceded by the app name but not always.
To get you guys started here are the settings for word:
windows\pword.exe
and you need to add two classes to the white list:
WordPad
Pocket Word
Remember that class names are case sensitive.
disclaimer: I TAKE NO RESBONSIBILITY FOR ANY DAMAGE TO ANYONES DEVICE BY POSTING THIS QUICK TUTORIAL. YOU CAN SERIOUSLY DAMAGE YOUR DEVICE IF YOU EDIT THE REGISTRY INCORRECTLY... IF YOU DO NOT KNOW WHAT YOU ARE DOING LEAVE IT WELL ALONE!!!!
bump cos ive changed the title!
can you find the modulename/whitelist for the messaging (SMS/MMS) tab? It's the only one I have trouble rotating.
lude219 said:
can you find the modulename/whitelist for the messaging (SMS/MMS) tab? It's the only one I have trouble rotating.
Click to expand...
Click to collapse
ill have a look if i get some time.
im having trouble getting the lifestyle home page in spb shell rotating atm!
Audio Oblivion said:
ill have a look if i get some time.
im having trouble getting the lifestyle home page in spb shell rotating atm!
Click to expand...
Click to collapse
thank you, and take your time =) btw, I just wanna be clear that I didn't mean the messaging tab on the home/sense screen, I meant the default win6.5 screen.
Thanks for this post, I am trying to find the details for a new app called DynaInk. I've followed your instructions and I am about to see if it worked?
*** Drum Roll ***
It worked, I used #NETCF_AGL_BASE_
Thank You
I applied this trick for Notepad which is a simple text editor that doesn't even require installation:
http://www.shamasis.net/projects/notepad-mobile/
After installing Dotfred's Task manager it showed me several string values for Notepad.exe and one of them was same as Nighthawk's DynaInk: #NETCF_AGL_BASE_ so I added it for my Notepad.exe.
Now it rotates with G-sensor
Thank you, Audio Oblivion for this guide!
p.s. What kind of damage to the device could possibly be done by adding those strings with those values? One could delete them if there's no result ?!?
Great post, works very well except for 1 program.
Perhaps you can help me out with the class name of TomeRaider3.
Program is TomeRaider3AU.exe, but for the Whitelist entry I always get different ClassNames when I start it as just like: "Afx:83ab6eaa:0, next time I get Afx:d54d7832:0, and so on.
Can anyone please help me out with this ?
many thanx in advance
Edit: Found the solution. I have added a ModuleName Wikipedia with Value "\Programme\TomeRaider3\Wikipedia.tr3 and a Whitelist entry for Wikipedia called "Dialog", for the Whitelist entry of TomeRaider I also used "Dialog", now it works very well.
lude219 said:
thank you, and take your time =) btw, I just wanna be clear that I didn't mean the messaging tab on the home/sense screen, I meant the default win6.5 screen.
Click to expand...
Click to collapse
I launched the default wnimo messaging screen and saw a process called tmail.exe appear.
search for tmail.exe on you device and use its full path as the module name. its probably windows\tmail.exe
for class entry in whitelist try: Dialog
If thats not it then start messaging, lauch dotfreds task manager, long key press on tmail.exe... click on windows and try every class you see!
I have now found that gyrator works quite well if you want EVERY screen on your device to rotate with the acceleromter... however... even though it is set to rotate everything... not all windows work. I still had to add in certain aspects of SPB shell to the whitelist for instance. Also... HTC Sense homescreen doesnt like being rotated.
drkalo said:
p.s. What kind of damage to the device could possibly be done by adding those strings with those values? One could delete them if there's no result ?!?
Click to expand...
Click to collapse
You wont damage your device if you follow my instructions carefully. The values you are changing are safe to add, delete and edit at any time (although dont touch what is already in the registry before you started adding to it). The discalimer is there in case someone messes up their registry by doing something incorrectly!
What about the programs that have the same Class name eg. "Dialog".
As i noticed it's enough to add process name to ModuleName or Class Name to WhiteList. No need to put both.
Better to use ModuleName if you have several applications that both have eg "Dialog" but one of them you do not want to rotate.
Eg. Nimbuzz - Dialog, HTC phone app - also Dialog. I do not want to rotate Phone So for me works only the ModuleName for the Nimbuzz.
For other apss I only include data to whitelist In fact there is two lists - by process name and by Window class...
Is there a similar way to enable the "Pinch to Zoom" feature for programs by just adding the programm to some registry entries?
TomTom
This is great
added TT7 = MunichWinClass to the white list.. now I can use TomTom in landscape
Thank you for this information.
I've done 3 programs;
Resco Explorer 2008
ModuleName
\Program Files\Resco Explorer\Explorer.exe
WhiteList
RESCO_EXPLORER_CLASS
and
Palm Digital Media eReader for windows mobile
ModuleName
\Program Files\Peanut Press\eReader.exe
WhiteList
PalmDigitalMediaWin
IME
and
1-Calc
ModuleName
\Program Files\OmegaOne\1-Calc\1-Calc.exe
WhiteList
Dialog
I can't take responsibility if these changes don't work for someone or if they brick their device.
Google maps, OziExplorer, File Explorer & Garmin
Thanks for the detailed info
ModuleName
"GMaps"="\Program Files\GoogleMaps\GoogleMaps.exe"
"Ozi"="\Storage Card\OziExplorer 2\OziExplorerCE.exe"
"FileMan"="\Windows\fexplore.exe"
"Garmin"="\Storage Card\Garmin\Apps\WM\QuePPC.exe"
WhiteList
"GMaps"="GoogleMapsMobile"
"Ozi"="OziExplorer"
"FileMan"="FEXPLORE"
"Garmin"="QUE_SUBAPP_WND_CLASS"
Thanks for this have done tomtom too. Perfect!!
Edit: Could anyone put this in a cab for me please?
Dir of .exe = \Storage Card\Program Files\TomTom Navigator.exe
Value = MunichWinClass
Not working
Hi all,
I have tried to apply this procedure but my applications still do not rotate.
I have tried both modifying the registry by hand, and using BsB Tweaks to rotate Excel but with no success. Any suggestions to share?
EDIT: I have tried disabling and re-enabling the Rotate feature (AutoRotation -> 0 -> 1), resetting the phone after each change, and now NO APPLICATION will rotate: not even HTC messaging nor the Sense Pictures tab.
HELP!!!!
EDIT 2: Solved! I've just found out by pure chance that rotating works only counterclockwise, while I assumed it should work both ways!

Help creating a "manual intent shortcut"

I'm trying to create a shortcut that will open the adw app drawer using Manual Intent Shortcut (hxxps://market.android.com/details?id=app-net.cwfk.ig88.intents). I know there is a way to create an app drawer shortcut using adw directly. What I need help with is creating the shortcut using the app I mentioned above.
Can some one tell me what the following values should reflect?
Action:
Catagory:
Component Package:
Component Class:
Any other values that I left out
Any help would be much appreciated.
I believe i was just working on an app using something like what you want.
A google search for LauncherShortcuts showed this. http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/app/LauncherShortcuts.html
You also need to change the intent filter thing in the manifest to add it to the shortcut list.

[WebTop]-[How To] Create shortcuts to custom phone actions on Webtop

I looked around and couldn't find a detailed guide on how to do this so I figured it out and decided to share..
Prerequisites:
Working Webtop
XFCE Desktop
or
AWN Manager
aLogcat > https://market.android.com/details?id=org.jtb.alogcat&hl=en
This is a simple proccess which will require you to use aLogcat to get the activity name of the item you want to launch and then simply make a new shortcut item on your launcher.
Getting our activity name:
Launch aLogcat
Hit the menu button on your phone
Select Filter
type "activityMan"
leave the option for regular expression unchecked
--Now that your application is logging and filtered you will see a window with alot of text. This is where we will be searching.
hit your menu button again
Select Clear
Now hit your home button and navigate to the icon you would like to be able to directly launch from your webtop and click it.
Go back to aLogcat
Hit the menu button on your phone.
Choose the pause option from ALogcat
***Now were going to search for the string we need to tell activity manager which activity to launch**
Look through your log for something that looks like this: "com.p1.chompsms/.activities.ConversationList" (this one will launch ChompSMS)
In my case the entire line looked like this: /ActivityManager( 1700): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=com.p1.chompsms/.activities.MainActivity bnds=[5,343][115,483] } from pid 3088
copy the string that comes after "cmp=" (bolded above)
Creating the shortcut
Depending on which interface you are using this will differ slightly:
For AWN Manager
Open AWN Manager
Choose Launchers
Click Add
Set your name description and Icon
For Command add the following: androidlauncher --action "android.intent.action.MAIN" --cmp "<TEXT THAT YOU COPIED ABOVE>"
For XFCE
Right click on the task bar.
Choose "Customize Panels"
Next to where it says Panel 1 hit the + button to create a new Panel.
**Select the new panel and edit its options**
Set it to Normal Width | Fixed position | And then select the position where you would like to see it on your screen.
Change icon size to suit your taste. (Tip, if you would like to use the icon for the application an easy way to get it is to Google "AppName icon" and then use Google's image search. Choose an icon that's somewhere near 96*96 (you can sort by size), save it and select it from the menu.
Now that we have created a shortcut / panel
Right click the new panel / Icon
Add new Items
Launcher
Set your name description and Icon
For Command add the following: androidlauncher --action "android.intent.action.MAIN" --cmp "<TEXT THAT YOU COPIED ABOVE>"
you now have a working shortcut that will pull up the app or activity in "Mobile view" on your webtop!
Yay.
If anyone knows any more tricks with this please let me know! I have been wondering if it is possible to tell the app to come up in full screen.
** if this helped you please remember to hit the thanks button (help a guy boost his newb cred) **
Thanks for this. You probably saved me a lot of time because I was going to try to figure out how to do this.
Have all the apps on the phone worked without problems?
Also, does the Entertainment App work thru XFCE Desktop without the Awn dock?
blingmaster said:
Thanks for this. You probably saved me a lot of time because I was going to try to figure out how to do this.
Have all the apps on the phone worked without problems?
Also, does the Entertainment App work thru XFCE Desktop without the Awn dock?
Click to expand...
Click to collapse
I haven't tested enough to say whether everything works or not. I also haven't eve used the entertainment center . This was one of the primary reasons why I was frustrated with the original webtop. They gave use the ability to launch only a couple of their apps rather than just creating a mechanism for us to select apps for shortcuts. This is something I may look into developing in the future.
Awesome work! I was just going to look at this today after looking at XFCE menu editing yesterday and BAM you already did it!
Too bad I broke my webtop somehow and had to start over this morning. I'm getting so practiced I could do it in my sleep!
Upon further thinking, you could probably just create a .desktop file like the other ones have and then it would automagically get put in the XFCE menu. Then it could be scripted and added into webtopscripts or something.
stewartsoda said:
Awesome work! I was just going to look at this today after looking at XFCE menu editing yesterday and BAM you already did it!
Too bad I broke my webtop somehow and had to start over this morning. I'm getting so practiced I could do it in my sleep!
Upon further thinking, you could probably just create a .desktop file like the other ones have and then it would automagically get put in the XFCE menu. Then it could be scripted and added into webtopscripts or something.
Click to expand...
Click to collapse
Last night was my first night with a working webtop, being able to quickly launch ChompSMS , or pandora on my mobile view was top priority for me. Now that I have that mostly handled I guess I need to move on to learning XFCE tweaks. I'm really glad this helped, I was really surprised that this wasn't already hashed out and detailed, but I was glad to finally be able to contribute something over here!
Hi nineismine,
Mind to provide me a little bit of extra info on the below? Thank you in advance.
(1) How to "remove" the pre-installed short-cut apps in mobile view? For example the "Messaging". I rather prefer to replace this with the "Text Messaging" by following your tutorial.
(2) How to "remove" the pre-installed short-cut apps in webtop view? For example, mine Atrix is Asia Retail version and it build-in with the "Motorola Video" app-tray which I have no idea how to "remove" it.
I herewith attached the screenshot on my stock webtop for your reference (the stock webtop do support screenshot feature and I learn this from this link: http://forum.xda-developers.com/showpost.php?p=17093665&postcount=3)
Edited:
I found my solution by installing the webtop2SD. My issue solved. Thanks.

Categories

Resources