Re: [android-developers] Landscape Right (reverseLandscape) prior to API level 9

2011-09-27 Thread Dianne Hackborn
You'll need to check the API level at android.os.Build, and only set your activity to this value when running on API 9 or later. On Tue, Sep 27, 2011 at 3:45 PM, Stefan Alder twigbra...@gmail.com wrote: I trying to ensure that my app and all of its activities are locked to landscape right

Re: [android-developers] Landscape Right (reverseLandscape) prior to API level 9

2011-09-27 Thread Stefan Alder
Dianne, Thanks for the response. My question is how can I achieve the same effect when running prior to API level 9. On Tue, Sep 27, 2011 at 3:49 PM, Dianne Hackborn hack...@android.com wrote: You'll need to check the API level at android.os.Build, and only set your activity to this value when

[android-developers] Re: invoice from Google for Android Developer license

2011-09-27 Thread Jose_GD
You should try look for help in https://www.google.com/support/androidmarket/developer/ This group is for development issues only Good luck José -- 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] How to tag a flag

2011-09-27 Thread TreKing
On Tue, Sep 27, 2011 at 2:53 PM, Mohit Agarwal mohitiit...@gmail.comwrote: Can ny1 tell me how can we add a small description to a marker in google maps Place an Overlay on the map that renders text. and also how can we make that tag clickable which makes bckgrnd translucent and extra

[android-developers] Re: HTC and LG haven't implemented Android in the right way

2011-09-27 Thread Indicator Veritatis
Now that I know what you are doing with the point attentuation, I see that you are not using it for anti-aliasing, so that comment turned out to lead to a dead end. As for why it is not supported, yes, it is in the Open GL standard, but is it in ES? ES doesn't support everything. And what do you

Re: [android-developers] how to remote invoke an application on the phone

2011-09-27 Thread Mark Murphy
The same way as when you asked 75 minutes ago: use C2DM: http://code.google.com/android/c2dm/ On Tue, Sep 27, 2011 at 6:37 PM, cindy ypu01...@yahoo.com wrote: Hi All, Angel.com has developed a very interesting application (http:// itunes.apple.com/us/app/angel-mm/id429502502?mt=8ls=1#) for

[android-developers] Designing an appwidget adaptable to orientation change

2011-09-27 Thread Jose_GD
I have built an appwidget with an square layout, and so it doesn't fit exactly in the standard widget sizes as recommended in http://developer.android.com/guide/practices/ui_guidelines/widget_design.html#sizes . I chose a 3x2 size (android:minWidth=220dip android:minHeight=146dip) as it is the

Re: [android-developers] Sony S1 adb driver

2011-09-27 Thread Sebastian Tomaszewski
Kostya, thank you for fowarding this... Okay, I was able to find my problem thank you On Tue, Sep 27, 2011 at 2:47 PM, Kostya Vasilyev kmans...@gmail.com wrote: I certainly am, Eclipse 3.7 on Windows 7 / 64bit. Here is my tweaked android_winusb.inf: http://pastebin.com/nET9v1pr And

Re: [android-developers] Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread TreKing
On Tue, Sep 27, 2011 at 1:53 PM, 杨辉 yanghui1986...@gmail.com wrote: Anybody can help me with a simply example about it? Please tell me the difference between loadData and loadDataWithBaseURL if you can. Stupid question: did you try Googling for this first?

Re: [android-developers] trying to start-activity from alertdiaog --please advice

2011-09-27 Thread TreKing
On Sat, Sep 24, 2011 at 1:03 PM, Manas Shah shahmana...@gmail.com wrote: I would like to launch new activity from the PositiveButton of alert dialog but it throws error. You want us to guess what this error is?

Re: [android-developers] How to read data from an Xml file

2011-09-27 Thread TreKing
On Mon, Sep 26, 2011 at 5:20 AM, sumit garg sumitgr...@gmail.com wrote: I am trying to read data from an XML file which is in an external storage. I think following things are involved in it- 1. how do i retrieve it 2. how the parser will read it 3. how do i display the file

Re: [android-developers] Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread Snowdream
yes,i have googling it until the middle night,but can not get my answer. TreKing treking...@gmail.com编写: On Tue, Sep 27, 2011 at 1:53 PM, 杨辉 yanghui1986...@gmail.com wrote: Anybody can help me with a simply example about it? Please tell me the difference between loadData and

[android-developers] Re: In app billing items

