[android-developers] What are some good Automated Unit And System Test Tools for Android?

2010-11-03 Thread Greg Giacovelli
So I give in. I approached this problem as an oh hey that's not too bad, I can write a bunch of unit tests, and I have been keeping my suite green. However as things get more involved continuous integration and testing is a great great thing to have. And then I saw oh Android has emma integration

Re: [android-developers] Re: How to unsign the signed apk file?

2010-11-03 Thread Nency Robert
HI Chris, Also want to know how to know the signature of any apk file? please share commands/procedure/tools for it. Thanks. On Tue, Nov 2, 2010 at 7:20 PM, Chris Stratton cs07...@gmail.com wrote: Open the apk as a zip file and remove the META-INF directory On Nov 2, 4:26 am, Nency Robert

[android-developers] certification for android developers

2010-11-03 Thread Shalini
is there any certification for android developers provided by Google? please let me know this . I want to do that certification. -- 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: How to unsign the signed apk file?

2010-11-03 Thread Sarwar Erfan
On Nov 3, 12:29 pm, Nency Robert avayam...@gmail.com wrote: HI Chris, Also want to know how to know the signature of any apk file? please share commands/procedure/tools for it. Thanks. You will need Jarsigner. Get all information here:

[android-developers] smack+android+openfire problem

2010-11-03 Thread hello hello
hi android developers I have some doubts in using the resource of smack api from android I implemented the xmpp client send and receive messages from android then how to add groups and delete groups from openfire ? I configured openfire code in local system and how to utilise from android

[android-developers] Re: certification for android developers

2010-11-03 Thread pramod.deore
is there any certification for android developers provided by Google? No. On Nov 3, 11:42 am, Shalini coolcool.shal...@gmail.com wrote: is there any certification for android developers provided by Google? please let me know this . I want to do that certification. -- You received this

[android-developers] Read data from database and show it in table layout form

2010-11-03 Thread pramod.deore
Hi, I want to read data from database and displayed it in table layout form. table will contain n rows and 2 columns. But row size is not fixed then how to show them in table layout format? Thanks in advance. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Temporary files

2010-11-03 Thread Mark Murphy
The question is, how can I tell when it's no longer needed? 24 hours would seem to be sufficient. When your app starts, check your pseudo-temp directory and nuke all your files that are older than 24 hours. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy

[android-developers] Show Picasa album of a particular user in the app

2010-11-03 Thread mudit
Hi All, I want to show the picasa album of a user in my android app. I have the username/ password + album id of the album. I have tried implementing via using gdata library. But i am getting a VerifyError Exception as soon as i run my code. Following are the gdata libraries that i included in

[android-developers] Re: Show Picasa album of a particular user in the app

2010-11-03 Thread mudit
Here is the java code that i am using: PicasawebService myService = new PicasawebService(my app name); try { myService.setUserCredentials(username, password); URL feedUrl;

[android-developers] SSL Certificate Installation Problem

2010-11-03 Thread Android Humanoid
Hi All, when am accessing a web service am getting Not Trusted Server Certificate error, For this should I install the certificate on the mobile or system, or can I bypass this. Thanks Regards. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] Re: How to unsign the signed apk file?

2010-11-03 Thread Kostya Vasilyev
Let's see - removing the signature from an apk, then signing it with a different key... If this is your own application, I don't see a reason to do this. If this is someone else's application - ! - are you trying to pirate someone else's work? -- Kostya 03.11.2010 9:49, Sarwar Erfan пишет:

Re: [android-developers] How to pass a Context variable from one Activity to another ?

2010-11-03 Thread Vinay Julme
Not sure what you mean by context variables Activity itself is a context... so while starting an activity you can pass this (wild guess) in the bundle. But why would to want to pass it to another activity? Or do u mean some data of present activity would be required in the next activity.

Re: [android-developers] SSL Certificate Installation Problem

2010-11-03 Thread saify.zeenwala
Hi you can by-pass but if you want to check certificate then use the following code to store certificate in keystore KeyStore trusted = KeyStore.getInstance(BKS); InputStream in = getResources().openRawResource(R.raw.cerrrt); trusted.load(in, ez24get.toCharArray());

[android-developers] error with CameraView setParameters

