Android :: Only One Map Added To A Single Activity / Solve This?

Oct 4, 2010

In my application if i press a button map is loaded in my layout.again i press the button i got error like this.

only one map is added to a single map activity . how to solve this.

Android :: Only one map added to a single activity / solve this?


Android : Is It Possible To Have Two Launcher Activity In A Single Apk?

Feb 3, 2009

I need to have 2 launcher activities (i.e. 2 icons on the home screen). Each launch icon would launch a separate activity. Essentially, I need a single apk which contains a suite of 2 apps which I don't want to distribute separately. Is this possible?

View 6 Replies View Related

Android : Multiple Listviews In Single Activity?

Apr 5, 2010

I want to have multiple listviews in single activity. But only one listview should be displayed at one time. The listviews will be loaded dynamically. So, how can I fill all the four listviews at the same time and display only one?

View 4 Replies View Related

Android : How To Add Multiple Listviews To Single Activity

Oct 29, 2010

I have been trying to get a specific layout for more than two days now and really struck with it, what am trying to achieve is: To have a layout like the following

LISTVIEW A

VIEW

LISTVIEW B

VIEW

LISTVIEW C

(VIEWS are basically for headers) Can any one help to sort out this task?

View 1 Replies View Related

Android : Multiple Handlers In A Single Activity

May 13, 2010

I've more than one Handlers in an Activity. I create all the handlers in the onCreate() of the main activity. My understanding is the handleMessage() method of each handler will never be called at the same time because all messages are put in the same queue (the Activity thread MessageQueue). Therefore, they will be executed in the order in which are put into the Queue. They will also be executed in the main activity thread. Is this correct ? Code...

View 1 Replies View Related

Android : Restarting An Activity In A Single Tab In A TabActivity?

Mar 12, 2010

I have a TabActivity. Each tab points to a sub activity. Works great.

Is there any clever way to refresh one of the activity tabs? I just want to 'restart' the activity in tab #3 for example. Not sure of a good way to do this other than building in refresh support to the activity itself, or clearing ALL the tabs and recreating all of them.

View 1 Replies View Related

Android :: To Call Only A Single Activity On Different Button Clicks

Oct 29, 2010

i have three imagebuttons.and on clicking each buttons a new image with new screen opens.means three imagebuttons calls three different activities. it means if you have ten buttons we have to call 10 activities. i want to call the common activity on each button clicked using if else construct.

View 2 Replies View Related

Android :: Forward Search Queries To One Single Activity

Dec 15, 2009

have an activity handling search (ACTIVITY_1), which works perfectly when I use the search (via SEARCH button on the phone) within/from this activity. However, when I use search from another activity (ACTIVITY_2..x) by implementing onNewIntent and forward the query string to my Search_Activity.class (ACTIVITY_1) it always pauses ACTIVITY_2 first and then goes to onCreate() of ACTIVITY_2..................

View 5 Replies View Related

Android :: Display Multiple Activities In A Single Activity

Jun 12, 2010

I want to know if we can display multiple activities in a single activity using ActivityGroup.Can anyone please help me out with this?

View 1 Replies View Related

Android :: AllowTaskReparenting - True Will There Be A Single Instance Of The Activity

Oct 4, 2009

Before asking my doubt, let me clarify my understanding of allowTaskReparenting...

Suppose there exists a Task (say Task 1) and this task has an activity (say Activity 1) which wants to call my Activity (say Activity 2). Let my activity (activity 2) set the attribute allowTaskReparenting to true and let my activity have a specific taskAffinity(affinity1). When Activity1 calls my activity (activity2), my activity becomes part of the task1. But suppose another task (task2) is already present/created with the same taskAffinity as mine (affinity1) and an activity in that task (say activity3) tries to start my activity, my activity gets re- parented to task2.

Not sure if i was clear enough. If i were to rephrase my words...

If my activity has allowTaskReparenting set to true and an instance of my activity is already present in task1. If task2 with the same task affinity as my activity tries to start my activity, the EXISTING activity gets re-parented from task1 to task2.

My quesions:

(1) Is my understanding correct ?

(2) If I am correct then a single instance of my activity gets shifted from task1 to task2. So 2 activity objects of my activity are NOT created.

View 5 Replies View Related

Android :: Button And Expandable List On Single Activity

Jun 16, 2009

I want to customize my ExpandableList my issue is i need a button and expandable list on single activity can i achieve that as i have seen all the examples they all extends ExpandableListActivity not the Activity in which i can put all the widgets in one activity

View 1 Replies View Related

Android : Single Instance Theme Of An Activity In Phone

Sep 7, 2010

