Trying to make a "mini activity" in an activity - Java for Android App Development

Hello all ,
not sure if i said this correctly ,
what i'm trying to do is basicly a button that when you press him you go to a so called mini screen with the main one in the background and a little darker (and unaccessable until you return to it) , and in the mini screen there will be a return button that will return to the main activity , i see it in a lot of apps and i also need to do it
any guidance will help a lot !
thanks everyone.

Hello smackering.
Do you mean a Dialog?
h**p:**developer.android.com/guide/topics/ui/dialogs.html

hmm
it seems like it ,
thanks a lot ! :good:
Shells Apps said:
Hello smackering.
Do you mean a Dialog?
h**p:**developer.android.com/guide/topics/ui/dialogs.html
Click to expand...
Click to collapse

Depending on what you want to do inside the mini screen, you could also use a fragment to be displayed on top of the main layout

Related

Enlarge your today screen (how to remove the bottom menu bars)

If you're looking to get rid of the menu bar at the bottom of the Today Screen, read on. This is not a new tip, but might save you time, as there's a lot of different versions of these programs flying around. Only the one below works on WM6 / HTC Touch.
I personally find that the Menu Bars at the bottom of the Today Screen really spoil the look of the HTC Touch's sleek black/grey theme. Besides, the Comm Manager and Contacts are both accessible via the spinning cube (or the camera button if you install Double Launcher) so there's no need to have on the Today Screen, you may as well get more space for plugins, or just to keep everything looking neat and tidy. See screenshot below!
Here's how to banish them forever (?!) :
1. Download ToggleTodayIIAlpha from this link:
http://www.vijay555.com/vj/releases/vjtoggletodayii/vjtoggletodayiialpha.exe
2. Copy it to your \Windows\Startup directory. (or somewhere else and paste a shortcut instead)
3. Go into the registry and edit this key:
HKLM/Software/Vijay555/VJTodayToggle
Change these keys:
Softkeysize = 1
StartSize = 26
TrayVisible = 1
That's it! I've had no massive problems with this so far, although I haven't been testing it for too long. I'd be interested to hear how people get on in terms of stability/bugs. You WILL get problems if you try to use any of the older VJTodayToggle programs in the thread on this forum:
http://forum.xda-developers.com/showthread.php?t=243211
(SIP keyboard staying on, SIP moving to the top of the screen, menu titles disappearing but not the background, etc.)
...in fact, that's precisely why I'm sharing this info with you, as this thread is 39 pages long and it's only towards the end that things become totally clear! I'll post again if there's any unexpected side-effects, I'm currently minimising BatteryStatus and I don't know whether this will
Good luck!
Carlos
NOTES / ADVANCED
=======================
A: If you want to make your screen even neater AND still overclock your Touch, then, in step 3 above, you can make TrayVisible=0 then you can minimise the BatteryStatus plugin and it won't show up on your today screen. (right click on batterystatus icon, choose 'show rows -> minimise') I haven't tested this properly yet.
B: If you want to explore hiding the Start Menu, feel free, it looks superb when you first do it, but then I have found that the HTC biotouch (spinning cube) automatically re-instates the start menu bar when it's deactivated each time.
C: Please note, this program ( tt2.exe) DOES NOT TOGGLE, even though it's called that! Again, it's a 39 page thread, I warned you...
D: You can also run TT2.exe with a -config option to avoid editing the registry, but this would actually make the above even more long-winded to explain to any n00bs.
E: A nice new HTC wallpaper is doing the rounds without the logo. (As you can see from my screenshot, it's mis-positioned with the extra screen space) See http://forum.xda-developers.com/showthread.php?t=319830
F: Vijay555 has been meaning to release a new (non-alpha) version of the software for some time, but sounds pretty busy. He seems like an all-round splendid guy though and I'd like to thank him for this software and his continued postings/programming.
I have the HTC X7500 WM6 and I've been desperate to make it works.
I've been trying other version from the 40 pages thread, so I'll try this one and I will post result.
BigDede said:
I have the HTC X7500 WM6 and I've been desperate to make it works.
I've been trying other version from the 40 pages thread, so I'll try this one and I will post result.
Click to expand...
Click to collapse
Good luck! The honest truth is that after I'd posted this, I discovered a couple of bugs that appeared in soak testing. I gave up in the end - it worked 90% but I would still occasionally get conflict, e.g. the SIP keyboard would appear at the top of the screen sometimes and only a soft reset would put it back where it was meant to be!
carlosp_uk said:
Good luck! The honest truth is that after I'd posted this, I discovered a couple of bugs that appeared in soak testing. I gave up in the end - it worked 90% but I would still occasionally get conflict, e.g. the SIP keyboard would appear at the top of the screen sometimes and only a soft reset would put it back where it was meant to be!
Click to expand...
Click to collapse
Yep I confirm that, SIP keyboard is there, and sometimes as well softkeys stay there after softreset.
Well actually for me it's even worse, it's hiding the system tray (the bar just above the softkeys bar) where we can add shortcuts icons and keep the softkeys bar enabled..
Im disappointed but thks for vijay555 for all the efforts
Perfect... without HTC Logo is even better...
Thanks Carlos,
I've just installed and its working fine. With the clean background from http://forum.xda-developers.com/showthread.php?t=319830 looks even better.
Cheers,
Marcelo
BigDede said:
Yep I confirm that, SIP keyboard is there, and sometimes as well softkeys stay there after softreset.
Well actually for me it's even worse, it's hiding the system tray
Click to expand...
Click to collapse
See my original post, have you tried setting TrayVisible=1 in the registry, this should show the system tray.
I followed exactly what u posted, it displayed it correctly the first time, then after soft reset it was displaying only the softkeys bar and hiding the system tray bar
Thks anyway
How does this look on screens BESIDES the today screen? I have used other programs on different WM phones in the past and although the bottom bar disappears on the today screen, it is still on other screens.
Also, can you use the bottom of the screen or is it just dead space? Some of us have moved the HTC Home Plug to the bottom of the page and if it is just dead space, it is going to look bad....
maevro said:
How does this look on screens BESIDES the today screen? I have used other programs on different WM phones in the past and although the bottom bar disappears on the today screen, it is still on other screens. Also, can you use the bottom of the screen or is it just dead space? Some of us have moved the HTC Home Plug to the bottom of the page and if it is just dead space, it is going to look bad....
Click to expand...
Click to collapse
The menu bar is visible on other screens, this behaviour is by design. I cannot see why anybody would want it invisible on other screens, as you normally need those softkeys for menus in most programs!
As far as I know you can use the bottom of the screen, it is not dead space. But why not try it out - it's unlikely to do any harm. You can always delete it from your startup directory to uninstall if you don't want it.
C
Well it works well so far.....(Not my screen, Neo's screen @ HoFo)
I can't remember if the TrayVisible setting even works - I think it was something I was intending to build in, but never got around to it.
Apologies... I'm kinda programming again, had lots going on, so never finished the app. Sorry for you guys having to use my unfinished piece of cr*p. I'll make it work properly one day!
V
vijay555 said:
I can't remember if the TrayVisible setting even works - I think it was something I was intending to build in, but never got around to it.
Apologies... I'm kinda programming again, had lots going on, so never finished the app. Sorry for you guys having to use my unfinished piece of cr*p. I'll make it work properly one day!
Click to expand...
Click to collapse
Thks a lot vijay555
HELP!!!
I installed this, but I don't know how to get into the registry from an .exe file, so I just tried to open the file through my phone, and instead it has hidden my start bar, as well as the bottom bar. How do I reverse this???
maevro said:
Well it works well so far.....(Not my screen, Neo's screen @ HoFo)
Click to expand...
Click to collapse
How did you "move" the HTC Home plugin to the bottom part of the Today-screen without any plugin above it? I searched all over the forums, but I cannot find the answer to this question
--Marc
soulstar said:
HELP!!!
I installed this, but I don't know how to get into the registry from an .exe file, so I just tried to open the file through my phone, and instead it has hidden my start bar, as well as the bottom bar. How do I reverse this???
Click to expand...
Click to collapse
Just soft reset your phone.
marc2503 said:
How did you "move" the HTC Home plugin to the bottom part of the Today-screen without any plugin above it? I searched all over the forums, but I cannot find the answer to this question
Click to expand...
Click to collapse
Use the HTC Home customizer to "unlock" it. Then you can move it around like normal.
However, it doesn't redraw correctly on the right side if you unlock it, and a scrollbar comes and goes.
i have a other solution!! PCM shrink installe it and your bar remove it s very easier! For become to the original config juste delete the programmz!!
won't stick
Hi..very nice and easy Zip File..just one problem: the toggle won't stick after a soft reset = one has to go into File Explorer..double click the Toggle File and only than the screen is "clean" again.
Any way to make the toggle "stick"?
I have not this problem! I install the cab i going on the explorer and today shrink and clik on after i reboot my pda ans the bar not appear ... You can try put a abbreviated of today skrink in WINdows/started for star the application automatic on windows sartup
the result of the appl:
I have this running at startup on my Tilt, works with screen rotations and everything! And the hard keys are still mapped to calendar and contacts for quick access, awesome.
Many thanks, couldn't stand those useless soft keys before.
- Charles

(found) Cascaded programs-only menu

(edit) Quickmenu in english is out !
Hola amigos, since I don't use wisbar anymore I'd love to find such a launcher.
I want cascaded, direct access to the (initially submenu) programs list
I don't need to have recent apps or settings (builtin start menu already does the job quite well).
Cubes are useless to me (too slow, uncomplete lists, don't use the contacts fav. page)
Do you know something like that, or is it still to develop ?
Would you like it as well ?
And at last, does someone know how to make a shortcut that launch builtin start menu ?
Thanks for reading !
SmallMenu seems to be the perfect candidate for you. the start menu that SmallMenu uses is customizable, so you can take out the Recent Programs and Settings as you wish, as well as adding other items such as Running Tasks or Task Management Tools, among other things.
or WisBar Lite.
Thanks for your answers, I just tried both of them:
Wisbar lite is too slow at scrolling application list and can't directly display programs (one need to open the programs submenu).
SmallMenu is really cool. It's uglish, but it does its job well.
I may write another launcher to fit exactly what I need with a better look.
Meanwhile, thank you for the hint !
So, what you want is a pretty SmallMenu? How pretty you want it to be? I mean.. er.. care for a photoshopped of what you are having in mind?
Ok, I just played a bit more with SmallMenu & it's almost perfect.
Actually, I'm member of the Ban-The-Stylus association
Above all I want bigger buttons (I should have mentionned it before), for easy thumb operation.
Also a better look would be nice.
So I need a bigger font (that looks better), separators between each row and a gradient background for each row as well.
The ability to have running tasks displayed in a submenu is also great, and so would be the closing icon if it was, once more, bigger.
Or much better, if we could close the application with tap 'n hold !
I'd be glad to purchase if that wishlist is fulfilled, the problem is, I can't even find a Contact link on their homepage, while the development seems active. Weird.
Do you have an idea how to contact them ?
Small menu is great and all. But isnt there any program out there that can cascade the start menu and dosent give you all the extra stuff thats in small menu and wisebar lite?
I just want a program that cascades the start menu. no task manger, no soft reset, no battery meter and so on....
KidGixxer said:
Small menu is great and all. But isnt there any program out there that can cascade the start menu and dosent give you all the extra stuff thats in small menu ?
Click to expand...
Click to collapse
You can disable them. I don't think your concern is about 20/30kb storage space ?
I've been using SmallMenuPlus for a few months and find it too useful to be without. Organize your programs into like directories and it's too easy.
With it being an execute file you can link it to a hard button, cube, shortcut or even a FTouchFlo launch swipe
Now I have no use for the default WM Start bar except to get into Settings (SmallMenu seems to forget where this is on every S/R).
I have no problem navigating and selecting with my thumb, although slightly larger icons wouldn't be rejected.
Taping the small icon in the top left corner can be hit-and-miss sometimes so I made my own larger one and select it with the 'Use external skin for start button' option. This way I can't miss it but still leave a little room to get the default Start bar if I need to. Make your icon 25 high and any width, mine is 42x25.
No one is aware how to contact Small Menu authors ?
Do we get an email address to contact them when we register ?
I'd like to see if they can do something about my requests before I register.... but no forum, no contact form, no email, too bad
alternatively you could try psw indibar 2.7.0 for cascading menus, (have tried the lot and to me, this one's the keeper), and it tops up by giving ram and or battery meters on the top bar, or anywhere you want.
Customization is a pain in the beginning, but once done you;ll be happy
www.apoxsoft.com
lastnikita said:
No one is aware how to contact Small Menu authors ?
Do we get an email address to contact them when we register ?
I'd like to see if they can do something about my requests before I register.... but no forum, no contact form, no email, too bad
Click to expand...
Click to collapse
Try [email protected]
how about "quick menu"... a totally free cascading menu supporting today themes without handicaping the original today menu....the only problem is...only simplified chinese version is available....
http://www.yonsm.net/read.php?358&page=6
note: the latest version is 2.7 which was released on 22/10
by the way, this is his email address: [email protected] egg on him to release an english version if you like quick menu as i do^^
Thanks a lot for both suggestion and contact link, I'll give them a try later tonight !
I have sent a mail to that guy. His other software is in english so I think we have a chance.
iiiox said:
how about "quick menu"... a totally free cascading menu supporting today themes without handicaping the original today menu....the only problem is...only simplified chinese version is available....
Click to expand...
Click to collapse
I'm giving up on trying it, too lazy ^^
Does it support font customization (size) ?
Lastnikita,
This is something I am very interested in, if that gives you any motivation.
I too used to use Wisbar but it was far too hit and miss for my liking. Sometimes it would load in, sometimes not. It all depended on teh theme in use at the time as it was sensitive to some, not sensitive to others. In the end I pulled it.
Will keep a watching brief on this thread to see how you get on.
Cheers
WB
iiiox said:
how about "quick menu"... a totally free cascading menu supporting today themes without handicaping the original today menu....the only problem is...only simplified chinese version is available....
http://www.yonsm.net/read.php?358&page=6
note: the latest version is 2.7 which was released on 22/10
by the way, this is his email address: [email protected] egg on him to release an english version if you like quick menu as i do^^
Click to expand...
Click to collapse
Oh yea this program rocks. I searched around for QuickMenu 2.6. from what i found out, he is working on an english version but having problems.
wacky.banana said:
I too used to use Wisbar but it was far too hit and miss for my liking. Sometimes it would load in, sometimes not. It all depended on teh theme in use at the time as it was sensitive to some, not sensitive to others. In the end I pulled it.
Click to expand...
Click to collapse
Not to sound like a commercial but if plain old vanilla cascading start menu is what you want then why not use WA3 with the default theme which looks pretty much like the WM6 default and disable all the bells and whistles?
I've never heard of a case where the default theme wouldn't load -- it was usually the fancy aftermarket themes that added all of the extra graphics and sounds that caused the loading problems.
can't you just use wm5newmenu?

Program for taskbar htc touch

Hey everyone, I'm trying to find a program for the htc touch that will let me switch between programs on my taskbar like on a normal desktop pc.
I hope one of you knows what I mean
either only an icon that I can click or let it be rectangular buttons, whichever is fine.
Thanks everyone
Archius said:
Hey everyone, I'm trying to find a program for the htc touch that will let me switch between programs on my taskbar like on a normal desktop pc.
I hope one of you knows what I mean
either only an icon that I can click or let it be rectangular buttons, whichever is fine.
Thanks everyone
Click to expand...
Click to collapse
I guess WkTASK could be the right for you:
http://soft.photoracer.net/docs/wktask_en.html
Thanks bro, I found that also an hour ago, it's exactly what I wanted
search for 'alt+tab' on this site and you will find another one that is exactly like the PC type Alt+tab switcher. You can assign it to a hardware button.

How to display Tasks in TF3D Home

Good evening everybody,
Well, until last week I used an HTC Elf (3450) and the SPB Diary.
The main purpose for me was to see my "rendez-vous" and tasks of the day on the same screen.
Now I have the Touch HD. I find the Touch Flow 3D very nice and easy to use. It's more than I want but ... how can we display the tasks ???
It seems it's not possible (for the moment ?)...
And I just can't believe that no one, here, is interested in displaying the Tasks on the Home screen just behind (or instead of) last calls for instance ...
I'd appreciate if someone could develop a plug-in or a stuff like that ...
Please ! Give my tasks back to me !!!
That's a good question. I would like to know that too
Would be great..
Year me too
I would also be very interested in displaying tasks in the home screen (the screen is so big, let's use it !).
It's so obviously useful.
And you can't even have a Task tab, according to HTC's FAQ :
Can I add Tasks as a tab in TouchFLO 3D ?
No, TouchFLO 3D does not support Tasks as one of its tabs.
As an alternative, you can put shortcut to Tasks in the Start Menu:
Go to Start > Settings > Personal tab > Menus, check the Tasks box.
download SECOND TODAY
download TODAY AGENDA
voila
sorry. But I did not get it, what should I download?
ekerbuddyeker said:
download SECOND TODAY
download TODAY AGENDA
voila
Click to expand...
Click to collapse
http://www.chi-tai.info/cs_wm_tools_im_cs.htm#SecondToday
http://forum.xda-developers.com/showthread.php?t=270288
Just trying it out myself!
Thanks for your answers,
marcopolo007uk & ekerbuddyeker
I just added Second Today. It works fine and btw you can have 2 fully environments swapping from one to the other but ...
- 4027 Ko in memory
- I tought about something more simple : just a few more lines on the home screen or why not ... a new tab icon ?
I really don't understand what is the problem with those tasks and why it seems so difficult.
If HTC can't do that I'm sure someone here could ...
I have just allocated the left soft button to tasks until a better solution comes along.
Regards
GLOC said:
I have just allocated the left soft button to tasks until a better solution comes along.
Regards
Click to expand...
Click to collapse
Run that one by me again please......
Beards
On the home page, I have assigned the left soft key (normally phone) to launch my task manager (using the registry editor) so it is only one button from the front page.
Sorry if I was unclear in the first post.
GLOC said:
On the home page, I have assigned the left soft key (normally phone) to launch my task manager (using the registry editor) so it is only one button from the front page.
Sorry if I was unclear in the first post.
Click to expand...
Click to collapse
Many thanks GLOC..... Now fully understood.
Beards
TF3D tasks view ?
Hello,
I am wondering how to view my daily tasks /not appointments/ in some of TF3D tabs ?
Any solutions ?
10x in advance
yeaaaah .. i hope someone come up with that .. or HTC team develop a plugin or something .. it would be pretty neat
and a disadvantage actully ^_^
but still over-all a pretty good PPC
This would be a nice to have!
I think it's very surprising that this feature is not already available, it's the first thing I need to check everytime I look at my phone.
That would be really nice!
I tried installing the Xperia panels interface the other day, and was pleasantly suprised to see you can have tasks on your home screen there.
How wedded to the TF3D home screen are you? You could try the Xperia one.
If I could replace the "Call History" on the home tab for "x active tasks" or "x tasks to do today" would already be great!
Is it possible?
If I could replace the "Call History" on the home tab for "x active tasks" or "x tasks to do today" would already be great!
Is it possible?

New task button/application

I've had several Sony-Ericsson product featuring UIQ OS and that OS had a very efficient button on screen . I am talking about the NEW button. you had the abilitu to do NEW : appointment , note , contact , sms , mms .... stuff like that. Is there any application that can do this on X1 , because when i installed windows, before customization , i think i saw this kind of menu on left soft button.
Or an on screen cab-installable new task option like on touch PRO , when opening the slide
That's a good question. I wouldn't mind knowing this myself as I could use a handy little button to create new items.
I have never seen one around myself, I would imagine it would have to be something separate to deal with it as - as far as im aware there isn't anything built into WM to allow this. Though I may be wrong!
it would be very helpul and not only that , but it ould make routine tasks a lot easier
it would be a great thing if it could be in an inegrated menu in quickmenu or as a some sort of program that can be assigned on a hardware button.
doestn't anyone have a solution for this. I am talking about something like the action menu.
zzone said:
doestn't anyone have a solution for this. I am talking about something like the action menu.
Click to expand...
Click to collapse
yes i know two solution for this.
1.aebutton plus.you can give to soft button more then 3 action.
2.download wm5menu.it is freeware.just google please.
cheers
yep wm5newmenuwm5 should do it

Categories

Resources