Android :: Calling Subactivity From Subactivity

May 17, 2010

I have three activities in my android app. First activity is main application screen which gives option to open second screen containing second activity. But when I click on the button on second activity which was supposed to open third activity screen.

I get "Application has stopped unexpectedly" error.

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

Android :: Calling subactivity from subactivity


Android :: Send String / Int From SubActivity To MainActivity Without Close SubActivity

May 5, 2010

does anyone know how to get result from subactivity to MainActivity without close the subactivity? i know the usual way is using method called "startActivityForResult (Intent intent, int requestCode)" and inside the subActivity set the result 1st before finish(); method

setResult(requestCode,intent); finish(); then the function called "protected void onActivityResult(int requestCode, int resultCode, Intent data)" which is inside main activity will get the result. BUT... by using that way, it will close my sub activity and the system will go back to main activity...........

View 2 Replies View Related

Android :: Activity - SubActivity - Intent And IntentFilters ?

Mar 29, 2010

I still have a problem to develop a convenient app to the user. because i am struggling using the activities, intent and intent filters. www.developer.android.com/reference not fit for me to understand these things. can you suggest me a fine example code or tutorial to understand how these things are getting worked.

View 1 Replies View Related

Android :: Return Back To The Parent Activity From Subactivity

Jun 14, 2010

My application supports twitter and needs to open browser for OAuth. When the user clicks the Share on Twitter button, the main activity will create another subactivity (TwitterActivity) to handle twitter authentication issues. Here is a flow graph showing how activities are invoked currently. Main is short for MainActivity and Twit for Twitter Activity. startActivity() OAuth intent OAuth callback finish()Main ---------------> Twit ------------> Browser --------------> Twit --------> Browser As you may notice, after the TwitterActivity calls finish() to stop, it will now return back to MainActivity, but Browser instead. How can I make it return back to MainActivity?

View 2 Replies View Related

Android :: Sending Messages To Subactivity - Currently Running - From The ParentActivity

Jun 1, 2009

Is there any way to send String messages from the parent Activity (running on B/g) to the subActivity (currently running)?

SubActivity is invoked using intent and startActivity(intent);

I want to open EditBox(sub activity) using this method and then update this editBox according to the process going on in the parent activity () and later want to finish() this Box when process in the parent activity completed.

View 5 Replies View Related

Android :: Subactivity - Created An Application Which Consists Of Several Activities

Aug 3, 2009

I created an application which consists of several activities. If I start a subactivity named DlgTitleTags from main activity everything goes well.

Another case is when I start a subactivity DlgLibrary and then from DlgLibrary DlgTitleTags the execution fails on line:

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

In the first example this line executes without errors so I'm wondering what could be wrong here.

This is the copy from log:

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

View 1 Replies View Related

Android : Way To Differentiate Droid Activity From A SubActivity Programatically

Jun 2, 2009

How can I differentiate an android Activity from a SubActivity programatically?
Is there any api for that?

View 1 Replies View Related

Android :: Starting Subactivity For Second Time Causes Java.lang.OutOfMemoryError

Apr 10, 2010

I am developing a simple app which does a little bit of image-processing. It's divided in two activities; the main one with some display elements and the second one which is used to capture images off the phone's camera.

To discribe my problem: I start the app, capture an image (by starting a new Intent with the subactivity) and all data is displayed correctly. If I capture another image after this, I run in an java.lang.OutOfMemoryError - bitmap size exceeds VM budget

I dont store the captured bitmap, in the second activity I just extract some data from it and pass it to the main-activity; finishing (finish()) the sub-activity afterwards.

View 1 Replies View Related

Android :: Calling Web Service

Sep 6, 2010

I am currently working on an application in android where I need to call the Web Service. I am working in Android and I don't have an idea about how to call a web Service in Android.So, can anybody please help me out in how to call a Web Service in Android Programming.

View 1 Replies View Related

Android :: Calling .net Webservice From App

Jan 11, 2010

Best way of calling an asp.net web service from my android app. I am planning on using ksoap2 ? Is this a good route to go, or is that the only way to go? Do I have other options? What is the most efficient way if there are other options?

View 5 Replies View Related

Android :: OnLocationChanged Not Calling / Way To Fix?

Apr 30, 2010

I write a class which implements LocationListener. Its just listening to the location. I tried the code in Tatoo, but its not working. The code is...

View 4 Replies View Related

Android :: App For Video Calling

Apr 2, 2009

I want to develop an application containing video call, but I didn't find the interface in Android about video call. So I wonder whether Android has this API in fact, if anyone know it, please tell me.

