Re: [android-developers] Re: Traslate Animation in ListView (like Google Plus App)

2013-04-26 Thread Gianluca Cacace
ration(100); set.addAnimation(animation); TranslateAnimation animation2 = new TranslateAnimation( Animation.RELATIVE_TO_SELF, 0.0f, Animation.RELATIVE_TO_SELF, 0.0f, Animation.RELATIVE_TO_SELF, 0.5f, Animation.RELATIVE_TO_SELF, 0.0f); animation2.setDuration(500); set.addAnimation(animation2); --

[android-developers] Traslate Animation in ListView (like Google Plus App)

2013-02-07 Thread Gianluca Cacace
Has anyone idea to how to replicate the Google Plus listview behaviour, when scrolling down the list? I want that each new cell is traslating from the bottom to it's final position smoothly. -- -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Avoid OutOfMemory Exception using FragmentManager BackStack

2012-12-17 Thread Gianluca Cacace
I'm developing a native app, using fragments like facebook. I've only 1 activity with a top fixed bar and a fragment container below it. When I navigate into the app, fragments are added to the back stack (like Facebook app), and when I press back button, they are popped rightly. But I noticed tha

[android-developers] ListFragment and savedInstanceState, how to preserve state correctly

2012-12-17 Thread Gianluca Cacace
I'm using a custom ListFragment to load asyncronusly json data and show it. When I click on a row, the fragment is detached and added to the back stack, and a new fragment is loaded to show details about the row selected. When the user press the back button, the listfragment is correctly popped

Re: [android-developers] ActionBar overlay enable programmatically

2012-10-23 Thread Gianluca Cacace
Is it possible to don't interrupt the video playback during rotation, changing a orientation-specific resource/style? Il giorno martedì 23 ottobre 2012 15:30:34 UTC+2, Kostya Vasilyev ha scritto: > > Perhaps they use orientation-specific resources / styles? > > 2012/10/2

[android-developers] ActionBar overlay enable programmatically

2012-10-23 Thread Gianluca Cacace
If you see the new YouTube app, while you're watching a video in portrait mode, the actionbar is not in overlay mode. But when the screen rotates in landscape, the video is under the actionBar, so the actionbar is in overlay mode. I can't change this mode after setContentView. But I tried to kee

[android-developers] View.OnClickListener without default click sound

2012-10-15 Thread Gianluca Cacace
How to disable the default system "click" sound when a view is tapped? -- 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 an

[android-developers] How YouTube app change views or fragments

2012-09-24 Thread Gianluca Cacace
I've noticed that the YouTube app for ICS/JB doesn't open a new activity when you select an item from the left side menu. How can I implement this behaviour? I've alredy implemented a slidemenu, but what I've to do when an item from the menu is selected? -- You received this message because yo

[android-developers] Request authentication, then return to the specific action

2012-09-17 Thread Gianluca Cacace
I see that apps like YouTube, when you're not logged in and you try to do an action that requires to be logged, appears a login activity. Then, when you've completed the login, the app returns to the previous activity, executing exactly what you wanted to do before. Are they using startActivity

[android-developers] Custom ActionBar Popup (like QuickContactBadge)

2012-08-30 Thread Gianluca Cacace
Is there any library or Android Widget to have this behaviour when I click on an ImageView? See image attached: -- You received this message because you are subscribed to the

[android-developers] Best practice to load images from disk/url into a listview

2012-08-29 Thread Gianluca Cacace
I've build an activity with a Listview like Youtube app's "my Videos". All images are taken from disk or using a built-in video-thumbnail generator (if not exist a cached file). I've noticed that this method that I use is really slow (I don't know how Youtube load this listview). Besides, when I

[android-developers] Show a producer-consumer queue inside a Listview

2012-08-26 Thread Gianluca Cacace
I've a service which consume some tasks queued by an activity (this service uploads each queued video to a http server). I want to show the upload status in an activity (with a listview, like Youtube). What can I do to keep in sync the listview with the service progress? I don't know if it's a b

[android-developers] Re: Best practice to implement a HTTP video upload queue like YouTube App

2012-08-24 Thread Gianluca Cacace
I'm actually using a BlockingQueue but I've also to manage the feature to remove an arbitrary object from the queue or from the current upload (object picked from the head of the queue). Il giorno giovedì 23 agosto 2012 12:32:59 UTC+2, Gianluca Cacace ha scritto: > > I'm tr

[android-developers] Best practice to implement a HTTP video upload queue like YouTube App

2012-08-23 Thread Gianluca Cacace
I'm trying to find the best way to develop a HTTP queue which uploads videos using HTTP POST, with progress indicator in a listview or notification. I'm developing with ICS. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this

[android-developers] Re: Exception chaos using the FragmentStatePagerAdapter (support package)

2012-07-25 Thread Gianluca Esposito
I had the same issue ("Fragment is no longer in the fragment manager")... I'm not an Android super-expert but I solved this issue overriding saveState() method in my class extending FragmentStatePagerAdapter: @Override public Parcelable saveState() { // DO NOTHING return null; } Hope this

[android-developers] howto dynamically change the "html content" of a listview?

2012-05-28 Thread Gianluca Mazza
Hi everybody, have you idea how to "dynamically" change the content of listview intents using position and only one webview container? Example: lv.setOnItemClickListener(new OnItemClickListener() { public void onItemClick(AdapterView parent, View view,

[android-developers] Re: using multiple advertising networks - is this possible?

2011-10-25 Thread Gianluca Fiorini
You can try with AdWhirl: https://www.adwhirl.com/ it acts as an aggregator of different Ads network Gianluca On 11 Ott, 12:48, KevinC wrote: > Hi - > > Is it possible to switch between multiple advertising networks for > placing in-app ads? For example, if I want to show an In

Re: [android-developers] Mail intent applications popup

2011-10-19 Thread Gianluca Mazza
Thanks, solved using SENDTO + uri :-) -- 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+unsubscr...@goog

[android-developers] Re: Can't upload an apk to Android Market

2011-10-12 Thread Gianluca
I'm unable too, it seems not a browser problem, neither IE or chrome or Firefox are working. On Oct 11, 1:15 pm, burnayev wrote: > I've been trying to upload a new apk for my application to the market > for the past hour or so with no success. Once I hit the Upload button > the progress bar stay