2010-11-03 Thread Stephen Pengilley
Hi all, I am trying to develop a small camera app. I am getting the following log errors when running the app on my phone 11-02 20:33:44.387: ERROR/AndroidRuntime(18165): Uncaught handler: thread main exiting due to uncaught exception 11-02 20:33:44.656: ERROR/AndroidRuntime(18165):

[android-developers] Re: Comment calculer les puissances sur Google ?

2010-11-03 Thread Jean-François Vidal
1) je pense que tu t'es trompé de groupe. Ta question n'a rien à voir avec Android. 2) la langue de ce groupe c'est l'anglais 3) x^n c'est classiquedans les logiciels de calcul. On Oct 22, 10:48 am, karimgomez hammametr...@gmail.com wrote: Bonjour, Je veux savoir comment on calcule les

[android-developers] Re: SIGH ... Android SOAP

2010-11-03 Thread Auth Gábor
Hi, Yes, the Android platform is not contains any SOAP client... I've wrote a simple proof-of-concept SOAP client, watch it: http://wiki.javaforum.hu/display/ANDROIDSOAP/Home -- Gábor Auth On nov. 2, 00:30, Darkside Android darksideandr...@gmail.com wrote: This post is directed to those of

[android-developers] Re: Show Picasa album of a particular user in the app

2010-11-03 Thread Kumar Bibek
11-03 12:00:16.603: WARN/dalvikvm(1702): Unable to resolve superclass of Lcom/google/gdata/data/media/MediaMultipart; (1746) 11-03 12:00:16.613: WARN/dalvikvm(1702): Link of class 'Lcom/google/ gdata/data/media/MediaMultipart;' failed 11-03 12:00:16.623: ERROR/dalvikvm(1702): Could not find class

[android-developers] Re: Read data from database and show it in table layout form

2010-11-03 Thread Kumar Bibek
I guess, you will be better off using a ListView. On Nov 3, 12:01 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi, I want to read data from database and displayed it in table layout form. table will contain n rows and 2 columns. But row size is  not fixed then how to show them in table

[android-developers] Re: Sound in android web view

2010-11-03 Thread Kumar Bibek
I don't think it will work. The WebView will not recognize this file. You can have a thread in the background that does the playing. On Nov 3, 9:35 am, nena joy nenaj...@gmail.com wrote: *My java code is here* package com.customlistview1; import android.app.Activity; import

[android-developers] Re: How to open mail link from html file

2010-11-03 Thread Kumar Bibek
If you are trying to check this in emulator, it won't work. It works on devices and you don't have to do anything extra for this. On Nov 2, 10:20 pm, Amit Mangal forum.amit.man...@gmail.com wrote: Hi every one, I have a html file local and it is having a link to mail me when i try to open that

[android-developers] Re: Read data from database and show it in table layout form

2010-11-03 Thread pramod.deore
Thanks Bibek, But if suppose I am doing this with List then how can I achieve this? On Nov 3, 2:44 pm, Kumar Bibek coomar@gmail.com wrote: I guess, you will be better off using a ListView. On Nov 3, 12:01 pm, pramod.deore deore.pramo...@gmail.com wrote: Hi, I want to read data from

[android-developers] Re: is there a limit for the lenght of a texview's text?

2010-11-03 Thread Paolo
ok I try On 2 Nov, 22:01, TreKing treking...@gmail.com wrote: On Tue, Nov 2, 2010 at 3:43 PM, Paolo brand...@gmail.com wrote: the font color is the default. Change it and the background color just to see what happens.

[android-developers] Changelog in Market!

2010-11-03 Thread String
Got up this morning and went ahead with some planned releases to a couple of my apps. When I got into the app detail page on my Market Developer Console, I found a new section: Recent Changes! I pasted my changelog in, published my upgrade, and it's already appearing in the Market. Text in this

[android-developers] Re: Changelog in Market!

2010-11-03 Thread Pent
Thanks for the tip, very good news. But what is it with 325 ? I'm sure that's not a power of 2 is it ? Thanks Big G. Pent -- 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] how to inject view from a dialog layout xml file when using RoboGuice?

2010-11-03 Thread xi developer
It seems that roboguice can only inject views from the contentView defined in onCreate(...) of the activity, outside onCreate(), for example, if I have my custom dialog, which has also a content view (e.g.dialog.setContentView(R.layout.dialog_layout);), the views inside the dialog_layout.xml can

