[android-developers] Re: Animations in the list view

2013-01-17 Thread skink
On 12 Sty, 19:40, Ansh yourans...@gmail.com wrote: Hi guys I am new to animation in android.I am trying to translate  childitem/ of a listview.First child view should translate from middle to top of the list and the list should also slide down during the translate animation and make the

[android-developers] Http Response body

2013-01-17 Thread a
Hi, I am using link http://hc.apache.org/httpcomponents-core-ga/httpcore/examples/org/apache/http/examples/ElementalHttpServer.java to create HTTP server in Android. However in my response I always get HTTP/1.1 200 OK in the body(though the header has the status code 404 in it). Please

[android-developers] Re: Http Response body

2013-01-17 Thread skink
a wrote: Hi, I am using link http://hc.apache.org/httpcomponents-core-ga/httpcore/examples/org/apache/http/examples/ElementalHttpServer.java to create HTTP server in Android. However in my response I always get HTTP/1.1 200 OK in the body(though the header has the status code 404 in

[android-developers] Re: Http Response body

2013-01-17 Thread a
Thanks for the reply. Ya I m able to see the status and print the status code in Poster. I am using the same code as in the link, not sure why HTTP/1.1 200 OK comes even if I dont set the entity in response. I think it is due to the HttpService constructor, DefaultResponsefactory httpService =

[android-developers] Re: Http Response body

2013-01-17 Thread a
Is the content-type header mandatory? Should it be set to text/plain? On Thursday, January 17, 2013 12:37:16 PM UTC+2, a wrote: Thanks for the reply. Ya I m able to see the status and print the status code in Poster. I am using the same code as in the link, not sure why HTTP/1.1 200 OK

[android-developers] Re: Http Response body

2013-01-17 Thread skink
a wrote: Thanks for the reply. Ya I m able to see the status and print the status code in Poster. I am using the same code as in the link, not sure why HTTP/1.1 200 OK comes even if I dont set the entity in response. I think it is due to the HttpService constructor, DefaultResponsefactory

[android-developers] Re: Http Response body

2013-01-17 Thread skink
a wrote: Is the content-type header mandatory? Should it be set to text/plain? http://www.w3.org/Protocols/rfc2616/rfc2616.html pskink -- 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] What is Fragments?

2013-01-17 Thread sree android
What is Fragments,why we are using it.When we are working 16th API it is mandatory or not to extends FragmentsActivity. -- 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

[android-developers] How to make a music visualizer?

2013-01-17 Thread MobileVisuals
I have made a music visualizer with the standard classes, but I don't know how to connect it to the music players. How do I connect the music visualizer to the common music players like Spotify and Winamp, so I can visualize the music, which comes from these players? As it is now, I can only

[android-developers] Re: Animations in the list view

2013-01-17 Thread Ansh
Hats off to you man ...you are a life saver. Although the animation with this code is not smoother like the one in the video but its as smooth as it can be and its good in terms of lines of code and other unnecessary stuffs i used to achieve. check this out and provide me your feedback

[android-developers] Re: What is Fragments?

2013-01-17 Thread skink
sree android wrote: What is Fragments,why we are using it.When we are working 16th API it is mandatory or not to extends FragmentsActivity. http://developer.android.com/guide/components/fragments.html pskink -- You received this message because you are subscribed to the Google Groups

[android-developers] Google map with airballoon image...

2013-01-17 Thread tom
Hi, I have created google map using android and set zoom control also.. Now i try to create a air balloons on top of the countries but i don't have any idea. So if you know please share with me... Thanks, -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Google map with airballoon image...

2013-01-17 Thread skink
tom wrote: Hi, I have created google map using android and set zoom control also.. Now i try to create a air balloons on top of the countries but i don't have any idea. So if you know please share with me... Thanks,

[android-developers] Re: Animations in the list view

2013-01-17 Thread skink
Ansh wrote: Hats off to you man ...you are a life saver. Although the animation with this code is not smoother like the one in the video but its as smooth as it can be and its good in terms of lines of code and other unnecessary stuffs i used to achieve. check this out and provide me your

[android-developers] Widevine Adaptive Streaming

2013-01-17 Thread Larry Meadors
I'm using the built-in DRM support for widevine video playback, and the video quality seems really poor. The same video played on an ios device or using their web player seems fine, but on android it's super blocky. Is anyone here familiar with this problem? Larry PS: Yes, I know it's not

