[android-developers] Re: Passing arguments to JSON c# .net web service

2010-09-28 Thread titleist
The logcat log: 09-29 06:42:03.480: DEBUG/AndroidRuntime(399): >> AndroidRuntime START << 09-29 06:42:03.490: DEBUG/AndroidRuntime(399): CheckJNI is ON 09-29 06:42:03.920: DEBUG/AndroidRuntime(399): --- registering native functions --- 09-29 06:42:05.740: DEBUG/dalvikvm(

[android-developers] Re: Weird problem with ListView

2010-09-28 Thread Varun Khanduja
Hi John, Although I don't have solution to your problem but I am trying to learn how to make a list view similar to what you have done. I am basically not able to understand how I can get that extra line below the first line in each list item. Do you think you could share sample code or help me ou

[android-developers] Re: Market total install count stopped updating?

2010-09-28 Thread Maps.Huge.Info (Maps API Guru)
You can count on updates once or twice a day. -John Coryat -- 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-devel

[android-developers] Re: Android Localization.

2010-09-28 Thread Bionik
Thank you Mark.. On Sep 28, 7:47 am, Mark Murphy wrote: > On Mon, Sep 27, 2010 at 1:25 AM, Bionik wrote: > > I am beginner in Android and apologize if my question been very > > silly... > > > Actually I am trying to add additional language in Android OS. > > That is not a "beginner in Android"

[android-developers] Re: Error in fbconnect example (trouble processing “javax/net/SocketFactory.class”:)

2010-09-28 Thread rokson
Can any one there to fix this one? On Sep 28, 5:56 pm, rokson wrote: > I am trying to publish into faceboook by usingfbconnect-android sdk. > I am new to android programming. > > I stuck up at the fallowingerror. Please help me out. > > fbconnect-sample]troubleprocessing"javax/net/SocketFactory.c

[android-developers] Re: Problem with image button

2010-09-28 Thread Zarah Dominguez
Try moving the elements in the XML around a bit. Try to think of your selector as a big if-else. - Zarah. On Sep 29, 11:13 am, Vinay wrote: > Dear all, > > Thank you for the suggestions. > > @ Niko, Zahar: Thanks for helping me understand better. > > @nishu: Things seem to be working. The i

[android-developers] Re: what function should i use to control memory in java

2010-09-28 Thread n2v2rda2
thank you On 9월29일, 오후12시52분, DanH wrote: > And it should be noted that all storage is pre-zeroed. You don't need > to clear an array, eg, after you allocate it. > > For copying arrays from one place to another you can use > System.arraycopy(). > > On Sep 28, 9:12 pm, n2v2rda2 wrote: > > > im n

[android-developers] Market total install count stopped updating?

2010-09-28 Thread mjmeyer
I released an app a few days ago and saw the total & active install count start moving pretty much immediately. However, over the last day or so it seems to have stalled. Judging from the ad metrics from AdMob over the same period though I'm pretty sure it's getting more downloads. Does anyone ha

[android-developers] Re: New countries for paid apps! Maybe Ireland will be included??

2010-09-28 Thread gjs
Hi, That just looks like more speculation, I haven't seen any 'official' announcements yet... Regards On Sep 29, 4:07 am, Denis Souza wrote: > Just saw > this:http://forum.samdroid.net/f15/google-brings-paid-apps-13-more-countri... > > Today Google finally announced that paid apps are now avai

Re: [android-developers] Re: Viewing app features (MIME types, etc)

2010-09-28 Thread Dianne Hackborn
You don't need something that works on the phone. Just pull the .apk you are interested in and run aapt on that. Or use the package manager APIs. Or use the Intent flag to turn on the resolver log debug output to see how it is matching the intent you are trying to launch against the possible tar

Re: [android-developers] Looper.prepare() question

2010-09-28 Thread chetan achar
hi, The problem with this is ur trying to do some manipulations in the thread which is not allowed hence create a handler and just pass an empty message from th thread to the handler, where u can write ur code. Thus avoiding the exception of looper.prepare() -- You received this message because

[android-developers] Re: what function should i use to control memory in java

