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
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
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
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
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/
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
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
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?
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
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
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
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.
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
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
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
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
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
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?
...@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
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,
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
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
/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
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
--
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
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);
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,
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
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
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
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
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
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
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,
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
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
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
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
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
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
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
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
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
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
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
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/
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
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
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
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
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
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
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
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
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
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
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
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
--
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
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
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
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
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
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
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
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
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
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
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
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
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
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):
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
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
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
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
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
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;
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
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.
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
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:
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
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,
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
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
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
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
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
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
90 matches
Mail list logo