[android-developers] Re: BadParcelableException

2011-03-25 Thread b_t
Kostya: thank you, your suggestions solved my problem But I think when I call data.getSerializableExtra("SETTINGS") and I'm sure that there is no "SETTINGS" extra in "data" intent I shouldn't get ClassNotFoundException. Maybe the problem is that it tries to read everything, not only the "SETTI

[android-developers] Re: java.lang.RuntimeException: android.view.InflateException : Binary XML file: Error inflating class

2011-03-25 Thread Atul Prakash
Thanks a lot!! It worked. On Mar 26, 10:23 am, Romain Guy wrote: > To inflate a View from XML you need to implement the constructors that take > an AttributeSet. The constructor that only takes a Context is not invoked > when inflating from XML. > > On Fri, Mar 25, 2011 at 10:06 PM, Atul Prak

Re: [android-developers] java.lang.RuntimeException: android.view.InflateException : Binary XML file: Error inflating class

2011-03-25 Thread Romain Guy
To inflate a View from XML you need to implement the constructors that take an AttributeSet. The constructor that only takes a Context is not invoked when inflating from XML. On Fri, Mar 25, 2011 at 10:06 PM, Atul Prakash wrote: > Dear Friends, > > I am trying to inflate View class from xml resou

[android-developers] java.lang.RuntimeException: android.view.InflateException : Binary XML file: Error inflating class

2011-03-25 Thread Atul Prakash
Dear Friends, I am trying to inflate View class from xml resource. Moreover i am following all the conventions of Building Custom Components given on Android developer site. I have defined View class as subclass of My Activity class which is as follows: public class MyApp extends Activity {

[android-developers] ListView sometimes not calling onScrollStateChanged() when stop scrolling

2011-03-25 Thread Mark Carter
Normally this works fine - when scrolling stops, onScrollStateChanged() is called with SCROLL_STATE_IDLE. However, sometimes it just isn't called. This can be observed from one touch to the next (i.e. it's not an implementation detail). This is a problem, because I use the scroll state to deter

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Brill Pappin
I have once or twice needed to deploy an update hours after a deployment because of sill setting i forgot to deploy, or some bug on a particular platform that I missed during testing. If it took two weeks for my customers to get an update, I think I'd have lost them. - Brill Pappin Sixgreen

RE: [android-developers] select a row in a listview

2011-03-25 Thread Igor Nesralla Ribeiro
Can you send me a example !? From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Kostya Vasilyev Sent: sexta-feira, 25 de março de 2011 20:48 To: android-developers@googlegroups.com Subject: RE: [android-developers] select a row in a listview

[android-developers] Re: onPause() Why u no do the things I want?

2011-03-25 Thread Streets Of Boston
Very true, Nathan. When calling cancel(true), an interrupt is 'called' on the thread. This means that methods that put the thread into a wait-state (wait, sleep and such) get interrupted and these will throw an interrupted-exception. Some (not all!) blocking IO operation may get interrupted as

[android-developers] Re: BadParcelableException

2011-03-25 Thread Streets Of Boston
I've seen this error when unmarshalling my own parcelable object-types. But i've never seen it with types from the framework (in this case IdentityModel from the motorola blur interface?). This is usually due to a problem with class-loaders. E.g. when calling 'Parcel.readArray(ClassLoader class

[android-developers] Is it possible to slow system clock by an app? or it is a system bug?

2011-03-25 Thread San Zhang
I found a strange problem. On my Nexus One, since upgrading to Android 2.3.3, the system clock would be slowed about one or two minutes every day during running my app. The app is an alarm clock tool. I have tested it under both cases of running/stopping my app. It is obvious that it is related to

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-25 Thread Dianne Hackborn
Yes it does. The application uses the tags I showed to indicate it can handle a particular (or set of) http: URIs. Nothing gives you direct access to any application on the phone. The application must at least opt in to being launched from the browser by supporting the BROWSABLE category for the

[android-developers] Re: collision detection