[android-developers] Re: Segmented video streaming on Android

2010-11-03 Thread Jean-François Vidal
Playing Http live Streaming is not Android Developer group question but more Android porting. If I had to do it I will directly manage OMX (OpenMax) component. Each Video segment contain codec configuration metadata and OMX more or less a FIFO for video stream (M4V, h264...). For H264 it will

RE: [android-developers] How to pass a Context variable from one Activity to another ?

2010-11-03 Thread Emre A. Yavuz
Hi Vinay, Yes, I meant some data of present activity. The trivial method would be using static variables as you have already mentioned in your reply. That's actually what I have been doing so far. Using database on the other hand seems to be an overkill. Anyway, I just wanted to find out

[android-developers] is there a limit for the numebr of markers to show on a MapView?

2010-11-03 Thread Paolo
As the object of this topic...is there a limit for the numebr of markers to show on a MapView at the same time with the Google API? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to pass a Context variable from one Activity to another ?

2010-11-03 Thread Carlos Silva
check the addExtra methods on the Intent class On Wed, Nov 3, 2010 at 10:55, Emre A. Yavuz eayl...@hotmail.com wrote: Hi Vinay, Yes, I meant some data of present activity. The trivial method would be using static variables as you have already mentioned in your reply. That's actually what I

[android-developers] Android: DeadObjectException for InputMethodService (SoftKeyboard API sample)

2010-11-03 Thread Stefan Klumpp
I'm playing around with a modified version of the SoftKeyboard sample and sometimes get a `DeadObjectException` when using the fullscreen mode (e.g. when orientation == landscape). I can still enter text, but the `ExtractEditText` doesn't update and I get the logcat output below, whenever I hit a

[android-developers] Can not update app on the Market now

2010-11-03 Thread Alex Xin
Hi, guys I found that I cannot update my app now, today I found that market start to support Recent Changes feature, but when I want to use that feature, I found that I cannot update my app, the publish button is now a gray button. How about you? What's happened? thanks, -- You received this

[android-developers] Re: Android source code (complete)

2010-11-03 Thread adithya
Ok..Then how do i get to know the complete directory structure,so that i can select one and download the source for the selected directory as i did for /platform/frameworks/base . I am using Git for windows. -Adithya On Nov 3, 4:56 am, Matt Quigley matthew.quig...@gmail.com wrote: There are

[android-developers] Re: Listen/bind a hardwarebutton to a activity/event

2010-11-03 Thread Rijad Sacirovic
Sorry for bumping, is there anyone that knows anything about this? On 1 Nov, 12:55, Rijad Sacirovic rij...@gmail.com wrote: Hey there, this is kind of a wide question that I'll break down for you. In general I'm wondering if its is possible, if so then how, to bind/listen to a hardware-button

Re: [android-developers] Changelog in Market!

2010-11-03 Thread Julie Andrews
On Wed, Nov 3, 2010 at 3:51 PM, String sterling.ud...@googlemail.comwrote: Got up this morning and went ahead with some planned releases to a couple of my apps. When I got into the app detail page on my Market Developer Console, I found a new section: Recent Changes! I pasted my changelog in,

Re: [android-developers] Re: How to unsign the signed apk file?

2010-11-03 Thread Nency Robert
HI Kostya, The baseline is I want to use robotium on android's standard applications (like gallery, alarm etc). I want to automate tests for it. To use robotium, the sign should be same for junit test app and the std android app. So I have to change any one of them. And to change any one of

[android-developers] Can we catch android.intent.action.ACTION_UMS_CONNECTED event

2010-11-03 Thread Karteek N
Hi I want to show some notification when android phone is connected to system. I implemented BroadcastReceiver for listening to event android.intent.action.ACTION_UMS_CONNECTED in my application But it is not working. Is it possible to capture this event Please help Regards, Karteek -- You

[android-developers] Re: Changelog in Market!

2010-11-03 Thread Lance Nanek
Weird that it isn't search indexed. If you have an awesome new feature that you think is the sort of thing people search for, you are better off putting it in your main description because of that. Maybe even moving something from your main description that doesn't need to be searched on into this

[android-developers] Re: Changelog in Market!