I have two activities. A and B. A starts B. Both are running in the screen and both are visible. Say now B is visible.

On a special key press, I want to bring the A to the front and make it active. The problem I am facing is when the special key is pressed, another instance of A is launched and the new instance is brought to the front.

But I want the original A to come to the front. I want to make this change in the framework layer rather than application specific by using the singleInstance theme in the launchMode in AndroidManifest file.

Please help me in this regard as this is really urgent for me. Any inputs will be really valuable for me.

View 1 Replies View Related

Android :: Add To Menu Using AddIntent Options Providing For A Single Activity

Oct 7, 2010

I want to use addIntentOptions to drive my menus when ever possible. This seems the cleanest way to provide them. Rather than explicitly detailing activities, simply ask for a menu listing all the activities which are available for my data item.So I'm trying to put together a context menu for a List View. It works great. Only problem is that I have an activity that has two intents that consume my data type, and only the first shows up.The activity in question in Android Manifest.xml
<activity android:name=".ui.MyActivity" android:label="The title">
<intent-filter android:label="First context label">
<action android:name="com.sample.action.FIRST_ACTION" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.ALTERNATIVE" />
<category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
<data android:scheme="myscheme" />
</intent-filter>
<intent-filter android:label="Second context label">
<action android:name="com.sample.action.SECOND_ACTION" />
<category android:name="android.intent.category.DEFAULT" />
<category android:name="android.intent.category.ALTERNATIVE" />
<category android:name="android.intent.category.SELECTED_ALTERNATIVE" />
<data android:scheme="myscheme" />
</intent-filter>
</activity>

View 1 Replies View Related

Android :: How To Use Multiple Views Inside A Single Activity With A Canvas?

Nov 7, 2010

Basically what I am trying to accomplish is I want a canvas I can pass bitmaps to, to be displayed on the screen with the rest of my view objects (buttons, textviews, etc).

View 1 Replies View Related

Android :: Create A Single Class Which Can Be Parent For Every Type Of Activity?

Oct 7, 2010

I wish to have a single class which all of my Activity classes extend. I have ListActivities, Activities, MapActivities, TabActivities, etc in my App.

I have many of these different activities in my app, ~12 activities. I want each of them to have the methods which are in the parent class.

Right now, i have created 4 parent activity classes which are extended from a certain activity depending on their type(ListActivity, Activity, MapActivity, TabActivity)

I am creating a lot of redundant code - each of the 4 parent activities has almost identical code, in exception for what class activity it extends.

Here is an example that may clarify what my problem is:

I have an Activity: MenuScreen which extends BaseListActivity BaseListActivity extends ListActivity BaseListActivity contains methods and fields which i want all my activities to have access to I have another Activity: HomeScreen which extends BaseActivity BaseActivity extends Activity BaseActivity contains the same methods and fields which are in my other Base[<type>]Activity classes(such as BaseListActivity)

These methods/fields are copy-pasted to all my Base[<type>]Activity, and seems awfully redundant to me.

Can i create a master activity class which all types of Activity classes can use as its parent? if not, am i stuck with copy and pasting this code and feeling gross/dirty about it?

View 2 Replies View Related

Android : Multiple Listviews In Single Activity But Display At One Time

Apr 5, 2010

I want to have multiple listviews in single activity. But only one listview should be displayed at one time. The listviews will be loaded dynamically. So, how can I fill all the four listviews at the same time and display only one.

If anyone knows the solution then please share it over here. I hope to get a quick response.

View 1 Replies View Related

Android :: Android - Forward Search Queries To One Single Activity

Dec 15, 2009

I have an activity handling search (ACTIVITY_1), which works perfectly when I use the search (via SEARCH button on the phone) within/from this activity. However, when I use search from another activity (ACTIVITY_2..x) by implementing onNewIntent and forward the query string to my Search_Activity.class (ACTIVITY_1)

