[android-developers] Creating drop-down, expandable views

2012-01-11 Thread DulcetTone
I see on occasion complex preference panels that have factored the panel into expandable sections to reduce visual clutter and speed loading time. I see things in the SDK such as ViewStubs but see no visual illustration of what they look like and whether they create the sort of design I'd like to

[android-developers] Re: Android Library sources not found

2012-01-08 Thread DulcetTone
My hero, too! This presumably will fix the issue for me, as well, but I can see it has already done the impossible -- finally made Eclipse automagically build the projects my own one depends on. I swear I'd tried the same trick many times before and it never worked. Perhaps I cleaned up some

[android-developers] Android Library sources not found

2012-01-05 Thread DulcetTone
Is there something I need to do so that my own Android Library's source code is findable by Android projects working with it within the same workspace? The debugger goes to a .class version of it, and no use of the link to source function offered thereby placates it. No pointing out of this

[android-developers] Dalvik format error 1

2011-12-27 Thread DulcetTone
How can I tell what packages/classes are conflicting to cause this? Is it a problem to have a package's classes contributed from more than one project as long as the classes do not have the same package.classname signature? This is driving me bonkers, this vague error message. tone -- You

[android-developers] AOSP fails to repo sync KeyError: 'content-length'

2011-10-29 Thread DulcetTone
failure is immediate and inescapable it seems: ad-3: Traceback (most recent call last): File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/ python2.5/threading.py, line 460, in __bootstrap self.run() File /System/Library/Frameworks/Python.framework/Versions/2.5/lib/

[android-developers] Library srec_jni

2011-10-29 Thread DulcetTone
Where does this reside, in a format compatible with System.loadLibrary() on the host computer (say, when it is being used within the simulator)? I see a libsrec_jni.so , but regular non-Dalvik Java code on my own machine does not recognize it as something good for loadLibrary() or load(). There

[android-developers] New Market Console not so amazing

2011-07-27 Thread DulcetTone
I am not sure I like the new Market Console. From a usability standpoint, the Recent Changes field should be on the APK panel, not the other one. Changes are associated with APKs, yes? It is too easy to have an APK up and not activated. What value is there in having one posted and not

[android-developers] Android app website w/ release history?

2011-06-26 Thread DulcetTone
I can recall using a (non-Google) website that listed Android apps like so many do, but this one had an event stream for each app showing changes such as version updates, price changes, permission changes, etc. I've forgotten which site that was. Can someone point me to one (or more) such sites?

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-05 Thread DulcetTone
Mark, thanks so much for that. I had overlooked those pages in my focus on the Javadoc. It would be great if the germ of those nuggets were placed into the Javadoc. I think I have the tools to resolve these lifecycle issues. tone -- You received this message because you are subscribed to the

[android-developers] Re: Android LifeCycle and Singleton Instances

