Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-19 Thread Rocky
yes, its pinging On Wed, May 18, 2011 at 3:48 PM, Denis Shalagin denis.shala...@gmail.comwrote: Are you sure that ping for http://10.91.28.203; is OK? On Wed, May 18, 2011 at 1:58 PM, Rocky rkjhaw1...@gmail.com wrote: http://10.91.28.203; -- You received this message because you are

Re: [android-developers] Re: Google In-App billing and Paypal

2011-05-19 Thread darklord
On Wednesday, May 18, 2011 12:30:20 PM UTC+2, Kostya Vasilyev wrote: The apps that offer free to pro upgrades via PayPal are in violation of the TOS, but just because someone else didn't get pulled over for speeding doesn't mean everyone should do it. -- Kostya As a developer its

[android-developers] Re: Android Test Market

2011-05-19 Thread String
It's a good thought, but it requires that you assemble your beta group externally, which is nontrivial for an indy dev without some substantial public outlet (such as a popular blog). What the OP is proposing, I think, is for the app to be discoverable on the Market, but only to a limited

[android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Hitendrasinh Gohil
hi, I have just found one google doc for ANR.i am using thread class to retrieve data from server.and displaying it to app. so i just want to that whether i should use Thread or should forget the Thread because android is providing Asynctask. can anyone elaborate this,pls? -- You received

Re: [android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Miguel Morales
The only difference is that AsyncTask uses a thread pool to do its work. If you use a thread, you will have a slight overhead of creating and starting the thread. However, they both work relatively the same. On Wed, May 18, 2011 at 11:38 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com

[android-developers] Devs with paid apps -- check your enabled countries

2011-05-19 Thread Zsolt Vasvari
The Android Market team moved some countries from the first list to the overflow list. But, since there appears to be no actual testing done by them, when the countries were moved they now appear as not being available to see your app. -- You received this message because you are subscribed to

[android-developers] How to load resources like texture images sound files in native code?

2011-05-19 Thread Atul Prakash
Dear Friends, I am trying to load resources(e.g. texture images, sound files) in my native .CPP file. As I have to use the resources like texture images in native code, this why I am looking for any method to add them in my native code itself. Is this possible to add resources in my JAVA file

Re: [android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Saurav
In my experience, (I have used both), you need to create a Hander object to change something from the procedure that is running inside your Thread. Whereas, if you use the AsycTask, there will be call backs to do UI updations... I also agree with Miguel Morales. Regards, Saurav Mukherjee.

Re: [android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Hitendrasinh Gohil
hi, i have read this from google doc,ANR(Application not responding) happens when , I)main thread(event thread/ui thread) doesnt respond to input events in 5 sec ii)broadcast receiver doesnt finish in 10 seconds. in my application flow is like classA threadcallback to classA with datafrom

[android-developers] How to get synced Google contact group programmatically ?

2011-05-19 Thread Goutom
Hi All We know android phone can sync google contact group dynamically if we add account.Now I want to get the file where the groups information are saved.I need code to get groups information and need to show in my activity. Can any one help ? Cheers Goutom WebRep Overall rating -- You

Re: [android-developers] How to load resources like texture images sound files in native code?

2011-05-19 Thread Stephen Damm
On 11-05-19 12:50 AM, Atul Prakash wrote: Dear Friends, I am trying to load resources(e.g. texture images, sound files) in my native .CPP file. As I have to use the resources like texture images in native code, this why I am looking for any method to add them in my native code itself. Is this

Re: [android-developers] comparison of Thread vs Asynctask in android?

2011-05-19 Thread Miguel Morales
Have you read: http://developer.android.com/resources/articles/painless-threading.html ? On Wed, May 18, 2011 at 11:55 PM, Hitendrasinh Gohil hitendra.virtuei...@gmail.com wrote: hi, i have read this from google doc,ANR(Application not responding) happens when , I)main thread(event

[android-developers] Re: comparison of Thread vs Asynctask in android?

2011-05-19 Thread Ali Chousein
Keep in mind that Asynctask is provided for finite tasks. If you need to have a thread which should run forever, don't use Asynctask, but use Thread. -Ali -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Re: htc inspire

2011-05-19 Thread Saurav
http://www.gsmarena.com/htc_inspire_4g-3706.php http://www.gsmarena.com/htc_inspire_4g-3706.php http://www.gsmarena.com/apple_iphone_4-3275.php Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 3:52 AM, Nicholas Johnson metthejohn...@gmail.comwrote: Totally possible. Of course, if you

[android-developers] Reported memory usage

2011-05-19 Thread String
So I think I've finally plugged all my memory leaks (tip: watch out for Handlers which outlive your Activity), and overall, my apps seem to be doing pretty well in this regard. But in the last couple of days I've had a user complaining that one app is using far too much memory, and furthermore

[android-developers] Re: Android - Bluetooth communication with Lego NXT brick

2011-05-19 Thread damienb2
ok thank you for your answer ! but in fact, the author of the topic on javaspecialists.eu use the LeJOS firmware on the NXT brick, so the LeJOSlibrary too. I don't want to use this library, because i want my android application running whatever the firmware is. Anywhere i will email him, maybe

Re: [android-developers] R.color Not showing.

2011-05-19 Thread Kiran Kumar Kendole
Thanks KIRANKUMARKENDOLE On Wed, May 18, 2011 at 4:50 PM, TreKing treking...@gmail.com wrote: On Wed, May 18, 2011 at 5:20 AM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: I am using Eclipse... and when I type R.(dot) i didnt see color option in suggestion box.. Do I need to

[android-developers] Re: How to load resources like texture images sound files in native code?

2011-05-19 Thread Atul Prakash
Dear Stephen, I am new to Android Development through native code. As per your directions, I followed the example http://lol.zoy.org/blog/2011/3/2/load-pngs-using-android-ndk Unfortunately, I am not able to fully understand it. I am bit confused about its integration with actual code. Plz help.

Re: [android-developers] Reported memory usage

2011-05-19 Thread Dianne Hackborn
As far as I know /proc/{pid}/stat only provides vsize/vss and rss, both of which are basically useless for determining real memory usage. Memory usage however is really complicated to determine. See for example on here

Re: [android-developers] Re: How to get the list of notifications dispalyed on status bar......

2011-05-19 Thread Dianne Hackborn
Yes you need to modify the platform, which is outside of the scope of this group. You can ask on android-porting, though if you already know to look at NotificationManagerService I don't think there is much help beyond that people can give. On Wed, May 18, 2011 at 9:16 PM, Prachi

Re: [android-developers] R.color Not showing.

2011-05-19 Thread gaurav gupta
Hi kiran u hav to simply add a file in values Folder of ur project. there u can set ur colors as u want like ? xml version=*1.0* encoding=*UTF-8*? resources color name=*Red*#FF/color color name=*White*#FF/color color name=*Black*#00/color color

[android-developers] Country code from Location API

2011-05-19 Thread mboehmer
Is it possible to get a country code for the user's current location from the location API? Or from somewhere else? -- 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] Reported memory usage

2011-05-19 Thread String
As usual, Dianne, extremely helpful. Thanks very much. On the Running Services tab, my app never shows as running, which is good. If I look at its cached process, it shows ~5MB when just the widget is active, or more if I've recently had its main Activity open. Which seems fine to me;

Re: [android-developers] R.color Not showing.

2011-05-19 Thread Kiran Kumar Kendole
thanks Gaurav. I did same what you told.. worked fine. Thanks KIRANKUMARKENDOLE On Thu, May 19, 2011 at 5:25 AM, gaurav gupta gaurav.gupta...@gmail.comwrote: Hi kiran u hav to simply add a file in values Folder of ur project. there u can set ur colors as u want like ? xml version=*1.0*

[android-developers] getWindowManager in server?

2011-05-19 Thread a a
Hi, all getwindowmanager. ... getWindowManager(). Get the screen size in Android. Android screen size is different for different phone models. ... getWindowManager function is in Activity, How can i get the screen size in the Service?? Best regards -- You received this message because you are

[android-developers] Re: InApp Billing same account multiple devices

2011-05-19 Thread keianhzo
Anyone on this?. I think is quite an important subject. The billing system is failing in such a basic thing as sending notifications. Maybe I should place an issue in the marketbilling issues list. On May 16, 1:19 pm, keianhzo imanol.mar...@gmail.com wrote: Hi, We are testingInAppbilling to

Re: [android-developers] R.color Not showing.

2011-05-19 Thread gaurav gupta
HI , u can use ColorPic software to fetch the code of any color u want to use. :) On Thu, May 19, 2011 at 3:12 PM, Kiran Kumar Kendole k.kirankumar1...@gmail.com wrote: thanks Gaurav. I did same what you told.. worked fine. Thanks KIRANKUMARKENDOLE On Thu, May 19, 2011 at 5:25 AM,

Re: [android-developers] Re: htc inspire

2011-05-19 Thread gaurav gupta
Hi Nicholas. wat a answer :) grt On Thu, May 19, 2011 at 3:52 AM, Nicholas Johnson metthejohn...@gmail.comwrote: Totally possible. Of course, if you travel in a spaceship with either phones approaching the speed of light, then the speed of the computations becomes all relative. So, in