2011-03-25 Thread Hari Edo
On Mar 25, 8:36 pm, bob wrote: > Does android have any libraries to help with collision detection? Not going to give us much to go on, right? What do you mean? Phone-hits-pavement, finger-thumps-phone, finger-taps-widget, circle-intersects-with-circle, rectangle-intersects-with-line, sphere-int

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-25 Thread lbendlin
but http:// doesn't give you access to the local applications on the phone. That was the OP's question (as I understand it). Do you need to do a binding from the webview back to the activity, and then a local translator to start the intent? -- You received this message because you are subscri

[android-developers] collision detection

2011-03-25 Thread bob
Does android have any libraries to help with collision detection? 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 unsubscribe from this group, send email t

Re: [android-developers] Re: Starting An Android App From An Url

2011-03-25 Thread Dianne Hackborn
Um I don't mind. Call me Dianne, Hackborn, hackbod, they all work. As far as the scheme -- the example specifies "http" and "https". Please DO NOT use your own scheme. That is "yourapplication://doaction?parameters" is wrong. Schemes are a *universal* namespace. There are RFCs describing the

RE: [android-developers] select a row in a listview

2011-03-25 Thread Kostya Vasilyev
You shouldn't have to - get your data from the adapter. Note the click listener's "parent" parameter, that's your list view. Get the adapter from that, then call getItem in the adapter to get your data. 26.03.2011 2:27 пользователь "Igor Nesralla Ribeiro" написал: > Thanks Kostya… > > > > Any way

[android-developers] Re: How do i upload the file from android mobile to public server

2011-03-25 Thread Nicholas Johnson
I believe the first error that is causing your program to crash is located here: 03-25 10:33:36.980: ERROR/AndroidRuntime(301): java.lang.NullPointerException 03-25 10:33:36.980: ERROR/AndroidRuntime(301): at com.example.uplaod.MyUpload$1.upload(MyUpload.java:146) Check out line 146 in MyU

Re: [android-developers] Bluetooth

2011-03-25 Thread Kristopher Micinski
On Fri, Mar 25, 2011 at 4:53 AM, ehpaul wrote: > Hello, I am writing an android program that I need to know when a > bluetooth device (I know the Mac) is in range. The program also needs > to be aware when the device is not in range. Is there any way to do > this without establishing a connection

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Nathan
On Mar 25, 4:13 pm, Nathan wrote: > On Mar 25, 11:37 am, Nathan wrote: > > > On Mar 25, 11:20 am, TreKing wrote: > > > > Update, they refunded my accidental purchase. *** I love these people. > > > Well, gee, there goes my one sale! ;) > > > Nathan > > I guess it wasn't Treking. > > This one p

RE: [android-developers] select a row in a listview

2011-03-25 Thread Igor Nesralla Ribeiro
Thanks Kostya… Any way to get a _id on a textview …because I bind the listview from a databse…. From: android-developers@googlegroups.com [mailto:android-developers@googlegroups.com] On Behalf Of Kostya Vasilyev Sent: sexta-feira, 25 de março de 2011 20:17 To: android-developers@googlegrou

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread niko20
Sorry for the spam, the interet wasn't working right On Mar 25, 6:13 pm, Nathan wrote: > On Mar 25, 11:37 am, Nathan wrote: > > > On Mar 25, 11:20 am, TreKing wrote: > > > > Update, they refunded my accidental purchase. *** I love these people. > > > Well, gee, there goes my one sale! ;) > >

RE: [android-developers] select a row in a listview

2011-03-25 Thread Kostya Vasilyev
You can use listView.setOnItemClickListener. It will be passed the clicked item's position as well as its id. 26.03.2011 2:12 пользователь "Igor Nesralla Ribeiro" написал: -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this gro

[android-developers] Re: Starting An Android App From An Url

2011-03-25 Thread lbendlin
Perumal, in western culture it is not polite to address someone just by last name. In the future please address her as Dianne. the format is yourapplication://doaction?parameters -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post t

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Nathan
On Mar 25, 11:37 am, Nathan wrote: > On Mar 25, 11:20 am, TreKing wrote: > > > > > Update, they refunded my accidental purchase. *** I love these people. > > Well, gee, there goes my one sale! ;) > > Nathan I guess it wasn't Treking. This one person says that he can't see my latest update. Fun