2010-11-03 Thread Michael A.
Still, excellent to finally have this - much requested - market feature. On Nov 3, 1:28 pm, Lance Nanek lna...@gmail.com wrote: Weird that it isn't search indexed. If you have an awesome new feature that you think is the sort of thing people search for, you are better off putting it in your

[android-developers] Re: Show Picasa album of a particular user in the app

2010-11-03 Thread mudit
Hi Kumar, Thanks for your answer.. that really helped. Now i am able to install the app but i am getting a SAXNotRecognizedException. Any idea why? Here is the detailed log of it: 11-03 17:25:14.459: WARN/System.err(308): com.google.gdata.util.ParseException:

[android-developers] Re: Activity versus Service threads

2010-11-03 Thread jotobjects
On Nov 1, 12:26 pm, jotobjects jotobje...@gmail.com wrote: - The bindService method provides assurance that the Service has started. Further testing shows this statement is NOT accurate. If you call bindService from your Activity onCreate() or onStart() bindService() it will return true

[android-developers] background and resize option

2010-11-03 Thread Hatch
Hi all. I am having problems with a layout my designer set for me to do. Here's the idea: +--+ | | +--+--+--+--+ +--+ | || | | | | 1 | | 2 | | || | | | +--+--+--+--+ +--+ +---+ (I'm not

[android-developers] myLocationOverlay - customizing the compass position on screen?

2010-11-03 Thread ryandroid
Hello, I am using these three lines to add a compass on the MapView: mMyLocationOverlay = new MyLocationOverlay(this,mapView); mMyLocationOverlay.enableCompass(); mapView.getOverlays().add(mMyLocationOverlay); However the default position of the

[android-developers] Re: Changelog in Market!

2010-11-03 Thread String
On Nov 3, 12:28 pm, Lance Nanek lna...@gmail.com wrote: Weird that it isn't search indexed. Good observation. Let's hope that, with the Market improvements that are trickling in, this might happen at some point. Care to open an issue on http://b.android.com about it? String -- You received

[android-developers] ADT painstakingly remove my exclusion setting for android library

2010-11-03 Thread mianwo
I have a common library android project being used by several other projects. And I use svn to manage my source code. So I have to exclude svn files from compiling process otherwise eclipse will generate errors saying something already exists bla bla... This setting works very well until recently

[android-developers] Re: HTC Development Phone 1

2010-11-03 Thread andrew_esh
I have a rooted G1 with the engineering SPL installed on it, so it's the same as the original G1 dev phone. I put CyanogenMod on it, and I have Froyo 2.2. The memory is a bit low, but it works. I have a build system set up so I can build everything from source, too. -- You received this message

[android-developers] Re: Cannot Get to My Application in Market as a Developer

2010-11-03 Thread Lance Nanek
Yeah, definitely try opening a link in incognito mode directly to what you want. I've been unable to open secured Google Docs spreadsheets any other way for over a week now using my Google Apps account. Any other way of opening them gives me the normal no permission to access page, even though I

[android-developers] SimpleExpandableListAdapter sub-class

2010-11-03 Thread dashman
i've got one of these sub-classes. when i populate it with 1 group entry with zero-children. it crashes when i click on it - expand. i understand there's nothing to expand. but it crashes somewhere in SimpleExpandableListAdapter code with an array index access exception. anyway around it. --

[android-developers] Re: Linkify

2010-11-03 Thread Lance Nanek
The value of your href attribute is incorrect. It should start with mailto:;. Adding an intent-filter to your manifest makes no sense. You would only do that if you wanted an activity in your app to get called instead of the email app. The scheme is mailto, not http anyway. On Oct 31, 10:50 pm,

Re: [android-developers] SimpleExpandableListAdapter sub-class

2010-11-03 Thread Kumar Bibek
Your group should contain atleast one child, else, it will try to render it's children, and since you don't have any, it throws ArrayIndexOutOfBounds exception On Wed, Nov 3, 2010 at 6:56 PM, dashman erjdri...@gmail.com wrote: i've got one of these sub-classes. when i populate it with 1 group

[android-developers] Re: Can we catch android.intent.action.ACTION_UMS_CONNECTED event

2010-11-03 Thread Pent
I want to show some notification when android phone is connected to system. I implemented BroadcastReceiver for listening to event android.intent.action.ACTION_UMS_CONNECTED  in my application But it is not working. Is it possible to capture this event Yes, though if I remember right some