Re: [android-developers] java program design patterns

2011-05-19 Thread Francisco Dalla Rosa soares
If you just take a look at the names of the classes you'll see a lot of Patterns there: Adapters: BasicAdapter , Factories: BitmapFactory Maybe it would be useful for them to study the concept of those design patterns while seeing their implementation. Try some books on design patterns applied

Re: [android-developers] Re: InApp Billing same account multiple devices

2011-05-19 Thread Kostya Vasilyev
There is already an open issue for lost notifications: http://code.google.com/p/marketbilling/issues/detail?id=14 however, it does not specifically concern multi-device setup. I've provided a list of order numbers for this issue, and got logs from the Market team showing that the

Re: [android-developers] market:// URL to land users to the app rating screen

2011-05-19 Thread Mark Murphy
On Thu, May 19, 2011 at 12:41 AM, Winter Wong win...@quoord.com wrote: Looking for the market:// to ask user to rate our app in the market - is there a such URL to land user directly to the Rate view, instead of landing to the standard product screen? I do not believe so -- sorry. -- Mark

[android-developers] Re: Is it possible to print available Intents installed on phone?

2011-05-19 Thread MarcoAndroid
Not programmatically but you can look here for published intents for apps: http://www.openintents.org/en/intentstable Maybe the app you refer to is in the list. Else, you could maybe ask the app builder to add their Intents to that site? On 19 mei, 01:56, Eric e...@alum.mit.edu wrote: I

