Get Layout Title Android - Java for Android App Development

Hello ,
I Know how to Get the Current Foreground App Package Name , but what i am Looking for is to Get the "Windows Title"(the one who Can Change between Multiple Activity in the Same App) , it Is Possible & Without Root ? Look Picture ,
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
(Picture from Google Images)
Thanks .

celb said:
Hello ,
I Know how to Get the Current Foreground App Package Name , but what i am Looking for is to Get the "Windows Title"(the one who Can Change between Multiple Activity in the Same App) , it Is Possible & Without Root ? Look Picture ,
(Picture from Google Images)
Thanks .
Click to expand...
Click to collapse
Why get the title? Don't you want to set it?
Edit: If I understand correctly, you want this: http://developer.android.com/reference/android/app/ActionBar.html#getTitle().

bassie1995 said:
Why get the title? Don't you want to set it?
Edit: If I understand correctly, you want this: http://developer.android.com/reference/android/app/ActionBar.html#getTitle().
Click to expand...
Click to collapse
No , i does not Want to Set it , i want to get Title of the Foreground App(Not My App) , i just want to Log the Foreground Title App/Screen , thats why i am Asking , i does not want the Title of my App but i want to have a Background Service and get Title of the Foreground App & look like the Method "getTitle()" is not Possible with External App ...

celb said:
No , i does not Want to Set it , i want to get Title of the Foreground App(Not My App) , i just want to Log the Foreground Title App/Screen , thats why i am Asking , i does not want the Title of my App but i want to have a Background Service and get Title of the Foreground App & look like the Method "getTitle()" is not Possible with External App ...
Click to expand...
Click to collapse
Ah, I see. I Googled a bit, maybe this could help? http://stackoverflow.com/questions/8131909/how-to-find-the-current-foreground-activity-in-android

bassie1995 said:
Ah, I see. I Googled a bit, maybe this could help? http://stackoverflow.com/questions/8131909/how-to-find-the-current-foreground-activity-in-android
Click to expand...
Click to collapse
Thanks for your Search , i have taken a Look , but i Think what i am Looking For is Impossible Unless its my Own App ...

celb said:
Thanks for your Search , i have taken a Look , but i Think what i am Looking For is Impossible Unless its my Own App ...
Click to expand...
Click to collapse
Could be, I thought that too... It's probably a security feature.

bassie1995 said:
Could be, I thought that too... It's probably a security feature.
Click to expand...
Click to collapse
Yes , Screen Capture too , without Root

Related

how do i make it look like this.