[android-developers] Re: Any way to detect if the GPS data is "real"

2011-03-25 Thread ip332
Request updates from the GPS_PROVIDER and you will never get updates from other providers. It is impossible to add a mock location provider with the name which is already registered. On Mar 25, 3:53 pm, lbendlin wrote: > I haven't done any GPS injection yet. Maybe there is a field in the NMEA > s

RE: [android-developers] select a row in a listview

2011-03-25 Thread Igor Nesralla Ribeiro
Ops sorry for my englishyes I’m waiting a users click on a item in the listview…I think this tutorial is good…but I have a question….i bind my listview using a simplecursosadapter has any diference for this tutorial !? Thanks in advance… Igor From: android-developers@googlegroups

[android-developers] Re: Any way to detect if the GPS data is "real"

2011-03-25 Thread lbendlin
I haven't done any GPS injection yet. Maybe there is a field in the NMEA stream that is unique to the "genuine" GPS. -- 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 T

Re: [android-developers] Re: Screen Sizes and Densities

2011-03-25 Thread William Ferguson
Thanks for the input Diane. The last time the stats were updated, according to that page was August last year. Any chance you can poke someone to get something newer up? On 26 Mar 2011 08:23, "Dianne Hackborn" wrote: > Sorry, I don't have anything to do with updating the stats. I don't know > wha

Re: [android-developers] Re: Screen Sizes and Densities

2011-03-25 Thread Dianne Hackborn
Sorry, I don't have anything to do with updating the stats. I don't know what schedule they are updated on, though I think they have been updated fairly regularly. xlarge devices have existed on the market for only a month now; I don't think the stats have ever been updated any more frequently th

Re: [android-developers] PACKAGE_USAGE_STATS exception

2011-03-25 Thread Justin Anderson
You have just been told by an Android Framework Engineer (Dianne) that you CAN'T! That is the answer. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 25, 2011 at 4:16 PM, Sarath Krishna wrote: > I am running it on samsung galaxy phone. How can

Re: [android-developers] PACKAGE_USAGE_STATS exception

2011-03-25 Thread Dianne Hackborn
You can't. You need to build your own device image with your app on it. On Fri, Mar 25, 2011 at 3:16 PM, Sarath Krishna wrote: > I am running it on samsung galaxy phone. How can I use this permission > on this phone? > > -- > You received this message because you are subscribed to the Google > G

[android-developers] PACKAGE_USAGE_STATS exception

2011-03-25 Thread Sarath Krishna
I am running it on samsung galaxy phone. How can I use this permission on this phone? -- 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, s

[android-developers] Re: PACKAGE_USAGE_STATS exception

2011-03-25 Thread Sarath Krishna
How can use this permission if I want to use? On Mar 24, 4:54 pm, Justin Anderson wrote: > *> When I searched for the reason in forums, some said it is restricted > > > permission. Can anyone please help me out with this issue. * > > If it is a restricted permission then you cannot use it... henc

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread niko20
Well I knew this was coming, and sure enough here we go: More FUD: http://www.wired.com/gadgetlab/2011/03/amazon-app-store-security/ More idiots feeling that they need to share their opinion. -nik On Mar 25, 4:34 pm, Brill Pappin wrote: > I think we should not forget, that we as the people w

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread niko20
Well I knew this was coming, and sure enough here we go: More FUD: http://www.wired.com/gadgetlab/2011/03/amazon-app-store-security/ More idiots feeling that they need to share their opinion. -nik On Mar 25, 4:34 pm, Brill Pappin wrote: > I think we should not forget, that we as the people w

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Brill Pappin
Even though I find working on this stuff extremely fun and rewarding, i'm not spending as much time as I am on it for free. Its just not going to happen, because life is too busy. I have to agree on the purpose of the app store and the market. its about being competitive (although in googles ca

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread niko20
Well I knew this was coming, and sure enough here we go: More FUD: http://www.wired.com/gadgetlab/2011/03/amazon-app-store-security/ More idiots feeling that they need to share their opinion. -nik On Mar 25, 4:34 pm, Brill Pappin wrote: > I think we should not forget, that we as the people w

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread niko20
Well I knew this was coming, and sure enough here we go: More FUD: http://www.wired.com/gadgetlab/2011/03/amazon-app-store-security/ More idiots feeling that they need to share their opinion. -nik On Mar 25, 4:34 pm, Brill Pappin wrote: > I think we should not forget, that we as the people wh

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Brill Pappin
I think we should not forget, that we as the people who write the software, we actually have a lot more power over this than we ever actually use. - Brill Pappin Sixgreen Labs Inc. On 2011-03-25, at 1:19 PM, Justin Anderson wrote: > Their ROI comes from us, the developers. > The more we w

