[android-developers] ANR in process Reason: Broadcast of Intent

2012-10-02 Thread satish bhoyar
Hi All, I am getting an ANR in the service. I am starting service from a broadcastreceiver. On boot complete I start one service which starts other service by sending broadcast intent. Some times I get an ANR saying ANR in process Reason: Broadcast of Intent . My question is in this case is

[android-developers] ActionBarSherlock - Overflow menu does not appear at first launch on 2.x devices when using setHasOptionsMenu true on fragments

2012-10-02 Thread Miha m\
The menu items in the action bar are not displayed after each fresh start of the application. I have a ViewPager holding about 5 fragments, all having *hasSetOptionsMenu(true)* as they are adding one or more menu items beside the one from the activity. I am using ActionBarSherlock library,

[android-developers] Light green background when saving image to file

2012-10-02 Thread user123
I'm implementing an image cache for PNGs, downloaded from the web. Works well so far, besides that on images with a transparent background, get a light-green background, when they are read from the cache (external storage). Tested on 3 devices, the problem was in 2 of them, a Samsung Galaxy

[android-developers] Re: Light green background when saving image to file

2012-10-02 Thread user123
P.S: The original is not transparent, as I wrote. It's white. On Tuesday, October 2, 2012 9:31:24 AM UTC+2, user123 wrote: I'm implementing an image cache for PNGs, downloaded from the web. Works well so far, besides that on images with a transparent background, get a light-green

Re: [android-developers] Testing In-app billing

2012-10-02 Thread Thomas Bouron
Ok so i tested my implementation successfully! That's the good news! But i'm confused now about Google Checkout and his workflow. I can see the payment I made with my test account. The order seems to be not shipped. The charge button is grey out and when i display the order details, I cannot

Re: [android-developers] Testing In-app billing

2012-10-02 Thread Kostya Vasilyev
The charge button is grey, because Andorid purchased are charged automatically. refund will become available as the funds are actually transferred from your credit card to your developer account (two-three days, I believe). And yes, it's confusing - Google Checkout and Google Play are connected

Re: [android-developers] ActionBarSherlock - Overflow menu does not appear at first launch on 2.x devices when using setHasOptionsMenu true on fragments

2012-10-02 Thread Kostya Vasilyev
I've not encountered this exact bug, but recently spent a couple of days trying to get an initially hidden button to show in the action bar (native, on devices running 4.*, Galaxy S3 and Moto Razr). The item won't show as an icon or in the overflow despite me calling setVisible(true) on the menu

Re: [android-developers] Testing In-app billing

2012-10-02 Thread Thomas Bouron
Ok, sounds good. Thanks for the feedback. On Tuesday, October 2, 2012 11:08:31 AM UTC+2, Kostya Vasilyev wrote: The charge button is grey, because Andorid purchased are charged automatically. refund will become available as the funds are actually transferred from your credit card to your

Re: [android-developers] GridView shows only one row with layout_height=WRAP_CONTENT

2012-10-02 Thread Maniteja Pusuluri
hai, can u help me. i am getting the images from webservices into my application.can u tell me when scroll reaches last i need to add 18 images dynamically at the bottom .and at the same time i need to delete the top 18 images in gridview can u send me any sample code if u have? i am using

[android-developers] Re: How does Android handle telephony?

2012-10-02 Thread Randell Villalon
Anyone:? On Sunday, September 30, 2012 12:11:17 PM UTC+8, Randell Villalon wrote: Does Android have a Linux kernel driver that controls the phone's baseband modem which handles sms and voice calls? -- You received this message because you are subscribed to the Google Groups Android

[android-developers] hi

2012-10-02 Thread sree android
hi friends i would like store settings using sharedpreferences in my app,help any one with code.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

[android-developers] How can i use both Gallery and Grid views in one activity.

2012-10-02 Thread sree android
Hi friends,i am displaying images by using Grid and Gallery view with in the same activity.Can any body help me with code. -- 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] Context Data Collection

2012-10-02 Thread Heiko Witte
Hi! I'm currently working on the topic A context-aware mobile biometric system for my master's thesis. The goal is to make authentication smarter by building a model of the user based on contextual information derived from sensory data. The model is then used for anomaly detection. I'm

Re: [android-developers] Testing In-app billing

