Re: [android-developers] Re: somebody stole our app and resell it on the market.

2010-09-09 Thread Fabrizio Giudici
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 9/10/10 01:54 , William Ferguson wrote: > OK, > > firstly deploying your app without obfuscating the code was a > mistake. But now that its happened why do you think someone who is > selling a paid version of your app and who will have a hard time

[android-developers] setPositiveButton listener is called multiple times when button is repeatedly clicked (very fast).

2010-09-09 Thread Vibhor Mahajan
Hello All, Below code is executed on a button click in my application. new AlertDialog.Builder() .setTitle("Test") .setMultiChoiceItems(items, state, new DialogInterface.OnMultiChoiceClickListener() { public void onClick(DialogInterface dialog, int whichButton, boolean isChecked) { //ToDo:

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread Tez
FYI I am a scientific programmer for a european university. We are doing work on Android security. We have a research hypothesis that can be proved valid if we solve the above stated problem. This work is on a deadline. And one entire chain of work will be regarded as discarded/valid based on this.

[android-developers] Re: How to handle Home Key in our Activity

2010-09-09 Thread Paul Turchenko
+1 On Sep 9, 9:58 pm, TreKing wrote: > On Wed, Sep 8, 2010 at 10:50 PM, AnnuDroid wrote: > > How to handle Home keyPlzz Help me out > > Plzz take two seconds to spell "please" correctly. > > > I want the Answer. > > 42. > > > No one in this Blog has any idea how to handle it. > > This is

Re: [android-developers] json

2010-09-09 Thread TreKing
On Fri, Sep 10, 2010 at 12:17 AM, vineeshkc wrote: > pls help for reteriving data from the webserver usin json http://www.catb.org/esr/faqs/smart-questions.html - TreKing

[android-developers] Re: GeoCoding Problems

2010-09-09 Thread Droid
I had with same problem with my App in that some geocoder returns are empty. I can suggest two solutions 1) Do try catch exceptions that traps a null and then starts the method again (which it will do until it gets a result). Seems to work for me. 2) The results come back thick and fast so use a

[android-developers] How to prevent a service from being restarted by the system...

2010-09-09 Thread sdphil
>From what I can tell -- if you return START_NOT_STICKY from Service.onStartCommand(...), the system should not restart a service if it crashes. However, I'm not seeing that behavior -- any ideas on what could be restarting the service? tia. -- You received this message because you are subscrib

Re: [android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread TreKing
On Thu, Sep 9, 2010 at 2:36 PM, DanH wrote: > In the case of something like Monkey, the need to meet an internal demo > date would be valid cause for "urgent", in my opinion. > Yes - to person with the deadline, sure this would seem urgent. To the rest of us on this volunteer list? Not so much.

[android-developers] some time my Phone state receiver not receiving any broadcast message wot to do

2010-09-09 Thread A N K ! T
i have create a receiver which receive on phone state change i have register it in xml by "android.intent.action.PHONE_STATE" but some time it dont receive any broadcast message log mesages are::: 09-10 11:20:36.968: WARN/ActivityManager(74): Timeout of broadcast BroadcastRecord{43347258 andro

[android-developers] Switching font

2010-09-09 Thread Jon mailinglists
Hi all I want to switch font in my application, and I of course want to use the same font in every text element. The only way I've found out how to do it is to pull out each textview/button/edittext/... in java and do: TextView txt = (TextView) findViewById(R.id.custom_font); Typeface font

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-09 Thread Jonas Petersson
On 09/10/2010 08:10 AM, metal mikey wrote: My hypothesis is that since instructions came out as to how to setup the emulator with Android Marketplace, spammers/weirdos have used tons of gmail accounts to download Apps then uninstall them with the intent of throwing stats off. I have not clue wh

[android-developers] Can android support more than one sdcard?

2010-09-09 Thread Nikkea Dong
Hey Guys, Is there anyone tell me android support more than one sdcard? How to add one more sdcard by coding? Thanks, Nikki -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-develope

[android-developers] Random ClassCastException in Stress testing

2010-09-09 Thread ankita.nhst
Hello All, I have a ListActivity with the custom ListAdapter. On clicking a button in rowlayout of list item I get a custom dialog with a couple of buttons. Since the Custom dialog carries same buttons and should not be created again and again even if the user clicks on several buttons of list ite

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-09 Thread metal mikey
My hypothesis is that since instructions came out as to how to setup the emulator with Android Marketplace, spammers/weirdos have used tons of gmail accounts to download Apps then uninstall them with the intent of throwing stats off. On Sep 10, 3:05 pm, "dah...@gmail.com" wrote: > Same here. > >

[android-developers] json

2010-09-09 Thread vineeshkc
pls help for reteriving data from the webserver usin json -- 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-develop

Re: [android-developers] how to maintain consistent UI over multiple versions of Android OS skinned by carriers and hardware manufacturers

2010-09-09 Thread Dianne Hackborn
Sorry, no, if you use platform widgets you will get widgets that match the platform. That is generally what you want. That said, the *dimensions* of the widgets should not change. If a manufacturer does that, they should fix it. On Thu, Sep 9, 2010 at 3:00 PM, NewB wrote: > Hello All! > > I w

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-09 Thread dah...@gmail.com
Same here. Active install drops a lot since last update last week. Not any response until now. Not know what happened. On Aug 27, 1:05 am, niko20 wrote: > My apps as well > > My main core app was at 55% and now over the last few weeks it's > dropped down to 43% as of this writing. My second app

[android-developers] Re: OpenGL - 3D rotation from a 2D input

2010-09-09 Thread Robert Green
To switch to ES - Create an array of verts and normals and use those to replace the immediate mode drawing. You will need to replace the GLU sphere and torus creation with perhaps a known algorithm to create them - or if you can find a glut es implementation of those that would work too. On Sep

Re: [android-developers] Re: How to send a string to server

2010-09-09 Thread Miguel Morales
No, breaking it into two arrays will not help you. I haven't done this myself, but I THINK what you'll want to do is use a BufferedWriter or something similar. In any case, you'll HAVE to buffer your data and send it in chunks. HTTP supports this quite well. Take a look at some BufferedWriter t

[android-developers] Re: How to send a string to server

2010-09-09 Thread TheSeeker
yes, i had a mismach, thanks. But i still have the same problem with time(1 min ) and GC. Create 2 or more array instead of the big one will solve the problem with time? On Sep 8, 5:47 pm, Frank Weiss wrote: > Looks bad, very bad. > > First, I have no idea why you're allocating 1.8 MB (remember t

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread Tez
@TrekIng - thanks for your professional opinion. You have admitted that you have not used monkey yet you make the claim that having trouble with it is not urgent. Did you base this on your previous "monkey experience"? I don't have time to sit arguing here. Anyone who knows the solution or has wo

Re: [android-developers] Widget Layout Help Please

2010-09-09 Thread Tommy Hartz
Right I under stand that its a grid layout but my Icon is taking up 2 - 3 grid spacesHTC Aria shows you the grid space and mine is massive 2010/9/9 Kostya Vasilyev > Home screen Widgets are laid out on a grid, so no matter how compact you > make your layout, it won't get any closer to other

[android-developers] Re: somebody stole our app and resale it on the market.

2010-09-09 Thread JP
On Sep 9, 3:31 pm, billconan wrote: > i hate the slow java, Not sure what your problem is. Performs just fine for my needs. > i hate the slow (and buggy) eclipse, See above > i hate the slow emulator. Yeah it's slow. Use a fast device for actual work and fall back on the emulator to find out h

[android-developers] Re: Background Service to recode different activities and upload on server

2010-09-09 Thread Chris Stratton
You can't - an explicit design decision because it would be a gross invasion of privacy. If you wanted to do it with the user's consent they would need to use your apps rather than stock or 3rd party ones, or have your modified installation of. android rather than the device manufacturers or carri

[android-developers] Re: Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread darrinps
In case anyone needs this, here is what I ended up doing: For each row... RadioButton groupButton = new RadioButton(this); groupButton.setId(index++); //This is a List I created to hold all of the buttons since I don't have a RadioGrou

[android-developers] Re: Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread darrinps
Thank you so much for confirming this. It is a simple thing for me to roll my own but I just hate doing a hack if there is a "right" way to do it. On Sep 9, 2:05 pm, Mark Murphy wrote: > On Thu, Sep 9, 2010 at 2:58 PM, darrinps wrote: > > Maybe I need to try what you suggest to see it operate, b

[android-developers] Re: somebody stole our app and resell it on the market.

2010-09-09 Thread Maps.Huge.Info (Maps API Guru)
Well for me: I like Java, I like Eclipse, I don't even use the emulator, ever. My apps interface with a server so they can't just be stolen. -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] Re: somebody stole our app and resell it on the market.

2010-09-09 Thread William Ferguson
OK, firstly deploying your app without obfuscating the code was a mistake. But now that its happened why do you think someone who is selling a paid version of your app and who will have a hard time maintaining the code (decompiling doesn't give you a nice base to work from) is going to be able to

[android-developers] Re: somebody stole our app and resell it on the market.

2010-09-09 Thread billconan
We will think of ways to stop him. and perhaps in our next release we will consider using ndk to encrypt our logo and strings. but this will sacrifice the performance. But more importantly, I think this is a fundamental fault of the android platform. Java is so easy to hack and so slow. Ndk progr

[android-developers] Re: calling finish() in onResume() a bad idea?

2010-09-09 Thread OldSkoolMark
I already flush(), stop(), and release() when I clean up. How do I tell when AudioTrack is done? On Sep 9, 2:13 pm, niko20 wrote: > You definitely have to guarantee that any AudioTrack instances are > done playing (stopped) AND released BEFORE you call finish(). > Otherwise you will get Null exce

[android-developers] somebody stole our app and resale it on the market.

2010-09-09 Thread billconan
today, i read an article http://www.itsbeach.com/blog/2010/08/developing-for-android.html and i'm afraid that i have to agree with this article. although i claimed myself as an android fan and use an android phone, i have to agree that iphone is a much better product. i picked up android for the

[android-developers] how to maintain consistent UI over multiple versions of Android OS skinned by carriers and hardware manufacturers

2010-09-09 Thread NewB
Hello All! I would like to know if its possible to prevent my application from looking different every time I run it on a different android phone. For example, on stock 2.2, my seek bar (with default values and theme) has an orange color for the selected portion, whereas on a Samsung Galaxy S (wit

[android-developers] ListView - still draw dividers between disabled elements?

2010-09-09 Thread Mark Wyszomierski
Hi, In a ListView, disabled elements don't get their divider drawable drawn. Is there a way to change that? I always would like the dividers drawn, regardless if an element is disabled. This post is pretty close to what I'm looking at: http://groups.google.com/group/android-developers/browse_thre

Re: [android-developers] Re: Android NDK has a bug in socket recvfrom ????

2010-09-09 Thread David Turner
For the record, sizeof(struct sockaddr) will likely be too smal as the input value. You need to provide the real size of the socket address structure being pointed to. In this specific case, this would be sizeof(struct sockaddr_in). On Thu, Sep 9, 2010 at 9:19 PM, fadden wrote: > On Sep 7, 10:0

[android-developers] Re: ContractsContract returns only partial list of contacts?

2010-09-09 Thread Indicator Veritatis
What do you get when you do the same query using sqlite3 in adb shell? On Sep 9, 5:02 am, Rick S wrote: > Ran into a weird problem, not sure if its me or something in my code. > > I added 2 contacts manually from the phone, imported some 400 from > Facebook. Total of 420 contacts displayed in the

[android-developers] Re: calling finish() in onResume() a bad idea?

2010-09-09 Thread niko20
You definitely have to guarantee that any AudioTrack instances are done playing (stopped) AND released BEFORE you call finish(). Otherwise you will get Null exceptions on your app closing, just as you found. So basically if you have another thread you have to put some kind of flag that waits for t

Re: [android-developers] Re: OpenGL - 3D rotation from a 2D input

2010-09-09 Thread Thiago Lopes Rosa
Lesson 48 ported to Java (still needs some OpenGL ES adjustments): http://www.java-tips.org/other-api-tips/jogl/arcball-rotation-nehe-tutorial-jogl-port.html Thiago On Tue, Sep 7, 2010 at 21:04, Thiago Lopes Rosa wrote: > Thanks! =) > > > > Thiago > > > On Tue, Sep 7, 2010 at 14:25, Robert Gr

Re: [android-developers] Customising ListPrefernces Dialog

2010-09-09 Thread TreKing
On Thu, Sep 9, 2010 at 4:38 AM, swapnil.kolhapur wrote: > How i can achive this? > Maybe this ?

[android-developers] Re: WebView and ignoring SSL certificate

2010-09-09 Thread ls02
When you do this in a Web browser you are presented with a accept/ reject/ignore certificate dialog. I want implement the same behavior in embedded WebView as if I pressed "Ignore" button. On Sep 9, 1:57 pm, DanH wrote: > Because the phone doesn't have installed the necessary root > certificate f

Re: [android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-09 Thread TreKing
2010/9/9 Kostya Vasilyev > The OP seems to want his buttons to be pushed to the bottom of the > enclosing layout, and I think that for that case, a RelativeLayout with > layout_alignParentBottom (specifies from code) is a better, perhaps only > option. Oh, I think see what you're saying. This:

Re: [android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-09 Thread Mark Murphy
2010/9/9 Kostya Vasilyev : > You are right about LinearLayout being able to lay out its views vertically, > but it does so top to bottom. > > The OP seems to want his buttons to be pushed to the bottom of the enclosing > layout, and I think that for that case, a RelativeLayout with > layout_alignPa

[android-developers] Re: How to get video to play in stock browser??

2010-09-09 Thread ericmahlon
It is a .mp4, but I can make it whatever file necessary. Is there a way around this? Basically, in the app, users can click on a button to download the video (its a direct link with the file extension). On Sep 9, 4:12 pm, Peter Eastman wrote: > What type of file is it? > > I just tried to o

Re: [android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-09 Thread Kostya Vasilyev
Tre, You are right about LinearLayout being able to lay out its views vertically, but it does so top to bottom. The OP seems to want his buttons to be pushed to the bottom of the enclosing layout, and I think that for that case, a RelativeLayout with layout_alignParentBottom (specifies from code)

[android-developers] Re: Error: Application not installed

2010-09-09 Thread venkata raidu
Phil, Kostya and Arjun, Thanks for the replies. After reading your suggestions, I tried two approaches for two different Apps. These might help someone who encounter a similar problem. Here is what happened: Approach 1, App A: When I tried to install the downloaded app, it threw me a message "Al

Re: [android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-09 Thread TreKing
2010/9/9 Kostya Vasilyev > I don't think you can push views to the bottom of a LinearLayout, either > with XML or from code. Sure you can, that's exactly what LinearLayout is for - a simple sequential list of views. I currently use LinearLayout that gets items (rows) added dynamically, top to b

Re: [android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-09 Thread Kostya Vasilyev
I don't think you can push views to the bottom of a LinearLayout, either with XML or from code. I'd recommend you try a RelativeLayout, use its LayoutParams class. Set the first button as "parent bottom", and others to "above" the previous one, one by one. -- Kostya Vasilyev -- http://kmansoft.wo

Re: [android-developers] Want to set a solid background to my spawned activity

2010-09-09 Thread Mike Adams
I figured it could be done in the XML of the activities layout and googled and found this: http://developer.android.com/guide/topics/ui/themes.html in particular the section on this page Apply a theme to an Activity or applicationseems to have this example. Mike On Thu, Sep 9, 2010 at 7:21 AM,

[android-developers] Re: How to get video to play in stock browser??

2010-09-09 Thread Peter Eastman
What type of file is it? I just tried to open a .mpg file both with the stock browser and with xScope. With xScope, it gave me the choice to play or download, but if I selected play, it gave me a message that no viewer was available. The stock browser didn't give me an option to play it, but was

Re: [android-developers] Widget Layout Help Please

2010-09-09 Thread Kostya Vasilyev
Home screen Widgets are laid out on a grid, so no matter how compact you make your layout, it won't get any closer to other widgets. Also, you should not be using pixel dimensions in the layout - use device-independent "do" units. -- Kostya Vasilyev -- http://kmansoft.wordpress.com 09.09.2010 23

[android-developers] Re: Unable to connect to one server using HttpsURLConnection

2010-09-09 Thread Indicator Veritatis
con.connect() is the point where the actual HTTP connection is established over the net. HttpsURLConnection.openConnection() only does setup for this. So what it means is that you cannot connect to that URL with the parameters you are setting up with openConnection. I know that is horribly vague,

Re: [android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-09 Thread Mark Murphy
On Thu, Sep 9, 2010 at 3:43 PM, Bret Foreman wrote: > I changed it to do as you suggest: > >                LinearLayout layout = new LinearLayout(this); >                layout.setOrientation(LinearLayout.VERTICAL); >                setContentView(layout); > > but what should be the LayoutParms f

[android-developers] Re: Adding checkboxes to a LinearLayout

2010-09-09 Thread Bret Foreman
Mark, I changed it to do as you suggest: LinearLayout layout = new LinearLayout(this); layout.setOrientation(LinearLayout.VERTICAL); setContentView(layout); but what should be the LayoutParms for the added widgets in order to get the desired effect

[android-developers] Widget Layout Help Please

2010-09-09 Thread Tommy
Hi everyone, I am trying to make a widget to show on the home screen(s). My problem is lets say I set my icon to 30x30 when I load the widget on the screen the Icon is the correct size BUT the layout itself takes up a lot more space than what is actually needed. This means that I can't really plac

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread DanH
IMO, if, for the sake of argument, someone's job depends on solving a problem, then that is a validly "urgent" problem. And in general, where someone is up against a deadline for some reason -- say they need to get an app ready to demo to the corporate bigwigs next week -- that's likewise "urgent"

[android-developers] How to get video to play in stock browser??

2010-09-09 Thread ericmahlon
When I click it on my phone it opens up my browser (but I'm using the xScope browser) and it gives me the option to play/view or download. When I hit play/view it plays the video perfectly and when I click download, the phone downloads to my phone. I tried on the stock browser and it didnt do anyt

[android-developers] Recording Audio in Emulator

2010-09-09 Thread Priyank
Hi, I am facing some problem when I try to run record an audio. In my startRecord() method, this is what I do: recorder = new MediaRecorder(); recorder.setAudioSource(MediaRecorder.AudioSource.MIC); recorder.setOutputFormat(outputfileformat); recorder.setAudio

[android-developers] Re: Android NDK has a bug in socket recvfrom ????

2010-09-09 Thread fadden
On Sep 7, 10:02 pm, HISONA wrote: > When, I call recvfrom function, but "struct sockaddr *addr" parameter > returns NULL value. [...] > int udp_read(int socket_no, char *str, int len, struct sockaddr > *addr) > { >         int read; > >         return recvfrom(socket_no, str, len, 0, addr, &read);

Re: [android-developers] ant build file for android

2010-09-09 Thread Leigh McRae
Look under other IDEs in the tools docs. You can have android generate a build.xml and then you can override whatever you need. On 9/8/2010 4:04 AM, nikki wrote: hi group I need to write ant build file for my project. Do anyone have an idea about how to write ant build file for android.

[android-developers] Re: UriMatcher "match" not working properly

2010-09-09 Thread A. Elk
I missed the mismatch as well; it's subtle. In your manifest, you set the authority to com.arpit.providers.MyContentProvider, while in the code you set it to com.arpit.provider.MyContentProvider. Note the missing "s" for provider in the code. The ContentResolver shouldn't be able to resolve your pr

[android-developers] Re: UriMatcher "match" not working properly

2010-09-09 Thread Arpit
Hi Elk, Thanks again for your time and specifying your points. Finally I found out the problem why the code wasn't working after lot of debugging. Turned out that the table name and the Uri given was wrong. A stupid typo was the issue. Also, sorry I can't post the original code as I am under lega

[android-developers] StreetView intent - support for address?

2010-09-09 Thread Per
Hi, The published intents list (http://developer.android.com/guide/ appendix/g-app-intents.html) mentions only geocoordinates as input to StreetView. Does anyone know if addresses can be specified? This is possible for Maps, so... Anyway, I tried 'google.streetview:q=' and 'google.streetview:cbq=

Re: [android-developers] Unable to connect to one server using HttpsURLConnection

2010-09-09 Thread TreKing
On Wed, Sep 8, 2010 at 1:28 AM, BASU PETLUR wrote: > // at this point im geting error saying > Java.net.SocketException:permission denied.. > Do you have permission to write to this server? - TreKing

Re: [android-developers] Re: Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread Mark Murphy
On Thu, Sep 9, 2010 at 2:58 PM, darrinps wrote: > Maybe I need to try what you suggest to see it operate, but I'm not > sure I understand how this will work. > > The reason is that the table has multiple rows with one string and one > button per TableRow. Adding a RadioGroup to a TableRow I would

[android-developers] Problems Changing Outgoing Call in Android 2.2

2010-09-09 Thread reekotubbs
Android 2.2 setResultData() issue I developed an application in Android 2.1 that utilizes the "setResultData()" code. In 2.1, this code would change the outgoing number being called to a new outgoing number and then complete the call. This method works in the Android 2.2 simulator, but on a devic

Re: [android-developers] How to handle Home Key in our Activity

2010-09-09 Thread TreKing
On Wed, Sep 8, 2010 at 10:50 PM, AnnuDroid wrote: > How to handle Home keyPlzz Help me out > Plzz take two seconds to spell "please" correctly. > I want the Answer. > 42. > No one in this Blog has any idea how to handle it. > This isn't a Blog ... > PLUSMINUS where r u > Try

[android-developers] Re: Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread darrinps
Maybe I need to try what you suggest to see it operate, but I'm not sure I understand how this will work. The reason is that the table has multiple rows with one string and one button per TableRow. Adding a RadioGroup to a TableRow I would THINK would have all of the RadioButtons on one row. In o

Re: [android-developers] Adding checkboxes to a LinearLayout

2010-09-09 Thread Mark Murphy
On Thu, Sep 9, 2010 at 2:42 PM, Bret Foreman wrote: > I want to add some checkboxes to a LinearLayout at runtime. The > orientation is vertical and I want the checkboxes to appear at the > bottom. I create each checkbox like this: > > CheckBox box = new CheckBox(this); > > Then I add the box to th

[android-developers] Adding checkboxes to a LinearLayout

2010-09-09 Thread Bret Foreman
I want to add some checkboxes to a LinearLayout at runtime. The orientation is vertical and I want the checkboxes to appear at the bottom. I create each checkbox like this: CheckBox box = new CheckBox(this); Then I add the box to the current view like this: addContentView( box , params ); What

Re: [android-developers] Re: java.lang.NullPointerException when trying to edit strings.xml

2010-09-09 Thread Xavier Ducrohet
The newly released ADT 0.9.8 implements a work around to deal with the Eclipse bug. Xav On Wed, Sep 8, 2010 at 9:00 PM, David wrote: > Cycling Eclipse is the solution to using the uncheck Inferred Grammer > solution.   Works like a charm. > > One betterthe solution from Alexandre is the tic

[android-developers] HTTP authentication and sessions

2010-09-09 Thread jake142
Hi, I thought I posted this yesterday, but I cant find that thread. Could someone please help me and provide me with some sample code on how todo a http login and then use the session to display html pages in a webview. Thank you in advance. -- You received this message because you are subscri

[android-developers] Re: UriMatcher "match" not working properly

2010-09-09 Thread A. Elk
As far as I can tell from what you've posted, you're declaring CONTENT_URI as a String or some sort of string-related immutable class. If you look at the NotePad example, CONTENT_URI is of type Uri, and it's constructed using Uri.parse. You may be doing this, but what you've posted doesn't indicat

Re: [android-developers] Platform Versions

2010-09-09 Thread TreKing
On Thu, Sep 9, 2010 at 12:06 PM, Achanta wrote: > They have updated it the last couple of months but not in September. > I knew this day would come . --

Re: [android-developers] ListView contextmenu and onItemClickListener not working

2010-09-09 Thread Mark Murphy
There might be something screwy with your layout XML, where there is something intercepting the touch events. Here is a sample project showing a ListView that responds to clicks (in this case, via ListActivity and onListItemClick()) while inside a tab: http://github.com/commonsguy/cw-andtutorials

[android-developers] ListView contextmenu and onItemClickListener not working

2010-09-09 Thread JasonMP
I have a tab activity with three tabs and I want to display a listview in each tab. The list populates correctly, but for some reason I can not get the context menu or itemclicklistener to recognize gestures on the listviews. Anyone have any ideas why this might be? Below is my onCreate method:

Re: [android-developers] Re: C2DM properly working on the emulator, anybody?

2010-09-09 Thread German Viscuso
That's correct. I never experienced such a crash (no clue about the cause) but if you get the URL then c2dm is working ok. Best! German On Tue, Sep 7, 2010 at 7:37 AM, Bilthon wrote: > Hi there, I also got it running, but the application crashes after I > get the notification of the website. A

[android-developers] Re: UriMatcher "match" not working properly

2010-09-09 Thread Brion Emde
You should not hijack existing threads with new questions that do not correspond to the original thread. That makes it very difficult for people to find the original thread. Instead, you should start a new thread with your question. That said, I see that the value of the AUTHORITY that you declare

Re: [android-developers] Re: Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread Mark Murphy
On Thu, Sep 9, 2010 at 2:05 PM, darrinps wrote: > Thanks. I took a look at the code at the link you provided. I can see > how this works in a static setup with a set number of rows, but what > happens when you have a dynamic number and you need to add each new > RadioButton to the RadioGroup and t

Re: [android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread TreKing
On Thu, Sep 9, 2010 at 12:36 PM, Tez wrote: > > I doubt someone's life depends on this. > What kinda statement is that? I'm saying, when you describe something as "urgent" it implies something where there will be serious repercussions if something's not done and people should drop what they're

[android-developers] Choosing background for Live Wallpaper.

2010-09-09 Thread JoelDuggan
Hello all, I've asked this question twice already but it didn't seem to get posted. I don't know if it just takes a while for the moderators to approve or if it got lost so I'll try again. I'm writing a live wallpaper that creates an effect over a background. I want the user to be able to choos

[android-developers] Re: Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread darrinps
Thanks. I took a look at the code at the link you provided. I can see how this works in a static setup with a set number of rows, but what happens when you have a dynamic number and you need to add each new RadioButton to the RadioGroup and then to the TableRow? Do you just need to add the RadioBu

Re: [android-developers] How to try to get connection via mobile network

2010-09-09 Thread Mike Adams
Not clear what type of connection really. But normal java socket code works in android. i.e. open a socket and read input and send output. The type of internet, if they are on wifi or 3g is not something you worry about. If you are googling for stuff you might try just looking for java code. I'

[android-developers] Re: WebView and ignoring SSL certificate

2010-09-09 Thread DanH
Because the phone doesn't have installed the necessary root certificate for many web sites, so it's impossible to validate their perfectly valid certificates. On Sep 9, 12:47 pm, Indicator Veritatis wrote: > Why would you want to do this? The whole point of SSL is to provide > security, security

[android-developers] Re: problem with a ProgressDialog

2010-09-09 Thread dashman
to clarify - the problem is with ProgressDialog.STYLE_SPINNER - 2nd time it's invoked - it doesn't animate. ProgressDialog.STYLE_HORIZONTAL works 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] Re: WebView and ignoring SSL certificate

2010-09-09 Thread Indicator Veritatis
Why would you want to do this? The whole point of SSL is to provide security, security which you throw out the window by "ignoring invalid SSL certificate". On Sep 8, 10:45 am, ls02 wrote: > How do I ignore invalid SSL certificate issue when using WebView? I > know how to ignore it when using Htt

[android-developers] Android 2.2 setResultData() issue

2010-09-09 Thread reekotubbs
I developed an application in Android 2.1 that utilizes the "setResultData()" code. In 2.1, this code would change the outgoing number being called to a new outgoing number and then complete the call. This method works in the Android 2.2 simulator, but on a device with 2.2, this code is totally ig

[android-developers] GeoCoding Problems

2010-09-09 Thread tatebn
I'm trying to use the GeoCoder to get the lat/lon for a couple of addresses. I'm running into an error where the address list comes back empty sometimes. It seems to be completely random. I have a start point and an end point to draw and route. Sometimes I can't get either one, sometimes I can

[android-developers] Re: Monkey problems -- **URGENT HELP** --

2010-09-09 Thread Tez
> I doubt someone's life depends on this. What kinda statement is that? Anyone who knows, my problem is not "urgent" but "very important" that I find a solution. Thanks. -E On Sep 9, 8:38 pm, TreKing wrote: > On Wed, Sep 8, 2010 at 10:04 PM, Tez wrote: > > I have some important work that de

[android-developers] Re: maps app returning a null pointer exception

2010-09-09 Thread anushree
here's the log that is showing me the error: 09-09 23:00:22.243: ERROR/AndroidRuntime(329): FATAL EXCEPTION: main 09-09 23:00:22.243: ERROR/AndroidRuntime(329): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.MapsProject/ com.google.MapsProject.MapsProject}: java.lan

[android-developers] Re: maps app returning a null pointer exception

2010-09-09 Thread anushree
here's the error that is being shown to me : 09-09 23:00:22.243: ERROR/AndroidRuntime(329): FATAL EXCEPTION: main 09-09 23:00:22.243: ERROR/AndroidRuntime(329): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.google.MapsProject/ com.google.MapsProject.MapsProject}: java.lang

[android-developers] Why would SQLiteOpenHelper.onUpgrade fail?

2010-09-09 Thread Teo [GD API Guru]
Hi, every time i increase my database version and push the upgraded app to the users, something weird happens.. For some it works perfectly fine, and some report crashes (including through the Market's reporting system) caused by the lack of table columns i just added in onUpgrade. If you want to

[android-developers] Don't think my Apps are appearing in China - checks?

2010-09-09 Thread Droid
I have localised for China (EXCEPT) the App name. But most downloads are from USA I believe. Does China Android market place need more pre-requisites? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to and

[android-developers] Re: Strange error on HTC Hero running 2.1 in Turkey

2010-09-09 Thread andrew android
Bump On Aug 29, 2:23 pm, "Andy G." wrote: > A user got the following error when opening a regular old preference > screen with just a single list preference.  Can anyone tell what is > going on with this? > > E/AndroidRuntime(32133): Uncaught handler: thread main exiting due to > uncaught excepti

[android-developers] TextColor attribute doesn't get applied to Button from a style def?

2010-09-09 Thread Mark Wyszomierski
Hi, I have a button, and am applying a text style to it: the color defined in the style doesn't get applied to the button though: 18dip #F00 the other style elements do get applied though (lik

Re: [android-developers] subscribing to SMS messages

2010-09-09 Thread TreKing
On Thu, Sep 9, 2010 at 10:33 AM, Bret Foreman wrote: > Is it possible to subscribe to SMS messages? > I don't know about "subscribing", but there's this permission: http://developer.android.com/reference/android/Manifest.permission.html#RECEIVE_SMS "Allows an application to monitor incoming SMS m

Re: [android-developers] Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread Mark Murphy
On Thu, Sep 9, 2010 at 1:06 PM, darrinps wrote: > My question is, can you have radio buttons tied to a radio group > inside of a row Yes, so long as all of the RadioButtons are immediate children of the RadioGroup. See: http://github.com/commonsguy/cw-andtutorials/tree/master/03-FancierForm/Lunc

[android-developers] problem with a ProgressDialog

2010-09-09 Thread dashman
i tried out the ProgressDialog in http://developer.android.com/guide/topics/ui/dialogs.html about half-way down titled - Example ProgressDialog with a second thread. the progress bar works but if i try to invoke a 2nd time. i just get a static dialog and my worker thread does not get called.

Re: [android-developers] AlertDialog with customized ListView

2010-09-09 Thread TreKing
On Thu, Sep 9, 2010 at 10:18 AM, dave wrote: > After the ListView is added into the AlterDialog, there is a centered > gradient separator line below the title of the alter dialog, it is just > above the ListView. > How are you adding this ListView? Do you have a screenshot of what you're describ

[android-developers] Can you have RadioButtons in a RadioGroup in a TableRow?

2010-09-09 Thread darrinps
I currently have code that creates rows in a table that hold a string in column 1 with a RadioButton in column 2. There can be a variable number of these rows so I cannot just create it in the layout xml as radio1, radio2, etc. My code displays the table with the string and RadioButton pairs just

[android-developers] Platform Versions

2010-09-09 Thread Achanta
I have been waiting for the Platform Versions to be updated since a few days. They have updated it the last couple of months but not in September. Can someone at Google look into this. http://developer.android.com/resources/dashboard/platform-versions.html thank you. -- You received this message

[android-developers] is there a way to access the system camera?

2010-09-09 Thread dadada
hi all, i saw some application that can use the "system" camera instead of having just a blank camera preview? ie, the camera preview is the same as the default android camera application with full control. how do i access that? Thank you. -- You received this message because you are subscrib

  1   2   3   >