Re: [android-developers] DashBoard

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 4:19 PM, rishabh agrawal wrote: > Please suggest any tutorial for creation Dashboard in API 2.2 Are we supposed to know what "Dashboard" is? - TreKing

[android-developers] Open GL texture is shown on emulator but not on the mobile

2011-03-25 Thread String
Make sure your textures are power of two dimensioned. The emulator doesn't care, but most real devices do. String -- 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 T

[android-developers] Re: Setting the Java build path in imported project

2011-03-25 Thread snpe
You would check your Android SDK location. This error happens when Android SDK isn't loaded correctly. Peco On Mar 25, 6:10 pm, Bret Foreman wrote: > So I found the setup problem, but that leads to another error. When I > try to add the Android 2.2 library to the project I get the error > "unabl

[android-developers] DashBoard

2011-03-25 Thread rishabh agrawal
Please suggest any tutorial for creation Dashboard in API 2.2 -- 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-dev

[android-developers] Re: Screen Sizes and Densities

2011-03-25 Thread William Ferguson
I was kind of hoping that Dianne or someone else on the inside might be able to kick the lever that would get those stats updated. Because you're right, its needs to be a holistic data set. On Mar 26, 5:53 am, Chris Stewart wrote: > > So I guess I'm just imagining all those tablets. > > In many w

Re: [android-developers] Odd behavior with library projects in Eclipse

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 2:58 PM, Chris Stewart wrote: > This has happened a number of times in the last few days and I'm just > wondering if anyone else on here as experienced similar. I use SVN, and when I started my project even though the bin folder was marked to be ignored by SVN, it would a

[android-developers] Re: Android device configuration problem

2011-03-25 Thread Deeps
Hi Anderson, Thanks a lot.Its working fine On Mar 26, 12:55 am, Justin Anderson wrote: > Go to Settings --> Applications --> Development and enable USB Debugging. > If that doesn't work you will probably have to contact Samsung. > > Thanks, > Justin Anderson > MagouyaWare Developerhttp://sites.go

[android-developers] Re: Android device configuration problem

2011-03-25 Thread Deeps
Hi Anderson, Thanks a lot. Its working fine now. On Mar 26, 12:55 am, Justin Anderson wrote: > Go to Settings --> Applications --> Development and enable USB Debugging. > If that doesn't work you will probably have to contact Samsung. > > Thanks, > Justin Anderson > MagouyaWare Developerhttp://si

[android-developers] Re: Android device configuration problem

2011-03-25 Thread Deeps
Hi Anderson, Thanks a lot. Its working fine now. On Mar 26, 12:55 am, Justin Anderson wrote: > Go to Settings --> Applications --> Development and enable USB Debugging. > If that doesn't work you will probably have to contact Samsung. > > Thanks, > Justin Anderson > MagouyaWare Developerhttp://si

[android-developers] Odd behavior with library projects in Eclipse

2011-03-25 Thread Chris Stewart
I have a main library project that I use with two of my apps. Lately I've noticed some odd behavior from Eclipse, or possibly my Mercurial plug-in, where it will delete the src directory from my library project at random. The first time that happened I almost fell over, but quickly realized all o

Re: [android-developers] Android device configuration problem