@Override
protected void onNewIntent(Intent intent) {
Log.i(TAG, "onNewIntent()");.....................

View 1 Replies View Related

Android :: Gmail Not Connecting / Way To Solve This

Jul 6, 2010

I have a moto android w 2.1. The gmail app has been working fine until recently. Now it says no connection when I open the program. It shows two recent emails but no previous ones. I cannot send or receive anything w the app. My browser gmail is working properly. One user on the google support forum got no solutions from verizon, google, or motorola and had to do a hard reset. It appeared to fix the problem but I'm looking for a more friendly solution. Anyone else have this problem or have guess as to the solution?

View 1 Replies View Related

Android :: APK Icon Is Not Being Installed / Solve This?

Nov 9, 2009

I am able to deploy my application but for some reason, I am not able to get the icon to display in the pull up menu on the Home page of the OS. Does anyone know what I can do to solve this?

By the way, the application shows up in "Manage Applications" but does not show up as an icon for some reason. Through Eclipse, I am able to start the application after deployment but that's it... After that, I don't have any way to start it because there is no icon.code...

View 2 Replies View Related

Android :: Documentation Does Not Specify When An API Was Added

May 1, 2009

I noticed WebView seemed to have some new methods I didn't remember from before. Unfortunately I can't tell exactly which ones are new, without actually trying them and waiting for the SDK to catch the mistake.Could the docs please state in which API release a method, class, interface, enum etc was added? This is pretty fundamental to know when trying to figure out how to implement something.

View 5 Replies View Related

Android :: Can't See Added Files On SD

Jun 14, 2010

Recently got my hand on Xperia X10i. I needed to debrand the phone, so I flashed it, and get generic firmware. Dont know if that's the couse, but when I upload new files to memory card, there is no chance to see/find them. When I use 'office suit' to browse through the SD, all I can see are folders. When I access any of them I see nothing except the message 'No supported files'. Its wierd as they are video and graphic files like mpeg, avi, jpg. Even wierder is that I can see all these files when accessing my phone from my PC. Any idea ?

View 1 Replies View Related

Android :: How To Solve Landscape Mode Issue?

Feb 10, 2009

I have a small application. It has some user inputs (like name, phone number, country, connection type etc, I used editText for the user to enter). Its working fine on the emulator. When I installed the same app on real device, firstly it shows the whole input screen. But when I tried to give input, (changing into landscape mode) half of the screen is not visibiling. I want to show the whole screen, I dont know how to do?

View 7 Replies View Related

Android :: Can't Use Mouse Click For ZoomControl / How To Solve?

Jul 2, 2009

I use the setBuiltInZoomControls to setup Zoom in my app, in the emulator, i can use mouse to click the zoom in/out, but when the app install in my machine, i can't use mouse to click, but still work by touch! did somebody know how to solve that?

View 6 Replies View Related

Android :: Error When Run - Debug App On Eclipse / Solve This?

Nov 5, 2009

This is the error that eclipse gives with the latest Android SDK code...

Linux myubuntu 2.6.28-16-generic #55-Ubuntu SMP Tue Oct 20 19:48:24 UTC 2009 i686 GNU/Linux

java version "1.6.0_13" Java(TM) SE Runtime Environment (build 1.6.0_13-b03) Java HotSpot(TM) Server VM (build 11.3-b02, mixed mode)

Any clues on how to solve this error?

View 10 Replies View Related

Android :: Illegal Character In Path / Solve It?

Sep 20, 2010

I am displaying images from url using xml parsing,some images are displaying very well,some time i got exception like

Illegal character in path at index 113: http://www.theblacksheeponline.com/party_img/thumbspps/12390867930_15951_186997180114_709920114_4296270_6115611_n[1].jpg

How can i solve this problem,anybody know,please give some sample code for me..

View 2 Replies View Related

Android :: LVL Error - Can't Reference LVL In Project / Solve This?

Sep 26, 2010

I am following the android licensing documentation (http://developer.android.com/guide/publishing/licensing.html) and when i get to the step that I add the reference of the licensing project (in eclipse) to my project, I get an error in the console (see below) and my project doesn't build. Any ideas on how i can around this? I tried a couple searches on Google, but I didn't come up with anything.

View 1 Replies View Related

Android :: Can't Install Apk File In G1 Device / Solve It?

Sep 29, 2009

I am trying to install apk file in G1 device and get following error:

Failure[INSTALL_FAILED_ALREADY_EXISTS]

I have already change the name of main file using Manifest too. change the icon too.

though the same problem is come over.

View 3 Replies View Related

Samsung Fascinate :: Still Not Able To Use Android Market / Solve It?

Nov 1, 2010

There have been numerous treads over the last week wrt Android Market issues.

I have tried all the 'fixes' mentioned, and I still am not able to download apps from Android Market ('download was unsuccessful').

Anyone else still having this problem? It is getting highly annoying.

View 2 Replies View Related

Android :: MapView With ItemizedOverlay Still Don't Work / Solve It?

Sep 7, 2009

I've try to make a mapview with itemized overlay and it's not work. I share my code if anyone see anything :

java class mapview code...

View 4 Replies View Related

Android :: Can't Dispatch DDM Chunk Error / Solve This?

Sep 10, 2009

I have just recently setup my android environment on eclipse. I am having the following error when I try to run my helloworld program. Here is the error...

Unable to connect to activity manager; is the system running? solve this?

View 10 Replies View Related







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