View 2 Replies View Related

Android :: Calling StartActivity From Outside Of An Activity

Dec 7, 2009

I have a TabActivity subclass that attempts to start a new activity via a menu item selection in onOptionsItemSelected.I am receiving the following exception which eludes me at the moment.I'm not sure why it thinks I am *not* in an activity!

View 2 Replies View Related

Android :: Calling GeoCoder GetFromLocation

Mar 23, 2010

I'm having a problem calling GeoCoder.getFromLocation();

I have a LocationListener calling an updateLocation() method in my class, which in turns calls GeoCoder.getFromLocation() with the current location.

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

When I run this code on a device (HTC Magic 1.6) I get the following error :

D/LocationMasfClient(15392): getAddressFromProtoBuf(): Ignore feature 0,1er Arrondissement Paris D/AndroidRuntime(21403): Shutting down VM W/dalvikvm(21403): threadid=3: thread exiting with uncaught exception (group=0x4001da38) E/AndroidRuntime(21403): Uncaught handler: thread main exiting due to uncaught exception

If I run the same code on an emulator (1.6 with google api) the error I get is :

D/GpsLocationProvider(52): setMinTime 0 E/LocationMasfClient(52): reverseGeocode(): no feature in GLocation

View 2 Replies View Related

Android :: Errors On Calling Web Services

Aug 8, 2009

When i am calling the web services i got his errors. i added the internet permissions in android manifest.xml file 08-08 15:40:09.127: INFO/aSizzle(198): statusCode>>>500 08-08 15:40:09.158: INFO/aSizzle(198): statusLine>>>HTTP/1.1 500 Internal Server Error

View 2 Replies View Related

Android :: Video Calling Apps

Aug 29, 2010

My wife and I just got new Samsung Galaxy S's. What app can we use for video chatting over wifi? I havn't found any in my googles yet.

View 3 Replies View Related

Android :: Getting A New Phone - Video Calling

Jun 8, 2010

I'm sure many of you have seen the awesome video calling feature in the iphone 4.

View 7 Replies View Related

Android :: Calling An Intent The Implicit Way

May 21, 2009

I`m trying to develop an application, just to test the ability of android to call an activity with an intent based not in the specific class name but specifying the action, category and data information. Acording to this link

http://developer.android.com/guide/topics/intents/intents-filters.html

only three aspects are consulted when comparing an intent object to select the future activity to run. I created two android projects (and two activities), the first is the main project who sends the request and the second can be called directly or through the filter. This is the call of the activity in the main project:

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

This is the part of the manifest that specifies (or at least I try to specify) in the secondary activity that it`s available to be selected to run with that information:

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

I installed both separatelly and I was expecteing to see the second activity after the called but instead I got an ActivityNotFoundException. By the way if I comment the t3.addCategory (Intent.CATEGORY_HOME); line and change the t3.setAction (Intent.ACTION_EDIT); to t3.setAction(Intent.ACTION_VIEW); the browser is executed so I think the problem is in the manifest of the second activity.

View 4 Replies View Related

Android :: Consuming / Calling ASP.NET Web Service

Dec 17, 2009

I am trying to develop an application which calls the asp.net web service from android. I tried a lot but i got an exception while calling the SOAP_ACTION. I have tried with the localhost, local IP Address and also i have taken URL from the internet but it throws an exception.

View 6 Replies View Related

Android :: Calling Activity From Service

Nov 19, 2010

i am writing an app in which i need a background service to call an activity and show some result.

View 4 Replies View Related

Android :: Get Calling Context In Service

Aug 30, 2010

So I'm working on a service that will handle requests to send data to a socket.I've done socket programming in a service before, but only within the same application. I'd like this to just sit and do nothing until any application wants to give it data to send. That's all well and good.I have register an intent filter and the usual stuff and can process the data. But I want to process the data coming from different activities in different threads (subsequent calls from the same application will be computed on the same thread).Is there a way to get the calling package or app or whatever? I'd prefer not to require passing in an identifier as an extra to prevent spoofing. (It's not a serious security concern, it's just each application needs its data processed in the order that it's received.)

View 1 Replies View Related

Android :: Exceptions With Calling Web Service Using IP

Nov 24, 2010

when I call web service from my machine using 'localhost' or 127.0.0.1 , I got exception. But if I give the public IP, it works fine. Why it is happening?And also, If I use my public IP, I can't access web service. But If I put the same code in another machine, and call that web service using the IP address of that machine, It works fine.

View 2 Replies View Related

Android :: Confused About WiFi Calling

Nov 5, 2010

