Android :: Want Titles Different On Home Icon Versus Activity

Aug 22, 2010

When the app starts up it shows the activity label property in the title bar. If you set a different title for the activity in onCreate that will show up later. You see the launcher activity title for a while and then the programmatic title replaces it, which is not very nice visually. The icon on the home screen uses the label for the activity. What I'm trying to do is get a label for the icon on the home screen that is different from the activity title bar. I tried setting the intent- filter label, but that didn't appear under the home screen icon. There is a label property for the application, the activity, and the intent-filter. The activity label is shown for the icon and the title and the other label properties are not shown.

Android :: Want titles different on home icon versus activity


Android :: How To Control Activity Flow - Back Button Versus Home Button

Sep 2, 2010

I have 3 activities in my app: Activity1 -> Activity2 -> Activity3. Inside Activity3, if the user presses Back, I would like to return to Activity2. In Activity3's onPause event, I added a finish() statement. That's probably not even necessary, but I wanted to make sure this Activity gets cleaned up. This works fine.
However, while in Activity3, if the user presses Home or starts a new app (through notification bar or some other means), I want both Activity3 and Activity2 to finish. If the user returns to this app, he should resume with Activity1.

I have figured out how to do one or the other, but I can't figure out how to handle both cases, if it's even possible. Can I trap the "Back" button in Activity3 and send a message back to Activity2 telling it not to finish()? It seems like the Activities follow the same lifecycle flow (Pause, Stop) regardless of what you do to send them to the background. Just to answer the question of why I want this behavior, imagine that Activity1 is a login screen, Activity2 is a selection screen, and Activity3 is a content screen. If I press Back from the content page, I want to be able to make a new selection. If I exit via any other means (Home, notification bar), I want the user to be "logged out".

View 2 Replies View Related

Android :: Bug In Activity Stack If Launching From Home Icon?

Jul 24, 2009

I've noticed some strange behaviour with resuming a task from a Home icon.Very easy to replicate, just create a new bare bones android project using eclipse, don't need to add anything. Then follow these steps:

1. In eclipse, Run the project on a emulator or device.

2. Once the app installs and launches the first activity, press Home key.

3. Launch the app again by pressing its icon.

4. Press Back key. Now this part seems wrong, you'll go back to the original activity in the stack, instead of the Home screen, even though its been previously launched and what you expect is it to bring back the stack as it was left, with one activity. If you repeat steps 2-3, it will just keep adding the same activity to the stack.

That is until you press Back all the way through the stack to the Home screen.Now this behaviour will never again replicate. It will be the correct (?) behaviour of bringing back the stack history at the state it was when Home was pressed. Note there are no behavioural modifications, this is just a default application. However, I tried many combinations of launchModes and stack clearing, they had no effect on the first run. Unless I'm interpreting the documentation wrong, when the user presses the Home key, the task is moved in to the background and simply brought back the next time they press the app icon? Why is the app icon altering the task it creates, if it already exists (with no flag modifications)?

View 3 Replies View Related

Android :: How To Create Icon On Home Screen Through Activity

Oct 7, 2009

I would like to have icon created on home screen through an activity . All the icons of my activities are on main menu, once i click it my activity will be launched instead i need an icon on home screen which when clicked activity should be launched.

View 4 Replies View Related

Android :: How To Set Running Activity When User Clicks On App Icon On Home Screen

Jun 17, 2010

I have Two activities One splash screen, Player screen. When user clicks on my app icon first splash screen is displayed and then player screen When player activity is running, if user returns to the home screen and then again clicks on app icon, the application is starting from the splash screen again.can any one please help me out how to do any one of below

1) I need to close current running activity and reload application.or
2) I need to resume to the player screen directly.Please give me an example or reference to follow, Im beginner in android programing.

View 3 Replies View Related

Android :: Overriding The Home Key Long Press In A Category - HOME Activity

May 29, 2010

I just created my own "Home" to replace the stock android one or Sense.

All is working fine and I get all I want. My only problem is to replace to long press on home key ( that usually show the last 6 activities you launched) by my own launcher.

I successfully replace the long press on MENU button with this code:

CODE:..........

and this part part for the long press:

CODE:.............

But the problem is that I wasn't able to replace the KeyEvent.KEYCODE_MENU with KeyEvent.KEYCODE_HOME

Is that something locked in the code that avoid user to use a Home long press?

View 1 Replies View Related

Android :: Hide And Activity When Activity On Top Redirecting To Home Screen

Mar 3, 2010

example scenario is: from login screen - main screen - then when i clicked a hide button inside the mainscreen, the app will need to go in the home screen, and when im going to click the app again the main screen would be called and not the login screen