2010-09-28 Thread DanH
And it should be noted that all storage is pre-zeroed. You don't need to clear an array, eg, after you allocate it. For copying arrays from one place to another you can use System.arraycopy(). On Sep 28, 9:12 pm, n2v2rda2 wrote: > im newbie in java and android > > in c, c++  , there are many me

[android-developers] Re: Problem with image button

2010-09-28 Thread Vinay
Dear all, Thank you for the suggestions. @ Niko, Zahar: Thanks for helping me understand better. @nishu: Things seem to be working. The image does change when fouced. BUT preseed state still doesn't seem to be reflecting. This test was carried out on the emulator. The changes can be noticed only

[android-developers] what function should i use to control memory in java

2010-09-28 Thread Nam Ngo
You can try using ndk if you are familiar with C++. BR, Nam On Tue, 2010-09-28 at 19:12 -0700, n2v2rda2 wrote: > im newbie in java and android > > in c, c++ , there are many memory-contorl-function like - > memset,memcpy,sprintf > i want to use those function in java > > what and how should

[android-developers] Re: what function should i use to control memory in java

2010-09-28 Thread Bret Foreman
First, you don't normally have to manipulate raw memory addresses in Java. There are classes like String, byte[], char[], and so forth. There are also List classes for managing arrays of things. All these classes have many methods that make manipulation of particular pieces of memory simple. Second

[android-developers] tool to change ddx to java

2010-09-28 Thread cindy
Is there any tool we can convert ddx file to java? Thanks! April -- 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 androi

[android-developers] what function should i use to control memory in java

2010-09-28 Thread n2v2rda2
im newbie in java and android in c, c++ , there are many memory-contorl-function like - memset,memcpy,sprintf i want to use those function in java what and how should i use ? please warm answer -- You received this message because you are subscribed to the Google Groups "Android Developers" gr

[android-developers] Re: Viewing app features (MIME types, etc)

2010-09-28 Thread DanH
What I'm interested in mostly is figuring out why certain apps already installed on the phone that are supposed to be "listening" for certain file types don't seem to be doing so. So I need something that works on the phone, on any app, not just my own. It looks like I MIGHT be able to muddle my

