Android :: Open An Intent - MapView - From Main Activity With Menu

Jan 13, 2010

I'm trying from main Activity (MainFile.java) to open a Map as a new intent through a menu. Something like this...

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

And I already have set up thing on my manifest.xml with access to...

CODE:........

It worked fine with other File.class, but with the Map.class doesn't seem to be working.

Android :: open an Intent - MapView - from Main activity with menu


Android :: Unbale To Open IM App From Main Menu?

Apr 29, 2009

On cupcake builds we are unable to open IM app from main menu. When we open the app, it gets closed immediately and adb logs show the following error.

CODE:......

It is trying to load some thirdpartyplugins in packages/apps/IM/src/ com/android/im/app/FrontDoorPlugin.java file. Here it is getting plugins count zero and after that the app gets closed. Do we need some thirdpartyplugins for this to work?

View 3 Replies View Related

Android :: Open Dialogue Activity Without Opening Main Activity Behind It

Jul 19, 2010

Im writing a program that offers a quick reply dialog upon receipt of an SMS.

However, I am getting an unexpected result. When I receieve an SMS, the appropriate dialog activity comes up displaying the correct phone number and message, however there is a second activity behind it that is the 'default' activity in my program (it is what opens when i launch my application)

I do not want this second activity to come up. The quick reply activity should come up by itself over top of whatever the user was doing before.

The 'floating' activity:

CODE:.........

The call to the activity inside an onReceive()

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

The Manifest:

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

View 1 Replies View Related

Android :: StartActivity -intent - And Resume To Main Activity

Jul 2, 2010

I've got an app that creates an intent for the last.fm android app in which it will start the "recommended" station for my account when i press a button. The trick i'm trying to figure out is how do i get the phone back to my app without the user having to navigate back manually? Once it start the last.fm intent it takes you to the playlist and i need it to resume back to my app automatically.

View 2 Replies View Related

Android :: How To Make Launcher Open Main Activity?

May 26, 2010

I have activities A and B. The A is the one with LAUNCHER intent-filter (i.e. the activity that is started when we click the app icon on home screen). A launches B using start Activity(new Intent(A.this, B.class)). When the user has the B activity open, and then put my application into the background, and later my application's process is killed, when the user starts my application again, B is opened instead of A. This caused a force close in my app, because A is the activity that initializes the resources my app needs, and when B tried to access the uninitialized resources, B crashes.

View 1 Replies View Related

Android :: Optimal Activity Stack Order For A Main Menu Button?

Jun 2, 2010

I'm developing an app that starts with a main menu, and then continues through three different steps (activities) to a final activity where the task is marked complete. On this last activity, i have several additional options (add note, share, etc..) and i also have a return to main menu button.

My question is.. how do i stack the activities so that calling finish() on the final activity will return back to the first activity launched? i am currently just starting the new activity via an intent, so pressing back on this screen doesn't return me to home as i would like.

View 2 Replies View Related

Android :: Open Activity From An Other Application Via Implicit Intent

Aug 20, 2010

I was trying to open an Activity of an other applicatoin by using an implicit Intent. It doesn't work, I thought it is possible to start an Activity of an other Application by using implicit Intent. Or do I missunderstand it?

I added following intent-filter to the AndroidManifest of Application A:

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

And called the Intent in Application B by using folloing code:

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

All I get ist, the error message that Application A was stoped unexpectedly.

View 5 Replies View Related

Android :: Can One Activity Open Another Activities Options Menu?

Nov 10, 2009

Can Activity "A" open the options menu of a view in Activity "B"? In this case I am building Activity A but Activity B can be any other running activity. I think this is an impossible security violation but I really want someone to prove me wrong.

View 2 Replies View Related

Android :: How To Create Intent To Open Activity / That Displays Accounts & Sync Settings Screen

Jun 9, 2010

I have seen the below log message when navigating to the Account & sync settings screen but I am confused as to how to create an Intent to navigate there.I dont seem to have access to the ManageAccountsSettings for development.I just wanted to create an Intent such as below, but I cant call out ManageAccountsSettings.

View 1 Replies View Related

Android : Save / Activity With MapView And After Reload Same Mapview?

Jul 16, 2010

I had found a lot of stackoverflow post about save an Activity and the reload it.