{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
i want to know how to get my screen to look like this.
Then listen to the magical clue:
"HTC home" is the first one
"AddON" is the second one
kerio said:
Then listen to the magical clue:
"HTC home" is the first one
"AddON" is the second one
Click to expand...
Click to collapse
The "HTC home" that you mentioned....are you referring to this file Helmi HomePlug_Comp.cab?
ycng76 said:
The "HTC home" that you mentioned....are you referring to this file Helmi HomePlug_Comp.cab?
Click to expand...
Click to collapse
he is saying to change today theme.
anyway, if you want to have that big clock, then yes...but use the 6tab version...
nyuszi said:
anyway, if you want to have that big clock, then yes...but use the 6tab version...
Click to expand...
Click to collapse
sorry...i don't really get you. Where can I download the 6tab version then?? Thanks in advance
How to resize the clock , its too huge and cannot change anything
for me i've moved back to spb mobile shell... and removed htc home
ycng76 said:
sorry...i don't really get you. Where can I download the 6tab version then?? Thanks in advance
Click to expand...
Click to collapse
it is in the addon.rar, that you got with the rom...helmi htchome6 is what you need
batterytwo said:
How to resize the clock , its too huge and cannot change anything
Click to expand...
Click to collapse
use htc home customizer...but anyway you won't be able to change the size but the layout, because the big place is needed for the application tab
nyuszi said:
use htc home customizer...but anyway you won't be able to change the size but the layout, because the big place is needed for the application tab
Click to expand...
Click to collapse
Hello nyuszi, I already installed HTC home form Helmi rom. But, I'm not found the cutomizer. Is it separate cabs? Or already on the package?
N where can I found the menu?
search the forum, or google it...if i remember well it's posted somewhere in universal threads...
and what menu?
I have installed the cab file in the addons and my screen looks exactly so, with big clock.
[BY]onicS said:
Hello nyuszi, I already installed HTC home form Helmi rom. But, I'm not found the cutomizer. Is it separate cabs? Or already on the package?
N where can I found the menu?
Click to expand...
Click to collapse
Hi...i found the HTC Home Customizer here http://forum.xda-developers.com/showthread.php?t=319308&highlight=htc+home+customizer
I hope it helps

[APP IDEA] Concept Menu Scroll (With Pics)

To verify this is not an application, just an idea. I was hoping somebody would care to maybe have a go at creating an application like this that opens up a menu which displays programs, settings etc.
The program would scroll using kinetic scrolling and would basicallay be used as a start menu to open shortcuts to start menu applications.
I attach 2 screenshots of possible ideas.
So what you guys think?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
You can find something like this in Mobile Shell 2 (TWO), in MY MENU you can add anything you want. Assign My Menu to a soft key and you should be good.
Sure, a standalone software would be better...
Lol. Someone thought of this before you, too bad it was/isn't completed. TouchXperience. [Link]
Kraize said:
Lol. Someone thought of this before you, too bad it was/isn't completed. TouchXperience. [Link]
Click to expand...
Click to collapse
... TouchXperience is dead or dead-alive
i really like this idea,
however, i'm sure there's a few apps very similiar too this flying around,
maybe you could create a skin for one of them?
Nice system font, (teh one on the softkeys) what is it? I wish to use it on me phone.
There is something similar...
FingerPoint would work if you could skin it more...maybe even QuickMenu if it could be made large enough to cover the whole screen. There was another old one that I can't remember.
Roflnova said:
Nice system font, (teh one on the softkeys) what is it? I wish to use it on me phone.
Click to expand...
Click to collapse
yea brother... tell me.. wats that font.. cud u PM me.. thnks
Roflnova said:
Nice system font, (teh one on the softkeys) what is it? I wish to use it on me phone.
Click to expand...
Click to collapse
dysfcukti0nal said:
yea brother... tell me.. wats that font.. cud u PM me.. thnks
Click to expand...
Click to collapse
The font in the screen shot is Segoe UI
Closed as per OP request.

[Q] Vanilla lockscreen variation?

Hey all,
I'm sure several of us are running ROMs which offer the vanilla lockscreen like below:
[courtesy of Neon87: http://forum.xda-developers.com/showthread.php?t=751831]
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Above, we can see the icon represents the 'silent' function.
However, I have seen other lockscreens whereby the icon on the right hand side has been changed to someting else, for example: Vibrate Only [which is what I'm after], or launch Music Player, etc.
Anyone know how it's done?
I've been searching for that too, to change the silent button into vibrate but I haven't found anything yet
I hope someone can help us to change that
I think widgetlocker can do that
I'd rather change it without using another app, like changing something in the lockscreen code
I think it has to be changed in the android.policy.jar file since the fix for the lockscreen is coded inthere , but I don't know where and what I would have to change since I don't know much about the android coding
matn013 said:
I've been searching for that too, to change the silent button into vibrate
Click to expand...
Click to collapse
Here is a screenshot for those who don't know what we're after :
c_man said:
Here is a screenshot for those who don't know what we're after :
image
Click to expand...
Click to collapse
Where did you get the screenshot from? maybe that could lead us in a good direction
c_man said:
Here is a screenshot for those who don't know what we're after :
Click to expand...
Click to collapse
Off topic:
I love your background, could you share it?
matn013 said:
Where did you get the screenshot from? maybe that could lead us in a good direction
Click to expand...
Click to collapse
JonasDroid said:
Off topic:
I love your background, could you share it?
Click to expand...
Click to collapse
Sorry to disappoint, I found that screen in either one of these threads, both are a 'post your homescreen' type thread:
- http://forum.xda-developers.com/showthread.php?t=476483
- http://forum.xda-developers.com/showthread.php?t=665991&page=152
I can't remember which page, sorry. But it will have been in the most recent 15 pages of either thread.
so, i have found from where the screenshot came from.
It's from a member who runs a Froyd Villain rom on his hero and the rom is android 2.2
Now, turns out that in android 2.2 this is default the sliding to vibrate instead of silent (tested it out on the android emulator)
I have downloaded a 2.2 rom version and now I will try to find the differences between the 2.1 an 2.2 lockscreen files and hope I will be able to change it
^ thats pretty good going, nice one! I didn't know it was standard in Android 2.2.

[Q] Desktop Screenshot Problems

Hi, i had the Xperia Play (800a) for 2 days now, it's rooted and with busybox. Today i was trying to take a picture from the phone desktop with PicMe, but the image was very bad! Like a transparent image with a pink or red color.... I try ShootMe too, but i obtained the same result. The last effort was making it with the PC with the SDK tools (ddms) but the same result shows up.
Bad photo
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Real photo (with camera)
Anyone with the same problem?
Can anyone help me with that? or just tell me what's the problem?
Thanks!
I can’t believe there is no way to do a screen shot with a stock phone. What the hell is wrong with Sony? It is so easy on the iPhone.
Not used it myself but I see lots of people using MPE to take screen grabs.
I'm rooted so just use a screenshot app from market.
try this http://forum.xda-developers.com/showpost.php?p=12701006&postcount=3 just connect phone in usb debugging to pc open the asm.jar. Worked for me
I just use screenshotit
I've used screenshot with proper results. Still, it's a bit stupid to have to root the phone in order to get a screenshot. The Galaxy S, for example, allows you to do without.
I am not a fan of having to root to screenshot.
Ok, thanks for the answers, i try Screenshot It and it works, but it's not a free app, so i really don't want to pay for taking ss of my phone. Screenshot works well too, and it is free. I'm going to try the asm.jar solution today, later i tell you if this work too.
Thanks
duqueso said:
i try Screenshot It and it works, but it's not a free app, so i really don't want to pay for taking ss of my phone.
Click to expand...
Click to collapse
duqueso said:
Screenshot works well too, and it is free.
Click to expand...
Click to collapse
???
Please explain.
"ScreenshotIt" and "screenshot" are two different apps.
@ Logseman & @ matknny . Use this http://forum.xda-developers.com/showpost.php?p=12701006&postcount=3 no need to root and if the screenshots colors are wierd you can just right click on the screen > adjust color
I have my phone rooted and I can use DDMS, but thanks anyway
Mozza2k11, thanks for this unrooted tip
Mozza2k11 said:
@ Logseman & @ matknny . Use this http://forum.xda-developers.com/showpost.php?p=12701006&postcount=3 no need to root and if the screenshots colors are wierd you can just right click on the screen > adjust color
Click to expand...
Click to collapse
Thanks for the tip. Much appreciated. Can make a how to if anyone asks me to again.

Picture Slide to unlock

Hi all,
I was wondering. I would like to see an unlock screen with 6 (or 9/12) small pictures/icons in random postions. The user can make up a small story so he would know in which order he should slide/swipe to the different pictures to unlock the phone. Also a nice feature would be if the usere could pick the pictures which would be displayed on the lockscreen. The position of the displayed pictures/icons should always be random to ensure security.
Is there something like this out there for android??
Regards, RR69
I think it's too easy and fast to solve. Why not a lockscreen with something like this to solve?
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
rr69 said:
Hi all,
I was wondering. I would like to see an unlock screen with 6 (or 9/12) small pictures/icons in random postions. The user can make up a small story so he would know in which order he should slide/swipe to the different pictures to unlock the phone. Also a nice feature would be if the usere could pick the pictures which would be displayed on the lockscreen. The position of the displayed pictures/icons should always be random to ensure security.
Is there something like this out there for android??
Regards, RR69
Click to expand...
Click to collapse
Very good idea!!!
Anyone knows about something similar?
Regards.
Maybe go ask around at the WidgetLocker thread, the dev might pick it up
I'm ging to check the widgetlocker thread...
Sent from my GT-I9100 using xda app-developers app
its already done for the SGS2... the thing is called Dandelion S3 for S2.apk it has various live wallpapers one where you can set it to a screen with about 6 or 8 pics on one screen that change around.
Tangkapan said:
its already done for the SGS2... the thing is called Dandelion S3 for S2.apk it has various live wallpapers one where you can set it to a screen with about 6 or 8 pics on one screen that change around.
Click to expand...
Click to collapse
Where?
E43JAP said:
Where?
Click to expand...
Click to collapse
in the room of requirement
just focus hard on what u want

Categories

Resources