(Bug?) Back button triggers several times in different tasks

by 椤惧仴 » Thu, 13 May 2010 01:22:43 GMT


Sponsored Links
 Android v1.6 hasn't the method of onKeyDown() and onBackPressed() .Can I use
another method to replace them?

2010/5/12 Mark Murphy <mmur...@commonsware.com>

>



(Bug?) Back button triggers several times in different tasks

by Mark Murphy » Thu, 13 May 2010 01:24:49 GMT


 


onKeyDown() has existed for over two years, the same length of time as
the onKeyUp() that your re presently using. onKeyDown() exists in
Android 1.6.

-- 
Mark Murphy (a Commons Guy)
 http://commonsware.com  |  http://github.com/commonsguy 
 http://commonsware.com/blog  |  http://twitter.com/commonsguy 

Android 2.x Programming Books:  http://commonsware.com/books 

--


Sponsored Links


(Bug?) Back button triggers several times in different tasks

by gujian » Thu, 13 May 2010 21:43:33 GMT


 I think this situation depend on A'status.you can debug it with "Log.d()"and
then you can get your answer!

2010/5/13 inbrain <inbr...@gmail.com>




> >



(Bug?) Back button triggers several times in different tasks

by gujian » Fri, 14 May 2010 09:16:14 GMT


 we can get some message from your strange result.when you pressed back
button the A's onkeyup() was triggered.that is A shoud be activity.of
course  contents of above is my assumption which need your debug.in fact ,I
am new to android and unfamiliar with the method of intent.setComponent.I'm
sorry for that.

2010/5/13 inbrain <inbr...@gmail.com>





> > > >



Other Threads

1. Tethering dedicated

Halo, mau nanya,
Ketika tethering bisa ga ya apikasi diandroid ga ikut-ikutan konek?
Jadi si gmail, twitter app, dll, itu ga narik data, jadi jalur data langsung ke 
tethernya itu aja.


-- 
Sent from my Android phone with K-9 Mail. Please excuse my brevity.

-- 
"Indonesian Android Community [id-android]" 

2. how can I put a newline into a format string

I have the following string defined in strings.xml

<string name="InfoLong"><b>%1$s\%</b><br/>Tie:%2$s\%<br/>Win%3$s\%</
string>

and in my code:

                String FormatStr = getResources().getString(R.string.InfoLong);
                String resultsText = String.format( FormatStr, ---, "--", "---" 
);
                CharSequence str = Html.fromHtml(resultsText);
                percent.setText( str );

what I would like to get is:

---%
Tie:--% Win:---%

what I get is:

--%<br/>Tie:--%Win:---%

I have also tried \n and \\n instead of <br/> with similar results

My question is:

Can I embed a newline in a format string?

-- 

3. Mengapa android cepet boros ?

4. mau tanya

5. Restart LogCat without restarting eclipse?

6. Highlight text in WebView

7. (WTA OOT) Koneksi internet di HK, Shenzhen, Macau