I have T-Mobile, with the old Hotspot@Home billing feature that gives me unlimited UMA minutes (used to have two blackberries and used UMA a lot). I have really missed this with my Nexus One. With TMO rolling out Kineto's application for "WiFi Calling" I am trying to figure out what is possible for my Nexus One, currently at Android 2.2.1 (FRG85).Is the Kineto deal only going to be for TMO builds of Android? I have read that Kineto's business model is to not sell direct, hence no availability in the Market. Since my Nexus One gets its Android system updates independently, this would mean I can never get an update with Kineto built-in, right? If I were able to install Kineto, would it look like UMA to TMO so the calls would be covered under my unlimited H@H plan? Any bright ideas on how I can get WiFi Calling (the TMO supported plan that uses my TMO number, not some SIP implementation or Google Voice)? I prefer not to root, but if I have to root to get UMA, I will.

View 1 Replies View Related

Android :: Free Wifi Calling

Oct 26, 2010

I have a rooted 2.2 android incredible phone but my reception at my house is terrible and I would like to make calls over my wifi connection for free.I have saw there are many different ways to doing this but either I am not setting it up right or they dont work any more. Some of these guides are confusing. Can anyone help? I have a google voice number and I tried setting up through sipgate but it keeps saying it fails to register on my phone and I don't know why. Whats the best and easiest way to get free wifi calls?

View 11 Replies View Related

Android :: Turn Off Calling And Use Data Only?

Feb 23, 2010

I am using PDANET and tethered to my laptop. My laptop is sharing my connection with my XBOX 360 at work (lol). Works unbelievably well.
My only problem is, I need to stop my a-hole friends from calling me while I'm at work playing some games.Is there a way to prevent phone calls and text messages to inhibit those from kicking my data connection off while tethered using PDANET?I have done searches all afternoon and can't find anything relating to it.Please don't suggest Airplane mode.

View 5 Replies View Related

Android :: Calling Sound When Talking

Aug 26, 2010

Ive updated to Froyo! Everything gets smoother and smoother, great upgrade! BUT! When I call or recive calls i get a second calling sound that continus through the conversation? so I have the the "doooo..........dooooo.......doooo...." sound in the background when I have a conversation. I have installed severeal apps. but non that I believe influence the calling telephone app.

View 2 Replies View Related

Android :: How To Check Which App Calling From Framework

Jul 23, 2010

can anybody tell me, how to check which function is calling my framework code? is this possible to check?

View 2 Replies View Related

Android :: ScrollView Is Not Calling OnDraw / Way To Fix?

Apr 19, 2010

I hope this question belongs in the Android Developers and not Android Beginners group but I have a question about ScrollViews. I am currently working with a customized GraphView class and am trying to put it into a ScrollView but it doesn't seem to work. Whenever I run the code, it comes up with a blank screen. I've written the code in XML and also tried to create the ScrollView encapsulating the GraphView programmatically but whenever the code runs, it comes up with just a blank screen and GraphView's onDraw() is never called.Code...

View 2 Replies View Related

Android :: App Does Not Quit On Calling Finish() / What's Cause?

Apr 28, 2009

I have been developing a game on Android and wrote a wrapper for J2ME classes,

When notifyDestroyed() is called in my ME program and calling finish() but the application doesn't close correctly.

The App goes to background and when launched again it shows an error message and presents an option to "force close" the App, if i force close it and launch again, the app launches fine but again the same has to be repeated upon every launch..

Can you please explain why the App is not being erased from memory when finish() is called.

when i check the log i found no exceptions when closing but when launched again it throws a null pointer exception.

for now to work around I placed "System.exit(0)" after calling finish () so that the app is exited abruptly, but am waiting for a valid answer on whats going on behind...?

View 9 Replies View Related

Android :: Calling Finish() In OnResume()?

Sep 8, 2010

I've been using code like: activity.finish(); activity.startActivity(new Intent(activity, activity.getClass()));

in two places: onResume(), and in an onClick() method of an AlertDialog. I'm getting the desired results when the code is called from onClick(), but I get mysterious null pointer exceptions while the runtime is trying to execute my onPause(). Is calling finish() from within one of the Activity lifecycle callbacks always a bad idea?

This code makes me nervous even though it works in the onClick(). After I call activity.finish(), I would think activity is in a questionable state by the time activity.startActivity() is invoked. Seems like an invitation to race conditions.

My use case is setting UI preferences (e.g. a different layout) in a PreferenceActivity. When I return to the main activity's onResume(), I check for preference changes and if a new layout is requested, I use the code snippet above.

View 10 Replies View Related







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