2012-10-02 Thread John Coryat
You can also cancel an order before the funds are transfered. If you do that, there is no refund to the consumer nor a credit to your account as the transaction never completes. This results in a purchasestate of 1 being sent to your server if you're using unmanaged items. -John Coryat On

[android-developers] Stuck in Customized Expandable Listview

2012-10-02 Thread Rajan
hi, i am trying to create customized expandable listview. i have almost completed except one thing describe as follows. *first-of-all what i have :* * * https://lh4.googleusercontent.com/-4mGspOzQX2M/UGrQ95KifAI/AEY/Tjta1vKzHeg/s1600/i+have.png i am able to create this kind of list

[android-developers] Re: NDK - What is host system?

2012-10-02 Thread Dan
On Monday, October 1, 2012 10:31:08 PM UTC-4, Indicator Veritatis wrote: I am pretty sure host system in this context means the system the build will actually run on, i.e. the phone itself. 'androideabi' looks like a typo. 'armeabi' does occur. Could that be what you meant? 'android' goes

Re: [android-developers] Dynamic .APK from GooglePlay store / Android

2012-10-02 Thread Marcelo Tomio Hama
Hi TreKing, thanks for the reply. The main purpose of this is that our Android application is required to have a reference to a webpage domain name. The desired behavior-flow (in the final user eyes) is as described in the steps above, in my first post. So, I can even put that it's more related

[android-developers] Are onCreate and onRestoreInstanceState mutually exclusive?

2012-10-02 Thread Nitin Khanna
I have a couple of question regarding onRestoreInstanceState and onSaveInstanceState. 1) where do these methods fit the activity lifecycle? I have read a lot of documentation but there is no clear idea, except a broad statement that when the state of the activity is to be saved 2) Are

Re: [android-developers] Testing In-app billing

2012-10-02 Thread Thomas Bouron
Ok, thanks for the update. I have another related question to in-app billing. Everything works well now but I would like to know how my product ID is managed for me (developer account). I mean, I have only one managed product published, it's a features pack for my application. Now, there are

Re: [android-developers] Testing In-app billing

2012-10-02 Thread John Coryat
Just create another account and use that to buy your feature pack. That's what everyone does. We use unmanaged items so I cannot answer anything about managed item behavior. -John Coryat -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: hi

2012-10-02 Thread bob
SharedPreferences mySharedPreferences = getSharedPreferences( MY_PREFS,Activity.MODE_PRIVATE); Shared Preferences are stored within the application's sandbox, so they can be shared between an application's components but aren't available to other applications. To modify a Shared Preference,

[android-developers] Re: Contacts observer

2012-10-02 Thread Piren
proper URI is ContactsContract.Contacts.CONTENT_URI On Monday, October 1, 2012 7:24:56 PM UTC+2, Tarilo wrote: Hi We are develop a contactobserver to verify when new contact are added, deleted or changed. We need to know when a phone number is updated to sync our contacts db. We

[android-developers] Re: Google has received a subpoena seeking information related to Android applications

2012-10-02 Thread Nathan
Wow, if I'd gotten it, I'd probably assume it was a phishing message, and that somewhere there was a link to verify the bank account associated with your developer account. Nathan -- You received this message because you are subscribed to the Google Groups Android Developers group. To

[android-developers] Re: New SDK release for Egnos

2012-10-02 Thread Leonardo Costa
Hello, we finalize this short tutorial on the EGNOS SDK with a few more info on how to contact support. If you encounter any problem or just want to elaborate on some issues about the EGNOS SDK, using the Demo App or the SDK Core, refer to the supporting

Re: [android-developers] 【android-developers】AndroidManifest.xml service android:isolatedProcess

2012-10-02 Thread fei wang
whatever its default value is, you can always specify your wanted value explicitly in the AndroidManifest.xml file. 2012/9/4 安藤玲生 ando.reo...@gmail.com Hello i am japanese programmer. it is a question. AndroidManifest.xml serviceandroid:isolatedProcess The default value of the attribute is

Re: [android-developers] 【android-developers】AndroidManifest.xml service android:isolatedProcess

2012-10-02 Thread fei wang
whatever its default value is, you can always specify your wanted value explicitly in the AndroidManifest.xml file. 2012/9/4 安藤玲生 ando.reo...@gmail.com Hello i am japanese programmer. it is a question. AndroidManifest.xml serviceandroid:isolatedProcess The default value of the attribute is