2011-09-27 Thread Emanuel Moecklin
You can't. You have to hard code your items in the code or pull the ids from some other place. Cheers Emanuel Moecklin On Sep 26, 2:35 pm, Brad Gies rbg...@gmail.com wrote: Hi, I'm just starting to test in app billing, and I thought there was a way to pull the list of available items to

[android-developers] Re: Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread clark
Pay no attention to the TrollKing. He's still working on building his troll portfolio in this group. On Sep 27, 5:15 pm, Snowdream yanghui1986...@gmail.com wrote: yes,i have googling it until the middle night,but can not get my answer. TreKing treking...@gmail.com编写: On Tue, Sep 27,

[android-developers] Re: Item could not be found in app billing issue

2011-09-27 Thread Emanuel Moecklin
Hi Tim - the signed app must be uploaded to the market - the same signed app must be installed on your phone (don't use Eclipse but adb to install) - the items must have state published - the device must use the test account as its primary account - it needs to be a real Android market account

Re: [android-developers] Re: Question:How to use the methods (loadData and loadDataWithBaseURL) of the webview?

2011-09-27 Thread TreKing
2011/9/27 clark clarkd...@gmail.com Pay no attention to the TrollKing. He's still working on building his troll portfolio in this group. Wow, that's clever. I hope you didn't hurt yourself coming up with that nugget. Yes, you're right, *I'm* trolling - asking a poster if they searched for

[android-developers] Re: Install % statistic removed, replaced with users and devices

2011-09-27 Thread Zsolt Vasvari
Another LOL, so basically all new apps are stuck at 0 installs as visible on the Market App. On Sep 27, 4:07 am, Sam McGrath sa...@fractiv.com wrote: Heard from a contact at Google that the team responsible for reporting the total installs stat dropped support for it.  Now they are working on

[android-developers] Re: USB Host mode on galaxy tab 10.1 / android 3.1 - Device repeatedly re connecting in dmesg output

2011-09-27 Thread Dan Raaka
on the galaxy tab 10.1, what is the build fingerprint ? $ adb shell getprop | grep -i finger -Dan On Sep 27, 11:52 am, Taylor Alexander tlalexan...@gmail.com wrote: Glad to help! :) -Taylor On Tue, Sep 27, 2011 at 11:36 AM, Anil Sasidharan anil...@gmail.com wrote: Hi Taylor, Thanks a

[android-developers] Re: Guide Help:How to trace the internal mechanism of android.Context.java and android.os.Binder.java

2011-09-27 Thread AndroidHolder
Thanks,Dianne,I will go to android-porting for more info. On 8月31日, 下午2时58分, Dianne Hackborn hack...@android.com wrote: Get the source code and follow it.  Or browse it online.  The implementation of Context is here:

[android-developers] How to enable network connectivity to upload data.

2011-09-27 Thread bobo123
Hi, I am writing an alarm type android application which upload some data to server at a schedule time. Usually the device screen is off and WIFI or other type network is in disconnected. I wish when the schedule time arrives, I can enable network connectivity so that I can upload

[android-developers] INSTALL_FAILED_CPU_ABI_INCOMPATIBLE error on 1.6 emulator but I have no native code?!

2011-09-27 Thread sasperilla
I have an App that I can install on 2.1+ on both devices and emulator no problem. But, when I try to install it on 1.6 emulator I receive the following error: Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE] The problem is I don't have any native code in my application. I do have some third party

[android-developers] Re: Creating a database to initialize an application

2011-09-27 Thread Studio LFP
I'm not sure there is any specific correct way, but I find this works well for me. In the onCreate, check to see if you database exists. If it does exists, just open it, if it doesn't exist, fire off and AsynTask that pops up a progress dialog. Here's the code I use: @Override protected void

Re: [android-developers] Re: Install % statistic removed, replaced with users and devices

2011-09-27 Thread Adam Ratana
Looks like there's been some slight movement on this in the last few hours. I noticed a couple numbers increase for total installs. Still not 100% where I think it should be but it moved... On Tue, Sep 27, 2011 at 8:56 PM, Zsolt Vasvari zvasv...@gmail.com wrote: Another LOL, so basically all

Re: [android-developers] Re: Install % statistic removed, replaced with users and devices

2011-09-27 Thread Nikolay Elenkov
On Wed, Sep 28, 2011 at 12:06 PM, Adam Ratana adam.rat...@gmail.com wrote: Looks like there's been some slight movement on this in the last few hours.  I noticed a couple numbers increase for total installs.  Still not 100% where I think it should be but it moved... Some rating/comments are

