[android-developers] Re: Is it possible to integrate authorize.net gateway with Android app?

2011-01-22 Thread Brill Pappin
This would usually be done as a two step process. Your server would handle communication with the mobile app as well as fire off the transactions to the processor; and send responses back to the mobile client. I don't recommend that you connect to your processors API directly from the mobile cl

[android-developers] Integration testing with mock content providers

2011-01-22 Thread Ian
I've got an Activity which uses the Contact DB, and I'm looking to auto-test this. I see several solutions in the past, but one (http:// dtmilano.blogspot.com/2009/12/android-testing-contentprovider.html) provides a link to 'android-mock' which links to a commercial site, and another (by Tenacious3

[android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-22 Thread Brill Pappin
Hmm... possible that it doesn't record anything if i only user the custom vars. I've now switch to Flurry for the time being. Its certainly an easier API to use. - Brill Pappin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to

Re: [android-developers] How can I remove application data in application?

2011-01-22 Thread TreKing
On Sat, Jan 22, 2011 at 8:34 PM, Jed Kain wrote: > So, I want to know how to implement "Clear data" in Setting menu at > my application. > http://developer.android.com/reference/android/content/Context.html#getCacheDir()

[android-developers] Source code and browser

2011-01-22 Thread kypriakos
Hi all, does the native browser source code come with the distribution of the OS code? Is there an SVN repo or the only way to access it is through the Repo tool? What version of Webkit is the native browser based on? How can I find that? I am running Browser version 4 Thanks -- You received

[android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-22 Thread Stephan Wiesner
As an add on, here is my code. I have set up TWO GA configurations, so that I can differ what my beta testers are doing and what my real users do. I needed that as well to be able to figure out how GA works. As you can see, I use automatic dispatching. Custom variables are used as well, but I have

[android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-22 Thread Stephan Wiesner
GA works fine for me. Use it for about two weeks now and worked all the time. I use pageviews and event tracking and both are great things to improve my apps. Greetings from Lucerne, Stephan -- Interessiert an Android? http://android-schweiz.blogspot.com/ Whant to learn German? http://german-pod

Re: [android-developers] Pretty sure Google Analytics for Android not working

2011-01-22 Thread Brill Pappin
Thanks, I'll take a look. - Brill Pappin -- 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...@

[android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-22 Thread Brill Pappin
I'm manually calling dispatch() once right after I add a custom variables, but I don't actually close it down until the app itself exits. My goal was to simply record how many of what platform I was dealing with as I'm not all that interested in what screen my users are on. I wonder now if maybe

Re: [android-developers] Re: Using internal Android string resources

2011-01-22 Thread Brill Pappin
Oh i understand the problem and potential issues, like calling a car a Nova in Mexico :) I've been meaning to write myself a tool though that would allow me to construct a database of string and generate property files from them in multiple languages. It won't always work (particularly with stri

[android-developers] Re: supports-screens question

2011-01-22 Thread Zsolt Vasvari
That phone has 3.5" screen (same as an iPhone), and while it's not impossible, I would find it extremely hard to believe that it's a 240x320 screen. I think you would see pixelation even on a YouTube video of that were the case. I believe the HVGA part of the description is correct and it's, in f

[android-developers] Re: sending and receiving a file by email

2011-01-22 Thread Pedro Duque
Just for the record, this code is working... I had messed up the versions that was the problem! On 22 January 2011 18:09, Pedro Duque wrote: > Hi, > > I'm trying to send a file through email and them open it when it's received > on the email. > > To send the file I use: > Int

Re: [android-developers] Re: supports-screens question

2011-01-22 Thread Dianne Hackborn
It would help a lot to find someone with a different QVGA device to see if your app also shows up there. That will be a big step in isolating whether this is device-specific problem or something more general. On Sat, Jan 22, 2011 at 7:24 PM, kernelpanic wrote: > like I said, I believe you - of

Re: [android-developers] Re: Using internal Android string resources

2011-01-22 Thread Dianne Hackborn
Translations are *very* dependent on the semantics they are used in. Also, you can't really know what translations there will be -- some devices ship with only English and Spanish, some with EFIGS, some with the full set of current translations, some other things. The word-smithing of strings als

[android-developers] Re: supports-screens question

2011-01-22 Thread kernelpanic
like I said, I believe you - of all the people to not believe - you are not on that list. I admit I am new to android, but I know how to butter toast as they say All I know is someone downloaded my app from the market (the only place it is avail) and "claims" to have that device - that was th

Re: [android-developers] Re: supports-screens question

2011-01-22 Thread Dianne Hackborn
This is all beside the point, but I am just saying that HVGA is by definition 480x320. They have a mistake in their description. Anyway, in the platform and elsewhere we don't care about "HVGA" or any other resolution names at all, just the actually resolution width and height (and of course dens

[android-developers] Re: Using internal Android string resources

2011-01-22 Thread Zsolt Vasvari
I guess I don't uderstand what the issue is here. The public android.R.strings package is tiny, with 22 entries, only 7-8 of which are general purpose to the point where they are usable in an average app.I am not sure how the other localized strings could even concievably be used without first

[android-developers] Re: NFC doubts. JSR 257 - 177

2011-01-22 Thread Ben Dodson
I had trouble cut/pasting from the git source to google group as well. The package is here: android.git.kernel.org/?p=platform/packages/apps/Tag.git;a=summary On Jan 22, 4:30 pm, davemac wrote: > H. Dianne's link doesn't appear to work. Any help here? > > - dave > > On Jan 18, 9:12 pm, Dian

[android-developers] How can I remove application data in application?

2011-01-22 Thread Jed Kain
I am developing an application using Twitter with twitter4j and WebView. I loaded the twitter login web page on WebView and inputted username and password. The app succeeded in Twitter OAuth. When the app was closed and re-run, I couldn't input username and password like AUTO-LOGIN. Authorization

Re: [android-developers] AbsListView and AbsSpinner design intention versus documentation

2011-01-22 Thread argon gold
Any one from Google team can respond on follow issue? On Sat, Jan 22, 2011 at 11:07 AM, argon gold wrote: > Hi Romain , > > Sorry for the repeated message as I guess my first message went to just > one person. > > I have following two questions related to AbsSpinner and I expect you can > clari

[android-developers] Re: supports-screens question

2011-01-22 Thread kernelpanic
I believe you, but http://www.huaweidevice.com/worldwide/productFeatures.do?pinfoId=2880&directoryId=2044&treeId=44 On Jan 22, 7:56 pm, Dianne Hackborn wrote: > Er 320x240 is definitely not HVGA. :} > > > > On Sat, Jan 22, 2011 at 4:51 PM, kernelpanic wrote: > > looking at the Huawei website,

Re: [android-developers] Re: supports-screens question

2011-01-22 Thread Dianne Hackborn
Er 320x240 is definitely not HVGA. :} On Sat, Jan 22, 2011 at 4:51 PM, kernelpanic wrote: > looking at the Huawei website, it states that device is 320x240 HVGA > > is the HVGA the issue here? > > > > On Jan 22, 5:35 pm, kernelpanic wrote: > > yes, that's how I decided I had an issue - he left

[android-developers] Re: Shared preference from non activity class

2011-01-22 Thread Hari Edo
On Jan 22, 7:50 pm, TreKing wrote: > I have no idea what a "bean class" is. It's one of those J2EE things that they shove at you in diploma-mill university IT classes. Basically, an object with a hashmap of properties, so that it's trivial to make GUI front-ends that can manipulate the proper

[android-developers] Re: Pretty sure Google Analytics for Android not working

2011-01-22 Thread Hari Edo
My GoogleAnalytics app is working fine, but it's not on the market yet so it's only getting about 150 events / day as I debug features at home. Are you calling .dispatch() occasionally? Queued up pageviews and events don't get sent to the server until (1) there's network, and (2) you call .dispa

Re: [android-developers] Pretty sure Google Analytics for Android not working

2011-01-22 Thread TreKing
On Sat, Jan 22, 2011 at 4:27 PM, Brill Pappin wrote: > Does anyone have a better solution than GAnalytics? > Maybe one that actually works? > Flurry is a common mention around here. It's weird so many people are having issues with GA (there another thread on it going on). I played with it ever

[android-developers] Re: supports-screens question

2011-01-22 Thread kernelpanic
looking at the Huawei website, it states that device is 320x240 HVGA is the HVGA the issue here? On Jan 22, 5:35 pm, kernelpanic wrote: > yes, that's how I decided I had an issue - he left a 1 star rating > with this comment > > "cannot play on my huawei ascend touchscreen please fix" > > On J

Re: [android-developers] Shared preference from non activity class

2011-01-22 Thread TreKing
On Sat, Jan 22, 2011 at 1:26 AM, Deeps wrote: > I want to get shared preference from non activity class. > Pass a Context, the SharedPreferences, or the value itself from somewhere "higher up" that has this information. > I want to create a bean class to get and set the shared pref. > I have

[android-developers] Re: NFC doubts. JSR 257 - 177

2011-01-22 Thread davemac
H. Dianne's link doesn't appear to work. Any help here? - dave On Jan 18, 9:12 pm, Dianne Hackborn wrote: > There are links at the bottom of the page to the full source.  This is also > part of the platform sample code, so it is included with all of the other > sample code you can download.

[android-developers] Is it possible to integrate authorize.net gateway with Android app?

2011-01-22 Thread pawpaw17
Guys, I'm working on an Android based shopping cart for an app. This is to sell items like groupon/ebay/amazon does - not to sell Android products. Does anyone know a gateway with an API that can be used from an Android app? Do any of you do authorize.net integrations? There doesn't seem to be m

[android-developers] Is it possible to integrate authorize.net gateway with Android app?

2011-01-22 Thread pawpaw17
Guys, I'm working on an Android based shopping cart for an app. This is to sell items like groupon/ebay/amazon does - not to sell Android products. Does anyone know a gateway with an API that can be used from an Android app? Do any of you do authorize.net integrations? There doesn't seem to be m

Re: [android-developers] Re: Using internal Android string resources

2011-01-22 Thread Mark Murphy
On Sat, Jan 22, 2011 at 5:18 PM, Bob Kerns wrote: > While I (strongly) agree with this advice -- there is a major > downside. If you copy it into your application, and the platform > changes (an update, a manufacturer customization, etc.), then your > application's look-and-feel (including termino

[android-developers] Re: Capturing Intent.ACTION_MEDIA_SCANNER_FINISHED

2011-01-22 Thread julius
On Dec 17 2010, 12:16 am, Mark Murphy wrote: > On Wed, Dec 15, 2010 at 7:47 PM, Julius Spencer wrote: > > That was it; thank you again Mark. > > > Do you know why it might not work in the manifest in this case (ie. for > > this Intent)? > > If you have not tried the corresponding element, try t

[android-developers] Re: supports-screens question

2011-01-22 Thread kernelpanic
yes, that's how I decided I had an issue - he left a 1 star rating with this comment "cannot play on my huawei ascend touchscreen please fix" On Jan 22, 5:29 pm, Dianne Hackborn wrote: > It should be a child of , so that is fine.  Do you know what > device this was allowed to be installed on?

Re: [android-developers] Re: supports-screens question

2011-01-22 Thread Dianne Hackborn
It should be a child of , so that is fine. Do you know what device this was allowed to be installed on? On Sat, Jan 22, 2011 at 2:47 PM, kernelpanic wrote: > ok, thanks. According to the docs, it should just be in the manifest - > I have this > > > > > > > android:sm

[android-developers] Re: supports-screens question

2011-01-22 Thread kernelpanic
ok, thanks. According to the docs, it should just be in the manifest - I have this should it be inside the application tag maybe? On Jan 22, 2:15 pm, Dianne Hackborn wrote: > It absolutely should be filtered from Market.  There are lots of apps that > aren't available t

[android-developers] Re: Using internal Android string resources

2011-01-22 Thread Brill Pappin
There is that problem Bob, but you can't have it both ways. Ether you depend on standards and consistency from the platform itself or you manage it yourself. Most advice regarding resources are to manage them yourself (your argument applies to images as well as strings). so that your not surpris

[android-developers] Pretty sure Google Analytics for Android not working

2011-01-22 Thread Brill Pappin
OK, I'm pretty sure now that the Google Analytics for Android is not working. I pushed out an update on my free app about 48 hours ago. It logs a few custom vars and manually does a commit int he first several blocks of the startup code. It also doesn't shutdown until the app exists (which can b

[android-developers] Re: Soundpool.play() fails, returns 0, Playing From Widget

2011-01-22 Thread Brill Pappin
What phone are you testing on? I've got a lot of reports of a basic ogg file not playing on one of the phone (I think it was a Motorola). - Brill Pappin -- 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: Using internal Android string resources

2011-01-22 Thread Bob Kerns
While I (strongly) agree with this advice -- there is a major downside. If you copy it into your application, and the platform changes (an update, a manufacturer customization, etc.), then your application's look-and-feel (including terminology) will vary from the platform standard. And, in the cas

Re: [android-developers] Resource missing error, but its there.

2011-01-22 Thread Brill Pappin
I delete this post a few minites after I posted it :) Turns out I was mistakenly asking the system resources to get the local string resource... which of course wont work very well :) One of those little lines of code you ignore that causes you to bang your head agains the keyboard... and as so

Re: [android-developers] Re: Using internal Android string resources

2011-01-22 Thread Brill Pappin
Thats a good idea. I've been meaning to build a tool that can manage them for me as well, but its one of those things that I never get to :) Maybe its time now. - Brill Pappin -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to th

[android-developers] File buffer help

2011-01-22 Thread nation-x
Please have patience with my noob questions... I am new to Java. I am reading a large file (podcast) from the web which I am playing with the mediaplayer... I have been looking at how I can truncate the buffer during write and I think I can use FileChannel but I am not exactly sure how to implemen

[android-developers] Android C2DM

2011-01-22 Thread Androidbaby
Hi, I am looking for any code to implement c2dm for my android app. I know there are lots of tutorial with zend framework but i want to do this through Simple PHP. Any android and PHP server code will be appreciated. Thanks a lot... -- You received this message because you are subscribed to th

[android-developers] Re: Android Development Income Tax Question

2011-01-22 Thread Indicator Veritatis
Why are you so sure they will always give you the benefit of the doubt? They certainly didn't give that to me when I first ran into this problem in the 80s. And what are you hiding under the hedge 'generally'? The penalties are high enough that you should be absolutely sure you are exempt before y

Re: [android-developers] supports-screens question

2011-01-22 Thread Dianne Hackborn
It absolutely should be filtered from Market. There are lots of apps that aren't available to small screen devices because they don't support small screens. Make sure you have the tag in the right place in your manifest. On Sat, Jan 22, 2011 at 4:02 AM, kernelpanic wrote: > I'm using the follo

Re: [android-developers] Resource missing error, but its there.

2011-01-22 Thread Dianne Hackborn
Do you have a value defined for whatever config you are in? If you don't have a default value set, this can cause the lookup to fail. On Fri, Jan 21, 2011 at 11:51 PM, Brill Pappin wrote: > For some reason, I'm getting this: > > 01-22 07:46:15.226: ERROR/AndroidRuntime(8345): Caused by: > andro

Re: [android-developers] Re: Why does InputMethodManager#showSoftInput return false?

2011-01-22 Thread Dianne Hackborn
Also, make sure your view has focus. On Sat, Jan 22, 2011 at 11:44 AM, Dianne Hackborn wrote: > Do you see any messages in the log? > > > On Sat, Jan 22, 2011 at 8:10 AM, pulse00 wrote: > >> i'm having exactly the same problem. Could not find a solution. >> >> Anyone knows what's the problem her

Re: [android-developers] Re: Why does InputMethodManager#showSoftInput return false?

2011-01-22 Thread Dianne Hackborn
Do you see any messages in the log? On Sat, Jan 22, 2011 at 8:10 AM, pulse00 wrote: > i'm having exactly the same problem. Could not find a solution. > > Anyone knows what's the problem here? > > -- > You received this message because you are subscribed to the Google > Groups "Android Developer

[android-developers] Re: How to investigate a system crash reported by user?

2011-01-22 Thread Emmanuel
I second the usage of Acra. Actually, I can't even think of a good reason not to use it !! Emmanuel / Alocaly http://androidblogger.blogspot.com http://www.alocaly.com On 11 jan, 16:27, Stephan Wiesner wrote: > Tryhttp://code.google.com/p/acra > > If there is a "normal exception" it should be

[android-developers] Re: google analytics jar does not seem to work now

2011-01-22 Thread David Liebman
On Jan 21, 4:21 pm, Alexander Lucas wrote: > Some gotchas: > > 1-  Data isn't guaranteed to show up in Analytics until 24 hours after the > data is submitted to analytics.  It usually shows up earlier, but you should > give it 24 hours (Notice I didn't say a day-  Testing at 11:59 PM and > check

[android-developers] Re: Performance issue with mapview when using large number of items

2011-01-22 Thread ip332
The task is quite common in map drawing applications and the solution is also common: 1. Create a spatial index - two-dimensional matrix where each item represent a cell on the screen. The number of cells/rows could be be calculated from screen/icon proportions. However the size of this index shoul

[android-developers] sending and receiving a file by email

2011-01-22 Thread Pedro Duque
Hi, I'm trying to send a file through email and them open it when it's received on the email. To send the file I use: Intent sendIntent = new Intent(Intent.ACTION_SEND_MULTIPLE); sendIntent.setType("application/vnd.portugalemgrande.clock"); sendIntent.putE

[android-developers] Re: how to remote debug an apk file on the target from the host?

2011-01-22 Thread 捷超 王
anyone could provide a hint? I only want to know is it possible to debug the apk files without having the complete source code in the Eclipse? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-deve

[android-developers] Re: Create Parser for the given JSON

2011-01-22 Thread Ben Dodson
http://developer.android.com/reference/org/json/JSONObject.html#JSONObject(java.lang.String) On Jan 22, 5:44 am, DanH wrote: > A JSON parser is about 500 lines of code -- a few hours work.  (The > encoder is another 250 or so.)  The hard part is parsing numbers per > the JSON spec. > > Or you can

[android-developers] Re: "System" Shared UserId

2011-01-22 Thread Lassarin
All clear! Thank you all! So it is impossible to set "android.uid.system" in a normal SDK app running in a standard Android distribution. On 16 Gen, 06:19, Bob Kerns wrote: > Either --- > > * Build the entire platform yourself, with your own key, and install > the platform, including your app > >

[android-developers] Re: Why does InputMethodManager#showSoftInput return false?

2011-01-22 Thread pulse00
i'm having exactly the same problem. Could not find a solution. Anyone knows what's the problem here? -- 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] Re: Android Development Income Tax Question

2011-01-22 Thread Zsolt Vasvari
I am a US citizen living in Singapore, but my Google Market account is in the US, primarily because when I first started selling my app, Singapore wasn't one of the countries you could sell your app. I suppose I will just file my taxes in the US and forget about Singapore. On Jan 22, 6:29 pm, mot

[android-developers] Re: Android Development Income Tax Question

2011-01-22 Thread Streets Of Boston
I assume you're in the USA. I also assume that the income from selling your app is not your main income. If so, you may be able to declare that as 'income from hobby (non- profit)' http://www.irs.gov/irs/article/0,,id=186056,00.html http://www.irs.gov/pub/irs-pdf/p535.pdf On Jan 20, 3:51 pm, vist

[android-developers] Re: How to detect Face and Smile & Face matching in Android?

2011-01-22 Thread ko5tik
This certainly goes into domain of image processing and shape recognition, and we are working on java image processing and recognition library here: http://sourceforge.net/projects/javaocr/ On Jan 21, 5:02 pm, obie wrote: > hey > > detecting smiles and rectangles is very non-trivial but there i

[android-developers] Re: Using internal Android string resources

2011-01-22 Thread DanH
Yeah, while TPTB have a legitimate reason to object to using any/all of the system translations willy-nilly, it seems like it would be simple and very useful to "harden" a set of the most common stuff -- yes/no, continue/cancel, etc. Minimal effort on the part of TPTB -- just commit to never delet

[android-developers] Re: Create Parser for the given JSON

2011-01-22 Thread DanH
A JSON parser is about 500 lines of code -- a few hours work. (The encoder is another 250 or so.) The hard part is parsing numbers per the JSON spec. Or you can probably find about 50 Java implementations on the net. On Jan 22, 2:45 am, Faheem Khatri wrote: > I want to create parser for the gi

Re: [android-developers] Re: Using internal Android string resources

2011-01-22 Thread Mark Murphy
On Sat, Jan 22, 2011 at 2:32 AM, Brill Pappin wrote: However there are thousands of string in different language value > resources... which is why I say it it would save a heck of a lot of time. Write yourself a script that copies the string resource element from the platform resources into your

[android-developers] supports-screens question

2011-01-22 Thread kernelpanic
I'm using the following but had someone with a 320x240 screen download the app from the market - of course it doesn't work on that small screen. My question is why would someone with a screen that small be able to see the app in the market? any insight appreciated -- You received this messa

[android-developers] Re: getHitRect() returns hit to a different image item in a Customize List

2011-01-22 Thread argongold
Hi Hari Edo, Thanks for your suggestion and finally I managed to adjust the size of getHitRect() in accordance with z-distance and I get precise hit from corresponding image. Regards, argongold On Jan 21, 12:52 am, Streets Of Boston wrote: > I'm not sure if this would help, but you could take a

Re: [android-developers] EXTRA_SHORTCUT_NAME ignored in Android 2.1

2011-01-22 Thread neuron
Did you ever figure this out? I just got a bugreport like this and found this post in google, but not much else on the issue. Bugreporter has a "SE xperia X10i" -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send e

Re: [android-developers] Re: How to set images in screen have different click events on different area

2011-01-22 Thread Faheem Khatri
Can somebody elaborate it more, i didnt understand it yet On Thu, Jan 20, 2011 at 3:13 PM, Faheem Khatri wrote: > Thx I ll check > > On Jan 18, 8:15 pm, viktor wrote: > > you can add OnTouchListener and test area what you want. > > > > or, add layouts onto FrameLayout, where background is your i

Re: [android-developers] Accessing resources or call a method from another app

2011-01-22 Thread Mark Murphy
Call getIdentifier() to get the ID based on name. This is not fast, so if you need an identifier more than once, please cache it. On Sat, Jan 22, 2011 at 2:48 AM, Logan Masten wrote: > Hello again, > Thanks for the input.  I got access to the add-on's resources by using: > Resources r = getPackag

[android-developers] ContentService

2011-01-22 Thread b_t
Hi, I got the following exception very rarely: Caused by: android.os.DeadObjectException at android.os.BinderProxy.transact(Native Method) at android.content.IContentService$Stub $Proxy.getMasterSyncAutomatically(IContentService.java:765) at android.content.ContentResolver.ge

[android-developers] Re: How to investigate a system crash reported by user?

2011-01-22 Thread Mark Carter
The Log2Sd app does what I need. On Jan 11, 10:38 pm, Mark Carter wrote: > For some reason he doesn't see a Report button - though I thought this was > on all 2.2 devices? > > 2011/1/11 Stephan Wiesner > > > > > > > > > Tryhttp://code.google.com/p/acra > > > If there is a "normal exception" it s

[android-developers] Re: Android Development Income Tax Question

2011-01-22 Thread mot12
> The US is the only country in the world that taxes their own citizens > on income earned overseas You probably meant something quite different: The US is the only country in the world that taxes their own citizens having their primary residence in a foreign country. Most countries acknowledge t

Re: [android-developers] Re: Android Development Income Tax Question

2011-01-22 Thread Marcin Orlowski
On 22 January 2011 09:26, Zsolt Vasvari wrote: > The US is the only country in the world that taxes their own citizens > on income earned overseas No. Every country does that. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to thi

[android-developers] Re: Accessing resources or call a method from another app

2011-01-22 Thread Pent
> But as you can see, I have to use the int for the resource and not the > resource id.  Is there a way to reference the resource id instead, or is > this not possible?  Or, would this work just fine with the resource id, but > Eclipse simply reports it as an error. When you put 'R.string.x' in yo

[android-developers] Create Parser for the given JSON

2011-01-22 Thread Faheem Khatri
I want to create parser for the given JSON below, Anyone help me out for this. { "0" : { "Distance" : "7.7364796125473", "LBS_CategoryMaster_ID" : "6", "LBS_POI_Description" : "", "LBS_POI_Latitude" : "24.85251", "LBS_POI_Longitude" : "67.03203", "LBS_POI_Name" : "POI1

Re: [android-developers] Is it possible to create a two-line Toast?

2011-01-22 Thread Bernard T. Higonnet
Kostya Vasilyev wrote: Have you tried "\n"? I should have, because it works. Thanks Bernard Higonnet Oh, and you can use your own layouts for toasts, with separate caption/message areas, if you like. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 22.01.2011 1:04 пользователь "Berna

[android-developers] Re: Android Development Income Tax Question

2011-01-22 Thread Zsolt Vasvari
The US is the only country in the world that taxes their own citizens on income earned overseas On Jan 22, 1:31 pm, argongold wrote: > Hi Guys, > > Better to change your place so that you don't need to pay Income Tax. > > There is no personal income tax system prevail in Kuwait either on > salari

[android-developers] how to remote debug an apk file on the target from the host?

2011-01-22 Thread 捷超 王
Hello, developers~ i have a host which is a ubuntu server containing the complete source code of android OS. I also have a virtual machine running the android OS image file (i.e, it is a target). I would like to do remote single- step debugging on the Browser.apk in order to see how it calls the DN

[android-developers] Re: Soundpool.play() fails, returns 0, Playing From Widget

2011-01-22 Thread Samsyn
This is probably not helpful, but: * did you mean to have the loop value of -1? (infinite looping sound) * can you try triggering the sound later, after the load has had a chance to complete (I believe the sound samples load asynchronously, but cannot be played until the samples are all squared a