[android-developers] Re: Animations in the list view

2013-01-17 Thread Ansh
Yes i took help from your code.The popup which is floating upwards is a layout of the same type as the layout being used for the ListView. On Thursday, 17 January 2013 18:00:22 UTC+5:30, skink wrote: Ansh wrote: Hats off to you man ...you are a life saver. Although the animation

[android-developers] Re: Animations in the list view

2013-01-17 Thread skink
Ansh wrote: Yes i took help from your code.The popup which is floating upwards is a layout of the same type as the layout being used for the ListView. share a code snippet then... pskink -- You received this message because you are subscribed to the Google Groups Android Developers

[android-developers] Re: SyncAdapter and multiple threads?

2013-01-17 Thread Ondrej
onPerformSync is running only one in time for given account from my observations, you can take a look at syncmanager in Android source if you want 100% answer as soon as you return from onPerformSync next call can be done On Wednesday, January 16, 2013 4:11:52 PM UTC+1, saladbowl wrote: I

[android-developers] install trail application in android ..

2013-01-17 Thread Ananda Krishna
hi, Is there a method where i can install a trial application in android only once.. And is there a method where we can store the app details in either internal/external storage while uninstalling the application. Or can we store the app details in android registry if it is present. Regards,

[android-developers] How to make visible only half potion of video on screen

2013-01-17 Thread yashika
Hi, Is it possible to make only half portion of screen visible while video is running over it? Plz help me How Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread mbarbiero
Em quarta-feira, 16 de janeiro de 2013 10h06min13s UTC-2, Nikolay Elenkov escreveu: On Jan 16, 2013 9:01 PM, mbarbiero marco.b...@gmail.com javascript: wrote: Nikolay... One more question: If the private key used to sign is incorrect, the command $ openssl rsautl -verify -in

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread mbarbiero
Hi... I tested the canonical form and Sha1 hash code using a .net code to confirm the values. A strig format of signedInfo is OK. Considering that PrivateKey is OK too, my suspects are, now, the byte code send to sign and the convertion to base64 of the results. Maybe little-endian x big-endian

Re: [android-developers] database question

2013-01-17 Thread dashman
Thanks for the responses. It's a relatively simple database application - so it should fit fine. I downloaded the windows command line program and created a database and then copied it to the device emulator - and worked fine. i was also able to read from the dafault database folder

[android-developers] Re: SyncAdapter and multiple threads?

2013-01-17 Thread Streets Of Boston
The answer is right here in the documentation: https://developer.android.com/reference/android/content/AbstractThreadedSyncAdapter.html#onPerformSync(android.accounts.Account, android.os.Bundle, java.lang.String, android.content.ContentProviderClient, android.content.SyncResult) *...

[android-developers] Re: SyncAdapter and multiple threads?

2013-01-17 Thread Streets Of Boston
The answer is right here in the documentation: https://developer.android.com/reference/android/content/ AbstractThreadedSyncAdapter.html#onPerformSync(android.accounts.Account, android.os.Bundle, java.lang.String, android.content.ContentProviderClient, android.content.SyncResult) *...

[android-developers] Re: SyncAdapter and multiple threads?

2013-01-17 Thread saladbowl
Thanks so much for the responses - much appreciated. -- 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

Re: [android-developers] Thoughts on the AQuery library?

2013-01-17 Thread gloesch
Thanks! Yeah, I agree that AQuery doesn't seem near as powerful as jQuery. I do know that this library uses reflection in certain instances, particularly for callbacks in network calls. This doesn't seem to cause issues though I just started using it. I liked in particular the lack of

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread Nikolay Elenkov
On Thu, Jan 17, 2013 at 11:11 PM, mbarbiero marco.barbi...@gmail.com wrote: Hi... I tested the canonical form and Sha1 hash code using a .net code to confirm the values. A strig format of signedInfo is OK. Not too clear what you are saying here. Is the SHA1 of the canonical form of the two

[android-developers] help me to link up all of my activities

2013-01-17 Thread Prabu Siabuabu
hi everyone! i was wonder is it possible to make an app like this? - http://i1193.photobucket.com/albums/aa344/hiatus1/wireframe_zps9e434b1b.jpg and if yes, how can i do that?? i'm stuck on to link up all of my activites to main activities.. anyone here can help me please?? thanks in advance.

[android-developers] Re: Animations in the list view

2013-01-17 Thread Ansh
sure dude ,i ll share the link of my blog once i finish with this On Thursday, 17 January 2013 18:26:46 UTC+5:30, skink wrote: Ansh wrote: Yes i took help from your code.The popup which is floating upwards is a layout of the same type as the layout being used for the ListView.

Re: [android-developers] Re: Toast not showing on Samsung Galaxy S3 (latest update 4.1.2)

2013-01-17 Thread Tobias Lindberg
Hehe, yeah. 2013/1/17 b0b pujos.mich...@gmail.com On Wednesday, 16 January 2013 10:43:37 UTC+1, Kostya Vasilyev wrote: Heh. Looks like it *is* intentional. https://android.googlesource.**com/platform/frameworks/base/+** /refs/heads/master/services/**java/com/android/server/**

Re: [android-developers] Thoughts on the AQuery library?

2013-01-17 Thread Kristopher Micinski
On Thu, Jan 17, 2013 at 10:19 AM, gloesch gloe...@taximagic.com wrote: Thanks! Yeah, I agree that AQuery doesn't seem near as powerful as jQuery. I do know that this library uses reflection in certain instances, particularly for callbacks in network calls. This doesn't seem to cause issues

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread mbarbiero
Hi Nikolay... In the XMLs that I post the DigestValue (SHA1) is the same of the DigestValue of canonicalized .net. I will try to create a program in Java pure to test if problem is in Android implementation. What you think about? Em quinta-feira, 17 de janeiro de 2013 13h25min25s UTC-2,

Re: [android-developers] database question

2013-01-17 Thread Kristopher Micinski
I think people overemphasize this: SQLite will work for most applications, unless you're running a production quality service where you're already hiring a database administrator. For anything which will be running purely on the phone, SQLite is a perfectly good option, I've *never* seen a need

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread Kostya Vasilyev
Windows (dot net) and Unix (android) default to different ways to represent line breaks. Are line breaks in the xml you're signing encoded the same way on both sides? 17.01.2013 20:24 пользователь mbarbiero marco.barbi...@gmail.com написал: Hi Nikolay... In the XMLs that I post the

[android-developers] Launching play store for specific product

2013-01-17 Thread JPS
Hi I'm trying to launch the Google/Android Play Story using an intent (com.android.vending). I would like Play store to display the page specific to an app. I've searched on ways to do this but could not find anything. I assume some parameters need to be added to the intent. I Know this can be

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread mbarbiero
Hi.. The text that I sign is too sample: txt Id=txtcontentabc/content/txt Without tabs, cr or especial chars. mBarbiero Em quinta-feira, 17 de janeiro de 2013 15h19min06s UTC-2, Kostya Vasilyev escreveu: Windows (dot net) and Unix (android) default to different ways to represent line

Re: [android-developers] Launching play store for specific product

2013-01-17 Thread Harri Smått
Hi, This should be possible using Intent.ACTION_VIEW with market:// protocol. See this SO question for example; http://stackoverflow.com/questions/10922762/open-link-of-google-play-store-in-mobile-version-android -- H On Jan 17, 2013, at 7:44 PM, JPS jp_sem...@hotmail.com wrote: Hi I'm

[android-developers] How to use Android HorizontalScrollView to move image one by one

2013-01-17 Thread lionel Lioninho
I want to create an image slider using the HorizontalScrollView. Indeed, the slider will display one image at the time and I want to be able to use the fling gesture to navigate left and right in the slider. Any Idea to which methods to override in the HorizontalScrollView to achieve this.

Re: [android-developers] How to use Android HorizontalScrollView to move image one by one

2013-01-17 Thread Harri Smått
Hi, There's a free application called Android UI Patterns on Play Market you can use to try out many of the open source UI implementations for Android. In your case ViewPager Tabbar is maybe the most interesting part of the application in which you can find horizontal scrolling

Re: [android-developers] Launching play store for specific product

2013-01-17 Thread JPS
Hi Harri and thanks for the reply This is what I'm currently doing but this causes a dialog to pop-up asking if this action should be done using the browser or playstore. This is not acceptable in this situation. This is why I want to launch the com.android.vending activity directly. JPS

[android-developers] MIT GSS-API Library with CyaSSL Available for Android

2013-01-17 Thread Chris C.
Hi, Last November we announced the availability of MIT GSS-API and CyaSSL embedded SSL libraries for Android NDK applications (previous post: https://groups.google.com/forum/?fromgroups=#!topic/android-developers/_oxE0RpAShU). This project included a port of the MIT Kerberos libraries to

Re: [android-developers] Launching play store for specific product

2013-01-17 Thread Mark Murphy
On Thu, Jan 17, 2013 at 1:26 PM, JPS jp_sem...@hotmail.com wrote: This is what I'm currently doing but this causes a dialog to pop-up asking if this action should be done using the browser or playstore. The AOSP Browser app does not respond to market:// Uri values, at least in current versions

[android-developers] intel-accelerated emulator + maps API with SDK v21

2013-01-17 Thread Sean Felipe Wolfe
Hey y'all I need to use the maps API target and I really do like the Intel-accelerated emulators. I have been using this hack to create a system.img file with the maps api loaded: http://38911bytes.blogspot.com/2012/03/how-to-use-google-maps-api-in-android.html However with v21 of the sdk

[android-developers] Re: intel-accelerated emulator + maps API with SDK v21

2013-01-17 Thread lbendlin
This is for map api v1, right? As I understand it map api v2 is not supported on the emulator. On Thursday, January 17, 2013 1:55:06 PM UTC-5, seansf wrote: Hey y'all I need to use the maps API target and I really do like the Intel-accelerated emulators. I have been using this hack to

Re: [android-developers] install trail application in android ..

2013-01-17 Thread TreKing
On Thu, Jan 17, 2013 at 7:49 AM, Ananda Krishna anandakrishna15.1...@gmail.com wrote: Is there a method where i can install a trial application in android only once.. And is there a method where we can store the app details in either internal/external storage while uninstalling the

[android-developers] Re: How to implement a selection mechanism for translated and rotated objects on a canvas?

2013-01-17 Thread strangeoptics
Yes that's the way. I tried it out and it works. I found also a project that has a working implementation of the inverse Matrix and pre-transformations. http://publicobject.googlecode.com/svn-history/r19/whisky/src/com/publicobject/whisky/Element.java It is a good starting point to implement my

Re: [android-developers] help me to link up all of my activities

2013-01-17 Thread TreKing
On Thu, Jan 17, 2013 at 9:27 AM, Prabu Siabuabu prabud...@gmail.com wrote: i'm stuck on to link up all of my activites to main activities.. anyone here can help me please?? thanks in advance. Have you read through the docs? Starting Activities from other Activities (and other components) is

[android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
My application extends the Application class so that I can initialize ACRA in the onCreateMethod. My application consists primarily of a widget that monitors something and sends a notification when a condition exists. If the application or widget is installed and that condition already exists

Re: [android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread Mark Murphy
I assume widget means app widget. In that case, is your app widget being updated, via android:updatePeriodMillis or AlarmManager? if the answer is yes, then your process is being terminated in between updates, then recreated on the next update, triggering a new Application object and onCreate().

Re: [android-developers] Application.onCreate Method Randomly Called?

2013-01-17 Thread TreKing
On Thu, Jan 17, 2013 at 2:40 PM, Jake Colman col...@ppllc.com wrote: If the application or widget is installed and that condition already exists at the time of installation, the notification is triggered. That doesn't make sense. You can't do anything when your *application* is first

Re: [android-developers] Re: intel-accelerated emulator + maps API with SDK v21

2013-01-17 Thread Sean Felipe Wolfe
yes, the original maps api v2. On Thu, Jan 17, 2013 at 12:02 PM, lbendlin l...@bendlin.us wrote: This is for map api v1, right? As I understand it map api v2 is not supported on the emulator. On Thursday, January 17, 2013 1:55:06 PM UTC-5, seansf wrote: Hey y'all I need to use the maps

Re: [android-developers] Re: intel-accelerated emulator + maps API with SDK v21

2013-01-17 Thread Sean Felipe Wolfe
s**t I mean v1. On Thu, Jan 17, 2013 at 1:40 PM, Sean Felipe Wolfe ether@gmail.com wrote: yes, the original maps api v2. On Thu, Jan 17, 2013 at 12:02 PM, lbendlin l...@bendlin.us wrote: This is for map api v1, right? As I understand it map api v2 is not supported on the emulator. On

[android-developers] Re: What is Fragments?

2013-01-17 Thread bob
It is not mandatory to extend FragmentsActivity for API 16+. On Thursday, January 17, 2013 5:25:08 AM UTC-6, sree wrote: What is Fragments,why we are using it.When we are working 16th API it is mandatory or not to extends FragmentsActivity. -- You received this message because you

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
Mark, Yes, I meant an app widget and, yes, the app widget is being updated via android:updatePeriodMillis and the AlarmManager. The onCreate method is NOT being called following an APPWIDGET_UPDATE since I see those happening elsewhere in my debug log. The AlarmManager is managing several

[android-developers] Re: help me to link up all of my activities

2013-01-17 Thread bob
You probably want to focus on the *startActivityForResult* method: public void startActivityForResult (Intent intent, int requestCode, Bundle options) Added in API level 16 Launch an activity for which you would like a result when it finished. When this activity exits, your onActivityResult()

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Thu, Jan 17, 2013 at 2:40 PM, Jake Colman col...@ppllc.com T wrote: If the application or widget is installed and that condition already exists at the time of installation, the notification is triggered. T That doesn't

[android-developers] Free weekly webinars fon Groovy and Grails and HTML5 from JPassion.com

2013-01-17 Thread Sang Shin
JPassion.com (Used to be JavaPassion.com) is starting again free weekly live webinars from March 1st, 2013 on the 2 new courses - Groovy and Grails and HTML5. Free Groovy and Grails 12-week Weekly webinars Every Friday 10:00AM-11:AM EST New York time (from March 1st, 2013)

Re: [android-developers] How to use Android HorizontalScrollView to move image one by one

2013-01-17 Thread bob
Interesting demo. Nice page curl, by the way. On Thursday, January 17, 2013 12:16:32 PM UTC-6, Harri Smått wrote: Hi, There's a free application called Android UI Patterns on Play Market you can use to try out many of the open source UI implementations for Android. In your case

Re: [android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Mark Murphy
On Thu, Jan 17, 2013 at 5:07 PM, Jake Colman col...@ppllc.com wrote: Yes, I meant an app widget and, yes, the app widget is being updated via android:updatePeriodMillis and the AlarmManager. The onCreate method is NOT being called following an APPWIDGET_UPDATE since I see those happening

[android-developers] Re: Widevine Adaptive Streaming

2013-01-17 Thread Larry Meadors
Crap, this appears to vary by device. On a Samsung Galaxy Tab 8.9, it's perfect. This is running 3.2. On a Nexus 7, it's crap. This is running 4.1.2. On a Samsung Galaxy S2 Skyrocket running 4.0.4, it's hit and miss. Larry On Thu, Jan 17, 2013 at 5:37 AM, Larry Meadors

Re: [android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread TreKing
On Thu, Jan 17, 2013 at 4:14 PM, Jake Colman col...@ppllc.com wrote: When the application is recreated I assume that it loses the previous incarnations shared preferences and, therefore, the service doesn't know that it already triggered. Hence, the false trigger when the application is

Re: [android-developers] Re: BouncyCastle signature value does not match with dotNET signature value.

2013-01-17 Thread Nikolay Elenkov
On Fri, Jan 18, 2013 at 1:22 AM, mbarbiero marco.barbi...@gmail.com wrote: Hi Nikolay... In the XMLs that I post the DigestValue (SHA1) is the same of the DigestValue of canonicalized .net. I thing you might be missing the point that what gets hashed and ultimately signed is the whole

[android-developers] Re: Application.onCreate Method Randomly Called?

2013-01-17 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Thu, Jan 17, 2013 at 4:14 PM, Jake Colman col...@ppllc.com wrote: When the application is recreated I assume that it loses the previous incarnations shared preferences and, therefore, the service doesn't know that it already

Re: [android-developers] Re: What is Fragments?

2013-01-17 Thread sree android
thank you -- 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...@googlegroups.com For more

[android-developers] Re: Problems of dynamic loading downloaded precompiled renderscript source files

2013-01-17 Thread Stephen Hines
Unfortunately there is no way to dynamically download, compile, and execute Renderscript bitcode in Android. Even with a small fix I made to the reflected ScriptC constructors (allowing you to eliminate the res/raw + filename, and only pass the first argument), you still need to have the