Re: [android-developers] How to enable network connectivity to upload data.

2011-09-27 Thread Kristopher Micinski
The general way to fix this problem is to assume that they have network connectivity sitting in the background. Tons of apps do this, by use of a data connection that many devices have. So this is a pretty typical situation, almost any major app out there deals with it in some form or another

Re: [android-developers] How to read data from an Xml file

2011-09-27 Thread Atluri Ajith Kumar
Hi Sumit. You said that the xml file is from external storage. So you can read xml file using httppost method. read herehttp://atluri-ajith.blogspot.com/2011/09/work-with-http-post-request-in-android.html. After reading the xml file you will get response as inputstream, you have to convert

[android-developers] Does Google notify devise that c2dm registration_id is expired?

2011-09-27 Thread Alexey Zakharov
Does Google notify devise that c2dm registration_id is expired? If yes in what method should I handle this? -- 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] Retrieving Data off the URL not working

2011-09-27 Thread Atluri Ajith Kumar
I'm not sure, but for calling external URL's we have to us HttpURLConnectionhttp://developer.android.com/reference/java/net/HttpURLConnection.html . In other way you can use httpposthttp://developer.android.com/reference/org/apache/http/client/methods/HttpPost.html . Sample

[android-developers] Re: How to read data from an Xml file

2011-09-27 Thread clark
What a surprise. Yet another witty reply from the TrollKing. On Sep 27, 4:55 pm, TreKing treking...@gmail.com wrote: On Mon, Sep 26, 2011 at 5:20 AM, sumit garg sumitgr...@gmail.com wrote: I am trying to read data from an XML file which is in an external storage. I think following things

Re: [android-developers] Re: Help for IP camera

2011-09-27 Thread kirti waykole
yes i want live video .. on my device.. On Mon, Sep 26, 2011 at 7:30 PM, J Handal jhand...@gmail.com wrote: Hi Kirti, directly coonect through cross cable to my pc now for testing on emulator. Are you streaming live video? -- You received this message because you are subscribed to

[android-developers] IllegalStateException: Can not perform this action after onSaveInstanceState - How to prevent?

2011-09-27 Thread Niek
I'm getting user reports from my app in the market, delivering the following exception: java.lang.IllegalStateException: Can not perform this action after onSaveInstanceState at android.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java: 1109) at

[android-developers] App goes not go to background

2011-09-27 Thread ANKUR GOEL
Hi all, i have Htc sensation in that my application is totally working fine .. but when i press Home button its restart the application again and does not start the activity from where i left . so anyone can guide me what the problem might be or whether i have to write any code for that in

[android-developers] Re: \n escape character not working

2011-09-27 Thread Josh Gitter
I'm not sure if you're passing in an illegal character, as \n is not accepted. See RFC 1738 2.1 and 2.2. http://www.ietf.org/rfc/rfc1738.txt You probably need to URLEncode to escape characters such as \n: http://developer.android.com/reference/java/net/URLEncoder.html Hope this helps, Josh On

[android-developers] Re: How to enable network connectivity to upload data.

2011-09-27 Thread bobo123
Thanks for your reply. Can you tell me more details. Actually WiFi turn off after a couple of minutes. When alarm comes, The code is required to reestablished network connection and then upload data. On Sep 27, 11:37 pm, Kristopher Micinski krismicin...@gmail.com wrote: The general way to fix

Re: [android-developers] Re: How to enable network connectivity to upload data.

2011-09-27 Thread Kristopher Micinski
On Wed, Sep 28, 2011 at 1:26 AM, bobo123 huangbo...@gmail.com wrote: Thanks for your reply. Can you tell me more details. Actually WiFi  turn off after a couple of minutes. When alarm comes, The code  is required to reestablished network connection and then upload data. That's not the

[android-developers] How to access database on device.

2011-09-27 Thread Devendran Raju
hi... I installed my application on android mobile. But i cannot access the database from mobile. But its works well on emulator. How can i access db on mobile. Can u please guide me Thanks regards, Devendran.R -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: Android -Update Image On Android Widget

2011-09-27 Thread Himanshu Mistri
ok,Thanks For Both To Response . On Tue, Sep 27, 2011 at 10:05 PM, Studio LFP studio@gmail.com wrote: Like Mr. Murphy said, updating a widget every second is bad. Since you don't update the widget directly and have to go through the system, the refresh rate can be unpredictable and put a

<    1   2   3