Device diversity is both a blessing and a curse. For the variety of
reasons already mentioned, even a well-designed infrastructure is not
going to provide absolute confidence that apps will work on
'compatible' devices that haven't actually been tested. 10 years ago
we saw the same problem with
My application is designed to support both portrait and landscape
orientations. Using my HTC IO device, it survives 12 orientation
changes before throwing an out of memory exception while inflating my
activity.
When I follow the recommended procedure of using DDMS to first force a
GC and then
, 12:58 pm, OldSkoolMark m...@sublimeslime.com wrote:
Is this telling me something useful? If forcing a GC with DDMS
reclaims the memory used by now-defunct instances of my activity, I
would have thought the VM would have garbage collected some, if not
all of these defunct activities
.
On Jan 21, 3:17 pm, OldSkoolMark m...@sublimeslime.com wrote:
Yes, the OOM is related to 'external allocations'. I googled
'dalvikvm external allocation' and there's plenty to pore over. Is
there an update on this issue in general?
Here's the relevant logcat excerpt:
01-21 13:04
be?
On Jan 22, 12:52 pm, fadden fad...@android.com wrote:
On Jan 21, 3:17 pm, OldSkoolMark m...@sublimeslime.com wrote:
Yes, the OOM is related to 'external allocations'. I googled
'dalvikvm external allocation' and there's plenty to pore over. Is
there an update on this issue in general
I've got a activity with one AutoCompleteTextView with associated
'doit' and 'clear' Buttons and a read-only TextView that displays the
result of 'doit'. These results are being partially obscured by the
QWERTY keyboard. I'm trying unsuccessfully to shift focus from the
auto complete text view to
;
}
// allow default handling of this event
return false;}
On Feb 1, 10:56 am, OldSkoolMark m...@sublimeslime.com wrote:
I've got a activity with one AutoCompleteTextView with associated
'doit' and 'clear' Buttons and a read-only TextView that displays the
result of 'doit
What are the display semantics for displaying preference defaults? I
have been expecting that the first time the app is run, that when the
preference activity and its screens appear that any default values say
in a list preference are visually indicated as selected. This is not
the case in my app,
I'm in the same boat. Hoping, but not expecting to see this reply
posted.
On Feb 13, 7:07 am, tony obrien tobsourcecode...@gmail.com wrote:
So , Yes, This One did appear in the group!
Has anyone gotten a feel for when/how-many/etc posts before you no
longer go thru the moderator?
thanks,
The strange thing in my case was that I had apparently been approved
as I posted several times with minimal group display latency. Then
everything started getting directed to /dev/null. Contacted the
moderator, never heard back, but now its all good. I did change the
email associated with my
run adb uninstall package name in a shell.
On Feb 14, 11:23 am, Eurig Jones eurigjo...@gmail.com wrote:
I'm having an annoying issue when developing my app within Eclipse +
ADT...
Application already deployed. No need to reinstall.
If I've changed my code it doesn't recognise the change
Been googling, but not finding relevant resources. Hoping the folks
here can help. I just received my copy of Adobe CS4 Web Premium and
have been messing around and reading the docs trying to determine what
the workflow is to create 3D UIs. As I don't have a 3d modeling
program so I'm interested
Try putting the start() call in onResume().
On Feb 21, 4:58 am, Alex Coventry coven...@gmail.com wrote:
The following code crashes when I try to play it on my droid. The
error message given in the log is Command PLAYER_INIT completed with
an error or info PVMFErrNoResources. Then an
I've created some button .pngs in CS4 Fireworks and have loaded them
into draw9patch. The shadow effects I'm using to create a 3D-ish look-
and-feel cause the draw9patch tool to mark all the stretchable areas
as 'bad'. What artifacts are created when 'bad patches' are stretched?
How do I steer
On Feb 26, 1:27 pm, Gaunt Face matt.t.ga...@googlemail.com wrote:
Basically have at least one black pixel on the top and left sides and
you should have an ok, stretching 9-patch png
Why does this matter? Suppose the edge is a shadow or other gradient.
What then?
--
You received this
My 1.6 app works fine in both portrait and landscape modes on the
default HVGA device. I'm now trying to support it on QVGA devices and
am encountering build-time errors I don't understand.
In my res/drawable-ldpi directory I have:
startstopin.png
startstopout.png
and a selector file
In my res/drawable directory I have:
?xml version=1.0 encoding=utf-8?
selector xmlns:android=http://schemas.android.com/apk/res/android;
item android:state_pressed=true
android:drawable=@drawable/startstopin /
item android:drawable=@drawable/startstopout /
/selector
Works
and
startstopout in the right drawable-XXX/ directory.
On Tue, Jan 5, 2010 at 11:24 PM, OldSkoolMark m...@sublimeslime.com wrote:
In my res/drawable directory I have:
?xml version=1.0 encoding=utf-8?
selector xmlns:android=http://schemas.android.com/apk/res/android;
item
drawable/ and drawable-ldpi/ (at different sizes of course).
On Tue, Jan 5, 2010 at 11:57 PM, OldSkoolMark m...@sublimeslime.com wrote:
Roman,
Thanks for the quick response! Unfortunately, I'm still having issues.
It wasn't clear to me whether you were instructing me to just delete
I'm trying to make my app ready for all 1.6 devices, and am testing
with the emulator. Per table 1 in
http://developer.android.com/guide/practices/screens_support.html#testing
I need to test the normal size / low density case, right? Why is
these two skins not 'built-in'? Is merely specifying
Could be the program you used to convert the OGG to MP3. I've had
similar issues with both Cubase and Audacity padding my clips with
silence. I had good luck with Wavosaur (free).
On Jan 10, 4:23 pm, rukiman ruksh...@optushome.com.au wrote:
Does anyone know how to make a music loop in mp3? I
Still trying to get my app working across all the relevant small/
normal/large ldpi/mdpi/hdpi permutations. I am surprised by the
following behavior:
Originally, I had layouts in res/layout and res/layout-land. Worked
great. For normal screen high density devices I needed res/layout-
normal-hdpi
Been googling for a comprehensive spreadsheet that shows all the
current Android devices, which version of the SDK they use, and most
importantly, screensize/skin and pixel density. So far, I haven't
found anything definitive. I would think that somebody at Google is
maintaining a spreadsheet
I use SoundPool in my metronome application. Very short clips
repeating at up to 300BPM, no problem. I'd like to know what the
known issues you refer to are, as so far, I haven't been burned by any
of them, and would like to steer clear of them going forward.
On Jan 12, 7:14 am, Neilz
Unfortunately, Sensors.java in the apidemos (even the latest ones)
uses deprecated apis. Can anyone point me to an example using current
apis?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Thanks. I also found:
http://mobilehealth.posterous.com/example-for-accessing-the-accelerometer-with
Mark
On Jan 12, 10:06 am, Mark Murphy mmur...@commonsware.com wrote:
OldSkoolMark wrote:
Unfortunately, Sensors.java in the apidemos (even the latest ones)
uses deprecated apis. Can anyone
Users of my application will engage a feature that temporarily uses
the accelerometer. I would like to disable support for orientation
changes while this feature is active. Is there an API for this?
--
You received this message because you are subscribed to the Google
Groups Android Developers
I'm trying to improve the real-time behavior of my app. I get these
warnings in logcat from time to time, and they account for at least
some of the undesired lag I'm seeing. Is there anything I can do to
make these less likely to occur?
--
You received this message because you are subscribed to
I presume you've already tried the special 'android-fix project
properties' command thats off a right click on your project. I've
occasionally had an Eclipse workspace go bad. You may need to go to
the nuclear option. Make sure all your source files are somewhere
outside your current Eclipse
Personal update. My problem was stupid beyond belief - Didn't see the
save button on the dev console and was expecting AJAX behavior from
the dropdown response selector. The sample app works as expected now.
On Aug 3, 11:00 am, OldSkoolMark m...@sublimeslime.com wrote:
I'm seeing the same
your own app), so you'll need to
test with a temporary account if you want to test the behavior an end user
will see.
--
Trevor Johns
Google Developer Programs, Androidhttp://developer.android.com
On Tue, Aug 3, 2010 at 11:00 AM, OldSkoolMark m...@sublimeslime.com wrote:
I'm seeing the same
For the record: make sure you find the save button on the dev console
web page. It works a whole lot better if you save the desired test
response ;)
On Aug 3, 8:10 am, OldSkoolMark m...@sublimeslime.com wrote:
I'm having the same problem on my Droid. I built the sample license
checking activity
I was looking for per-application control over retry until and other
license settings from the developer console. This appears not to be
available. Do I implement a more lenient ServerManagedPolicy by
twiddling with these settings and associated preferences in
ProcessServerRequest? My app operates
I'm signed into my phone as the primary developer, and my dev console
is set to return LICENSED. I'm running the sample app. Why do I not
get any server settings? I would expect to either get settings
appropriate to either the refund period, or the following unrefundable
period.
--
You received
I'm surprised by this behavior. How do I test my app's handling of
server extras? Setting my console to 'respond normally' results in a
'not market managed' error in the sample app. My app needs to operate
in airplane mode for weeks and I had thought to add several extra
weeks to the grace period
It's been pointed out a couple of times now that this behavior makes
it difficult to test real behavior of an LVL implementation. The
only way I've found to do such testing is to create additional Google
accounts (and not list them as test accounts on your profile).
Can you do this prior to
As for testing it in the field, our recommendation is to just register an
anonymous Google account and buy your own app. You can always return it
within 24 hours and not get charged.
I'd like to test the licensing support BEFORE making the app publicly
available. I don't want to punish
This simple use case is proving trickier than I would have thought it
would be. My app is designed to operate while the phone is in airplane
mode.
1) A user downloads the app, runs it once with wireless connectivity
to get a license.
Then there are two cases to consider:
2a) User requests a
be an
excellent server extra.
String
On Aug 10, 7:13 pm, OldSkoolMark m...@sublimeslime.com wrote:
This simple use case is proving trickier than I would have thought it
would be. My app is designed to operate while the phone is in airplane
mode.
1) A user downloads the app, runs it once
Thought I'd inquire here where perhaps some other dev is having
similar problems currently. I've done this before (months ago), and
as far as I can tell, I'm doing it the same way. My 480x854 24-bit PNG
screenshots are being scaled/cropped by Market. Same with 480x854
jpgs. It looks like they're
Unbelievable. Of the two permitted sizes only 320x480 works properly.
No one else experiencing this? I'm not seeing any significant
blurriness.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
So prior to this month, there were no duplicate ANDROID_IDs? With pre-
Froyo devices?
On Aug 15, 1:47 pm, Maps.Huge.Info (Maps API Guru)
cor...@gmail.com wrote:
More on this bizarre error:
Here are other devices I see (for the month of August only) that have
this probem:
753 DROID2
4
I've got to believe that there is somebody in a corner office
somewhere at google who thinks that google shouldn't operate the
Market, and has the clout to ensure that precious little work gets
done on it. The thing is so feature deprived and outright broken that
I can think of no other reason why
John,
Do you think this should be logged at code.google.com as an issue. I
did as search for ANDROID_ID there and nothing came up.
On Aug 17, 6:55 pm, Maps.Huge.Info (Maps API Guru)
cor...@gmail.com wrote:
As far as I can tell, every DROID2 has the same ANDROID_ID. It's not
just a couple, it's
Perhaps this has already been answered in the originating thread, but
I couldn't find it. The LVL docs suggest using additional features
besides ANDROID_ID, and the question was which? Dianne Hackborne had
issues with using the IMEI. Is using the MAC address a better option?
On Aug 20, 12:04 pm,
I'm hoping for Eclipse integration of Proguard.
On Aug 24, 12:38 am, Trevor Johns trevorjo...@google.com wrote:
So far, in all the cases of cracked apps we've seen, it's been because of
the following:
1. The developer did not run a code obfuscating tool (such as ProGuard) on
their
Using com.example.android.notepad and ExpandableList2.java from
com.example.android.apis.view, I have written a simple application
that contains a content provider serving two tables in an sqlite
database and a display activity that uses my ExpandableListActivity
subclass. I am using my own
I've resolved the issue. Not sure if this is a bug, feature, or is
merely an undocumented feature. It appears that the child projection
you supply to your ExpandableListAdapter's constructor needs to
include the _ID field of the child table.
--
You received this message because you are
I have subclassed ExpandableListActivity to create an activity that
presents a simple tree view of the 'world at large' and allows the
user to select one for further use by the app. I am having trouble
setting focus programatically. One thing that baffles me is that I can
use the D-pad to set
Documented where?
On Aug 28, 4:17 pm, Kumar Bibek coomar@gmail.com wrote:
Yup, you are right, It's well documented I guess.
-Kumar Bibekhttp://techdroid.kbeanie.com
On Aug 27, 11:47 pm, OldSkoolMark m...@sublimeslime.com wrote:
I've resolved the issue. Not sure if this is a bug
Very nice app. Yep. You got free website spam. Why google is moving so
slowly to improve the market for both developers and potential users
continues to mystify ... It is obvious that market support for
communications between end user(s) and the developer is in the best
interest of everyone.
On
... and nice to see evidence of Google working on Market
improvements.
On Aug 30, 11:15 pm, Mark Carter mjc1...@googlemail.com wrote:
Just noticed the new ratings breakdown feature in the Comments section
of the Dev Console. Really interesting to see the breakdown.
Not sure how useful it is,
Consider LinearLayout. You can use layout_weight to achieve
proportional sizing.
On Sep 6, 12:26 am, Droid rod...@gmail.com wrote:
I have 2 buttons side by side in RelativeLayout (170dip each) but in
landscape view, they are too narrow - I want to increase their widths
automatically for
Once you address the file not found issue, you will discover that
there is currently no API that allows you to read in audio files and
decode them into a format that AudioTrack understands. Try MediaPlayer
instead unless you really need to work at the sample level.
On Sep 6, 6:52 pm, melo
I've been using code like:
activity.finish();
activity.startActivity(new Intent(activity, activity.getClass()));
in two places: onResume(), and in an onClick() method of an
AlertDialog. I'm getting the desired results when the code is called
from onClick(), but I get mysterious null pointer
,
but in the meantime, I've isolated the problem to a thread that uses
AudioTrack to play short samples. I've arranged for it not to be
running
when the UI is being reset and all is good.
On Sep 8, 1:09 pm, Mark Murphy mmur...@commonsware.com wrote:
On Wed, Sep 8, 2010 at 3:44 PM, OldSkoolMark m
It silently fails to load in Cubase SX 3.0.2 as well. Seems to me that
the EAS dll should be available from and supported by SONiVOX, but I
haven't found out how to purchase the plugin on their website. Can
some Logic user out there confirm that it at the very least works on
that platform?
I'm having the same problem on my Droid. I built the sample license
checking activity after inserting my key. I'm signed in using my
primary gmail identity. When I issue the license check. I see the same
logcat messages as you. When I select NOT LICENSED as the test
response on the market
I'm seeing the same behavior using the sample activity, using the
gmail account that is associated with my developer account. The one
thing I haven't done is upload the sample activity APK to the Market.
Is that necessary?
On Aug 2, 12:45 pm, Trevor Johns tjo...@google.com wrote:
It's a little
you will get Null exceptions on your app closing, just as
you found.
So basically if you have another thread you have to put some kind of
flag that waits for the AudioTrack to actually clear and release
before your app exits.
-niko
On Sep 9, 11:33 am, OldSkoolMark m...@sublimeslime.com wrote
Google seems to have a philosophy of tinkering
with stuff, getting things to a point where they kinda work, but have issues
- then they get bored and move on to the next thing and can't be bothered
with fixing the lingering problems.
It may be in Hell Freezes Over Release 2. Does anyone think that it
would take more that a couple of months of effort by a good web
developer to deal with 90% of the issues we gripe about here?
On Sep 22, 12:01 pm, Jason jason.poli...@gmail.com wrote:
Early next year is the current best guess:
AudioTrack. Beware tho, its buggy.
On Sep 21, 10:59 pm, John Michael Zorko jmzo...@mac.com wrote:
Hello, all ...
Is there an Android equivalent to the iOS Core Audio / Audio File Stream
Services? I need to be able to read audio bytes from a network and feed them
to the audio system under
I'm wondering what happens to the counts when somebody upgrades to a
new phone, and doesn't reinstall an app that they had on their old
phone. Or does reinstall.
On Sep 30, 2:02 am, Doug beafd...@gmail.com wrote:
On Sep 28, 3:10 pm, JonFHancock jonfhanc...@gmail.com wrote:
It was. I went up
My app allows the user to select different layouts for the main
activity a la:
switch(mUserInterfaceLayoutOption)
{
case 0: setContentView(R.layout.main2); break;
case 1: setContentView(R.layout.main); break;
default:
The current Android audio API's are rather spotty in terms of what
they provide. You'll have to write your own .wav converter at the very
least.
On Oct 7, 2:09 pm, Mrid mrid@gmail.com wrote:
can anyone please help me on this ?
On Oct 6, 3:37 pm, Mrid mrid@gmail.com wrote:
Hi All,
More specifically, check the stack trace for your source files. You
are in luck this time. In addition to Android source files, there's a
couple of references to your files.
On Oct 11, 7:34 am, TreKing treking...@gmail.com wrote:
On Mon, Oct 11, 2010 at 3:24 AM, ehabkandeel ekand...@gmail.com
I'm digging my Samsung Galaxy Tab. Stuff I'm working on is not tab
specific, but its nice to be able to see the UI easily without having
to pick up the phone and squint ...
On Dec 3, 1:03 pm, Gaelin gaelint...@gmail.com wrote:
I searched through the board and I didn't see anyone ask this yet so
The 'enable USB debugging' setting is greyed out and unselectable. It
didn't work out of the box, so I installed the Samsung Kies package.
Still no love. Anybody having similar problems, or for that matter,
non at all?
--
You received this message because you are subscribed to the Google
Groups
, your mileage may vary.
On Nov 13, 12:09 am, OldSkoolMark m...@sublimeslime.com wrote:
The 'enable USB debugging' setti...
--
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
in the standard driver's inf file.
--
Kostya Vasilyev --http://kmansoft.wordpress.com
13.11.2010 22:09 пользователь OldSkoolMark m...@sublimeslime.com
написал:
Thanks everyone. That did the trick to set the usb debugging option.
Bad news is that on both my Win 7 Pro 64 system and my
XP system
Eclipse is suddenly very unhappy. A project and workspace I've been
using without incident for weeks is suddenly throwing an NPE during
Eclipse initialization. The package hierarchy window doesn't appear,
and the effect of most commands is to generate errors and
corresponding log messages.
Here's
I am placing some moderately busy layouts into a Gallery and am
experiencing some strange click behavior. The outermost layout
container is a LinearLayout and it contains a bunch of TextViews
(inside some other containers). When I touch the screen where these
TextViews are, or in the empty space
Using ACTION_MANAGE_APPLICATION_SETTINGS launches the parent of the
screen I desire. It launches the Manage Applications screen that lists
my app. Selecting my app from this screen launches the Application
Info screen for my app. None of the android.provider.Settings actions
seem to fit the bill.
I am attempting to pair my Galaxy Tab with my Toshiba win 7 x64
laptop. The pairing fails because the laptop needs a PIN. I never set
a PIN, nor to my knowledge was I provided with one when I got the
device from Verizon. Also, the dialog that appears doesn't provide any
place to enter one.
I looked at the related posts, but my problem seems more basic. Full
path, or no path, file extension or not, I get a Unable to open trace
file '/sdcard/traceit.trace': Permission denied error when I run on
the emulator. Do I need to 'prepare' the emulated sd card?
import android.app.Activity;
I am using a layer-list to form a composite of several drawables as
the src to a very thin subclass of ImageView. Both of the images below
are the same size. Based upon the gravity for the second bitmap, I
would expect to be able to set its item's top and left to arbitrary
values and see the
I am looking at design alternatives for an app that needs to persist
data locally to a sqlite DB, and synchronize its contents with a
server in the cloud. I have the pdf, and have watched the excellent
presentation from IO 2010. All of the recommended patterns use
ContentProviders. The only client
I have a ContentProvider that is using sqlitegen to provide sqlite DB
access and am attempting to use JUnit to test it.
com.antlersoft.android.db_0.1.6.jar provides runtime support for the
generated DB classes and lives in the Content Provider's lib
directory. The Content Provider loads and runs
I can launch my AuthenticatorActivity from my application (activity)
through the AccountManager via
final AccountManager am = AccountManager.get(this);
am.addAccount(AuthenticatorActivity.ACCOUNT_TYPE,
AuthenticatorActivity.AUTHTOKEN_TYPE, null, null, this, null, null);
However, when I try to
I note that unlike SimpleCursorAdapter, SimpleCursorTreeAdapter
doesn't have static library support defined in v4. Does this mean that
I should use AsyncQueryHandler or AsyncTask instead of a CursorLoader?
Or should I use a different adapter for an ExpandableListView if I am
using the v4
My Galaxy tab works fine as a debug device under Win 7 and Ubuntu,
but I am unable to get ADB to recognize it on a new OS X Lion machine.
Nor does it appear on the Mac file system when I 'mount' the tab. I'm
relatively new to OS/X but it appears that there are no special
drivers for the Galaxy.
Actually, I can mount the tab from the Mac and access the FS. ADB
devices still comes up empty.
On Aug 8, 7:20 am, OldSkoolMark m...@sublimeslime.com wrote:
My Galaxy tab works fine as a debug device under Win 7 and Ubuntu,
but I am unable to get ADB to recognize it on a new OS X Lion machine
Been noticing for the past couple days that my new app's 'total
installs' has remained constant, while my 'active installs' have been
increasing. Can this possibly be valid?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
84 matches
Mail list logo