[android-developers] Getting details of the on-board NFC hardware

2012-10-02 Thread ilikhan
How can we get details of the on-board NFC hardware? Any examples? -- 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] Buttons in ViewPager pages: Problem swiping/dragging pages when finger starts on top of Button. How can I fix this?

2012-10-02 Thread Kostya Vasilyev
Sounds like a bug in how ViewPager dispatches events (sorry for stating the obvious). I'd consider looking at the source and comparing it to ScrollView (which handles nested touchable areas just fine). -- K 2012/10/2 Streets Of Boston flyingdutc...@gmail.com Hi everyone, I have a ViewPager

Re: [android-developers] Testing In-app billing

2012-10-02 Thread Kostya Vasilyev
If your intent is to be able to use your app's premium feature pack yourself, why not add one line of code that stores the purchase state as activated, then run it on your personal device? Don't forget to remove this before building for uploading to Market :) -- K 2012/10/2 Thomas Bouron

Re: [android-developers] Re: How does Android handle telephony?

2012-10-02 Thread Kristopher Micinski
This doesn't belong on android-developers, But the answer is that it handles it through the RIL, exposing a quite high level interface to the baseband, so Android doesn't really touch the telephony hardware at all. kris On Tue, Oct 2, 2012 at 5:52 AM, Randell Villalon rande...@gmail.com wrote:

[android-developers] width of my TextureView