2011-03-25 Thread Justin Anderson
Go to Settings --> Applications --> Development and enable USB Debugging. If that doesn't work you will probably have to contact Samsung. Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 25, 2011 at 1:50 PM, Deeps wrote: > Hi , I want to test m

Re: [android-developers] Re: Screen Sizes and Densities

2011-03-25 Thread Chris Stewart
> So I guess I'm just imagining all those tablets. In many ways, you are. Just ask Motorola... :o But seriously, I don't know of any concrete numbers. The best we could do for you is a Google search or to share statistics from our own apps with you. Not sure the latter is what you're after as

[android-developers] Android device configuration problem

2011-03-25 Thread Deeps
Hi , I want to test my applications on LG P500 device. But emulator is not detecting the device. When i try to add USB driver which is there in SDK, it is not accepting . Please tel me how to configure Device for testing. -- You received this message because you are subscribed to the Google Group

Re: [android-developers] New tablet-specific area in the Market

2011-03-25 Thread Chris Stewart
Sadly, very true. -- Chris Stewart http://chriswstewart.com On Fri, Mar 25, 2011 at 3:36 PM, TreKing wrote: > On Fri, Mar 25, 2011 at 2:18 PM, Chris Stewart wrote: > >> But, if they're being automatically updated based on apps that are set to >> be Honeycomb specific, that's what I was hoping

[android-developers] Re: Screen Sizes and Densities

2011-03-25 Thread William Ferguson
*Bump* Surely there is some more recent info on screen sizing than Aug 2010. According to this, it looks like there are no large or extra-large screens. So I guess I'm just imagining all those tablets. This document is referenced in Supporting Screen Sizes in the developer doco. Which is istelf a

Re: [android-developers] New tablet-specific area in the Market

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 2:18 PM, Chris Stewart wrote: > But, if they're being automatically updated based on apps that are set to > be Honeycomb specific, that's what I was hoping to gain insight to assuming > anyone would know if that's the case. Just going on the fact that it's called "Feature

[android-developers] Re: [SOLVED] How To Get A Preference And ListView To Show In The Same Screen.

2011-03-25 Thread Robert
Wow, I completely forgot to check what Android already had in the settings. Thanks for the info Kostya. -- 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

Re: [android-developers] select a row in a listview

2011-03-25 Thread Justin Anderson
Well, that didn't really contain any more information... Are you wanting to programatically select a row to do that? Are you wanting to do that when the user clicks on an item in the listview? Take a look at this notepad tutorial. It has a list of notes. When you click a note it opens a new acti

Re: [android-developers] ContentProvider: problem setting filename for files delivered by using ContentProvider.openFile

2011-03-25 Thread Kostya Vasilyev
If I understood your question correctly, you can use MediaColumns.TITLE to specify an item's title. Does not have to be derived from the filename at all (e.g. can be extracted from image metadata). -- Kostya 25.03.2011 20:19, snowcrash пишет: My question now is: How can I make the ContentProv

Re: [android-developers] How To Get A Preference And ListView To Show In The Same Screen.

2011-03-25 Thread Kostya Vasilyev
Robert, PreferenceActivity is already built around a ListView. Rather than trying to add another ListView, consider using Preference subclasses for the data items you want to show in the ListView. FWIW, that's how Settings application implements Bluetooth (and WiFi) device lists. You can loo

RE: [android-developers] select a row in a listview

