HELP!! int to byte array!

by Rodrigo Platero » Fri, 20 May 2011 09:30:36 GMT


Sponsored Links
 Hi!

I need help! I need convert an int to a byte array, and i don't get it!!

Thanks!!

PD: Sorry my english :S
Rodrigo Platero Montero

-- 



Re: HELP!! int to byte array!

by Miguel Morales » Fri, 20 May 2011 09:41:31 GMT


  http://stackoverflow.com/questions/1936857/convert-integer-into-byte-array-java 

On Thu, May 19, 2011 at 2:25 AM, Rodrigo Platero







-- 
~ Jeremiah:9:23-24
Android 2D MMORPG:  http://solrpg.com/ ,
 http://www.youtube.com/user/revoltingx 

-- 


Sponsored Links


Other Threads

1. IPSEC for Android

Hi.
I have a linux C application I need to port to Android. The
application has some IPSec features that need to be supported as well.
I looked in the latest NDK (1.6), but couldn't find ipsec.h header
file.
Does Android support IPSec? Any ideas how should I continue?

Thanks,
Ofer

--

2. Activity Life cycle question

Maybe the title of this topic is not quite proper but it considers the
life cycle of android activities. I looked through many open source
project and saw that usually when an activity is opened form a basic
one the main screen is not closed. When the user presses the 'back'
button the new activity is closed and the main one stays on screen.

However in my application I have a problem with that - the new
activity needs to have a button getting it back to the first one.
Moreover, the new activity can open a third one that still would have
the button that should take back to the first one. Or even a 4th one.
So it looks like that:

A => B => C => D

And all B,C,D need to have a button that would close the all 'chain'
and get back to A. Let's call it 'Back A button' not to confuse with
'hardware back button'. I didn't know how to close all other
activities by a push of the mentioned ''Back A button'. If don't close
them, I'll have a flood of activities in the background.

I achieved this by closing each activity when calling the next one. So
When I open B I close A, when I open C I close B, When I open D I
close C etc.This works however whenever you would press the 'hardware
back button' on the android device the whole application exits (there
are no running activities 'in the back'). I don't want this since the
user would expect to get back to the previous screen by pressing
hardware back button. So i.e. D=>C, C=>B, B=>A.

I don't know if I had explained my problem in detail, I hope so. Does
any one have an advice on how to handle this situation?

-- 

3. Amazon appstore order reports

4. Best Ads for Android Apps

5. Amazon Market Stats down still - please everybody report it to them

6. new developer questions

7. Udah bisa WTA : cara pakai Google street view