On Tue, Aug 9, 2011 at 7:56 AM, kypriakos wrote:
> I am running a servlet on the phone that starts an Intent on an
> Activity class.
> The class starts the camera preview and takes a picture. Then I have a
> subsequent
> Intent start on the same Activity class to stop the preview. The
> second In
I don't believe you've posted an actual logcat stack trace for the crash
yet - perhaps the time has come?
09.08.2011 22:26, kypriakos пишет:
And I start the intents each time with this:
Intent intent = new Intent();
intent.setClass(androidContext, myClass.class);
int
On Tue, Aug 9, 2011 at 10:56 AM, kypriakos wrote:
> I am running a servlet on the phone that starts an Intent on an
> Activity class.
Blech.
> The class starts the camera preview and takes a picture. Then I have a
> subsequent
> Intent start on the same Activity class to stop the preview. The
>
No. That is telling you about the new Intent. If you want to remember it,
you will need to remember it yourself.
On Mon, Aug 8, 2011 at 8:43 PM, kypriakos wrote:
>
> Exactly!
>
> I am getting nulls when accessing the extras that I set from the
> launching intent:
>
>@Override
>prot
On Mon, Aug 8, 2011 at 2:27 PM, kypriakos wrote:
> Never mind - most likely missing the Override allows for anything ;)
Bingo. @Override has no effect at runtime, but it's a compile-time
sanity check. Rather useful, particularly for classes with lots of
generics (e.g., AsyncTask).
--
Mark Murph
Once you add "@Override", only one will.
--
Kostya Vasilyev
08.08.2011 22:18 пользователь "kypriakos" написал:
>
> One additional question - I see that both OnNewIntent and onNewIntent
> compile
> fine. Is there a difference between the two?
>
> On Aug 7, 6:38 am, Mark Murphy wrote:
>> On Sun, A
If it is stopped, then it will call onCreate. You cannot escape that.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Wed, Nov 24, 2010 at 5:23 PM, umakantpatil wrote:
>
> I logged all the functions and got to know the thing. But I don't know
> why its happening. just need
I really cannot suggest you anything without looking at your whole code now.
Sorry.
Kumar Bibek
http://techdroid.kbeanie.com
http://www.kbeanie.com
On Wed, Nov 24, 2010 at 3:23 PM, umakantpatil wrote:
> See..
> I have page which show article. On menu click a function it sets new
> content as b
Umm,
I am still confused. How are you changing the content view of the Activity.
Is it really required? If you are getting NullPointer exception, then it
means that the EditText that you are trying to initialize is not presently
on the Activity. It's simple enough, if you see the EditText on your
Esdras Beleza wrote:
> 5) Here comes the problem: if I go to other application (browser, for
> example) and go back to my application, the intent seems to be received
> again, onResume() is called and the dialog A, B or C is shown. But they
> must be shown *only* when the widget is clicked.
>
> Any
On 8 May 2010 10:08, Mark Murphy wrote:
> Esdras Beleza wrote:
> > I don't know if I understood your advice, but I tried some things like
> > that.
> >
> > I tried to put new data into the intent (like a "used" flag) and
> > updating the intent with setIntent(updatedIntent). I also tried to
> > c
Esdras Beleza wrote:
> I don't know if I understood your advice, but I tried some things like
> that.
>
> I tried to put new data into the intent (like a "used" flag) and
> updating the intent with setIntent(updatedIntent). I also tried to
> create an useless new intent and replace the applicatio
On 8 May 2010 05:39, blew wrote:
> You may want to update your intent with the latest app state just
> before the user leaves your application.
> That way your onResume will work with the most up-to-date intent:
> Either the one from updated by your widget or the one updated by your
> app itself.
On Mon, Feb 15, 2010 at 6:27 PM, Christopher Walker <
sven.hakons...@gmail.com> wrote:
> The app appears to crash shortly after I reach
> startActivityForResult(i, NEW_GAME);
> but before I make it into the constructor.
>
Did you remember to declare this activity in your manifest?
--
Christopher Walker wrote:
> The app appears to crash shortly after I reach
> startActivityForResult(i, NEW_GAME);
> but before I make it into the constructor. I discovered this using
> breakpoints, but I don't know how to examine the stack trace.
Well, I don't use Eclipse much. If you eliminate th
On Sat, Jan 9, 2010 at 3:36 AM, skink wrote:
> On Jan 9, 12:15 am, dane131 wrote:
> > ok i will check it out..is there an easier way than that??
> you could use Context#sendBroadcast(Intent)
>
Yeah if the work it is to do is short (not blocking for network or UI or
whatever), this works well an
dane131 wrote:
> ok i will check it out..is there an easier way than that??
Uh, well, you wrote:
> I want to call this method from application A and
> send an SMS without opening the activity(the GUI) of application B but
> just send an SMS in the background by calling just the method of the
> ac
dane131 wrote:
> how can i do that?can you give link/s ?
Here are sample projects demonstrating an AIDL API in a service and a
separate project accessing that API:
http://github.com/commonsguy/cw-advandroid/tree/master/AdvServices/RemoteService/
http://github.com/commonsguy/cw-advandroid/tree/mas
dane131 wrote:
> well i want the GUI as well..in order to function as a proper sms
> application but i also want to use its functionality without raising
> the GUI
Then split it into a Service (with an AIDL-exposed API) and your current
set of activities.
--
Mark Murphy (a Commons Guy)
http://co
Hi Geoffrey,
Thanks very much for the help.The sample code you have send is running
absolutely fine.
Regards
Srikanth Nambu
On Mon, Nov 30, 2009 at 8:56 AM, Geoffrey Monté wrote:
>
>
> On 29 nov, 19:53, sreekanth nambu wrote:
> > Hi all
> >
> >I am developing a android project named " Sma
20 matches
Mail list logo