Re: [android-developers] Country code from Location API

2011-05-19 Thread gaurav gupta
Hi , i can provide u api for finding country name and city name using longitute and latitute. in this api u can get country code too. its api is mainly for weather report but u can use it, here a tag countryIN/country gives country code. i hope it will work for u

[android-developers] w3c geolocation working but prompt not showing

2011-05-19 Thread geow
Hi everybody, I am trying to embed a web app which uses google maps JavaScript API and W3C geolocation in a Web View. The applicaion works but it doesn't show any prompt for geolocation permission to the users and I cant' find the problem. Here the AndroidManifest.xml: ?xml version=1.0

[android-developers] Problem in using api of AbstractAccountAuthenticator, in android.accounts

2011-05-19 Thread mathcat
Hi geeks! Im new to the android.accounts apis, and now Im trying to do something with them but a seemly dummy problem occurs... I`ve created an Authenticator for my app but did not yet implement the abstract methods. The icon of it successfully appears in the system Add a Account window, and I

Re: [android-developers] Country code from Location API

2011-05-19 Thread Matthias Böhmer
Hi, thanks! There are a lot of web services that provide country codes. But I would rather like to do it offline, directly on the device. Is there any possibility to get the country code from any API directly on the device? Am 19.05.2011 um 12:41 schrieb gaurav gupta: Hi , i can provide u api

Re: [android-developers] Country code from Location API

2011-05-19 Thread gaurav gupta
HI, cant understand ur requirement. please explain, if u want to use without any interaction of internet. then u have to make it static and add all the list in ur String.xml http://code.google.com/apis/adwords/docs/appendix/countrycodes.html please explain ur requirement.den anyone can help u.

[android-developers] Problem with GridView and CountDownTimer

2011-05-19 Thread Saurav
Hi, I have a GridView. Each element of that grid has its own CountDownTimer. On going through some of your posts i came to know that getView of the Adapter for GridView may be called many number of times. This initializes many CountDownTimers on the same view and hence the onFinish of the

Re: [android-developers] Problem with GridView and CountDownTimer

2011-05-19 Thread umair yaya
*Home Inspection http://www.thecoursesworld.com/home-inspection.html * The housing market goes up and down, but people still need homeshttp://www.thecoursesworld.com/home-inspection.html , and home inspection professionalshttp://www.thecoursesworld.com/home-inspection.html play a vital role in

Re: [android-developers] Problem with GridView and CountDownTimer

2011-05-19 Thread umair yaya
On Thu, May 19, 2011 at 4:36 AM, umair yaya umair.yaya...@gmail.com wrote: *Home Inspection http://www.thecoursesworld.com/home-inspection.html * The housing market goes up and down, but people still need homeshttp://www.thecoursesworld.com/home-inspection.html , and home inspection

Re: [android-developers] Problem in using api of AbstractAccountAuthenticator, in android.accounts

2011-05-19 Thread umair yaya
*Home Inspection http://www.thecoursesworld.com/home-inspection.html * The housing market goes up and down, but people still need homeshttp://www.thecoursesworld.com/home-inspection.html , and home inspection professionalshttp://www.thecoursesworld.com/home-inspection.html play a vital role in

Re: [android-developers] Problem in using api of AbstractAccountAuthenticator, in android.accounts

2011-05-19 Thread umair yaya
On Thu, May 19, 2011 at 4:37 AM, umair yaya umair.yaya...@gmail.com wrote: *Home Inspection http://www.thecoursesworld.com/home-inspection.html * The housing market goes up and down, but people still need homeshttp://www.thecoursesworld.com/home-inspection.html , and home inspection

[android-developers] Need help

2011-05-19 Thread neha
I want to select image from sdcard and show it in imageView.i got the path of image in sdcard but how to show it in imageView. -- 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] aidl link error, couldn't find import for class com.android.internal.telephony.gsm.NetworkInfo

2011-05-19 Thread maliha
Hi, I am trying to re-use PhoneUtils.java (~/android_src/packages/apps/ Phone/src/com/android/phone/) within my app with some customizations. I have added INetworkQueryServiceCallback.aidl and INetworkQueryService.aidl into my app folder (~/android_src/packages/

[android-developers] Integration problem ZXing via Intent

2011-05-19 Thread Gustavo Costa
Well, I'm trying implement a integration of zxing with my Android App. In my app there is a MainActivity. In this MainActivity, I use a button to execute the first block of code below. But every time when execute the first block of code and the app read the QR Code, I receive as resultCode the

Re: [android-developers] Need help

2011-05-19 Thread Saurav
ImageView imageView = (ImageView) findViewById(R.id.imageView1); imageView.setImageDrawable(BitmapDrawable .createFromPath(/mnt/sdcard/ajax-loader.gif)); Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 5:11 PM, neha neha.05...@gmail.com wrote: I want to select image from sdcard and show

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-19 Thread Diogo Salaberri
Hi.. If you want to use localhost, try using http://10.0.2.2; instead of localhost on the URL. Because internally android uses localhost for the emulator. Verify your URL and good luck. Bye -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- You received

[android-developers] Re: Need help

2011-05-19 Thread neha
Thank u Can u provide me code to do this..I searched but got lengthy code.i want easy way to do this. On May 19, 12:59 pm, Mark Murphy mmur...@commonsware.com wrote: Use setImageURI() and a file:/// URI, or use BitmapFactory. On Thu, May 19, 2011 at 7:41 AM, neha neha.05...@gmail.com wrote:

[android-developers] Regarding Tab Alignment...

2011-05-19 Thread yogendra G
Hi All, I Need Sum Tab Alignment techniques for my app so please help me out with this query... How Can i set towards left of my screen has i can do it below of the screen...?? Thanx in Advance... Regards, Yogi -- You received this message because you are subscribed to the Google Groups

[android-developers] Re: Need help

2011-05-19 Thread neha
Thanx a lot saurav... ur code works. can i fix size of image??? On May 19, 1:09 pm, neha neha.05...@gmail.com wrote: Thank u Can u provide me  code to do this..I searched but got lengthy code.i want easy way to do this. On May 19, 12:59 pm, Mark Murphy mmur...@commonsware.com wrote:

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-19 Thread Rocky
thanks all to response, now its working, how to get the information from the JSONObjects but i'm getting result in below formate - {Categories:[{ID:1,ImageName:pepsi.png,Items:[{AvailableQuantity:525,Description:Enjoy potatoes cooked and flavoured with Indian herbs, served with Imli sauce. A

[android-developers] Re: Need help

2011-05-19 Thread neha
I got solution... Thank you all On May 19, 1:12 pm, neha neha.05...@gmail.com wrote: Thanx a lot  saurav... ur code works. can i fix size of image??? On May 19, 1:09 pm, neha neha.05...@gmail.com wrote: Thank u Can u provide me  code to do this..I searched but got

[android-developers] Job Opportunity NYC

2011-05-19 Thread Matthew Powers
Hey guys, I know you probably hate this - but we have some great job opportunities for Android developers in Manhattan, and even remotely. Our company, Applico (www.applicoinc.com), works with major agencies and brands to help get them on Mobile, specifically android. We have worked with

Re: [android-developers] Job Opportunity NYC

2011-05-19 Thread Mohammed Hossain Doula
I am working in Android... Shall I send you my resume??? On Thu, May 19, 2011 at 6:23 PM, Matthew Powers mtpow...@gmail.com wrote: Hey guys, I know you probably hate this - but we have some great job opportunities for Android developers in Manhattan, and even remotely. Our company,

Re: [android-developers] Re: comparison of Thread vs Asynctask in android?

2011-05-19 Thread Hitendrasinh Gohil
hi, i am using thread to retrieve string data from server and asynctask to download files(avg 7 to 8mb) from server.so is it okay in this case. -- Regards, Hitendrasinh Gohil -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

Re: [android-developers] help for listview?

2011-05-19 Thread Hitendrasinh Gohil
hi, whether i am setting layout before click event or after it doesnt affect.because we can notify list by calling its adapter method.(notifydatasetchanged()). can can anyone please have a look at this ,and suggest where the problem is! -- You received this message because you are subscribed

Re: [android-developers] Job Opportunity NYC

2011-05-19 Thread Matthew Powers
Yes absolutely On Thu, May 19, 2011 at 8:25 AM, Mohammed Hossain Doula hossaindo...@gmail.com wrote: I am working in Android... Shall I send you my resume??? On Thu, May 19, 2011 at 6:23 PM, Matthew Powers mtpow...@gmail.comwrote: Hey guys, I know you probably hate this - but we have

Re: [android-developers] help for listview?

2011-05-19 Thread Francisco Dalla Rosa soares
1. your ViewHolder class isn't static. if It's not it will always be null for the next call. (this is not the reason for your problem though) 2. your getItem should be returning an object but it's returning just the position 3. notifyDataSetInvalidated() means that the data inside the adapter is

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-19 Thread Diogo Salaberri
I've looked quickly your JSON, and I guess you have two Json's array. The first is called Categories, he's the main array, and the second is called Items. The Itens array you have repeatedly. Let´s go.. You have to start from the outside, receive categories put him in a var and now you can

Re: [android-developers] help for listview?

2011-05-19 Thread Hitendrasinh Gohil
hi, i have just called only notifyDatasetChanged(),but didnt work then i have added notifyDataSetInvalidated(). -- Regards, Hitendrasinh Gohil -- 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] Developer sign up is account registered to credit card owner

2011-05-19 Thread Francisco Dalla Rosa soares
I have your same problem and did just what you want to do. The credit card info is registered to your checkout account. the payment goes to your significant other but the Market account registered is yours. When you get your own credit card you can just go to your google checkout account, add your

[android-developers] Re: Devs with paid apps -- check your enabled countries

2011-05-19 Thread Streets Of Boston
For me, only Croatia, Serbia and Kazakhstan were marked as one of the 'except for:' countries. Anyway, strange behavior by the AM. :) -- 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: a wacky workaround to get Nexus One usb driver installed on windows 7

2011-05-19 Thread Eamonn Dunne
I'm pretty sure thats an issue with the VM, as I installed the drivers without issue on the same setup. -- 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

[android-developers] comparison between viewstub and latoutinflater to add view at runtime?

2011-05-19 Thread Hitendrasinh Gohil
hi, What is the difference between using viewstub and layoutinflater to inflate views at runtime? -- 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

[android-developers] from which API level there have been support for W3C Geolocation API?

2011-05-19 Thread geow
Hi everybody, do you know from which API level there have been support for W3C Geolocation API in Android web app using WebView class? Thanks, G -- 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: Failed SIP Call

2011-05-19 Thread Shaun Clark
I was able to solve this by simply putting the full address in, so for example if trying to dial extension 900, instead of just putting 900, I had to put in 900@asterisk_server_address to get it to work. Hope this helps! On May 18, 4:07 pm, Shaun Clark shaun.cl...@lexmatter.com wrote: When I try

[android-developers] Re: ADT debugger always stops at ALL exceptions

2011-05-19 Thread Eric Rizzo
Rick, Like I said, I'm no newbie to Eclipse. I don't WANT to stop at all breakpoints, but with or without an Exception breakpoint it's stopping all the time. Doesn't matter if I set up an exception breakpoint with or without checking caught exceptions. Debugging an Android device is behaving

[android-developers] Re: Google Docs Access

2011-05-19 Thread Doug Gordon
The databases are user-generated, so I need a public solution. I can't use my web server to store megabytes of data for thousands of users, manage usernames and passwords, etc. On May 18, 9:41 pm, Nikolay Elenkov nikolay.elen...@gmail.com wrote: On Thu, May 19, 2011 at 4:31 AM, Doug Gordon

Re: [android-developers] Re: Google Docs Access

2011-05-19 Thread Mark Murphy
On Thu, May 19, 2011 at 10:04 AM, Doug Gordon gordo...@gmail.com wrote: The databases are user-generated, so I need a public solution. I can't use my web server to store megabytes of data for thousands of users, manage usernames and passwords, etc. Support for Google Docs APIs can be found on

Re: [android-developers] Re: Google Docs Access

2011-05-19 Thread Nikolay Elenkov
On Thu, May 19, 2011 at 11:04 PM, Doug Gordon gordo...@gmail.com wrote: The databases are user-generated, so I need a public solution. I can't use my web server to store megabytes of data for thousands of users, manage usernames and passwords, etc. You are definitely not getting thousands of

[android-developers] Re: comparison between viewstub and latoutinflater to add view at runtime?

2011-05-19 Thread Diego Tori
If I recall correctly, ViewStub acts as a lazy XML include, in that the referenced view only gets added to the view hierarchy in the time that it's inflated, not ahead of time. The gain on this method is that it makes it quick and cheap to inflate a view, however, once it's inflated, it cannot

[android-developers] Re: ADT debugger always stops at ALL exceptions

2011-05-19 Thread Rick Alther
In my experience there is no difference debugging an Android application than any other Java application. When I uncheck that preference, I no longer stop at any exception that is caught. If it's still breaking on any caught exceptions after that preference has been unchecked, then I am at a

Re: [android-developers] How to close all activities on android app

2011-05-19 Thread TreKing
On Wed, May 18, 2011 at 8:28 PM, Bruno Lopes brunolope...@gmail.com wrote: I'he a android app with 5 activities and i would close all open activities by pressing a button, for example. How I do it exactly? What is the better strategy? Somebody can help me? IDK about best, but discussed here

Re: [android-developers] what will be the parameter of HttpGet httpget = new HttpGet(http://10.91.28.203);

2011-05-19 Thread Rocky
thaks for reply, i'll check and publish the code for other. On Thu, May 19, 2011 at 6:27 PM, Diogo Salaberri caxix...@gmail.com wrote: I've looked quickly your JSON, and I guess you have two Json's array. The first is called Categories, he's the main array, and the second is called Items.

[android-developers] Re: How to get the timezone from the latitude and longitude?

2011-05-19 Thread Prayag Pathak
Hey man!!! Really a great website! Btw, you have got an interesting name! Streets of Boston! :) haha! kiddin! But definitely, a great website. Thanks again! Regards, Prayag On May 6, 6:04 pm, Streets Of Boston flyingdutc...@gmail.com wrote: earthtools uses a REST like interface with XML as

Re: [android-developers] Gears2 fails to start with Gingerbread

2011-05-19 Thread TreKing
On Wed, May 18, 2011 at 3:37 PM, Raghu raghavendra...@gmail.com wrote: Any pointers? Consider explaining your problem. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit

[android-developers] Gingerbread 2.3 - SIP stack - REFER method

2011-05-19 Thread tgisunnysay
Hi, It appears that the native sip stack doesn't react when it receives a REFER message. Can anyone confirms that ? or has any informations about it ? Thank you in advance! Bye. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to

[android-developers] Re: Surveys using Google Docs

2011-05-19 Thread danielfjb
Sorry about the other posts in the other blogs. I've been looking the spreadsheet that the google form creates, but I don't see where the question structure is. I mean, for example for a checkbox question, in the spreadsheet only appear the title of the question, and the answers, but no the

Re: [android-developers] Re: Surveys using Google Docs

2011-05-19 Thread Mark Murphy
On Thu, May 19, 2011 at 12:08 PM, danielfjb daniel...@gmail.com wrote: Sorry about the other posts in the other blogs. I've been looking the spreadsheet that the google form creates, but I don't see where the question structure is. I mean, for example for a checkbox question, in the

Re: [android-developers] Re: comparison between viewstub and latoutinflater to add view at runtime?

2011-05-19 Thread Dianne Hackborn
I'm not sure it makes sense to compare them. ViewStub is a view that uses LayoutInflater to inflate its view hierarchy when needed. As far as inflating the view hierarchy goes, they are the same. They just are different APIs, so the only interesting different between them is really the obvious

[android-developers] Fragment animation as in Honeycomb Gmail app - how to do that?

2011-05-19 Thread Scythe
I'd like to achieve similar fragment behaviour as in the Honeycomb Gmail app. So I have three fragment next to each other: A, B and C. Initially, A and B is displayed, and when the user selects something from B, it triggers an sliding-animation/fragment-transaction so that B and C are visible. B

[android-developers] Retrieve IPv6 address for WiFi interface

2011-05-19 Thread IPv6Project
Dear all ! I am currently developping an application using sockets to communicate over an IPv6 network. However I am unable to retrieve the ipv6 address of the WiFi interface (wlan0). My code works only for IPv4 :( Is there anyway to adapt this code to retrieve only IPv6 address (global) of

[android-developers] Re: NFC Secure Element

2011-05-19 Thread Martin
Hello all, Michael as you already mentioned, it is possible to activate the card emulation mode and the Secure Element in the Nexus S. I did that and also changed the permissions from android.permission.WRITE_SECURE_SETTINGS to android.permission.NFC in NfcService.java to get access to the Secure

[android-developers] Re: Signing in debug mode

2011-05-19 Thread bburd
Thank you. Understanding what aapt does and doesn't do has solved my problem. -- 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

[android-developers] Re: startActivityForResult

2011-05-19 Thread kypriakos
Great thanks - much appreciated it. But I was also asking as to whether the startActivityforResult() is part of the Android 1.6 API since the compilation fails there. Any idea? On May 19, 12:27 am, Our-Android sachin.worldnet.prog...@gmail.com wrote: hi, find the link below you will get

[android-developers] Re: startActivityForResult

2011-05-19 Thread kypriakos
Excellent! Thanks. So the API level 4 (to which cupcake/1.6 is based on) does not have the startActivityForResult - which is in line with the fact that the compilation fails. Anyway knows as to what provision was available back then for allowing an activity to call back a calling class? Or no

Re: [android-developers] Problem with GridView and CountDownTimer

2011-05-19 Thread Saurav
Guys please no spams! Have any ideas to the problem that I put up, for help! Kind of an SOS situation. Thanks in advance! Regards, Saurav Mukherjee. On Thu, May 19, 2011 at 5:06 PM, umair yaya umair.yaya...@gmail.com wrote: On Thu, May 19, 2011 at 4:36 AM, umair yaya

[android-developers] Re: startActivityForResult

2011-05-19 Thread Nicholas Johnson
startActivityForResult has been in the API since level 1. 1.6 has it. Here's a link to the documentationhttp://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int). -- You received this message because you are subscribed to the Google

Re: [android-developers] Re: startActivityForResult

2011-05-19 Thread Kostya Vasilyev
Huh? http://developer.android.com/reference/android/app/Activity.html#startActivityForResult(android.content.Intent, int) Since API level 1 - i.e. Android 1.0. Perhaps you could post a code snippet showing the compile error. -- Kostya 19.05.2011 22:04, kypriakos пишет: So the API level 4

[android-developers] Does Application Error Reports support crashes in native code?

2011-05-19 Thread Shri
Does the Application Error Reports infrastructure described at http://android-developers.blogspot.com/2010/05/google-feedback-for-android.html work for crashes in native code? It sounds like the mechanism works by using Thread.setDefaultUnhandledExceptionHandler which only works for Java code,

Re: [android-developers] Re: NFC Secure Element

2011-05-19 Thread Michael Roland
Hallo Martin, After enabling the card emulation mode on the Nexus S, I am able to read and write data to the emulated MiFare Classic 4k card by an external NFC reader. I would like to do that within an android app. Have you verified that you actually wrote data to the MIFARE Classic? I really

[android-developers] IllegalStateException: Fragment not added in ActionBarTabs example

2011-05-19 Thread Ed Burnette
While writing an app that uses Fragments and tabs on the Action Bar I ran into a crash. I went back to the API Demos sample and can make the same crash happen there. Start the program in the emulator and select App Action Bar Action Bar Tabs. Click Toggle tab mode then Add new tab twice, then

[android-developers] Re: Fragment animation as in Honeycomb Gmail app - how to do that?

2011-05-19 Thread Ed Burnette
There's probably using FragmentTransaction.setTransition() or setCustomAnimations(). On May 19, 12:14 pm, Scythe scythe...@gmail.com wrote: I'd like to achieve similar fragment behaviour as in the Honeycomb Gmail app. So I have three fragment next to each other: A, B and C. Initially, A and B

Re: [android-developers] IllegalStateException: Fragment not added in ActionBarTabs example

2011-05-19 Thread Shane Isbell
I've run into this on occasion, I surrounded it with a general Exception catch to handle this, which seemed to have no side affects for my application, as to whether this is platform bug, who knows? Without the source code to look at, it is anyone's guess. Shane On Thu, May 19, 2011 at 11:28 AM,

[android-developers] How can I draw/move a point on screen ?!

2011-05-19 Thread Diogo Salaberri
Any tutorial ? Any link ? Thanks, bye. -- Atenciosamente; Diogo Bonoto Salaberri Bacharel em Ciência da Computação - UFPel -- 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 can I draw/move a point on screen ?!

2011-05-19 Thread Nicholas Johnson
Look at all the documentation on developer.android.com -- 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] Re: NFC Secure Element

2011-05-19 Thread Martin
Hello Michael, yes I am very sure that I can read and also write persistent data to the MiFare Classic. Even if the Nexus S is turned off, we are still able to read and write data. I will give you some information about the NFC reader, the software and the keys we use tomorrow, because I have all

Re: [android-developers] Re: Devs with paid apps -- check your enabled countries

2011-05-19 Thread Justin Anderson
Yeah I've been noticing the same thing. Has happened 2 or 3 times to me now. Thank you Android Market Team! :-) Thanks, Justin Anderson MagouyaWare Developer http://sites.google.com/site/magouyaware On Thu, May 19, 2011 at 7:25 AM, Streets Of Boston flyingdutc...@gmail.comwrote: For

[android-developers] Re: Retrieve the Starred Contacts

2011-05-19 Thread Ali Chousein
Prabhakar, So far I've done some programming with Android contacts. I have much sample code except the starred contacts. However it should be straightforward. Check the link below. Personally I found it possible to get everything running by following the documentation of ContactsContract. There

[android-developers] TransitionDrawable with different sized bitmaps

2011-05-19 Thread Brill Pappin
I'm using a TransitionDrawable to draw a series of bitmaps in an ImageView. Every time my scheduled handler ticks over, i replace the bitmaps. I'm finding that if they are not the same size, the draw splits the difference for the second bitmap using the first bitmap (at least I think thats

  1   2   3   >