[android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread DanH
Yeah, I've never played with split, and the documentation is less than helpful, but it may be that it's necessary to use ".*\t" or some such. (Regex has always made my head hurt.) On Sep 28, 3:18 pm, Filip Havlicek wrote: > Hi, > > with regexps you can pretty much start > herehttp://download.or

[android-developers] Weird problem with ListView

2010-09-28 Thread John Gaby
I have a ListView which presents a table of items. The table is supposed to look like: http://gabytest.com/images/good.png but if I scroll around a bit, I sometimes see: http://gabytest.com/images/bug.png Now this only seems to happen when I run the program on an actual device (Motorola Droid

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
If anyone has time please try to help me out. Thanks, I looked into some examples but really found it hard to see how I can have the custom adapter runnning. Thanks On Sep 28, 12:42 pm, Varun Khanduja wrote: > Ohh ok.Thanks. the format is changing in the sense that one of the > format is having a

Re: [android-developers] Viewing app features (MIME types, etc)

2010-09-28 Thread Dianne Hackborn
aapt dump xmltree AndroidManifest.xml Or if you have it running in the system, you can use PackageManager to interrogate most of the stuff the system knows about it. On Tue, Sep 28, 2010 at 4:22 PM, DanH wrote: > Is there any way (and preferably a pre-existing tool) to view the > external feat

Re: [android-developers] Re: Application closed unexpectly Toast wont display anything

2010-09-28 Thread Miguel Morales
What does your logcat say when it crashes? On Tue, Sep 28, 2010 at 2:50 PM, TreKing wrote: > On Tue, Sep 28, 2010 at 4:46 PM, Gold wrote: >> >> I tried my debugger after that only i post here..! >>  but still i didnt get anything..! > > If you didn't get a stack trace, a line where the problem i

[android-developers] Re: The deadly SQLite error 19

2010-09-28 Thread Bret Foreman
That's it! Eagle-eye Murphy strikes again! -- 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...

Re: [android-developers] The deadly SQLite error 19

2010-09-28 Thread Mark Murphy
Are you sure your uid value is unique? That's the only constraint on your table. On Tue, Sep 28, 2010 at 7:32 PM, Bret Foreman wrote: > I knew it was bound to happen eventually. I'm getting the deadly > SQLite error 19 "constraint failure" when trying to do an > insertOrThrow. Here's the string t

[android-developers] The deadly SQLite error 19

2010-09-28 Thread Bret Foreman
I knew it was bound to happen eventually. I'm getting the deadly SQLite error 19 "constraint failure" when trying to do an insertOrThrow. Here's the string that creates the table: protected static final String dbColUid = "UID"; protected static final String dbColParentName = "paren

[android-developers] Viewing app features (MIME types, etc)

2010-09-28 Thread DanH
Is there any way (and preferably a pre-existing tool) to view the external features of an app, in particular the MIME types an activity supports? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-d

[android-developers] Re: VerifyError reloaded

2010-09-28 Thread Dirk
Hej fadden, I only have a glance of what might be wrong, but I'll post that bug (and your comment) on the Android bug list. Thank you very much, I'll really appreciate this ! Cheers Dirk On 28 Sep., 22:53, fadden wrote: > On Sep 28, 11:28 am, Dirk wrote: > > > Before filing a bug, I would feel

[android-developers] Re: Is anyone's active install % INCREASING lately?

2010-09-28 Thread JonFHancock
It was. I went up from 33% to 42%. Now I'm back down to 39%. On Sep 28, 9:39 am, TreKing wrote: > On Tue, Sep 28, 2010 at 11:36 AM, Doug wrote: > > I wonder if this market stat is finally "fixed", or at least correcting > > itself over time. > > Yup, slowly but surely creeping up over the last

[android-developers] Re: LVL -- where to specify params for Server policies?

2010-09-28 Thread JonFHancock
I have modified the ServerManagedPolicy.java. I doubt that it is the correct way to do it, but it works. On Sep 28, 11:23 am, DulcetTone wrote: > I do not see within the LVL documentation and example app who/what/ > where you specify the frequency with which license checks must be > performed. >

Re: [android-developers] What'll happen if I don't call Looper.quit()?

2010-09-28 Thread Dianne Hackborn
2010/9/28 Kostya Vasilyev > 2Dianne: until the process is terminated, right? > Correct, when your process goes away it... well, goes away, including the threads running in it. > Or does Android check for existing Looper objects when considering a > process for termination? > The decision about k

Re: [android-developers] Re: Application closed unexpectly Toast wont display anything

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 4:46 PM, Gold wrote: > I tried my debugger after that only i post here..! > but still i didnt get anything..! > If you didn't get a stack trace, a line where the problem is occurring, or the exact exception that is causing your program to crash, you're not using your deb

[android-developers] Re: Application closed unexpectly Toast wont display anything

2010-09-28 Thread Gold
Hi.. I tried my debugger after that only i post here..! but still i didnt get anything..! thanks, gold On Sep 29, 2:40 am, TreKing wrote: > On Tue, Sep 28, 2010 at 4:38 PM, Gold wrote: > > Here I attached my code..! > > OK, seriously now? Not only is this y

Re: [android-developers] Marketplace updates - notified if apk not installed through marketplace?

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 4:16 PM, Prakash Iyer wrote: > Not seen issue 2. Just to sanity check myself, I looked around and there's a bug report for it. Last commenter says it's happening on N1 with Froyo. http://code.google.com/p/android/issues/detail?id=3829&q=market%20notification%20wrong%20c

Re: [android-developers] Application closed unexpectly Toast wont display anything

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 4:38 PM, Gold wrote: > Here I attached my code..! OK, seriously now? Not only is this your 3rd post in like an hour with the same issue, you've managed to provide even less information than the first time around. For the third time, USE YOUR DEBUGGER. -

[android-developers] Application closed unexpectly Toast wont display anything

2010-09-28 Thread Gold
Hi.. Here I attached my code..! package com.gps; import android.app.Activity; import android.content.Context; import android.location.Location; import android.location.LocationListener; import android.location.LocationManager; import android.os.Bundle; import android.util.Lo

Re: [android-developers] Free version or not?

2010-09-28 Thread Greg Donald
On Tue, Sep 28, 2010 at 3:34 PM, Darrin Smith wrote: > I have an application that I think is about two weeks or so from being ready > to ship. I plan to charge for the app because I really believe many people > will find it of value. The thing is how to go about getting the word out > about it. >

Re: [android-developers] Re: New countries for paid apps! Maybe Ireland will be included??

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 3:47 PM, Moto wrote: > The issue is mostly that spammers put a trillion of the same applications > on the Market... So that takes away from us the beauty of the Just In > feature... :( > All they need to do extend the mark-comment-as-spam feature (which hides a comment fr

[android-developers] Free version or not?

2010-09-28 Thread Darrin Smith
I have an application that I think is about two weeks or so from being ready to ship. I plan to charge for the app because I really believe many people will find it of value. The thing is how to go about getting the word out about it. What do you typically do when releasing a new application? Do y

Re: [android-developers] Marketplace updates - notified if apk not installed through marketplace?

2010-09-28 Thread Prakash Iyer
I have definitely seen the first issue, at least on 2.1. Seems like the notification pops up only when I run the Market - don't have to check for anything but the very act of running the Market seems to trigger a check on the number of updates available. This seems to be the case on 2.2 as well at

Re: [android-developers] Re: Display Latitude On button Click;

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 4:06 PM, Gold wrote: > Thanks, But where can i get GPS location..! Ah, well that's a completely different question, now ain't it? =P See Bret's link. - TreKing

[android-developers] Re: Null Pointer exception in Location Manager

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 4:09 PM, Gold wrote: > hi.. > > No , still i am checking, Now while loading home > screen itself thorw the error > "The application stopped unexpectly" in log also i get same error null > pointer exception > > > thanks & warm regards, > gold > A) Please respond to the g

[android-developers] Re: Display Latitude On button Click;

2010-09-28 Thread Bret Foreman
Read about the LocationManager: http://developer.android.com/reference/android/location/LocationManager.html -- 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 unsub

[android-developers] Re: Display Latitude On button Click;

2010-09-28 Thread Gold
HI., Thanks, But where can i get GPS location..! Cheers, Rubinah On Sep 29, 2:03 am, TreKing wrote: > On Tue, Sep 28, 2010 at 3:58 PM, Rubin wrote: > > How can I display latitude on button click. > > public void onClick(View v) > { >  Log.e(theLatitude); > > } > > -

Re: [android-developers] Re: Null Pointer exception in Location Manager

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 4:00 PM, Gold wrote: > If i click redbutton I need to display latitude > if i click greenbutton i need to display longitude > OK. Does this mean you fixed your null pointer problem? > How can i did that..! please give any solution..! > Do what? Solution to what? Clic

Re: [android-developers] Display Latitude On button Click;

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 3:58 PM, Rubin wrote: > How can I display latitude on button click. public void onClick(View v) { Log.e(theLatitude); } - TreKing

Re: [android-developers] Re: Timer + App updated

2010-09-28 Thread Kostya Vasilyev
You might have better luck with AlarmManager. Using Java Timer objects is unreliable even without package updates, since Android can terminate your application's process. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 29.09.2010 0:17 пользователь "Will" написал: Thanks Treking, but as you

[android-developers] Re: Null Pointer exception in Location Manager

2010-09-28 Thread Gold
Hi,, If i click redbutton I need to display latitude if i click greenbutton i need to display longitude How can i did that..! please give any solution..! On Sep 29, 1:44 am, Kostya Vasilyev wrote: > Your code doesn't seem to assign any values to redbtn and gr

Re: [android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread Filip Havlicek
Hi, with regexps you can pretty much start here http://download.oracle.com/javase/1.4.2/docs/api/java/util/regex/Pattern.html#sumand if you have more questions, investigate further (just search for regexp and it will return a lot of results). Best regards, Filip Havlicek 2010/9/28 john brown >

[android-developers] Re: trying to get checkbox and image in same line

2010-09-28 Thread Wall-E
TreKing, you're my savior. Not calling findViewById() using the view I just inflated was the problem. On Sep 28, 4:33 pm, TreKing wrote: > On Tue, Sep 28, 2010 at 3:22 PM, Wall-E wrote: > > Am I on the right track in terms of having to inflate the layout first? > > Yes. > > > If so, is there a

[android-developers] Display Latitude On button Click;

2010-09-28 Thread Rubin
Hi., How can I display latitude on button click. Cheers, Rubinah -- 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

Re: [android-developers] Re: Null Pointer exception in Location Manager

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 3:49 PM, Gold wrote: > While clicking the button1 that is Step through the debugger through this point and inspect the values of your variables in the click listener. This will tell you exactly what's null in there. --

[android-developers] Re: VerifyError reloaded

2010-09-28 Thread fadden
On Sep 28, 11:28 am, Dirk wrote: > Before filing a bug, I would feel much better if someone else could > have a look and approve that there's really something not working as > it should. It's a bug in the verifier. Specifically, dvmCheckSwitchTargets is treating the switch table offset as a 16-b

[android-developers] Re: Null Pointer exception in Location Manager

2010-09-28 Thread Gold
Hi.. While clicking the button1 that is redbtn.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) {

Re: [android-developers] Null Pointer exception in Location Manager

2010-09-28 Thread Kostya Vasilyev
Your code doesn't seem to assign any values to redbtn and greenbtn. Then you call methods on these objects - perhaps they are still Null at that point? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 29.09.2010 0:34 пользователь "Gold" написал: Hi..All, I need to disply

[android-developers] Re: LVL licensing and versioning question

2010-09-28 Thread Bret Foreman
My understanding is that you test for a valid server response in your code. So if you're not testing in the old code, it will run fine. -- 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@

[android-developers] Re: New countries for paid apps! Maybe Ireland will be included??

2010-09-28 Thread Moto
> Yeah.. I got it alsobut I really hope they are doing something to > reduce the impact of "Spam Apps" at the same time. I really do hope that that issue gets resolved soon! But not sure if it will during this type of update... > My very simple idea to reduce the impact "Spam Apps" have on t

Re: [android-developers] Re: Null Pointer exception in Location Manager

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 3:41 PM, Gold wrote: > 09-29 02:09:46.636: ERROR/AndroidRuntime(2995): Caused by: > java.lang.NullPointerException > 09-29 02:09:46.636: ERROR/AndroidRuntime(2995): at > com.sample.test.Home.onCreate(Home.java:38) > Now which part of your code is at line 38?

[android-developers] Re: Null Pointer exception in Location Manager

2010-09-28 Thread Gold
Hi..Sorry, Herewith I attached Logcat trace..! 09-29 02:09:42.266: DEBUG/AndroidRuntime(2979): >> AndroidRuntime START << 09-29 02:09:42.276: DEBUG/AndroidRuntime(2979): CheckJNI is ON 09-29 02:09:42.536: DEBUG/AndroidRuntime(2979): --- registering native

Re: [android-developers] Null Pointer exception in Location Manager

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 3:33 PM, Gold wrote: > I tried but it will show Null pointer exception. Where? What's the stack trace? - TreKing - Chicag

Re: [android-developers] Re: trying to get checkbox and image in same line

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 3:22 PM, Wall-E wrote: > Am I on the right track in terms of having to inflate the layout first? > Yes. > If so, is there a reason why it's returning null when I try to access the > ImageView and if so how can I fix it? > First guess: here ImageView lightbulbImageView

[android-developers] Null Pointer exception in Location Manager

2010-09-28 Thread Gold
Hi..All, I need to disply current Position latitude and logintude .. I tried but it will show Null pointer exception.. here with i attached my code... please help me to solve this problem.. I run this application on android emulator import android.app.Activity; import android

[android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread DanH
You might want to try using \u0009 instead of \t for the tab character. And, of course, make sure your source really contains tab characters and some process hasn't expanded them to blanks. On Sep 28, 12:06 pm, john brown wrote: > Hello, > > My understanding of String.split() and "\t" and "\n" s

Re: [android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread Kostya Vasilyev
... and since the backslash is a special character in Java, too, you need to escape it in the source code, so it makes it into the string seen by split(). Java source: "\\t" Compiler replaces "\\" with "\", so split() sees: "\t" which means tab in regex grammar. -- Kostya Vasilyev -- http://k

[android-developers] Re: trying to get checkbox and image in same line

2010-09-28 Thread Wall-E
Ok, so it seems like I'm taking two steps forwards and 1 step back but hopefully I'm just about there. So I decided to create a custom RelativeLayout with an ImageView that I add a custom checkbox to. All seems to work well except now when I try to access the ImageView using the following code:

[android-developers] Re: Timer + App updated

2010-09-28 Thread Will
Thanks Treking, but as you though, it doesn't work. Does someone has another idea ? Thanks On 27 sep, 23:07, TreKing wrote: > On Mon, Sep 27, 2010 at 3:07 PM, Will wrote: > > Is there an event to catch the "App updated" ? I searched, tried, but > > nothing. > > http://developer.android.com/ref

Re: [android-developers] What'll happen if I don't call Looper.quit()?

2010-09-28 Thread Kostya Vasilyev
2Dianne: until the process is terminated, right? Or does Android check for existing Looper objects when considering a process for termination? -- Kostya Vasilyev -- http://kmansoft.wordpress.com 28.09.2010 23:46 пользователь "Dianne Hackborn" написал: Your thread will never exit -- it will rem

Re: [android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread Dianne Hackborn
On Tue, Sep 28, 2010 at 1:01 PM, john brown wrote: > I think I can work out of this problem but I would like to understand > this subject better if anybody can shed any light in this direction. > split takes a regexp, so you need to write the input as a valid regexp string, such as escaping any s

[android-developers] Re: When device in portrait and the app Landscape Forced Crashes

2010-09-28 Thread Kumar Bibek
Show some code. Or the logcat. That will help figuring out the problem. -Kumar Bibek http://techdroid.kbeanie.com On Sep 27, 5:48 am, joao wrote: > Hi, > I made an app thats use the camera. > The first problem i get was that i can't use portrait preview without > the rotation 90º image. > I used

[android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread john brown
Oops! The \\ actually did work. It just let me get further into my code where I discovered "other errors". I think I can work out of this problem but I would like to understand this subject better if anybody can shed any light in this direction. Thanks, John Brown On Sep 28, 1:54 pm, TreKing w

[android-developers] Programmatically resizing a custom view?

2010-09-28 Thread ClarkBattle
I am trying to programmatically resize a custom view in android. The custom view contains a Button and an EditText in a LinearLayout. I want to make several instances of this custom view and alter the width of each one slightly narrower than the last so that they overlap each other. At what point c

Re: [android-developers] String.split("\t") results vary with source of string

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 12:06 PM, john brown wrote: > What is the error in my understanding of the split() method? I don't have an actual answer for you, but I ran into the same issue where I was trying to parse a server response string delimited by the pipe and it failed miserably, as you've se

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
Ohh ok.Thanks. the format is changing in the sense that one of the format is having a header to the same list items, another format is having check boxes on left and another format is having two lines in the same row for every list item. Thanks On Sep 28, 12:32 pm, Kumar Bibek wrote: > > > > > >

[android-developers] SDK 8 - Can't run adb logcat and Eclipse debugger at the same time

2010-09-28 Thread Bret Foreman
I upgraded to SDK version 8 and now I'm unable to run adb logcat and the Eclipse debugger at the same time. The console message in Eclipse (just after I run adb logcat) is: [2010-09-28 12:29:26 - DeviceMonitor]Adb connection Error:An existing connection was forcibly closed by the remote host [2010

[android-developers] Re: String.split("\t") results vary with source of string

2010-09-28 Thread john brown
Well, I thought I found the answer at a Java site. It said if you use the | it must be \\'ed then it will work. It looked like a solution but when I tried it I got the same results.         strFields = strRecords[i].split("\\|"); With the |'s, strRecords[i] looks like: R|2251|1|15,008.05|250|Map

[android-developers] Re: separate views list view

2010-09-28 Thread Kumar Bibek
> > > > > 4 different formats and when the user clicks on any of the 4 buttons > > > > > they get the formats they had requested. On Sep 29, 12:28 am, Varun Khanduja wrote: > Sorry this may sound silly, but I am not really sure what you mean by > "which format I am trying to use? " Thanks > > O

Re: [android-developers] how to telnet in Eclipse

2010-09-28 Thread Mark Murphy
On Tue, Sep 28, 2010 at 3:29 PM, cellurl wrote: > About once a day, I get this message. I reboot and it goes away. Its > time I figure it out > java.net.UnknownHostException:  Host is unresolved www.wikispeedia.org:80 > > I found this. > http://developer.android.com/guide/developing/tools/emul

Re: [android-developers] What'll happen if I don't call Looper.quit()?

2010-09-28 Thread Dianne Hackborn
Your thread will never exit -- it will remain in Looper.loop(), because you never told it to quit out of the loop. On Tue, Sep 28, 2010 at 3:43 AM, Kakyoin wrote: > Hi. > > Allow me to make another thread exclusively for this. I'm sure other > dev would want to know as well. > > According to the

[android-developers] how to telnet in Eclipse

2010-09-28 Thread cellurl
Hi, About once a day, I get this message. I reboot and it goes away. Its time I figure it out java.net.UnknownHostException: Host is unresolved www.wikispeedia.org:80 I found this. http://developer.android.com/guide/developing/tools/emulator.html#networkinglimitations which says to do these

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
Sorry this may sound silly, but I am not really sure what you mean by "which format I am trying to use? " Thanks On Sep 28, 11:48 am, Kumar Bibek wrote: > You are using the ArrayAdapter here. You have to use a custom adapter > which extends the ArrayAdapter or the BaseAdapter. Also, what format >

Re: [android-developers] Marketplace updates - notified if apk not installed through marketplace?

2010-09-28 Thread TreKing
On Tue, Sep 28, 2010 at 1:54 PM, Dianne Hackborn wrote: > Don't know what you mean about this rarely working, I am not aware of an > issue there, and do get notifications all the time for apps installed on my > phone. There are two issues I've noticed with notifications. First, the notifications

Re: [android-developers] Marketplace updates - notified if apk not installed through marketplace?

2010-09-28 Thread Dianne Hackborn
Notifications are only shown for apps installed through Market. (Don't know what you mean about this rarely working, I am not aware of an issue there, and do get notifications all the time for apps installed on my phone. Though less now that I have many to auto-install.) As long as the app on ma

Re: [android-developers] How to draw a curve connecting three points?

2010-09-28 Thread David Erosa García
On Tue, Sep 28, 2010 at 4:47 PM, Kostya Vasilyev wrote: >  Beziers are defined by four points, and OP has three. > D'oh! I answered too fast. cubicTo adds the other three points... Sorry. > A circle, on the other hand, is completely defined by three points (except > in degenerate cases: points on

[android-developers] Re: LVL licensing and versioning question

2010-09-28 Thread MarcoAndroid
Anybody figured this out? In short: if you use the LVL, and you upgrade your app to a new version, will users with the old version still be granted access (seen as LICENSED or LICENSED_OLD_KEY) to the app w/o the need for upgrading? And, can this be tested before publishing for test- accounts? -

[android-developers] Re: separate views list view

2010-09-28 Thread Kumar Bibek
You are using the ArrayAdapter here. You have to use a custom adapter which extends the ArrayAdapter or the BaseAdapter. Also, what format are you trying to change? If you can give me an example, I can help you with that. -Kumar Bibek http://techdroid.kbeanie.com On Sep 28, 11:39 pm, Varun Khandu

[android-developers] Re: separate views list view

2010-09-28 Thread Varun Khanduja
Hi Kumar, Thanks for the response. I think I am using custom adapter. Do you have an example or some resource where i can see how to define this method? Do you think I need on click event handlers? Was sort of confused when checking google documentation. Thanks for guidance. package com.varun.Hel

[android-developers] Re: VerifyError reloaded

2010-09-28 Thread Dirk
Hi, thanks for the replies and sorry for the delay, it took me some time to extract the application part which throws the VerifyError. Sure you can have access to the APK and to the sources as well - if they are of any need. The APK can be found here: http://vsis-www.informatik.uni-hamburg.de/proj

[android-developers] Re: separate views list view

2010-09-28 Thread Kumar Bibek
If you are using a custom adapter, you can have a method wherein you specify a method to change the format of the ListView. Through this event, you can change the dataset of the ListView and ask the list view to reload all these items. Thats should serve the purpose. -Kumar Bibek http://kbeanie.co

[android-developers] Ending a Thread Safely

2010-09-28 Thread Nam Ngo
Hi Stuart, Can you determine whether the life cycle of the thread is bound to which? The SurfaceView or the Activity, I think the common control should have a callback to let you know that its life cycle is come to an end (onDestroyed or onSurfaceDestroyed), you can try to join the Thread at that

[android-developers] Re: VerifyError reloaded

2010-09-28 Thread Dirk
Hi, thanks for the replies and sorry for the delay, it took me some time to extract the application part which throws the VerifyError. Sure you can have access to the APK and to the sources as well - if they are of any need. The APK can be found here: http://vsis-www.informatik.uni-hamburg.de/proj

[android-developers] LVL -- where to specify params for Server policies?

2010-09-28 Thread DulcetTone
I do not see within the LVL documentation and example app who/what/ where you specify the frequency with which license checks must be performed. I would expect that we could just new up a ServerManagedPolicy and set these parameters on it. Are we intended to modify the actual file ServerManagedPo

Re: [android-developers] Run service in different intervals

2010-09-28 Thread Agus
use AlarmManager. On Tue, Sep 28, 2010 at 11:15 AM, Bhavya Siddappa wrote: > Hi, > > > > Is their way to start a service at a particular timestamp for a specific > interval & then start it again in the next timestamp? > > Scenario: > > Start the service at 6.00 am IST till 7.00 am IST and again s

[android-developers] Run service in different intervals

2010-09-28 Thread Bhavya Siddappa
Hi, Is their way to start a service at a particular timestamp for a specific interval & then start it again in the next timestamp? *Scenario: * Start the service at 6.00 am IST till 7.00 am IST and again start it at 3.00 pm IST Thanks, - Bhavya -- You received this message because you a

Re: [android-developers] browse picture gallery

2010-09-28 Thread Nam Ngo
Hi Zeeshan, In Android, we have a Gallery as native app, you can try to send the Intent.ACTION_GET_CONTENT to get the picture, This is the sample code: Intent i = new Intent(Intent.ACTION_GET_CONTENT); i.setDataType("image/*"); startActivityForResult(i) and in onActivityResult, we will get an i

Re: [android-developers] Ending a Thread Safely

2010-09-28 Thread Nam Ngo
Hi Stuart, Can you determine whether the life cycle of the thread is bound to which? The SurfaceView or the Activity, I think the common control should have a callback to let you know that its life cycle is come to an end (onDestroyed or onSurfaceDestroyed), you can try to join the Thread at that

[android-developers] Re: New countries for paid apps! Maybe Ireland will be included??

2010-09-28 Thread Denis Souza
Just saw this: http://forum.samdroid.net/f15/google-brings-paid-apps-13-more-countries-2483/ Today Google finally announced that paid apps are now available in Argentina Belgium Brazil Finland Hong Kong Israel Mexico Poland Romania Russia, Slovakia Singapore and South Africa. Sweden and Hungar

[android-developers] separate views list view

2010-09-28 Thread Varun Khanduja
Hello, I was trying to see if anyone could guide me about some keywords or approach I should take to achieve a certain task on Android. I have 4 buttons, below these buttons is a list view. This list view is having 4 different formats and when the user clicks on any of the 4 buttons they get the f

[android-developers] Re: logging into youtube from android

2010-09-28 Thread Kumar Bibek
I am not very sure. This code works fine for me. Error connecting with login URI I guess, is probablty because of not having the internet permission. If you already have that, I have no idea. -Kumar Bibek http://techdroid.kbeanie.com On Sep 27, 2:17 am, android_developer wrote: > I am trying to

[android-developers] Re: Installation Issue

2010-09-28 Thread Kumar Bibek
The default installation just installs the required files and tools for Android. To start off, you should download atleast one SDK version. In your eclipse, go to Android SDK manager. You will have an option there to install all the versions of the SDK. -Kumar Bibek http://kbeanie.com On Sep 27,

[android-developers] Re: How to draw a curve connecting three points?

2010-09-28 Thread Kumar Bibek
I guess, you would probably want to create a simple curve fitting algo for your case, as far as I can understand. -Kumar Bibek http://kbeanie.com On Sep 28, 9:02 pm, Kostya Vasilyev wrote: >   Once you've specifically chosen to have a circle, as the OP did, it's > completely defined by three poi

  1   2   >