2011-06-04 Thread DulcetTone
I feel that the lifecycle (of apps and activities) is not well documented. I wish the Javadocs were somehow wikified so the vague portions could be collaboratively identified and remedied. I only feel I am able to identify places where questions arise, so having the ability through OSP (I

[android-developers] RecognizerIntent, free-form, returning ok for all input

2011-03-21 Thread DulcetTone
A user, running Google Services Framework ver. 2.2.1 Voice Search ver. 2.0.2 finds that my app's use of the RecognizerIntent for voice-to-text returns ok no matter what he says. The same code, on my test phones (running VS 1.5.0 and 1.6.0) produce plausible text versions of what I said. What

[android-developers] Re: Activity lifecycle... still a mystery to me

2011-03-21 Thread DulcetTone
My app responds to speech commands. I want the behavior to be that 1. if back is hit on my initial activity, it exits. 2. My app has a few sub-activities it may launch on user speech- or GUI input 3. if home is hit on ANY of my activities, I want all of them to finish. That's basically it.

[android-developers] Activity lifecycle... still a mystery to me

2011-03-12 Thread DulcetTone
I find the flowchart of Activity lifecycle pretty ambiguous. In a perfect world, it would receive a little more work to resolve the gray, but I'll throw out some example issues. 1. The phrasing on the legs into and out of onPause() are vague. Does another activity comes in front of the activity

[android-developers] Telling 2.2 vs 2.2.1

2011-02-09 Thread DulcetTone
How can I tell, robustly, whether my app is running under Android 2.2 vs 2.2.1 (or later within 2.2)? tone -- 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

[android-developers] Service.startForeground() -- what is the int id parameter?

2011-01-31 Thread DulcetTone
I tried using this with id=0, and no icon was placed in the status bar. I switched to using a string resource ID and it worked. The documentation for the notification system seems to welcome us to use any value unique to our app. tone -- You received this message because you are subscribed to

[android-developers] What is a KeyGuard?

2011-01-24 Thread DulcetTone
Is an Android KeyGuard the swipey thing to unlock the home screen, or is it a screen that requires security code or pattern to be entered, or is it both of these things? If only the second, why is it that a KeyGuardLock.disableKeyguard() is documented as Note: This call has no effect while any

[android-developers] Re: How to tell if a package is burned in versus updateable?

2011-01-19 Thread DulcetTone
On Jan 5, 10:19 pm, Dianne Hackborn hack...@android.com wrote: On Wed, Jan 5, 2011 at 7:07 PM, DulcetTone dulcett...@gmail.com wrote: Is there no means by which you can tell whether a package installed on the phone is burned in with the firmware (and hence immutable) versus one that can

[android-developers] How to tell if a package is burned in versus updateable?

2011-01-05 Thread DulcetTone
Is there no means by which you can tell whether a package installed on the phone is burned in with the firmware (and hence immutable) versus one that can be updated? On a similar line, why does Google ever put apps on the Market with the same signature by which they are burned into some phones?

[android-developers] Re: uninstall TTS data from Android = 1.6 ?

2010-12-31 Thread DulcetTone
...@gmail.com wrote: I was able to sufficiently test this with the emulator running a 1.5 AVD, whereTTSwas not available yet. On Dec 21, 8:48 am, DulcetTone dulcett...@gmail.com wrote: How do you uninstall voice data from a phone that has it installed? I need to test code that handles cases

[android-developers] Bluetooth SCO... start/stop versus setOn(bool)

2010-12-30 Thread DulcetTone
I do not understand the model of AudioManager.startBluetoothSco() AudioManager.stopBluetoothSco() and AudioManager.setBluetoothScoOn(boolean) The description in the documentation is not clear. is start/stopness an underlying state for on/offness? Is SCO started/stopped for the whole device,

[android-developers] uninstall TTS data from Android = 1.6 ?

2010-12-21 Thread DulcetTone
How do you uninstall voice data from a phone that has it installed? I need to test code that handles cases of it being absent. tone -- 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 block a BufferedReader when no input is available?

2010-12-19 Thread DulcetTone
I have code in a worker thread that needs to efficiently read a constantly-growing input stream from a process. The issue is that the present design uses a sleep() for a short period if there is no input presently available, and I'd like the attempt to read the input stream simply *block* so it

[android-developers] Re: How to block a BufferedReader when no input is available?

2010-12-19 Thread DulcetTone
/synchronization_wait_notify.shtml Have the reader thread wait when there is no data and the writer thread notify the reader when more data is available (and when it should exit its processing loop). -- Kostya 19.12.2010 16:38, DulcetTone пишет: I have code in a worker thread that needs to efficiently

[android-developers] Eclipse builds suddenly broke

2010-12-12 Thread DulcetTone
My project was building fine yesterday, but after I downloaded the 2.3 SDK and updated some Eclipse components, it broke HARD. .AIDLs do not even try to compile Resources are never compiled (e.g., from values/strings.xml) Are there any known issues with the latest Eclipse/Android bits? tone --

[android-developers] Re: Eclipse builds suddenly broke

2010-12-12 Thread DulcetTone
This turned out to be caused by the new requirement that multiple formatting marks in a string/string be numbered. More here: http://developer.android.com/guide/topics/resources/string-resource.html Tony On Dec 12, 11:45 am, DulcetTone dulcett...@gmail.com wrote: My project was building fine

[android-developers] Make an app NOT be full screen

2010-12-11 Thread DulcetTone
I want my app to not obliterate all other apps on the screen and perhaps to dim them or blur them while keeping just a small panel open at the bottom. I've tried this to no avail... setContentView(R.layout.main); getWindow().setType(WindowManager.LayoutParams.TYPE_SYSTEM_ALERT);

[android-developers] Re: New Android Market Client Update

2010-12-11 Thread DulcetTone
I agree... I find the change in trial period a step backward. Tony On Dec 11, 7:09 am, Pent tas...@dinglisch.net wrote: No offense, but the fact that you don't have a trial app is a really a bit tricking people into buying the app.  A large percentage of people are too timid, don't know,

[android-developers] Re: Make an app NOT be full screen

2010-12-11 Thread DulcetTone
Thanks, TreKing and Kostya ... will explore this path. tone On Dec 11, 3:08 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can declare your activity in the manifest with: android:theme=@android:style/Theme.Dialog to make it semi-transparent, and use wrap_content for both width and

[android-developers] Re: Make an app NOT be full screen

2010-12-11 Thread DulcetTone
what should I look for? Tony On Dec 11, 3:26 pm, DulcetTone dulcett...@gmail.com wrote: Thanks, TreKing and Kostya ... will explore this path. tone On Dec 11, 3:08 pm, Kostya Vasilyev kmans...@gmail.com wrote: You can declare your activity in the manifest with: android:theme

[android-developers] how to center justify within a LinearLayout

2010-11-12 Thread DulcetTone
The following code incorrectly (in my view) places the text left- justified, and the button is in the center, horizontally. Why is this? LinearLayout android:layout_width=fill_parent android:layout_height=wrap_content

[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] Re: how to release Paid upgrade for Free app?

2010-10-28 Thread DulcetTone
You cannot do either of these things. Your present package name is forever free and forever in use. You can unpublish, but nothing else. The sad truth is you had better come up with a new package name for your paid version or try to tie the paid functionality within the present app get unlocked

[android-developers] How to wrap and delegate ACTION_RECOGNIZE_SPEECH?

2010-10-27 Thread DulcetTone
I am trying to receive RecognizerIntents asking for free form speech recognition and then pass them on to Google Voice Search. My code is basically this: Intent intent = new Intent(getIntent()); intent.setClassName(com.google.android.voicesearch,

[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

[android-developers] Sending email by Intent... not simply composing a message

2010-08-11 Thread DulcetTone
I can't see that there is a means of sending an email programmatically by Intent, as an analog to sending an SMS. ACTION_SENDTO simply allows you to pre-fill-out a composition of a new email (subject, body, addressees, etc), but not cause it to be sent. Is this correct? tone -- You received

[android-developers] Re: Sending email by Intent... not simply composing a message

2010-08-11 Thread DulcetTone
You're right... I misstated that. I can send SMS messages using the SDK, but cannot send email. I find that incongruous, despite the fact that the email app in the open source contains some nicely crafted code to do just that. Is every app that is to send mail to reinvent a very intricate, heavy

[android-developers] Cannot find gen folder... it's right there!

2010-07-19 Thread DulcetTone
I have Eclipse build issues. I am running ADT 0.9.7 from 1157 May 7th 2010 and a freshly-updated copy of Eclipse 3.5 IDE for Java I have an Android project which depends on an underlying Core Android project, and it claims not to find its gen folder, though it is exactly where it has ever been

[android-developers] Eclipse projects and Android apps -- factoring and modularity

2010-07-18 Thread DulcetTone
I am using Eclipse and have an app that has free and paid versions. For a long time, I built the 2 apps from a workspace set up as 3 Android projects: Core (all the logic, all the resources, offering a never-deployed com.me.myapp.Main activity) Free (creates an empty subclass of com.me.myapp.Main

[android-developers] Camera Button in the emulator

2010-05-06 Thread DulcetTone
Why does this not work? Pressing the GUI button representing the hardware camera button seems to indicate that the feature is disabled, and the advertised keyboard shortcut for simulating its press (control +F3) does nothing at all. tone -- You received this message because you are subscribed

[android-developers] Start an activity WITHOUT it becoming the foreground one?

2010-04-22 Thread DulcetTone
Is there a way to call startActivity(Intent) without the newly started activity displacing the current one as the active, foreground activity? If not purely so, are there near approximation to this effect that can be done, such as mimicking a back keypress event right after calling

[android-developers] Re: One view displays multiple canvas, back button doesn't work.

2010-04-07 Thread DulcetTone
You must call super.onKeyDown(int kc, KeyEvent event) when appropriate to derive the back behavior. tone -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe

[android-developers] Re: Your feedback on Samples/Tutorials/Articles

2010-04-07 Thread DulcetTone
On Mar 23, 1:41 pm, Yahel kaye...@gmail.com wrote: add a comments system to the reference pages That's what they did in the PHP documentation and it is pure gold. Examples, implementations, work around, bug reportsVery often way more instructive than the actual content of the official

[android-developers] Re: Contacts from 1.5 and 1.6 ... filtering out trash

2010-04-04 Thread DulcetTone
added by Gmail. Cheers, - Dmitri On Sat, Apr 3, 2010 at 1:03 PM, DulcetTone dulcett...@gmail.com wrote: I am using this in Android 1.x:        final String[] proj = new String[] {           Contacts.People._ID,            Contacts.People.STARRED,           Contacts.People.NAME

[android-developers] Re: Activating Bluetooth

2010-04-04 Thread DulcetTone
Ok... it's ugly. Indeed, this was one of the things I found difficult to do in the same manner in Android 1.x and Android 2.x I actually found it difficult to have one app exercise both these interfaces, one of the several reasons I wish I had a separate app for 1.x vs 2.x -- if you've not yet

[android-developers] Re: Contacts from 1.5 and 1.6 ... filtering out trash

2010-04-03 Thread DulcetTone
I am using this in Android 1.x: final String[] proj = new String[] { Contacts.People._ID, Contacts.People.STARRED, Contacts.People.NAME }; final String selection = null; Uri uri = Uri.parse(content://contacts/groups/system_id/

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-21 Thread DulcetTone
I am trying the same thing, and failing as you are to use abortBroadcast() to avoid having Camera launch. One thing you should note: 999 is apparently the highest priority a non-system app should use on its intent filters. However, 999 did not help me get there before Camera (apparently). I

[android-developers] Re: Problem launching my own (camera) application on press of Camera-button (part 2)

2010-03-21 Thread DulcetTone
the 'Camera' key. On Mar 21, 5:07 pm, DulcetTone dulcett...@gmail.com wrote: I am trying the same thing, and failing as you are to use abortBroadcast() to avoid having Camera launch. One thing you should note:  999 is apparently the highest priority a non-system app should use on its intent

[android-developers] Re: Unit Testing : Who uses it ?

2010-03-11 Thread DulcetTone
I routinely find a disproportionate number of my bugs and crashes reside in the code set up for the purpose of testing and evaluation of the program rather in the function of the program itself. I'm sure this is a measure of my unfamiliarity with best practices, but I find it more beneficial to

[android-developers] ACTION_USER_PRESENT ... what of reverse condition?

2010-03-02 Thread DulcetTone
The broadcast action Intent.USER_PRESENT tells me when the keyguard is released, but what of the opposite transition? How can I find when the keyguard is activated? tone -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this

[android-developers] Contacts from 1.5 and 1.6 ... filtering out trash

2010-02-24 Thread DulcetTone
I am trying to write a clean bit of code that can list the people in a 1.5/1.6 Contacts data store, and I do not see how I filter out the cruft that Google throws in (ad hoc contacts literally addressed by other apps and stored, for some reason, in the contact list without a clear means of

[android-developers] my EditText is an attention whore

2010-02-17 Thread DulcetTone
I have a ScrollView which features a variety of widgets -- ProgressBars, Spinners and Checkboxes and a single EditText way down at the bottom. If I am at the top of the ScrollView with the EditText scrolled way off the bottom, touching and changing a ProgressBar at the top causes the ScrollView

[android-developers] Re: my EditText is an attention whore

2010-02-17 Thread DulcetTone
More information: this appears only to happen if I first scroll down to reveal the EditText. I notice that as I scroll the view by touch-drag, the EditText is grabbing the focus as it breezes past (a behavior I could do without, I suppose ... I'd be happy to insist on directly clicking on it. I

[android-developers] Re: Text To Speech Android 1.6 with minsdk 3

2010-02-14 Thread DulcetTone
Ok, I definitely do not see how to make this work. I don't grasp how the wrapping method here in any way spares the 1.5 runtime environment from having references to text-to-speech things. A 1.5 user tried my test build and gets a force close. I redoubled my efforts to manually select a 1.5

[android-developers] Re: Text To Speech Android 1.6 with minsdk 3

2010-02-14 Thread DulcetTone
of the example. Let me tweak it back and fuss a bit more. Your claims of success inspire me to see what I might have done wrong. tone On Feb 14, 11:06 am, DulcetTone dulcett...@gmail.com wrote: Ok, I definitely do not see how to make this work. I don't grasp how the wrapping method here in any way

[android-developers] Re: Text To Speech Android 1.6 with minsdk 3

2010-02-14 Thread DulcetTone
I think I got it working. Thanks for the direction. My mistake had been moving the boolean that reflected the availability of the TTS function INTO my wrapper class (where code design sort of suggests it would like to be) and this would cause me VerifyError exceptions. So there was indeed a

[android-developers] Re: Text To Speech Android 1.6 with minsdk 3

2010-01-29 Thread DulcetTone
I don't see how one is supposed to compile this without targetting 1.6, and if one targets 1.6, how does one get it to run on a 1.5 device? I have minSdk=3 but my Eclipse projects don't want to compile WrapTTS without replacing my Android 1.5 dependency with Android 1.6 Once I do that, I can

[android-developers] Re: trying to launch Android 2's Gallery .. security exception

2010-01-27 Thread DulcetTone
Understood. I'm trying to invoke this class because it was programmatically found to exist previously. On Jan 23, 5:57 pm, dan raaka danra...@gmail.com wrote: on the tangential topic .. it is harmful to assume that the classname you are using will exist on ALL andorid devices. -Dan --

[android-developers] Re: uses-library

2010-01-27 Thread DulcetTone
Many thanks. tone -- 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...@googlegroups.com For

[android-developers] uses-library

2010-01-25 Thread DulcetTone
I have an app that includes this code blurb: System.loadLibrary(foo_jni); Where the functionality in foo_jni is in the OSP under external/foo However, there is no uses-library tag in my app's AndroidManifest.xml I suspect that some crashes reported from the field is from phones that lack this

[android-developers] How to factor code for Free/Paid app versions?

2010-01-19 Thread DulcetTone
I have a project which I want to split into a paid and a free version. I do not care to double my management of the res/ folder and would even like the AndroidManifest.xml to be the same file except for the package line. Worrying little about hacking (at this stage -- my app is not

[android-developers] driving a Service through a versioned interface

2010-01-10 Thread DulcetTone
How is an app supposed to be able to use an underlying service whose name does not change, but whose AIDL file has changed from one Android version to another? The only way I can guess at it allows me to start the remote service just fine, but it gives me a security exception when I try to use

[android-developers] Re: driving a Service through a versioned interface

2010-01-10 Thread DulcetTone
two separate interfaces 2. offer a second version of my product for the higher mark SDK levels with the dissimilar service interface Are there other options that occur to you? tone On Jan 10, 8:05 am, Mark Murphy mmur...@commonsware.com wrote: DulcetTone wrote: How is an app supposed to be able

[android-developers] Re: driving a Service through a versioned interface

2010-01-10 Thread DulcetTone
Here is more detail: my app uses a small subset of Android's MediaPlaybackService (which underlies its Music app) The problem is that the AIDL for some of the few functions I use have changed from Android 1.x to 2.x Therefore no single com.android.music.IMediaPlaybackService.aidl file will be

[android-developers] MediaPlayer ... a nest of undocumented pitfalls

2010-01-06 Thread DulcetTone
I use MediaPlayers in the most basic way possible, and yet it either works or not and there is no means to troubleshoot. I am trying to play a .wav file in my app's own filespace. It just won't do it. I try variation upon variation. I suspect that the MediaPlayer boasts only a limited set of WAV

[android-developers] Re: Cannot play audio on some phones

2010-01-03 Thread DulcetTone
I have no idea. This can't happen on my phone. Should I be calling create(myActivity, id) or create (myActivity.getBaseContext(), id)? I don't know why I ask -- neither form seems to solve the problem on at some (not all) of these Hero phones. I am coming to really despise Hero/Eris. tone On

[android-developers] Re: Query on releasing to sony app store

2010-01-02 Thread DulcetTone
I'd think checking Build.MANUFACTURER case-insensitively for Sony should tell your app if such a phone is in use. tone On Jan 1, 11:58 am, karthikr karthik.scintill...@gmail.com wrote: Hi Guys, I am planning to submit my application in sony app market. Is there anything that I can do to

[android-developers] Inserting new Calendar event using installed app

2009-12-30 Thread DulcetTone
I want to provide the user with a shortcut to creating a new calendar event, leaving him at whatever Activity would ordinarily be used to do this (com.android.calendar.EditEvent in Android devices other than the Hero). I have code (see below) that works, in a fragile manner, by directly handing

[android-developers] Cannot play audio on some phones

2009-12-30 Thread DulcetTone
I am vexed by the variety of ways various phones can choose or choose not to play an MP3 file I have in my app as a raw asset. My preferred way to do this: MediaPlayer mp = MediaPlayer.create(this, resId); returns NULL on HTC Hero, and seemingly some Erises. So when THAT happens, I do mp = new

[android-developers] RIGHT way to kickstart composing a new Calendar event?

2009-12-24 Thread DulcetTone
My app wants to whisk the user to the create new event composition window of his Calendar app, initializing begin time, end time, title and description text for the event, but then leaving him able to see these values and optionally alter them before saving (or discarding) the event using the

[android-developers] Why is LABEL an invalid column for a ContactMethod?

2009-12-17 Thread DulcetTone
I am having a bear of a time figuring out what colums exist for email contact methods. Specifically, I want to find out the home, work or other of an email address. I have tried looking for it under integer TYPE (illegal column), and under Strings LABEL (illegal column) and NAME (this works, but

[android-developers] Re: Why is LABEL an invalid column for a ContactMethod?

2009-12-17 Thread DulcetTone
I should state that this is on 1.6 The errors look like so (when trying TYPE or LABEL -- the word type actually reflects the column that fails): 12-17 16:19:43.877: ERROR/DatabaseUtils(131): java.lang.IllegalArgumentException: Invalid column type 12-17 16:19:43.877: ERROR/DatabaseUtils(131):

[android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-12-17 Thread DulcetTone
Mark, did you finish this and post it somewhere? How do I look for it? I am enjoying my warescription, by the way. I will look for a feedback link on your site, as I have some. tone On Nov 26, 7:42 am, Mark Murphy mmur...@commonsware.com wrote: This is a fragment of a sample that I'll be

[android-developers] Re: How to get all contact's name phone number, email for 2.0

2009-12-17 Thread DulcetTone
oops... did a little looking. I guess you're going to be commonsguy. tone -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to

[android-developers] Re: Can an Activity pause() rather than finish()?

2009-12-01 Thread DulcetTone
Dianne, your answers are often just the spur I need. I already had the data in such a place (a static list), and was under the misapprehension that when a root activity of an app went away, the app's entire process was cleaned up. This will work fine for me, but I will now want to spend some

[android-developers] Can an Activity pause() rather than finish()?

2009-11-30 Thread DulcetTone
I see no means by which my activity can pop itself off the activity stack to return the user to the one he was using before it was invoked. Is there one? My purpose is that my app has some data structures built from data provider queries that take 5-15 seconds to assemble and I don't want a lot

[android-developers] Querying Media Artists, coming up 1 short

2009-11-19 Thread DulcetTone
I have a the following code which aims to get the names of the music artists on the external media that came with my T-Mobile MyTouch3G. The Music app shows 6 songs which apparently come with the phone -- 2 each from 3 artists (Jennifer Hudson, Sara Bareilles, and Britney Spears), but my code

[android-developers] my custom Parcelable jams on cross-process read

2008-12-09 Thread DulcetTone
using SDK r1 I have a Parcelable I am passing successfully in an AIDL call from a Service to the Activity that launched the Service, but which jams on the first parcel.readString() through the same AIDL call to a different Activity. Here is my interface's AIDL: package com.me;

[android-developers] Re: my custom Parcelable jams on cross-process read

2008-12-09 Thread DulcetTone
Further information: I am able to call functions across this same boundary that merely pass a String and cause it to print on the remote side. Still puzzling on it. :/ tone --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] AIDL callback interface from Service to Activity oddity

2008-12-08 Thread DulcetTone
I have 2 activities (call them 1 and 2), Activity 1 includes a Service. If the Service tries to make an AIDL call to Activity 1, the call works fine. If, however, the Service tries the same AIDL call to Activity 2 (the remote activity), it never arrives for processing at the remote activity.

[android-developers] How to hand in a callback in AIDL?

2008-12-01 Thread DulcetTone
I have found it convenient to make AIDL interfaces in pairs -- one for how the client calls the server, and one by which a server can call back into the client. However, I find that the design of the Proxy/ Stub model (which I confess I don't fully grasp) causes me issues in the method I use to

[android-developers] Buildtime IllegalArgumentException: already added

2008-11-19 Thread DulcetTone
Using Eclipse, I get this extensive stack trace when trying to build a project that uses an AIDL-defined interface which is defined in an external JAR file. What might I have done wrong? Thanks in advance. [2008-11-19 15:10:30 - My Project] UNEXPECTED TOP-LEVEL EXCEPTION:

[android-developers] Re: Custom Parcelables in external JARs... how to get this working?

2008-11-08 Thread DulcetTone
to the generated jar or whatever without the source; the source is needed for everyone that is compiling against it. On Nov 7, 9:02 pm, DulcetTone [EMAIL PROTECTED] wrote: Hi, hackbod. Can you be more explicit in this? tone On Nov 7, 11:53 pm, hackbod [EMAIL PROTECTED] wrote: You'll need

[android-developers] Custom Parcelables in external JARs... how to get this working?

2008-11-07 Thread DulcetTone
I have a custom Parcelable which I have gotten working internally in the project in which it is compiled. That project is then exported as a JAR in Eclipse, and this JAR is in turn referenced by another project which wants to pass the custom Parcelable as a parameter in AIDL calls. However,

[android-developers] Re: Custom Parcelables in external JARs... how to get this working?

2008-11-07 Thread DulcetTone
Hi, hackbod. Can you be more explicit in this? tone On Nov 7, 11:53 pm, hackbod [EMAIL PROTECTED] wrote: You'll need to make the source .aidl files available for them to import. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[android-developers] How to have 2 activities open in one Eclipse workspace?

2008-11-06 Thread DulcetTone
I have 3 projects: Jarfile/ contains a bunch of Java classes that are put into a jar Activity1/ contains an activity (and an AndroidManifest.xml) Activity2/ contains a second activity (and an AndroidManifest.xml) When I try to build and debug Activity2, I get this error: [2008-11-06

[android-developers] how to get AIDL to gen .java in Eclipse?

2008-11-03 Thread DulcetTone
trying to resolve an issue and I hurt myself: I removed an AIDL file and synced the project. I restored the AIDL file and synced the project. The .java did not get regenerated. I did a build all. Nothing. How do I get Eclipse to do the right thing? tone

[android-developers] Inflate Exception... how to diagnose?

2008-10-19 Thread DulcetTone
I have an XML file that causes an inflate exception with no discernible detail to help me diagnose what went wrong What is the best way to get Android to offer details on what was objectionable? tone FYI, here was the XML: ?xml version=1.0 encoding=utf-8? RelativeLayout

[android-developers] How to have multiple Android projects in one Eclipse Project?

2008-10-01 Thread DulcetTone
I have a tree of folders containing the source for a working Android activity I hope to split into a Service and two Activities. How do I accomplish this? Can I simply add an AndroidManifest.xml to each of 3 separate Java packages? Thanks in advance. tone

[android-developers] Re: Adding audio files to res/raw fails to add them to R.java

2008-09-08 Thread DulcetTone
I see my error. I moved my Activity after creating the project, and there is a tug-of-war about where R.java belongs. There is another one lurking around that IS being updated properly. I will work to bring the two together! tone On Sep 8, 8:03 pm, Mark Murphy [EMAIL PROTECTED] wrote: I