[android-developers] Re: Rotate bitmap in opengl

2010-11-03 Thread Alistair.
Thanks Jason. One month later and I finally got it working. You were correct but it has taken a bit of time me to get my head around what was going on. You suggestion would rotate the texture around the point at which it was drawn but I wanted to rotate it around it's mid-point. I see now that the

[android-developers] Re: Google analytics install referrer problem

2010-11-03 Thread Alex Polyakov
issue solved, problem was in url generator. It generates urls like http://market.android.com/search?q=pname:com.mycompanyreferrer=utm_source%3Dsource%26utm_medium%3Dmedium%26utm_campaign%3Dname but we need, something like this:

[android-developers] Align Custom Dialog at the bottom of the screen

2010-11-03 Thread dinesh
Hey how can arrange the custom dialog at the bottom of the screen by default it displays at the center of the screen. I used to android:gravity=bottom to change the position. But it not change the position. -- You received this message because you are subscribed to the Google Groups Android

Re: [android-developers] Re: Changelog in Market!

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 7:46 AM, String sterling.ud...@googlemail.comwrote: Weird that it isn't search indexed. Good observation. Let's hope that, with the Market improvements that are trickling in, this might happen at some point. Care to open an issue on http://b.android.com about it?

[android-developers] Off market sales and LVL

2010-11-03 Thread Alex
If I sell a copy of a LVL controlled app outside of the market, is there a way I can authorize it so that it checks out as licensed? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] Creating Sliding Drawer in new look

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 12:32 AM, Rocky rkjhaw1...@gmail.com wrote: I tried, but i'm not getting exactly what i want, What did you try? What are you getting that you don't want? Pictures and sample layout files would be highly useful in getting you help.

Re: [android-developers] is there a limit for the numebr of markers to show on a MapView?

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 5:58 AM, Paolo brand...@gmail.com wrote: As the object of this topic...is there a limit for the numebr of markers to show on a MapView at the same time with the Google API? Officially? I don't think so, but at some point you're going to run out of memory, so there's

Re: [android-developers] myLocationOverlay - customizing the compass position on screen?

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 7:45 AM, ryandroid ryn...@gmail.com wrote: Anyone knows how I can achieve that? Derive your own class from MyLocationOverlay. Override drawCompass(); Manipulate the Canvas object you're handed as necessary. Call super.drawCompass() to draw the compass at your new

[android-developers] Re: Rotate bitmap in opengl

2010-11-03 Thread Jason
Hmm ok.. I think I may have overlooked a key piece of data here.. namely the structure of the matrix being rotated. I use a simple grid to represent most of my 2D shapes, but I assign the coordinates of the grid such that when it is positioned at 0,0 it is the center of the grid that is at these

Re: [android-developers] ADT painstakingly remove my exclusion setting for android library

2010-11-03 Thread Marcin Orlowski
On 3 November 2010 14:11, mianwo mia...@gmail.com wrote: I have a common library android project being used by several other projects. And I use svn to manage my source code. So I have to exclude svn files from compiling process otherwise eclipse will generate errors saying something already

Re: [android-developers] Re: Overriding Back Button Action in Activity

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 12:44 AM, tanmay@gmail.com tanmay@gmail.comwrote: What I need to do so that I can know that the keyboard is open close it and not close the application See what values you get from super.onKeyUp() when the keyboard is and isn't open. Maybe that will tell you

[android-developers] Re: Android source code (complete)

2010-11-03 Thread letlite
ServiceManager.java is in frameworks/base/core/java/android/os. If in Unix, use the find command: find frameworks/base/core -name 'ServiceManager.java' On Nov 1, 10:25 pm, adithya 24adit...@gmail.com wrote: Hi all, I have downloaded some amount of android source code (for Bluetooth API's,

[android-developers] GPS NET Position

2010-11-03 Thread MarcoCanali
Ok .. i Understand the Main location Function of Android but i want implementing a complete function for Device Positioning estimate with the event showed in Figure 1 of Android Dev Documentation : http://developer.android.com/guide/topics/location/obtaining-user-loc... : 1_Application Start

[android-developers] Re: problem with Search suggestions

2010-11-03 Thread Achie
Bump :( Here is my error. E/AndroidRuntime(19424): java.lang.RuntimeException: Unable to start activity ComponentInfo{com.achie.gs1/com.achie.gs1.AnimalActivity}: java.lang.IllegalArgumentException: selectionArgs must be provided for the uri for searching animals at a: E/AndroidRuntime(19424):

[android-developers] Re: Scrollable Menu Bar like Fox news app

2010-11-03 Thread Ganapathy.C
I found one way by that we can have scroll menu for our app.. we can add scrollmenu above the tab widget we can also remove tabwidget by set its visiblity to gone. HorizontalScrollView android:id=@+id/scroll_tab android:layout_width=fill_parent

Re: [android-developers] SimpleExpandableListAdapter sub-class

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 8:26 AM, dashman erjdri...@gmail.com wrote: but it crashes somewhere in SimpleExpandableListAdapter code with an array index access exception. Would you like to post the full stack trace? That would help. On Wed, Nov 3, 2010 at 8:29 AM, Kumar Bibek coomar@gmail.com

[android-developers] Re: How to unsign the signed apk file?

2010-11-03 Thread Chris Stratton
In what way would changing the signature and _only_ the signature be an aid to piracy? On Nov 3, 4:57 am, Kostya Vasilyev kmans...@gmail.com wrote: Let's see - removing the signature from an apk, then signing it with a different key... If this is your own application, I don't see a reason to

[android-developers] Re: SSLContext.getInstance(SSL) throws java.security.NosuchAlgorithmException: SSLContext SSL implementation not found

2010-11-03 Thread gato
yep! you are right DanH , I'm using TLS not TSL. Any way the net.ssl.SSLException: Not Trusted server certificate Excepetion stiil there thank you for your help. On Nov 2, 6:48 pm, DanH danhi...@ieee.org wrote: Was just wondering because you were doing a getInstance on TSL, not TLS. On Nov

[android-developers] First Market Experiences

2010-11-03 Thread Doug Gordon
Now that I've released my first app on Android Market, I can see some of the good and bad features that I've seen discussed here. I was mainly surprised by a number of low ratings by people who had obviously hardly used the program, or at least not for what it was intended for. Especially for

Re: [android-developers] WISH YOU HAPPY DIWALI

2010-11-03 Thread subrat kumar panda
Thanks, Wish You too Happy Diwali..! On Tue, Nov 2, 2010 at 11:27 PM, peeyush varshney varshney.peey...@gmail.com wrote: Dear All, I am trying to install ubuntu inside window but i am facing some difficulties. 1) if i install ubuntu by just clicking on webu. it is showing some error

[android-developers] Re: SSLContext.getInstance(SSL) throws java.security.NosuchAlgorithmException: SSLContext SSL implementation not found

2010-11-03 Thread gato
i will try on lower versions. On Nov 2, 3:09 pm, Kumar Bibek coomar@gmail.com wrote: SSL context is not implemented on Android. And as far as certificate exception issue, there seems to be a problem on 2.2 where some TrustManagers do not work as expected, which do work on lower versions.

Re: [android-developers] SimpleExpandableListAdapter sub-class

2010-11-03 Thread Kumar Bibek
I mean't to say that you have to manage the different methods, like getChildId and getChildView and handle exceptions there, when it queries for the children for the group which contains no child. Anyway, stack trace would definitely help. On Wed, Nov 3, 2010 at 9:11 PM, TreKing

[android-developers] best reasonable practice for locally storing a password?

2010-11-03 Thread DulcetTone
I am considering adding a means by which my app can perform functions over Google Voice, and the functionality would make little sense if I required the user to type in a password. I'd like a reasonable plan for storing the password locally and sending it (through google-voice-java) when demanded

[android-developers] Re: First Market Experiences

2010-11-03 Thread DulcetTone
On Nov 3, 12:05 pm, Doug Gordon gordo...@gmail.com wrote: The big surprise to me, however, was the error reporting capabilities. I had no idea that AM would provide details on errors right down to the stack trace! Yes, I did have some dreaded NullPointer situations hanging around, but was

[android-developers] wrong line numbers in crash console tracebacks

2010-11-03 Thread DraganA
Does anyone else have a problem of wrong line numbers in the crash report traceback. They seem to be off about 2-3 lines. Sometimes it's difficult to figure out what exactly caused an exception. -- You received this message because you are subscribed to the Google Groups Android Developers

Re: [android-developers] wrong line numbers in crash console tracebacks

2010-11-03 Thread Kumar Bibek
Are you sure you are checking the line numbers with the version that you had uploaded to the market? They are always accurate. This can only happen, if you have changed your code after you have uploaded a version of your app. On Wed, Nov 3, 2010 at 10:00 PM, DraganA dand...@gmail.com wrote:

Re: [android-developers] Re: Collecting my Market installation statistics

2010-11-03 Thread Brad Gies
David, I came up with an interesting thought about this last night (yeah... about 2 in the morning... :), and that is that I could program an Android app to pull the data from the market. That way you could store the login credentials on your own phone. The app could have a daily

[android-developers] Re: wrong line numbers in crash console tracebacks

2010-11-03 Thread DraganA
I'm sure about the right version, I use CVS for versioning. This has actually happened for every error I got. Until now I kind of guessed which line it was, but today I got one which is difficult to guess ;( On Nov 3, 4:32 pm, Kumar Bibek coomar@gmail.com wrote: Are you sure you are checking

[android-developers] listview selector based on item-type

2010-11-03 Thread Johannes De Smedt
Hi, In my application I have a list with 2 types of items. For the first type I can use the default selector drawn behind the content, but for the second type I would need another selector that is drawn in front of the content. Can this be done in android? The reason why I need another

Re: [android-developers] listview selector based on item-type

2010-11-03 Thread Kumar Bibek
Yes you can. Look for examples where ListViews can show multiple view types. On Wed, Nov 3, 2010 at 10:10 PM, Johannes De Smedt johannes.desm...@gmail.com wrote: Hi, In my application I have a list with 2 types of items. For the first type I can use the default selector drawn behind the

[android-developers] Re: is there a limit for the numebr of markers to show on a MapView?

2010-11-03 Thread Paolo
ok. At this point i think it's better to show only the markers actually visible in the area... because i can have over 1000 markers to show in the map at the same time. On 3 Nov, 15:30, TreKing treking...@gmail.com wrote: On Wed, Nov 3, 2010 at 5:58 AM, Paolo brand...@gmail.com wrote: As the

Re: [android-developers] Re: wrong line numbers in crash console tracebacks

2010-11-03 Thread Kumar Bibek
Strange. Never happened to me. On Wed, Nov 3, 2010 at 10:08 PM, DraganA dand...@gmail.com wrote: I'm sure about the right version, I use CVS for versioning. This has actually happened for every error I got. Until now I kind of guessed which line it was, but today I got one which is difficult

[android-developers] Re: Off market sales and LVL

2010-11-03 Thread keyeslabs
Solving this very problem is going to be really important for Android Devs. With multiple viable markets, each with their own DRM solutions, managing the builds for a smallish Android app is getting a bit ridiculous. There's room for innovation here in the form of a layer above all of the

[android-developers] Re: Monkey usage with Scripts/Network Control not working

2010-11-03 Thread patrick
try that: adb forward tcp:1080 tcp:1080 telnet 127.0.0.1 1080 tap 160 200 On Oct 26, 12:19 am, sdphil phil.pellouch...@gmail.com wrote: okay, i'm trying to get the same thing working.  i am doing this and I see -- C:\testadb shell monkey -p com.test --setup scriptfile -v -f /sdcard/

Re: [android-developers] Re: Can anyone recommend a good OpenGL ES book?

2010-11-03 Thread Satya Komatineni
If it were OpenGL ES 1.x, the opengl redbook would have been a very good one. However the OpenGL ES 2.x is a different animal requiring a knowledge of the shading programming language. I recently bouth OpenGL Super Bible as it promised it covered a lot of the new opengl apis. I am a bit

[android-developers] Obtaining Name of Object Reference

2010-11-03 Thread Darkside Android
Object getThisObjName= new Object(); I'd like to get the name of an object reference. Is this possible via reflection in Android? -- 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: What are some good Automated Unit And System Test Tools for Android?

2010-11-03 Thread A. Elk
The open source SDK now has a tool called monkeyrunner, with an API for starting instrumentation from within a Python script. The call (in essence) returns a string containing the test results, as if you had intercepted the output from am instrument. One of the API methods prints out some help,

Re: [android-developers] Re: Registering Sync Service Programmatically

2010-11-03 Thread Dianne Hackborn
On Thu, Dec 17, 2009 at 2:04 AM, Keean Schupke keean.schu...@googlemail.com wrote: Is this something that might get fixed? Is there a reason why this is specifically not allowed? The fact that it needs to be in your manifest? Because it keeps applications self-describing rather than relying

Re: [android-developers] Obtaining Name of Object Reference

2010-11-03 Thread Kumar Bibek
name of an object reference? On Wed, Nov 3, 2010 at 10:37 PM, Darkside Android darksideandr...@gmail.com wrote: Object getThisObjName= new Object(); I'd like to get the name of an object reference. Is this possible via reflection in Android? -- You received this message because you are

Re: [android-developers] Re: Overriding Back Button Action in Activity

2010-11-03 Thread Dianne Hackborn
There is more to this story than we know yet. The standard IME receives key events from the application *before* they get dispatched through the normal facility. You won't see the back key if the IME in onKeyDown()/onKeyUp() if it was actually going to use it to hide itself. There are a number

[android-developers] Re: SimpleExpandableListAdapter sub-class

2010-11-03 Thread dashman
here you - this is a list with 1 group parent and no children. i click on the group and i get the following: FATAL EXCEPTION: main java.lang.IndexOutOfBoundsException: Invalid index 0, size is 0 at java.util.ArrayList.throwIndexOutOfBoundsException(ArrayList.java:257) at

Re: [android-developers] Re: SimpleExpandableListAdapter sub-class

2010-11-03 Thread Kumar Bibek
Well, getChildrenCount method is the one which is throwing this exception. You are requesting an index 0 of an array which doesn't have any elements. Can you post some code? On Wed, Nov 3, 2010 at 10:53 PM, dashman erjdri...@gmail.com wrote: here you - this is a list with 1 group parent and

[android-developers] How to include external files into apk

2010-11-03 Thread Eric
I need to attach several text files with the apk so that these text files can be stored at SD card when APK is installed. How can I do it? Thanks, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to

Re: [android-developers] How to include external files into apk

2010-11-03 Thread Kumar Bibek
Not possible. Once you package your app with files, you cannot delete those files. It's better, you put your files on a server, and then download these files on first run. On Wed, Nov 3, 2010 at 11:02 PM, Eric yafe...@gmail.com wrote: I need to attach several text files with the apk so that

[android-developers] Re: What are some good Automated Unit And System Test Tools for Android?

2010-11-03 Thread Greg Giacovelli
Sadly after looking over monkey runner, it's a java program running a python interpretter doing the same thing as what I have been writing but with a GUI. Sorry this is not what I am looking for. I guess I was hoping for at least an object model for the raw output interpreter of a test or suite

[android-developers] Re: best reasonable practice for locally storing a password?

2010-11-03 Thread Kumar Bibek
Obfuscation is for code. I guess, you are looking for encryption. There are several ways of achieving that. On Nov 3, 9:23 pm, DulcetTone dulcett...@gmail.com wrote: I am considering adding a means by which my app can perform functions over Google Voice, and the functionality would make little

[android-developers] Re: SimpleExpandableListAdapter sub-class

2010-11-03 Thread dashman
if you look at the stack trace - it's all google code. i'm just clicking on the group button. i believe my code does not figure in this stack dump. On Nov 3, 1:25 pm, Kumar Bibek coomar@gmail.com wrote: Well, getChildrenCount method is the one which is throwing this exception. You are

Re: [android-developers] Re: SimpleExpandableListAdapter sub-class

2010-11-03 Thread TreKing
On Wed, Nov 3, 2010 at 12:40 PM, dashman erjdri...@gmail.com wrote: if you look at the stack trace - it's all google code. i'm just clicking on the group button. i believe my code does not figure in this stack dump. Well then, how are you setting up your data and populating the adapter?

Re: [android-developers] Re: SimpleExpandableListAdapter sub-class

2010-11-03 Thread Kumar Bibek
Oops, sorry, I missed that. I was of the impression that you are using a custom adapter. I now think there must be something wrong with the adapter initialization. Will check and get back in some time. On Wed, Nov 3, 2010 at 11:10 PM, dashman erjdri...@gmail.com wrote: if you look at the

  1   2   3   >