2011-03-25 Thread Igor Nesralla Ribeiro
Justin, Well, i have a listview wich I list a restaurants informations like name and city…. how i select a row and open a acitivity with more detail about the restaurant I had opened ?! Can you help me ? Best Regards… Igor From: android-developers@googlegroups.com [mailto:android-d

Re: [android-developers] New tablet-specific area in the Market

2011-03-25 Thread Chris Stewart
Right, and that was my assumption. If they're actually being picked by a human, then yeah I wouldn't assume someone would spill how that works. But, if they're being automatically updated based on apps that are set to be Honeycomb specific, that's what I was hoping to gain insight to assuming any

Re: [android-developers] findViewById returning NULL

2011-03-25 Thread B Lyon
Not sure if it applies in your case, but do you have a separate layouts for landscape and portrait and that view is defined in only one of them? I think the eclipse android plugin might not catch this kind of thing, and so you wouldn't find out until runtime that it wasn't in both layouts. On Fr

Re: [android-developers] New tablet-specific area in the Market

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 1:54 PM, Chris Stewart wrote: > I know we're very much left in the dark as to how some of those things > work, but does anyone have any insight as to how this list works? If you're talking about the "Featured Apps for Tablets" section on the website, then the answer is pr

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread niko20
So far I've made $27 in sales, that's actually not too shabby for only just starting the store out. -nik On Mar 25, 1:37 pm, Nathan wrote: > On Mar 25, 11:20 am, TreKing wrote: > > > > > Update, they refunded my accidental purchase. *** I love these people. > > Well, gee, there goes my one sale

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread niko20
Some things I like: 1. The client is MUCH better, can actually search and FILTER based on ratings. 2. Ratings require 25 words. This forces users to actually put something meaningful instead of "crap" or some other useless comment. 3. Nice developer dashboard. 4. REAL PEOPLE respond to your issues

[android-developers] New tablet-specific area in the Market

2011-03-25 Thread Chris Stewart
I've noticed that the Market now has a tablet-specific section that will show 48-50 apps if you click into it. I've actually seen the number change from 48 to 50 throughout today. It leads me to believe that list is being automatically updated based on apps that are effectively tablet friendly. I k

[android-developers] findViewById returning NULL

2011-03-25 Thread New Developer
Sometimes not always the following line final ExpandableListView menuView= (ExpandableListView) findViewById(R.id.menuListing); may or may not return null and thus aborts with a NullExceptionError Any ideas how to fix this permanently to always return a valid thanks in advance -- You re

Re: [android-developers] select a row in a listview

2011-03-25 Thread Justin Anderson
You're really going to have to provide more information here, otherwise we are only going to be guessing at what you really want to accomplish... Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Fri, Mar 25, 2011 at 12:41 PM, Igor Nesralla Ribeiro wrote:

[android-developers] select a row in a listview

2011-03-25 Thread Igor Nesralla Ribeiro
Hi, I'm newbie on android dev. Sorry for any problemI have a listview wich i display 3 columns (id,restaurant,city) from a sqlite...(using a simplecursoradapter to bind)how I select a row and open it to edit or view. Anyone has a reference to send me or example !? Thanks Igor -Original

[android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Nathan
On Mar 25, 11:20 am, TreKing wrote: > > Update, they refunded my accidental purchase. *** I love these people. > Well, gee, there goes my one sale! ;) Nathan -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

[android-developers] Re: strange behavior connecting to a php script

2011-03-25 Thread Aisthesis
Thanks for your help, but the link is returning an error. Did you possibly mistype? On Mar 24, 2:55 am, Ekky Melynda wrote: > Please visit my blogwww.mudaers.co.tv > > 2011/3/24 Aisthesis > > > > > For a chess app I've been working on, I'm passing various types of > > information between players

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 11:56 AM, TreKing wrote: > I just ran into this yesterday. Only $2.85, but now I have an app I had no > interest in and will never use. I emailed them about it and have not heard > back yet. Update, they refunded my accidental purchase. Goddamn I love these people.

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Justin Giles
Well, it looks like the Amazon Appstore has had its first stats "true-up". My order/download stats just dropped by around 60% at this last update. Yes, that includes purchases as well. So, either people found a way to get a refund or the Appstore has been counting orders incorrectly thus far. F

[android-developers] Re: Any way to detect if the GPS data is "real"

2011-03-25 Thread ehpaul
Thanks for your reply. Sorry that I didn't post my question clearly. As I am aware, it possible for my 3rd party app to manipulate the GPS location. My question is that if there is any way to detect the location is "Real" from the satellite instead of manipulated? On Mar 9, 8:16 pm, lbendlin wrot

Re: [android-developers] RSS - APP

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 12:06 PM, Diego Barbosa wrote: > I want it to open without the webview, is how to implement it? Sure. - TreKing - Chicago

Re: [android-developers] Re: Refresh previous activity on Back Button Press

2011-03-25 Thread Laxmi Verma
Hi, I am still facing this issue. I am not sure how to refresh my previous activity on back button. I had written the code of calling the intent itself of onResume() method but everytime i am press back button of next activity it goes to the previous activity's on resume method and reload that a

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread PatternMusic
On Friday, March 25, 2011 8:00:30 AM UTC-7, MagouyaWare wrote: > > *> What all these Markets should be doing is making sure that they > interoperate, because us developers *do* want to deploy to all of them, but > we don't need the extra work of maintaining several versions or deployments > fo

[android-developers] How To Get A Preference And ListView To Show In The Same Screen.

2011-03-25 Thread Robert
Basically I want a screen to show 3 Preferences on top and then a ListView at the bottom: Preference 1 Preference 2 Preference 3 ListView

[android-developers] Re: Open GL texture is shown on emulator but not on the mobile

2011-03-25 Thread Robert Green
What resource directory is your bitmap in? drawable-nodpi? On Mar 25, 10:23 am, MobileVisuals wrote: > I tried to run a OpenGL tutorial project > > http://obviam.net/index.php/texture-mapping-opengl-android-displaying... > >  on a Samsung Galaxy, but only a white rectangle is shown instead of >

[android-developers] Re: startActivity from a Fragment doesn

2011-03-25 Thread jotobjects
We have tracked it down to the the ActionBar in the new Activity having some default behavior that selects the first tab which then takes us back to the first Activity. On Mar 24, 10:47 pm, Dianne Hackborn wrote: > There is nothing special about calling this from a fragment; all it is doing > is

[android-developers] Open GL texture is shown on emulator but not on the mobile

2011-03-25 Thread MobileVisuals
I tried to run a OpenGL tutorial project http://obviam.net/index.php/texture-mapping-opengl-android-displaying-images-using-opengl-and-squares/ on a Samsung Galaxy, but only a white rectangle is shown instead of the texture. The texture is shown on the emulator, but not on the Samsung Galaxy. W

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Justin Anderson
*Their ROI comes from us, the developers.* *The more we well the more they make, and I think they should remember that. * They do. You have to think about it from their side of things. Working together to make it easier to submit to multiple stores causes them to use their resources (time and mo

[android-developers] ContentProvider: problem setting filename for files delivered by using ContentProvider.openFile

2011-03-25 Thread snowcrash
I'm facing the following problem while implementing a ContentProvider to deliver images stored in the private data area of an application in an android-project: The files returned by the implementation below have the complete absolute path to the stored images as filename which look like _data_da

[android-developers] Re: Setting the Java build path in imported project

2011-03-25 Thread Bret Foreman
So I found the setup problem, but that leads to another error. When I try to add the Android 2.2 library to the project I get the error "unable to get system library for project". I'm guessing there is some path set somewhere in the project setup that is supposed to point to the Android library and

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Justin Giles
> > > I just ran into this yesterday. Only $2.85, but now I have an app I had no > interest in and will never use. I emailed them about it and have not heard > back yet. Even if one has 1-click payment on, an "Are You Sure" dialog seems > like a no-brainer, especially when the "Buy" button is next

[android-developers] Re: onPause() Why u no do the things I want?

2011-03-25 Thread Nathan
I believe that sleep, and other blocking operations will throw an interruptedexception when interrupted. Keep that in mind. I've tried the interrupt before while I was doing long blocking IO operations. It didn't work, I realized, because I was handling the exception as an IOException and retrying

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 11:50 AM, Daniel Drozdzewski < daniel.drozdzew...@gmail.com> wrote: > TechCrunch reported today that one could buy an app by mistake, when having > one-click payments enabled on their account and there is no way for refunds. > I just ran into this yesterday. Only $2.85, bu

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Daniel Drozdzewski
Yeah, there is probably Nash Equilibrium in the whole multi-market per platform world, especially that it isn't zero-sum game yet. Being open and interoperable would benefit each player in the market game in the ways that were hard to predict. The market for mobile apps and smartphones is growing y

[android-developers] Setting the Java build path in imported project

2011-03-25 Thread Bret Foreman
I imported a project from another developer and I'm trying to get it to build. I'm getting the following error: The type java.lang.Enum cannot be resolved. It is indirectly referenced from required .class files >From this code: public enum ChartType { DEFAULT_READING_CHARTS, WATER_BALAN

[android-developers] Re: Android apps soon to be runnable on RIM's Blackberrys

2011-03-25 Thread lbendlin
I am actually running the "BlackBerry plugin" for Eclipse to compile my Android programs. If you look at the BlackBerry samples they really are not much different from Android. Just a different VM? -- You received this message because you are subscribed to the Google Groups "Android Develope

[android-developers] Merged contacts problem

2011-03-25 Thread Kamil
Hi, I'm trying to get all phone numbers for contacts in my phonebook, but I've got some problem. If contacts are merged I get separated records with empty givenName and familyName. How can I get phone numbers from merged contacts? -- You received this message because you are subscribed to the G

Re: [android-developers] Re: Amazon Appmarket is now open!

2011-03-25 Thread Brill Pappin
Their ROI comes from us, the developers. The more we well the more they make, and I think they should remember that. If my product is good enough to make me money, then its good enough to make them money... why would they want to make it difficult for me to deploy to their app store? - Brill Pa

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 10:47 AM, Tobiah wrote: > That's basically what I'm doing. > Not really. Your code showed an infinite loop with no way of breaking out. You need *some* way for your task to complete. > I take it that the boolean argument to cancel() just gets me a quicker exit > rather

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread Kostya Vasilyev
25.03.2011 18:47, Tobiah пишет: Also, what of my choice to check the database once a second? To often? Can I go to 1/10 of a second without impacting CPU or battery usage? Rather than polling like that, I would post a message of some sort, which would probably end up calling notifyDataSetCha

Re: [android-developers] Removing/Blocking keys from virtual keyboard possible?

2011-03-25 Thread Kostya Vasilyev
Paul, You could use an key listener: http://developer.android.com/reference/android/widget/TextView.html#setKeyListener(android.text.method.KeyListener) Here is an example for entering IP addresses: http://kmansoft.wordpress.com/2011/02/27/an-edittext-for-entering-ip-addresses/ Note that the

Re: [android-developers] Small Size Activity Layout as compare to Original Device size

2011-03-25 Thread Cliff Davies
If you set the style of your login activity to ModifiedDialog (as shown before) and the layout of the login dialog is designed to be smaller than the full screen then it should appear in the manner that you've asked for. On Fri, Mar 25, 2011 at 10:09 AM, Deepak Kumar wrote: > Yeah, I have applied

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread Tobiah
So, it is "waiting" in a sense because of the sleep, but maybe you mean something else by "waiting"? I don't, that's the idea. But you'd only get interrupted while in the sleep(). You'd want something like while (!isCanceled()): { doSomething(); if (!isCanceled()) sleep(1000); } Th

[android-developers] Removing/Blocking keys from virtual keyboard possible?

2011-03-25 Thread Paul
I have an EditText that allows the user to enter a filename, and I am restricting certain characters being used, such as / \ ?, etc. Currently, I allow the user to enter anything they want, then before committing the filename, run it through a regexp checking for invalid characters. If any are fo

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread TreKing
On Fri, Mar 25, 2011 at 10:39 AM, Tobiah wrote: > So am I to understand then, that the only thing that will change by calling > cancel(true) is that I would not have to wait for the entire remaining > duration of the sleep for the task to end, whereas with cancel(false), the > sleep would complet

Re: [android-developers] onPause() Why u no do the things I want?

2011-03-25 Thread Kostya Vasilyev
Exactly. Which to me seems like a very valuable thing. 25.03.2011 18:39, Tobiah пишет: So am I to understand then, that the only thing that will change by calling cancel(true) is that I would not have to wait for the entire remaining duration of the sleep for the task to end, whereas with cancel

  1   2   >