2012-10-02 Thread bob
Can someone help me see how to figure out the width of my TextureView? I tried this, but I got zeros (in the_width and the_height): *protected void onCreate(Bundle savedInstanceState) {* * * *mTextureView = new TextureView(this);* * * *setContentView(mTextureView);* * * *int the_width =

[android-developers] IllegalStateException on dispatchKeyEvent on support library

2012-10-02 Thread Joan Pujol
Hi, I've some tens of errors reports from different users catched from Crittercism that I can't reproduce. But as there are several and from several devices I've to thing that they are true ones. I've no idea of what can be happening. Someone can give me any clue with that Stacktrace? The

[android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
I am using Eclipse with the ADT plugin, as well as ant. I am trying to design a plug-in architecture. I have three projects, call them Main, Plugin, and Impl. Main builds a service apk, Plugin is an Android Library. Plugin just defines two classes, AbstractPlugin and PluginFactory.

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Kristopher Micinski
So instead of doing this (ClassLoaders being bad...), I would use an AIDL service stub for the methods you needed... Alternatively, I would suggest you look at using an Android library project, if you can statically link. What kinds of things do you need. Multiple functional looks very much

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
For a variety of reasons, most notably because the plug-in portion is not supposed to be Android-specific, I don't want to use AIDL here. Static linking is a fallback option. I don't like it but I'll do it if that's the only way. There really ought to be a cleaner fix for this. On Tuesday,

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
I'll give a little more detail. The Impl class is supposed to be one of several pure-java implementations of the service in Main that I might drop in. The purpose of Main is to abstract all Android-specific code away from this implementation. In particular, the service in Main *already* has an

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Kristopher Micinski
So wait, I'm not clear, why can't this be statically linked, and why is this a plugin type architecture.. It seems like you're trying to get code reuse, but still, I'm not sure why something like a ClassLoader is required from. From where will the classes be loaded? kris On Tue, Oct 2, 2012 at

Re: [android-developers] No response for click event on my custom button.

2012-10-02 Thread Lew
TreKing wrote: Yang Yang wrote: So I am really don't know what wrong with my code. Show the relevant code. As little as necessary to show your issue. This comes up a lot. You have to describe symptoms to obtain relief. The description has to be like a miniskirt - long enough to cover

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Lindley
I would prefer not to make it statically linked because I am not the one writing the plugins. Each plugin is potentially going to be on a different branch of a repository, and I would like to code to continue working without undue hardship when I switch branches. Different versions of the

Re: [android-developers] Exclude dependencies from apk?

2012-10-02 Thread Kristopher Micinski
On Tue, Oct 2, 2012 at 4:45 PM, Lindley lindl...@gmail.com wrote: I would prefer not to make it statically linked because I am not the one writing the plugins. Each plugin is potentially going to be on a different branch of a repository, and I would like to code to continue working without

Re: [android-developers] width of my TextureView

2012-10-02 Thread TreKing
On Tue, Oct 2, 2012 at 1:07 PM, bob b...@coolfone.comze.com wrote: Can someone help me see how to figure out the width of my TextureView? This has come up before. Search this group for those two methods, I'm sure you'll find something useful.

Re: [android-developers] Dynamic .APK from GooglePlay store / Android

2012-10-02 Thread TreKing
On Tue, Oct 2, 2012 at 8:20 AM, Marcelo Tomio Hama hama.marcelo...@gmail.com wrote: 1. User is navigating on some store webpage, lets say http://www.somestore.com 2. User find a button there, to go to our webpage, let's say http://ourwebpage.com 3. In our page, there's a link to download

[android-developers] Re: Google cancelled this order. Reason: Other

2012-10-02 Thread coolbho3k
I'm getting literally pages and pages of canceled orders with no explanation, just like this - any status from Google? On Thursday, September 27, 2012 4:42:44 PM UTC-4, Nathan wrote: Am I the only one seeing this quite a bit in Google Checkout? Google cancels the order. No reason given.

[android-developers] Re: Google has received a subpoena seeking information related to Android applications

2012-10-02 Thread coolbho3k
Unless Google got a legal gag order to keep quiet, they will ALWAYS let you know if they've given the government your personal information. The FBI told Google not to notify us but couldn't get a court order to do that. Google is generally very serious about your personal information. And

Re: [android-developers] Are onCreate and onRestoreInstanceState mutually exclusive?

2012-10-02 Thread TreKing
On Tue, Oct 2, 2012 at 8:57 AM, Nitin Khanna ni2.kha...@gmail.com wrote: I have a couple of question regarding onRestoreInstanceState and onSaveInstanceState. 1) where do these methods fit the activity lifecycle? I have read a lot of documentation but there is no clear idea, except a broad

Re: [android-developers] How can i use both Gallery and Grid views in one activity.

2012-10-02 Thread TreKing
On Tue, Oct 2, 2012 at 5:35 AM, sree android android.sreeni...@gmail.comwrote: Hi friends,i am displaying images by using Grid and Gallery view with in the same activity.Can any body help me with code. http://www.catb.org/esr/faqs/smart-questions.html

Re: [android-developers] Re: Google cancelled this order. Reason: Other

2012-10-02 Thread TreKing
On Tue, Oct 2, 2012 at 4:22 PM, coolbho3k mike.g.hu...@gmail.com wrote: any status from Google? Is there ever? - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

[android-developers] Re: Google cancelled this order. Reason: Other

2012-10-02 Thread spocky12
I was about to post about the exact same problem when I saw this. Good news is I'm not alone. Bad news is we don't have any kind of information regarding this. My app uses in-app billing too. I used to have approximately 15% of canceled orders due to authorization refused and about 0 to 1% of

Re: [android-developers] Re: Google cancelled this order. Reason: Other

2012-10-02 Thread Kostya Vasilyev
2012/10/3 spocky12 spock...@gmail.com I was about to post about the exact same problem when I saw this. Good news is I'm not alone. Bad news is we don't have any kind of information regarding this. This is the best we have at this time, I believe:

Re: [android-developers] Re: Google cancelled this order. Reason: Other

2012-10-02 Thread spocky12
Thanks Kostya Vasilyev for your reply. I'm aware of the developer known issues. What is weird is that it's been written there for some time now and seems to affect people on a large scale only recently. This is just getting worse... I don't have enough experience on the maket for remembering a

[android-developers] Re: how to make a video player.

2012-10-02 Thread Indicator Veritatis
Your question has a lot more to do with Flash than with Android. On Sunday, September 30, 2012 9:39:51 AM UTC-7, Sukhchain wrote: hey. i want to play an online live video from a server. for that i want to develop a flash embeded player... can any1 tell me hw can i develop that player

[android-developers] Re: Google cancelled this order. Reason: Other

2012-10-02 Thread coolbho3k
My app uses neither LVL nor in-app billing, by the way. Still getting a ton of these canceled orders. On Thursday, September 27, 2012 4:42:44 PM UTC-4, Nathan wrote: Am I the only one seeing this quite a bit in Google Checkout? Google cancels the order. No reason given. At least one

[android-developers] Re: Google has received a subpoena seeking information related to Android applications

2012-10-02 Thread Indicator Veritatis
Good assumption, even if it turns out not to be true in this case. I would not, for example, have assumed that the phone number in the message was a genuine FBI office number unless independently verified. Why the FBI would need that much detailed information for the stated purposes is also

[android-developers] Re: What is the best phone to buy for Android Development?

2012-10-02 Thread gjs
Hi, The world doesn't comprise Eclipse alone. Wow really! Thanks for letting us all know... A real device is useful for testing various hardware features - bluetooth, nfc, hd video recording, sensors - accelerometer, barometer, compass, gryo, magnetic, wifi direct etc etc Regards On

[android-developers] Re: What is the best phone to buy for Android Development?

2012-10-02 Thread Lew
On Tuesday, October 2, 2012 5:40:32 PM UTC-7, gjs wrote: Hi, The world doesn't comprise Eclipse alone. Wow really [sic]! Thanks for letting us all know... A real device is useful for testing various hardware features - bluetooth [sic], nfc [sic], hd [sic] video recording, sensors -

[android-developers] How exactly does the RIL handle Android's telephony functions?

2012-10-02 Thread Randell Villalon
Is there a Linux driver that forwards the RIL commands to the communication processor or does the RIL access the communication processor directly, bypassing the kernel? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group,

Re: [android-developers] How exactly does the RIL handle Android's telephony functions?

2012-10-02 Thread Kristopher Micinski
RIL is the interface between the OS and the underlying baseband. There is a driver which implements the RIL protocol. You can read about it here: http://www.netmite.com/android/mydroid/development/pdk/docs/telephony.html#androidTelephonyRILImplementing Again, this question belongs on

[android-developers] - How to consumer webservice SOAP

2012-10-02 Thread Re JMD
i -- 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 options, visit

Re: [android-developers] - How to consumer webservice SOAP

2012-10-02 Thread Re JMD
I'm trying to return a list of a given object but this object stores reference to another object. For Example: The list that I want to return is Sales but in Sales class there is the id of the Seller that stores all the information of the Seller. How to get this information to webservice, is

[android-developers] Acting on broadcast intent when switching apps

2012-10-02 Thread albnok
I have an button in an activity, that calls an IntentService and shows a ProgressBar. After it is done downloading large files, it then creates a notification and broadcasts an intent with a String message stating 3 files downloaded. or Unable to connect to server. The activity registers a

[android-developers] Re: contextual action mode vs. floating menu

2012-10-02 Thread albnok
I would go with a overflow menu icon, or the spinner icon (without any text). So the single-click is on a LinearLayout, the fake spinner icon is an ImageButton, and there are checkboxes which activate the contextual action mode. There would be no long-click. On Monday, October 1, 2012 4:47:07

Re: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 12 Topics

2012-10-02 Thread dangjavag...@gmail.com
Sent from my HTC smartphone on uhh,xuuc Now Networkcu from Sprint! - Reply message - From: android-developers@googlegroups.com To: Digest Recipients android-developers@googlegroups.com Subject: [android-developers] Digest for android-developers@googlegroups.com - 25 Messages in 12

Re: [android-developers] Digest for android-developers@googlegroups.com - 12 Messages in 10 Topics

2012-10-02 Thread dangjavag...@gmail.com
Ucucuucuvxucu uun Sent from my HTC smartphone on the Now Network from Sprint!uuy - Reply message - From: android-developers@googlegroups.com To: Digest Recipients android-developers@googlegroups.com Subject: [android-developers] Digest for android-developers@googlegroups.com - 12

[android-developers] Saving the fragment state before replacing it with another fragment.

2012-10-02 Thread Raneez
In my app, i use a dual panel layout where each buttons on the left side replaces the fragments at the right side(Frame Layout). The FragmentTransaction.replace() method actually removes the current one and add another fragment to the container, how can i save the fragment instance before

Re: [android-developers] - How to consumer webservice SOAP

2012-10-02 Thread TreKing
On Tue, Oct 2, 2012 at 10:23 PM, Re JMD rjmdf...@gmail.com wrote: How to get this information to webservice, is there any way to serialize the object? This has zero to do with Android. - TreKing

[android-developers] DateFilter

2012-10-02 Thread Sadhna Upadhyay
Hi everyone, Can some one tell me that how to retrieve data within two date range actully i am fetching data but only between 1 to 8, 11 to 19, 21 to 29, but i want date from 1 october to 31 october 2012, and also from october to november my code is like this KEY_CONTENT3 is date