[android-developers] AndroidStudio - Wipe data between deploys

2014-06-15 Thread Ricardo Cardoso
How do I delete the application between deploys in Android Studio? -- 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] Re: to fill an object with return after POST

2013-08-19 Thread Ricardo Cardoso
Ricardo Cardoso rick@gmail.com I did the below codes to log into my system @Post https://github.com/Post(/api/v1/sessions.json) User login(UserWrapper user); With that I have to return my webservice ender :status = 200, :json = { :success = true, :info = Logged in, :data = { :user

[android-developers] to fill an object with return after POST

2013-08-16 Thread Ricardo Cardoso
I did the below codes to log into my system @Post https://github.com/Post(/api/v1/sessions.json) User login(UserWrapper user); With that I have to return my webservice ender :status = 200, :json = { :success = true, :info = Logged in, :data = { :user = resource, :auth_token =

[android-developers] AndroidAnnotations RestTemplate

2013-07-31 Thread Ricardo Cardoso
Hello, all right? I am using AndroidAnnotations in my project and I am having trouble to understand this RestTemplate, how do ... is this need my Json stay that way: Parameters: {user={email=userte...@example.com, firstname=anotheruser, password=[FILTERED], password_confirmation=[FILTERED]},

[android-developers] Re: Help with AndroidAnnotations

2013-07-29 Thread Ricardo Cardoso
any idea? 2013/7/25 Ricardo Cardoso rick@gmail.com Testing the console using CURL typing curl -v -H 'Content-Type: application/json' -H 'Accept: application/json' -X POSThttp://localhost:3000/api/v1/registrations -d {\user\:{\email\:\us...@example.com \,\firstname\:\anotheruser

[android-developers] Help with AndroidAnnotations

2013-07-25 Thread Ricardo Cardoso
Please, help me in AndroidAnnotations. I have a problem in send my JSON to for the WebService. I created my interface Rest @Rest(rootUrl=http://192.168.0.142:3000;, converters={GsonHttpMessageConverter.class}) public interface UserRestClient { @Post(/api/v1/registrations/) User addUser(User

[android-developers] Re: Help with AndroidAnnotations

2013-07-25 Thread Ricardo Cardoso
with AndroidAnnotations? Help-me Como gerar um JSON daquele jeito pelo androidannotations... alguém sabe? 2013/7/25 Ricardo Cardoso rick@gmail.com Please, help me in AndroidAnnotations. I have a problem in send my JSON to for the WebService. I created my interface Rest @Rest(rootUrl

[android-developers] Re: Only Portrait and ReversePortrait in android 2.1 API Level 7

2013-04-17 Thread Ricardo Cardoso
any idea? 2013/4/15 Ricardo Cardoso rick@gmail.com I have a doubt as to leave the screen only in portrait and reversePortrait, tested code, but only when the screen turns reversePortrait, I can not go back to portrait. why? in my MainActivity.class @Overridepublic void

[android-developers] Only Portrait and ReversePortrait in android 2.1 API Level 7

2013-04-15 Thread Ricardo Cardoso
I have a doubt as to leave the screen only in portrait and reversePortrait, tested code, but only when the screen turns reversePortrait, I can not go back to portrait. why? in my MainActivity.class @Overridepublic void onConfigurationChanged(Configuration newConfig)

[android-developers] Intent camera option with the gallery

2012-11-29 Thread Ricardo Cardoso
Hello, I wonder how can I call the Intent of the camera with the option flag gallery too? Same is the Instagram app ... hugs -- 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] Save photo in 320x426 resolution with high quality

2012-11-28 Thread Ricardo Cardoso
I'm taking a picture with my application and saving to the phone directory But when I ask to save with this resolution in pixels is giving nullpointerexeption: 11-28 18:01:47.593: E / AndroidRuntime (19992): Caused by: java.lang.NullPointerException 11-28 18:01:47.593: E / AndroidRuntime

Re: [android-developers] Re: Save photo in 320x426 resolution with high quality

2012-11-28 Thread Ricardo Cardoso
you set fullPath is obviously wrong. Also, be careful saving it with this file name: System.currentTimeMillis () + . Jpg If you construct that file name at a different time, it may not open. On Wednesday, November 28, 2012 2:31:01 PM UTC-6, Ricardo Cardoso wrote: I'm taking a picture

[android-developers] How to get the coordinates of an image within an ImageView ?

2012-11-27 Thread Ricardo Cardoso
I have tried the code below, but the coordinates of were very wrong iv_foto.setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { switch(event.getAction()) { case MotionEvent.ACTION_DOWN:

[android-developers] Re: How to get the coordinates of an image within an ImageView ?

2012-11-27 Thread Ricardo Cardoso
? 2012/11/27 Ricardo Cardoso rick@gmail.com I have tried the code below, but the coordinates of were very wrong iv_foto.setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent event) { switch(event.getAction

[android-developers] Re: How to get the coordinates of an image within an ImageView ?

2012-11-27 Thread Ricardo Cardoso
?? 2012/11/27 Ricardo Cardoso rick@gmail.com ? 2012/11/27 Ricardo Cardoso rick@gmail.com I have tried the code below, but the coordinates of were very wrong iv_foto.setOnTouchListener(new OnTouchListener() { @Override public boolean onTouch(View v, MotionEvent

[android-developers] Re: How to get the coordinates of an image within an ImageView ?

2012-11-27 Thread Ricardo Cardoso
); break; case MotionEvent.ACTION_MOVE: break; case MotionEvent.ACTION_UP: break; } return true; } }); 2012/11/27 Ricardo Cardoso rick@gmail.com I have tried the code below, but the coordinates of were

[android-developers] Strings.xml call WebView

2012-11-22 Thread Ricardo Cardoso
Who call a WebView through the file strings.xml ?? Como chama uma WebView através do arquvo strings.xml ??? -- 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

[android-developers] Custom filter for ListView using BaseAdapter

2012-09-04 Thread Ricardo Cardoso
Hello, okay? My question is that I can not do a search on my facebook friends in my listview using a basedapter ... My doubt is that the same topic But no solution yet! Follow my code below /* * callback after friends are fetched via me/friends. * Chamada dos amigos atraves do

Re: [android-developers] Custom filter for ListView using BaseAdapter

2012-09-04 Thread Ricardo Cardoso
Already tried debugging, show the LogCat, but nothing could solve ... error does not happen, just when I start typing would have to go in listview filtering the results, but this does not happen! 2012/9/4 TreKing treking...@gmail.com On Tue, Sep 4, 2012 at 12:38 PM, Ricardo Cardoso rick

[android-developers] Re: Searching on the results JSON listctivity

2012-08-06 Thread Ricardo Cardoso
? 2012/8/5 Ricardo Cardoso rick@gmail.com I have a ListActivity and she is populated with the result of a Json ... I put a EditText to do a search on ListActivity ... however I do not know how to do when the result is a json ... can anyone help me? /** * Definition of the list

[android-developers] Searching on the results JSON listctivity

2012-08-05 Thread Ricardo Cardoso
I have a ListActivity and she is populated with the result of a Json ... I put a EditText to do a search on ListActivity ... however I do not know how to do when the result is a json ... can anyone help me? /** * Definition of the list adapter */ public class FriendListAdapter