View 3 Replies View Related

Android :: How To Clear Activity From Second Activity Going Back To Home Screen?

Mar 3, 2010

example scenario is: from login screen - main screen - then when i clicked a hide button the app will go to home screen, and when im going to click the app again the main screen would be called.

View 2 Replies View Related

Android :: Icon Changing While Using A Home

Jan 7, 2010

I have a Question in my first post.I'm using Ahome on my HTC hero and i really like the theme that i have now but the Icons don't really match (well, some are, some aren't). So my question is :How can i change the icons ? I know how to download icon packs but how do I use the icons and replace them for my current icons?

View 4 Replies View Related

Android :: Icon Configuration Like Crazy Home

Aug 25, 2010

I was wondering if anyone who has tried Crazy Home knows of any application that allows you to switch icons from theme to theme like the Crazy Home launcher. I know of and have Bettercut, but that only allows you to create your own, or replace using a downloaded icon pack. But the crazy home app allows you to choose a theme, then use icons from another theme which bettercut does not allow. It also lets u change and icon to the theme icon. For example the gmail icon is default, but the email icon is themed, it offers the ability to change the gmail to themed.

View 2 Replies View Related

Android :: Is It Possible To Draw To Home Screen Icon?

Jun 5, 2010

I have a little app that draws moving animations in a surface view. Cute, useless time waster. I think it could be cuter if it were possible to get a surface view that mapped to the home screen icon for the app and animate that when the app is running and the icon is visible. Is that possible? I remember way back in the days of Windows 3.1, that when your app was minimized, it was possible to draw to the minimized icon as though that were the app window (actually, I guess it may just have been the app window). Anyway if such a thing is possible in Android, I'd like to try it. Anybody know?

View 16 Replies View Related

Android :: Home Widget Behave Like A Launcher Icon

Jan 26, 2010

I have a widget that acts as a launcher on the home screen. How can I make it behave like a launcher icon?

I use this layout for portrait:

CODE:................

And this is the background selector:

CODE:................

This way if I use the DPAD the widget is focusable but the click doesn't work. The touch still works but the widget is not displayed as focused.

View 2 Replies View Related

Android :: Changing Icon Of Application Of Home Screen

Nov 12, 2010

Is it possible to change the icon images of applications of android home screen like messaging,browser, mailing etc. I am presently refering to the Home sample application in android sdk.But I m not able to implement the change in icon image.Can someone suggest something?

View 2 Replies View Related

Android :: Keep App From Restarting When Touching Icon From Home Screen

Mar 10, 2009

I want my application to resume what it is doing regardless of where I press the icon (Home screen, app picker, or running apps). Right now if my app is in the background and I press the icon on the home screen, the app restarts with my Main Activity. Once here, if I press the back button the app resumes from the activity it left off before it was put in the background. If it's running in the background and I hold the home button and select my app from the current running apps, it resumes correctly. How do I avoid my app from going to my Main activity when it is selected from the Home screen or app picker? I have tried adding the following in my Manifest XML file, but it doesn't help: <activity android:name=".Main" android:launchMode="singleTask" android:alwaysRetainTaskState="true" android: label= "@ string /app_name">

View 5 Replies View Related

Android :: Home Screen Icons Icon Management

Nov 2, 2010

Are there any good apps to help manage my home screen icons better? I'm loking for something that will allow me to add more to the screen or maybe organize them somehow. I am non rooted, running Sense UI. I already have "Folder Organizer" and I'm gonna see if Launcher Pro might offer anything.

View 14 Replies View Related

Android :: How To Get Icon That Spins During Any Activity?

Nov 5, 2009

I have been doing searches for this on Google but I am obviously using the wrong words to look for it. How does one go about showing the icon that spins in the upper right hand corner of the screen while something else is going on? I was trying to call it a "Spinner" but that is not exactly what it's called in Android and then I tried "Busy Icon" and nothing useful pops up. I tried a few other things but for some reason I am drawing a blank as to what the real term for it is.

View 5 Replies View Related

Android :: Click On Home Icon Need To Start Application From Beginning

Oct 11, 2010

I want to to start the application from beginning, once i click on home button. Now, If i click on home button, and i want to again open the application it preserve the initial state, and automatically ll go there, But I want it will start from beginning.

View 3 Replies View Related

Android :: How To Update App's Icon Launch Activity?

Jul 14, 2010

I'm currently running into an issue that makes sense but I'm not too sure how to resolve it... Here is the scenario: App v1 icon LAUNCH is set to Activity Main from the manifest file. App v2 icon LAUNCH is set to Activity All from the manifest file and Activity Main no longer exists. After updating to App v2 the app icon fails to launch the application saying it doesn't exist! After a restart of the phone things work. So how can I refresh the applications package or better the launch icon and shortcut icons so that my users don't experience this after an upgrade of my newest app version?

View 3 Replies View Related

Android :: Why Activity Icon Is Not Removed From Launcher?

Nov 11, 2009

I'm trying to remove activity icon from launcher panel. I'm using firmware 1.5. But nothing seems to work. I'm not receiving any error but activity icon is not removed.

View 7 Replies View Related

Android :: GPS Icon Won't Disappear When Activity Destroyed / Fix It?

Sep 19, 2010

Being an Android newbie experimenting with GPS stuff I managed to put together this code and it works just like I expect it to except for one thing, the GPS icon never goes away. How can get the GPS icon to disappear when the activity is destroyed? I have code...

in my onPause() but apparently that's not enough?

The problem exists in the emulator and also on my HTC EVO with 2.2. On my EVO, the icon stays there when the activity is destroyed and only disappears when I uninstall the app. code...

View 1 Replies View Related

HTC EVO 4G :: How To Get Gps On / Off Icon From One Of Home Screens?

Jun 5, 2010

I accidentally removed the gps on off icon from one of my home screens and cant find it anywhere. does anyone know how to bring it back up?

View 5 Replies View Related

Android :: MenuItem With Spanned Elements In Their Titles

Aug 19, 2010

I was just trying something and realized this doesn't seem possible due to the debugging code in the android OS. I register a context menu on an AdapterView, via registerContextMenu(adaptive), and then implement the onCreateContextMenu, like this: CharSequence title = context.getString(R.string.txt, userName); title = Html.fromHtml((String) title); MenuItem item = menu.add(ContextMenu.NONE, ContextMenu.NONE, ContextMenu.NONE, title); The context menu displays correctly, however when it is clicked I get an illegalArgumentException from the EventLog class when it tries to print out the condensedTitle. So I have found without setting the condensedTitle explicitly to something that is a String this occurs. Why is this marked as a CharSequence if it cannot handle it?

View 2 Replies View Related

Android :: File Names / Titles In Gallery?

Jun 14, 2010

Using the gallery ap or video player to select a video to play shows an image from the video in filmstrip mode. Is there a way to see the file name or title of the video instead of a frame?

View 1 Replies View Related

Android :: Bookmark Home Screen Shortcuts Favorite Icon Size

Jun 7, 2010

When I add a bookmark shortcut to my home screen, sometimes the website's favicon is full size and others there is only a small preview of the favicon on a red flag. (How) can I make it so they are always full size?

View 2 Replies View Related

Android :: Possible To Change Images Of Icon Like Brower , Messaging In Droid Home?

Nov 12, 2010

I want to change the images of various icons in the launcher.Is it possible?
Presently for reference i am reading Home application in android samples but I am unable to understand how to make changes in the code to add different icon images ?
Can someone suggest something?

View 1 Replies View Related

Android :: Starting With Icon / Symbol As Title In Each Activity.

Feb 27, 2009

i have attached a pic which shows an activity with a blue color pic and some text as the title in the activitty....The same kind of UI is needed for my application which is applied to all the activities (about 6-8 activities) as the title... Kindly suggest how to start off as i need to give a nice jazz-up for my application...

View 5 Replies View Related

HTC Legend :: Home Icon Appearance

Apr 28, 2010

When I first picked up this phone, the 2nd to last (6th) screen had default "Shortcuts" screen with Google search, Wiki etc in large beautiful icons that took up 1/4 the screen each.

I accidentally 'cleared' this home screen, yet when I attempt to put back icons for shortcuts, they're all tiny computer icons. Is there a way I can revert this screen back to original large shortcut icons?

View 2 Replies View Related

Android :: Passing Integer From Android Home Screen Widget To An Activity Opened By The Android Home Screen

Jun 12, 2010

How can we pass Android Home Screen Widget info ( putExtra maybe ) to an Activity.. What particular method callback will handle this one?

View 1 Replies View Related

HTC Hero :: Get Voicemail Icon On Home Screen?

Nov 16, 2009

how can I get a Voicemail Icon on my HTC Hero (EU version) home screen?

View 4 Replies View Related

HTC EVO 4G :: Home Screen Weather Icon Not Displayed

Jun 18, 2010

On my home screen where the weather is suppose to display all it says is Location. How can I fix this, or link me to an article that does?

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved