Re: [android-developers] New In-app billing (v3)

2012-12-11 Thread Piren
yeah... thought so as well... i'd wait and see how it works... but at least now they finally support getting product prices (with currency conversion) On Monday, December 10, 2012 9:00:52 PM UTC-5, Nikolay Elenkov wrote: On Tue, Dec 11, 2012 at 10:16 AM, Nikolay Elenkov nikolay...@gmail.com

[android-developers] Re: How to save AsyncTask class object in onSaveInstanceState()

2012-12-11 Thread Brian Hoffmann
Hi, Basically you cannot reuse an instance of AsyncTask, in the sense of starting it again. As soon as the task is finished you can only get the results out of it and throw it away. And I guess the latter is what you need to be able of after a configuration change happened. You can re-attach

[android-developers] std::map linker error ndk r8c with APP_STL := gnustl_static

2012-12-11 Thread rb
Hi, I have some problem linking the STL in my Native application. Linking fails with both map::operator[] and map::insert while succeeds with other map functions. My Application.mk is : APP_STL := gnustl_static APP_CPPFLAGS := -fexceptions -frtti APP_CPPFLAGS += -g3 APP_CPPFLAGS += -DDEBUG

[android-developers] Public Play Store statistics ?

2012-12-11 Thread Jean-Luc TRESSET
Hi We've just produced an application for a third party company which have published it on the Play Store with their own developper account and we would like to check the number of application download or installation. I would like to know : - is the public download statistic chart on the Play

[android-developers] Add discount in in app In-app Billing in android

2012-12-11 Thread damodhar meshram
Hi guys , i and try to find out the discount type of way in my In-app Billing in android . in android market any option available for discount the in_app product -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] Add discount in in app In-app Billing in android

2012-12-11 Thread Nikolay Elenkov
On Tue, Dec 11, 2012 at 8:24 PM, damodhar meshram damodhar.meshram...@gmail.com wrote: Hi guys , i and try to find out the discount type of way in my In-app Billing in android . in android market any option available for discount the in_app product Change the price? -- You received this

Re: [android-developers] Add discount in in app In-app Billing in android

2012-12-11 Thread damodhar meshram
no not change from the market . i wanna put a discount in market any option available there ? On Tuesday, December 11, 2012 4:58:06 PM UTC+5:30, Nikolay Elenkov wrote: On Tue, Dec 11, 2012 at 8:24 PM, damodhar meshram damodhar@gmail.com javascript: wrote: Hi guys , i and try to

[android-developers] Problem stop repeat alarmmanager.

2012-12-11 Thread Antonis Kanaris
I make an application download file repeat with alarm manager and my problem is how i call alarmmanager.cancel() with button on click for stop it.My code is... protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState);

[android-developers] How stop alarm manager and call cancel

2012-12-11 Thread Antonis Kanaris
I make an application download file repeat with alarm manager and my problem is how i call alarmmanager.cancel() with button on click for stop it.My code is... protected void onCreate(Bundle savedInstanceState) { super.onCreate( savedInstanceState);

[android-developers] How stop alarm manager problem call cancel

2012-12-11 Thread Antonis Kanaris
I make an application download file repeat with alarm manager and my problem is how i call alarmmanager.cancel() with button on click for stop it.My code is... protected void onCreate(Bundle savedInstanceState) { super.onCreate( savedInstanceState);

[android-developers] Vertical ViewPager and possible alternatives

2012-12-11 Thread Dmitriy F
I have to implement vertical scrolling with view pager. I am trying to adopt Jake Wharton's libraryhttps://github.com/grantland/android-verticalpager but it doesn't seem to be working because of some changes in the support library discussed

[android-developers] Re: Vertical ViewPager and possible alternatives

2012-12-11 Thread Dmitriy F
I meant this library: https://github.com/JakeWharton/Android-DirectionalViewPager вторник, 11 декабря 2012 г., 17:33:30 UTC+4 пользователь Dmitriy F написал: I have to implement vertical scrolling with view pager. I am trying to adopt Jake Wharton's

[android-developers] Re: Vertical ViewPager and possible alternatives

2012-12-11 Thread Piren
either try to figure out the solution to the issue he brought up or just dont use that version of the support library :) You can also just implement ViewPager in the vertical form instead of extending it (the source is available if i'm not mistaken) On Tuesday, December 11, 2012 3:33:30 PM

[android-developers] Free Android Application Development Online Session

2012-12-11 Thread suresh
Hi Friends If any want to learn Android Application Development Introduction Please register below link http://www.wiziq.com/online-class/1050226-android-introduction Date : 12/12/12 Time 8.30 PM -- You received this message because you are subscribed to the Google Groups Android

[android-developers] Re: Vertical ViewPager and possible alternatives

2012-12-11 Thread Dmitriy F
I'm currently working on attaching Jake Wharton's library - I bet to implement vertical scrolling on my own even with horizontal code online would take a lot of time which I don't have. вторник, 11 декабря 2012 г., 17:52:00 UTC+4 пользователь Piren написал: either try to figure out the

[android-developers] How to start service at boot time?

2012-12-11 Thread Bajrang Asthana
Hi, I want to know how to start service at boot time? I am wondering how do apps like Easy Battery Saver or Open Advanced Task Killer work? They must be starting at boot time because we don’t see their UI when we boot the device. Also they must be somehow taking care that they are not killed

Re: [android-developers] How to start service at boot time?

2012-12-11 Thread Mark Murphy
On Tue, Dec 11, 2012 at 9:14 AM, Bajrang Asthana asthana.bajr...@gmail.com wrote: I want to know how to start service at boot time? Register a BroadcastReceiver in the manifest for ACTION_BOOT_COMPLETED, and have the receiver start the service. Having an always-running service is an

[android-developers] Re: How to start service at boot time?

2012-12-11 Thread Piren
have you tried searching for a solution before posting? i've done exactly that and the first 5 results had complete solutions on how to achieve exactly what you want... On Tuesday, December 11, 2012 4:14:05 PM UTC+2, Bajrang Asthana wrote: Hi, I want to know how to start service at boot

[android-developers] Re: How to save AsyncTask class object in onSaveInstanceState()

2012-12-11 Thread G. Blake Meike
While everything Brian suggests will work (I built a similar tool here: https://github.com/bmeike/StrangeLoop/tree/master/SafeAsyncTask), I'd really suggest that there is a far better architecture, probably using an IntentService. Wrap your task parameters as an Intent and fire them off at

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-11 Thread darrinps
Lew, I think it's you who don't comprehend English. I said (and I quote) store the tests inside of the application itself . I was never talking about a single project. I just wanted to try to follow what the site clearly specified in where to put the test code. You really shouldn't put others

[android-developers] Upnp service protocol Example code

2012-12-11 Thread Karunakaran Vikash
Dear all, I have integrated the cling library for upnp in my android code. I need some example code communication with the Upnp protocols. cling example is only displaying the list of servers available. any other example to connect with the specific device. please help me

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-11 Thread Lew
Darrin, Your private email to me was as inappropriate as it was filled with obscenity and insult. Aren't you a piece of work. I help you and this is how professional you are? I've done nothing to merit your infantile and egoistic reaction. I gave you true, useful advice. Grow up. Do not

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-11 Thread darrinps
You are a complete hypocrite Lew, but this is not the forum to discuss it. On Tuesday, December 11, 2012 9:39:52 AM UTC-6, Lew wrote: Darrin, Your private email to me was as inappropriate as it was filled with obscenity and insult. Aren't you a piece of work. I help you and this is how

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-11 Thread Lew
Darrin, What part of do not email me privately is too difficult for you to comprehend? Your childish and defensive argumentativeness will impede your progress as a programmer and as a human being. Get over yourself, Bubba-Jo. -- Lew -- You received this message because you are subscribed to

Re: [android-developers] How is everyone configuring their JUnit tests?

2012-12-11 Thread darrinps
This isn't the forum to discuss it Lew. I tried to help you understand that. Continuing to post here is showing the exact thing you are accusing me of. I've reported your posts as abusive. If you wish you can delete them and I will do the same to mine in reply to yours. This is a forum to

[android-developers] Continuosly playing video

2012-12-11 Thread nemi chhimpa
I have list of video file. I want to play them one after other and look like that only one video file is playing. Video files are at server. Thanks. -- 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] Re: Continuosly playing video

2012-12-11 Thread skink
nemi chhimpa wrote: I have list of video file. I want to play them one after other and look like that only one video file is playing. Video files are at server. Thanks. and what is a problem you are facing? pskink -- You received this message because you are subscribed to the Google Groups

Re: [android-developers] How stop alarm manager problem call cancel

2012-12-11 Thread TreKing
On Tue, Dec 11, 2012 at 6:31 AM, Antonis Kanaris ant...@in.gr wrote: I make an application download file repeat with alarm manager and my problem is how i call alarmmanager.cancel() with button on click for stop it. Pretty much the same way you do it now in your MyStopReceiver class. Also,

Re: [android-developers] How to start service at boot time?

2012-12-11 Thread bob
This is true. Also, a good mnemonic for remembering this is ABC - ACTION_BOOT_COMPLETED. On Tuesday, December 11, 2012 8:24:58 AM UTC-6, Mark Murphy (a Commons Guy) wrote: On Tue, Dec 11, 2012 at 9:14 AM, Bajrang Asthana asthana...@gmail.com javascript: wrote: I want to know how to

[android-developers] Re: Free Android Application Development Online Session

2012-12-11 Thread bob
Please note that that is in India time. That corresponds to 10am Eastern time in the U.S. On Tuesday, December 11, 2012 7:55:49 AM UTC-6, suresh wrote: Hi Friends If any want to learn Android Application Development Introduction Please register below link

[android-developers] WTH?

2012-12-11 Thread Larry Meadors
This is in the android.test.ActivityUnitTestCase code: try{ // do some stuff here to build the activity to test } catch (Exception e) { assertNotNull(newActivity); } Why isn't that exception logged, re-thrown, or even it's .toString() included in the assertion failure? IMO, this is a text

Re: [android-developers] New In-app billing (v3)

2012-12-11 Thread Ian Ni-Lewis
I think you may be confusing the client-side helpers for Google Play Services with the actual Google Play Services interface. GPS is a service and it is accessed like any service, via either intents or AIDL. Billing v3 is simple enough that it doesn't really need any further client-side help.

Re: [android-developers] How to start service at boot time?

2012-12-11 Thread Kristopher Micinski
You might want to note that the apps you are talking about use *foreground* services. Having an everlasting service is typically an Android antipattern, but guess what, so are apps like advanced task killer! :-) ... (or for that matter, any app which attempts to perform system level operations..)

Re: [android-developers] cleaner shaders

2012-12-11 Thread bob
Yeah, I'm using raw resources now. Also, I like to format the code using http://jsbeautifier.org/ It indents it real nice. On Tuesday, December 11, 2012 12:38:59 AM UTC-6, Harri Smått wrote: I've been putting shader code into assets or raw resources for a long while. Writing your shaders

[android-developers] ListView with Editable components

2012-12-11 Thread Leonardo Aramaki
Hi, I read on the wild some people saying that it's not a good thing to have EditTexts inside a ListView. Something related to focus issues. That being said, what I would like to know is if it's a design issue of the engineers not to do things this way, or just some devs personal opinions?

Re: [android-developers] New In-app billing (v3)

2012-12-11 Thread Lev Stipakov
Ian, thanks for the new API, it looks much better comparison to old one. May I point to few odd things I've found in new sample: * MainActivity.onDestroy() does not call super.onDestroy() making app crash. * Security.verify() always return true not taking into account verifyed value. Also, may

[android-developers] give uniform variables an initial value

2012-12-11 Thread bob
Anyone know if there is a way to give uniform variables an initial value in an Android OpenGL shader? Thanks. -- 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

Re: [android-developers] New In-app billing (v3)

2012-12-11 Thread Nikolay Elenkov
On Wed, Dec 12, 2012 at 3:39 AM, Ian Ni-Lewis ile...@google.com wrote: I think you may be confusing the client-side helpers for Google Play Services with the actual Google Play Services interface. I am not, but sticking 'Google Play' in front of practically everything introduced lately sure is

Re: [android-developers] give uniform variables an initial value

2012-12-11 Thread Romain Guy
No, you have to bind the value from your code. On Dec 11, 2012 12:52 PM, bob b...@coolfone.comze.com wrote: Anyone know if there is a way to give uniform variables an initial value in an Android OpenGL shader? Thanks. -- You received this message because you are subscribed to the Google

[android-developers] Re: Required: Sr. NET Developer at Santa Clara, CA

2012-12-11 Thread gjs
Clearly you are lost. Turn around and head back through the last decade towards the twentieth century, you'll find asp.net is one many one way dead ends off micro$oft way ;-) On Friday, December 7, 2012 2:56:09 AM UTC+11, Munawar Ali wrote: Hi Friend, Hope you are doing good. Please let

[android-developers] ContentResolver.query return null android

2012-12-11 Thread Hilda Chen
Hi All: I create a datatbase with provider and get the data by content resolver. when call ContentResolver.insert is ok, but ContentResolver.query fail. c=mContentResolver.query(uri, DatabaseContants.COLUMNS_FAVORITEPOI,null, null,DatabaseContants.PLACEID_FAVORITE+ DESC); it return

[android-developers] Re: ContentResolver.query return null android

2012-12-11 Thread Hilda Chen
public int getCount(Uri uri){ Cursor c=null; int size=0; if(uri.equals(DatabaseContants.CONTENT_URI_SETTING)){ c=mContentResolver.query(uri, DatabaseContants.COLUMNS_SETTING,null, null,null); } else

[android-developers] Re: Public Play Store statistics ?

2012-12-11 Thread Zsolt Vasvari
Ask the company to invite you to their Developer Console. They can do it under Manage User Accounts on the top left of the (old) Console. On Tuesday, December 11, 2012 7:06:31 PM UTC+8, Jean-Luc TRESSET wrote: Hi We've just produced an application for a third party company which have

[android-developers] ListView one item per screen

2012-12-11 Thread Dmitriy F
Since DirectionalViewPagerhttps://github.com/JakeWharton/Android-DirectionalViewPager is deprecated now, I need some way to mimic its' vertical paging functionlity. First thing that comes to my mind is ListView, but I'd like some tips for implementing row per screen funcitonality - where do

[android-developers] Re: ListView one item per screen

2012-12-11 Thread Piren
I wouldn't go that way...it wont be easy at all to cause the list to behave properly with moving between pages... As i suggested before, you're much better off trying to replicate the source of ViewPager... If you dont want that much work (which i believe will actually be less work than