My question: How can I have an Activity with an MapView and after reload the same mapview?

What is the best way to switch between activity and views?

View 2 Replies View Related

Android :: Passing Arguments From Loading Activity To Main Activity

May 16, 2010

I'm writing an application that starts with a loading activity. In the loading activity the app requests html from web and parses the html, then it sends the parsing result to the main activity. The main activity has several tabs, and contents of these tabs are based on the result of parsing.For example, the result of parsing is a list of strings ["apple", "banana", "orange"], and I need to pass this list to main activity, so that the main activity can create three tabs named after three fruits.I would like to know if there is any way to pass a list of strings among activities, BTW, is it the common way of do this?

View 2 Replies View Related

Android :: Start Activity When Main Activity Is Running In Background

Jan 10, 2010

I created an application which enables the user to set whether he wants to receive notification while the application runs in background mode. If the notifications are enabled an activity should be started (the dialog should appear on the screen).

I tried to enabled it the following way:

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

This is the method from main activity. When onPause() is executed isRunningInBackground is set true.
When I tried to debug it when the main application was running in the background the line

startActivity(intent) had no effect (the activity didn't appear).

Does anyone know how to midify the logic in order to start an activity from the main activity when the main activity is running in the background (after onPause() is called)?

View 1 Replies View Related

Android :: Starting Second Activity From Main Activity On Button Click

Dec 4, 2009

Need an example of how to create/start a new activity from the main activity. I have a button click event on the main layout. Originally I just used setContentView(R.layout.secondactivity); which brings up the layout but I don't think that is correct since the secondactivity class is not instantiated at this point yet. I have looked for such an example and can not find one.

View 3 Replies View Related

Android :: App Widget Configure Activity Opens Main Activity

Jan 10, 2010

I hav an app that is like a relational database. There is a main app activity that users manage things with. There is also a widget that will display important info and add data to the database. When the widget is clicked, a configure class displays a way for the user to edit data. When the configure activity is done, the widget is updated and instead of going back to the home screen, the apps main activity is started. I can't find where the main activity is being called from. Wouldn't I have to create an intent and start Activity() to get this behavior? When done updating, I want the home screen and not my app.

View 3 Replies View Related

Android :: Main Activity To Browser Activity Error

Nov 7, 2010

I have a main activity, then i call a new activity intent from this. Lets call this SecondActivity. Then from my secont activity i call a browser intent. Then my browser intent call my second activity's onNewIntent method.Evereything work fine, but when i click on "back" button on my phone on my second activity, i will not going to my main activity, but the browsers activity, why?

View 1 Replies View Related

Android :: How To Open A Mapview On Click Of A Button On An Another View?

Nov 15, 2010

please provide the sample code .

View 1 Replies View Related

Android :: Set Intent Of Menu Items Defined In Android Menu Xml File?

Mar 26, 2010

How do I set the intent of menu items defined in an Android menu xml file? For example I currently have...

<menu xmlns:android="http://schemas.android.com/apk/res/android" android:name="Main Menu">
<item android:title="@string/resume_game" android:icon="@drawable/resume"></item>
<item android:title="@string/play_golf" android:icon="@drawable/play_golf"></item>
<item android:title="@string/my_rounds" android:icon="@drawable/my_rounds"></item>
</menu>...........

View 1 Replies View Related

Android :: Can't See STK Icon In Main Menu?

Aug 30, 2009

All Do anybody know how to make the STK icon available in main menu. Now, I can't see the STK icon in main menu, even though the RIL has sent the message "RIL_UNSOL_STK_PROACTIVE_COMMAND" about SET UP MENU to upper App layer. And RIL also receive correct terminal response (RIL_ REQUEST _STK_SEND_TERMINAL_RESPONSE) from upper App layer.

View 2 Replies View Related

Android :: Android - Keeping Options Menu Open After User Clicks On Menu Item

Nov 19, 2010

I have an Options menu up and running in my Android application and I've overridden the onCreateOptionsMenu, onOptionsItemSelected and onPrepareOptionsMenu methods to customize the menu a little. My question is related to keeping the Options menu open after the user clicks on a menu item. Basically, I'd like to be able to hide the menu until the user clicks on the device menu key. Once the user clicks on this key, I'd like to be able to hold the menu in place regardless of how many times the user clicks on menu items. If the user wants to hide the Options menu, they'd just need to click on the device menu key again. Is this type of interaction supported (or even advisable).

View 1 Replies View Related

Android :: Main Menu Folder Like Organization App

May 3, 2010

I am looking for an application that would let me organize my main Android menu using folders or groups of icons. Preferably in a similar way iPhone OS 4 does it but I'm not picky and anything that would help me to sort out the cluster of programs I use would be appreciated. I only look for two features in this application:

1. That it organizes in groups (under one icon) or folders applications in Android main menu (and not on the main screens with widgets).

2. That it was free as there's no paid apps at the moment in the Market where I live.So, if anyone could help me or know of an application like that I'd appreciate all the help!

View 2 Replies View Related

Android : Way To Hide Application's Icon From Main Menu?

Jun 24, 2010

I want to hide my application icon from main menu at the run time. I believe that a filter with category Launcher in the application's manifest file is responsible for the application's presence in the main menu. Is there any way to change the category at run time? or any other way to hide the icon from main menu?

View 4 Replies View Related

Android : Way Return To Main Menu In Droid By A Button Click?

Nov 22, 2010

In android, my app provides a button that the user can click to return them back to the screen that appears when the app is opened (onCreate). How can I set that button to return the user to the main menu?

View 2 Replies View Related

Android :: Make 2 MapView On One Activity?

Jan 7, 2010

Is it possible to make 2 MapView on one Activity ?

If so, How to make it ?

View 1 Replies View Related

Android :: Emulator Taking More Time To Open Main Page / Fix It?

Jul 24, 2009

My emulator is taking more time to open main page what may be the Problem.

View 4 Replies View Related

Android :: Exclude Own Activity From Activity.startActivity - Intent

Oct 17, 2010

My app works with pictures. It can take multiple pictures as an input, process them, and send them again to another app.

As a consequence, my main Activity has declared an intent filter on ACTION_SEND_MULTIPLE for image/* mimetypes and can result in issuing a new Intent with the same action and data type using Activity.startActivity(Intent).

Is there a way to exclude my own activity from the list of apps that is displayed to the user after the startActivity() call ?

View 1 Replies View Related

Android :: Way To Refresh Of MapView In An Activity Group?

Mar 24, 2009

I have created map view using XML layout in MapActivity and want to use this map view in another Activity group. I got mapview object in Acitivity group using GetWindow.Decorview(), MAP view is also displayed in the same layout of Activity Group. But without any image, only white background with some grid. Map view is not getting refreshed when i scroll on Map view. But if i launch independently MapActivity , i am able to see the map and it is getting refreshed when i scroll on the map. May I know how can i use and refresh Map view in an activity group? As Mapview can only be created/inflated in MapActivity.

View 2 Replies View Related

Android :: Possible Mapview And List Exist In Same Activity?

Jul 24, 2009

For now i have a list, using extends listactivity, and now i want to add mapview on the same activity using framelayout probably,

but if i want to use the mapview, the activity must extends mapactivity,

one must extends mapactivity,the other must extends list activity,

if it possible to do that?

View 7 Replies View Related

HTC Desire :: Arranging Icons In Main Menu

Sep 12, 2010

I have just got my HTC Desire and was wondering can you arrange the icons in the main menu (the big list)?Some i will never use and would be better at the bottom.

View 5 Replies View Related

Android :: Open New Layout And Code (xml And Java) By Clicking Button On Main Scene?

Aug 2, 2010

I'm beginning to study Android and have a doubt. How do I open a new layout and code (xml and java) by clicking a button on the main scene?

View 4 Replies View Related

Android :: Speed Up Launch Of Activity Containing Mapview And Extends MapviewActivity?

Nov 12, 2010

I have an app which contains an activity which is a MapviewActivity and is mostly a mapview.
However I have noticed that the start up time of the activity is really slow and causes a lag from the moment the button is pressed to go in to the map activity. I feel this creates a bad user experience and would like to avoid this.
I have already set the background of the map activity to @null as suggested by one of the UI improvement articles on googles developer page. Which I fell does not do the trick.

Is there a way to improve this? I would not like the main home screen to get stuck on the launch of the activity, even a transfer to the map activity and then loading the mapview would be better.

View 1 Replies View Related







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