[android-developers] Access instance variables from an activity inside a AsyncTask

2011-05-16 Thread elioncho
Hello guys, I have an AsyncTask (in a separate file) which is invoked on an activity. When I instantiate the AsyncTask, I send the activity as a param. How can I access the acitivity's instance variables from the onPostExecute method of the AsyncTask? Thanks! -- You received this message

[android-developers] Https connection to webservice

2011-04-28 Thread elioncho
Hello guys, I'm trying to connect to a webservice through my android application. In which order should I add these certs to my app's keystore? 1 Subject CN=*.heroku.com, O=Heroku, Inc., L=San Francisco, ST=California, C=US Issuer CN=DigiCert High Assurance CA-3, OU=www.digicert.com,

[android-developers] Secure requests to a Webservice via Android

2011-04-10 Thread elioncho
Hello, I've and android application which sends post requests to a web service. I want to secure the communication between the two and was wondering which is the best approach: 1) Make https requests 2) Encrypt the request params via an encryption algorithm and decrypt on the web service (I

[android-developers] FACEBOOK ANDROID SDK API Problem to get access token

2011-04-05 Thread elioncho
. Does anyone knows a workaround for this? Elioncho -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers

[android-developers] Re: JSONObject optString output

2011-03-26 Thread elioncho
or stripping of any kind. Try to switch to get...() methods and see if that makes any difference. Best regards, Filip Havlicek 2011/3/24 elioncho elion...@gmail.com Hello, I'm receiving a Json response like this: {password_confirmation:[is too short (minimum is 4 characters)],password

[android-developers] JSONObject optString output

2011-03-23 Thread elioncho
Hello, I'm receiving a Json response like this: {password_confirmation:[is too short (minimum is 4 characters)],password:[is too short (minimum is 4 characters),doesn't match confirmation],email:[is too short (minimum is 6 characters),should look like an email address.],login:[is too short

[android-developers] About activity and menus for Android games

2011-02-19 Thread elioncho
Hello, I'm currently developing a game for the Android Platform. I'm developing the game using only one activity. I have a main.xml where I declared the game view: com.android.thedescent.GameView android:id=@+id/GameView android:layout_width=match_parent

[android-developers] Moving background image for android game

2010-11-16 Thread elioncho
Hello, I'm currently developing an Android game where the user controls a plane and evades obstacles. I'm using simple draw commands into a Canvas. I want to know what is the best way to move a background image to give a sense of speed to the game. Is there a way to make the background- image

[android-developers] MOVING BACKGROUND IMAGE FOR ANDROID GAME

2010-11-15 Thread elioncho
Hello, I'm currently developing an Android game where the user controls a plane and evades obstacles. I'm using simple draw commands into a Canvas. I want to know what is the best way to move a background image to give a sense of speed to the game. Is there a way to make the background- image