i want to dispaly text views n other stuff on 1 screen and when ny1 of those is selected i want to go another screen which already has textviews and radiobuttons on it???
how do i do that???
...
i want to call a new activity from within an inner class which is defined in d class which extends Activity....
the piece of written in one of the methods of that Inner class is::
Intent intent = new Intent(this, Test2.class);
startActivity(intent);
Test2 is placed inside the same package as my main clas is placed and eclipse is...
I have a Contact Activity which is derived from ListActivity, which displays
list of contacts, and on click of item, a new Activity Message Activity derived from
ListActivity is initialized.
Now I know, I can pack some information in Bundle and pass it before creating activity, but
is there a way I can get instance of "ContactActivity...
I'm developing an Android Application that has three very similar Activities. I would like the user to be able to switch between them by swiping left and right on the screen.
This is how I managed that up to now:
I followed this post
Then I changed the method onSwipe() in this way:
@Override
public void onSwipe(int direction) {
In...
I have an app that has a list as its main activity and then you can click items which opens a detailed view of that item. I also have a search activity that is similar to the main activity and works as intended.
However I want this search activity to only have once instance on the stack so that users can search multiple times and clicki...
is there a way to get every view that is inside my activity?
I have over 200 views including buttons, and images, so i want to be able to access them by using a loop
for example something like
for (View v : this)
{
//do something with the views
//depending on the types (button, image , etc)
}
...
Im trying to send a List to next activity
the list
List mGF = new ArrayList();
i cant figur it out... i have read and try for days...
Intent i = new Intent(mContext, ViewImages.class);
i.put....? (mGF);
How do i send and how do i get it as mGF in the next activity
hope you understand
...
Hi,
when the device is not connected to the internet, I send the user to the settings
startActivity(new Intent(android.provider.Settings.ACTION_SETTINGS)
but then I'm stuck in the settings page. How can I go back to my main activity?
thanks
Jul
...
Android resources and their automatically generated references simplify the development of one app a great deal. But they also complicate the reuse of Android activities in multiple projects, and in general of any component that uses resources.
Library projects are a limited alternative. A project can depend on many library projects, bu...
i am gettin 1 problem in d android application that i have made.
-> i have a 3 RadioButton's on 1 activity screen
-> after a Button is pressed(on same activity) the text associated with all of them should change and all RadioButton's must be unchecked and should be clickable
the text is changing properly and the RadioButton's are beco...
How can I tell that my application has been put in the background (i.e. none of my app's activities are visible anymore)? I need to determine this so that I can release resources shared among several of my activities (graphics, sound clips and a socket connection).
I've thought about keeping a global counter that's incremented in the ac...
So I have my Activity, and on pressing a "Quit" button I call Activity.finish(). This effectively closes my application.
The problem: The Dalvik-process of my application is still hanging around as a zombie in background. It seems like this is normal as other applications do the same. Even The hello-world example hangs around in memory....
I want to start a new activity from my UncaughtExceptionHandler when an uncaught exception appears. Is this possible?
I think the current activity can't start a new child activity in its "error" state because I always get this errors:
07-14 14:34:06.075: INFO/ActivityManager(74): Starting activity: Intent { flg=0x10000000 cmp=de.rwth/s...
hey, im new to android development and trying to make my first application.
What im trying to implement is a feature i've seen in Handcent SMS: the popup notification.
So far, my application has a broadcast receiver that uses Toast to display an incoming SMS message.
However, instead of a Toast notification, I want to make a pop up wi...
I was designing an Activity today and I came across an issue by which rethrowing an exception within the Catch of a TryCatch block does not execute the Finally which is also associated with it. Upon further investigation I came across the following
http://connect.microsoft.com/wf/feedback/details/557601/try-catch-activity-never-execut...
I'm just getting into Android development, and I have a question about communicating between a receiver class and an activity class. I'm very new to JAVA and Android so I hope I don't sound too stupid. I'm developing an application where I intercept an SMS message and then based on various elements of that SMS I might delete it once it's...
Why should I use startActivity() in a Service? If I need an Activity a have to call an activity and if I need a "delayed activity" I have to use the notification. So, why should I use startActivity()?
...
I used Toast to make notification, but it seems it will appear even its activity is not in the current screen and some other activity has been started.
I want to check this situation, when the activity is not the current one, I'd not send the Toast notification. But how to do ?
...
Im in the conceptualizing/design phase of building an app and i've hit a bit of a snag. Essentially i was looking for a way to embed one activity into the UI of another similar to how a TabHost/TabActivity. There would be a window at the top of the screen which would contain the other activity, and below that would be buttons and control...
Hi,
I creating a small application that will basically use a background server to send data over HTTP. I dont know how to create services. Secondly there will be a couple of activities in my application. I want the activities to display a Context Menu when data becomes available. How can i do both. I have search for a while but the cod...