Where is the best place to discuss this - is there a Google Group etc?
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to android-developers+unsubscr...@googl
Look in the API demos: Views | Layout Animation | List cascade
--
Android Academy: http://www.androidacademy.com
On Mar 28, 1:32 am, Keith Wiley wrote:
> AK Notepad does this nice little thing where, on displaying the file
> list, it "unravels" rapidly down the screen. Are they hacking that
>
Try running that in DDMS and watching how often the GC is called.
--
Android Academy: http://www.androidacademy.com
On Apr 17, 10:01 pm, petunio wrote:
> Hi
>
> I know this is more a java question, but I have been in many java
> forums, and the theory seems to contradict the real thing...
>
> I
Join here: http://www.linkedin.com/groupInvitation?gid=76373
We're a friendly group with a broad industry representation covering
everything from startups, job announcements, coding issues, handset
rumours...come on over and get the full picture!
--~--~-~--~~~---~--~
If you use the OI SensorSimulator you must add the INTERNET permission
to AndroidManifest.xml as it uses http to drive it, which Android sees
as a function requiring this permission. When you release your app,
presumably its not using the software simulator so you can turn off
support in your sour
With the imminent arrival of the Magic I was wondering what impact
this would have on both end users and developers who want to transfer
their apps over, or may even have both handsets for whatever reason.
Is there a licensing provision for it? A means via software? This will
become more of an iss
I'm sorry if this info is too basic for you but you didn't say what
symptoms you are getting.
Ensure you have in your
AndroidManifest.xml
--
Android Academy: http://www.androidacademy.com
Linked In? Join the Google Android group:
http://www.linkedin.com/groupInvitation?gid=76373
On Mar 18, 10
These killer features the iPhone has that Android doesn't ... do they
include multitasking, MMS, forwarding SMS, or even such advanced
features as cut n paste? How about the excitement developers go
through wondering if the apps they spent months/years on will be
allowed on the only way they can b
Sure its not the MIME type not being defined correctly on the server?
Try changing the extensions to txt, bin, etc and if you see a pattern
where some work and others don't then thats the culprit.
--
Android Academy: http://www.androidacademy.com
On Mar 18, 8:36 pm, Bobbie wrote:
> I have inclu
mPaint.setTypeface(Typeface.DEFAULT_BOLD);
--
Android Academy: http://www.androidacademy.com
On Mar 19, 8:33 pm, Meryl Silverburgh
wrote:
> Hi,
>
> In android, if I have a TextPaint object, how can I set the font style
> to be 'bold'?
> I can't find any method in TextPaint or Paint to allow me d
I'm trying to implement an About box. The PackageInfo class is great
for this, but I see it needs a package name as an argument to
instantiate it:
PackageManager pm = getPackageManager();
String version = getString(R.string.about_unknown);
try {
PackageInfo pi = pm.getPackageInfo(getStri
ssetManager and
> parse it, but there really should be no call for this.
>
> On Sun, Mar 22, 2009 at 6:41 AM, Carl Whalley
> wrote:
>
>
>
>
>
> > I'm trying to implement an About box. The PackageInfo class is great
> > for this, but I see i
Theres been a few on Linked In - try the Google Android group
http://www.linkedin.com/groupInvitation?gid=76373
--
Android Academy: http://www.androidacademy.com
On Mar 22, 7:43 pm, "1.am.W1z4rd" <1.am.w1z...@gmail.com> wrote:
> Hi, does anybody know of any good places to look for freelance And
If I'm reading things right, the accelerometer measures physical
forces (i.e. movement) and the orientation sensor gives the tilt of
the handset. If you are coding a rolling ball type app which would you
use? You could argue accelerometer, in which case you measure each
delta force and apply it to
That works fine for me.
--
Android Academy: http://www.androidacademy.com
On Mar 26, 1:00 pm, Ramesh wrote:
> Hi,
>
> I am try to get source
> fromhttp://apps-for-android.googlecode.com/svn/trunk/
> URL. But it not working. Anybody know new url.
>
> Thanks
--~--~-~--~~--
I'd love an invite too ... anyone ... thanks!
On Oct 16, 2:26 pm, Gavin Aiken wrote:
> Takes at least 24 hours in my experience :) have fun waving!
> On Fri, Oct 16, 2009 at 2:09 PM, Kenneth Adam Miller <
>
>
>
> kennethadammil...@gmail.com> wrote:
> > Have any of you gotten an email yet?
> > I
Theres an interactive timeline here:
http://www.androidacademy.com/3-features/40-current/49-article-what-makes-android-tick
On Aug 29, 12:48 am, Nikamov wrote:
> Just wondering on the release date of Android?
--~--~-~--~~~---~--~~
You received this message because
Anything around?
In particular, exactly what do those buttons do and are we to assume
to use the DPAD in portrait mode the phone is turned 180 from what
you'd expect "normal" portrait mode to be (see the pic, you'll see
what I mean: http://ota.cc/az). I'm just guessing here but as a
developer woul
rced an
> > orientation, and the platform should rotate the DPAD key events for you
> > based on the current orientation like it does for the trackball on other
> > devices.
>
> > On Fri, Sep 11, 2009 at 12:57 AM, Carl Whalley
> > wrote:
>
> > > Anything aro
Ok, sorry for posting before I read the link - the DPAD does adjust as
you'd expect and it is explained further at the page Anna pointed to..
On Sep 11, 10:21 pm, Carl Whalley wrote:
> Small point raised in my original post: if you do as you suggest and
> keep the app in portrait mo
This is with the 1.6 & 1.5 SDKs, not tried earlier ones. When you
switch from portrait to landscape the onSaveInstanceState()/
onRestoreInstanceState() pair are called once, but when going back
from landscape to portrait they are called twice, unless I've missed
something.
To test, see the log aft
g" in some code which was causing the width in an onLayout
() call to *sometimes* come in as 0, which it turns out is this
spurious lifecycle event.
--
http://www.androidacademy.com
On Sep 28, 9:27 am, skink wrote:
> On Sep 27, 1:31 pm, Carl Whalley wrote:
>
>
>
> > Thi
I just put a tutorial up on making tiles scale correctly. Its not
exactly what you are doing but theres enough overlap to get you
going.
http://www.androidacademy.com/3-tutorials/43-hands-on/154-device-independent-display-scaling
--
http://www.androidacademy.com
On Sep 28, 1:05 pm, Kwan Toh Choo
Is it possible to put a link to an app in the market on a webpage?
If not, and the apk is hosted directly, can we assume download stats
in the market will be unaffacted?
Thanks.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
sed desktop browsers would be a problem but
thought at least that would be ok if you used the browser on an
Android device.
Thanks for your help.
On Jul 13, 9:03 pm, Alexey Volovoy wrote:
> http://developer.android.com/guide/publishing/publishing.html#marketi...
>
> On Jul 13, 2:58 pm, Car
In menu.xml you can specify an icon:
Whereas in code you create entries thus:
menu.add(0, MENU_ABOUT, MENU_ABOUT, R.string.menu_about);
How in the code version do you specify the icon please?
--
Android Academy: http://www.androidacademy.com
--~--~-~--~~~--
I have an app with a View which fills the display at 320x480. I made a
splash image which is smaller, 200x200, and the logic to display this
is ok. It doesn't have the effect I'd like though, which is to show
the splash first, centered, and without clearing the background which
at present it is do
System.exit(0)
--
Android Academy http://www.androidacademy.com
On Aug 10, 10:36 am, Blackmarket wrote:
> Hi,
>
> i want to add an exit button to the menu, but didn't see an easy way
> to close an application or acces all activities of an application and
> finish them. Is there an easy approach
With J2ME devices you can construct a binary SMS, called a service
message, which has the location of a JAD encoded in its payload. When
sent to a handset, the OS recognises this and doesn't attempt to store
it as an ordinary SMS, instead just prompts the user to "Install
XYZ?". This then starts t
Is there a call I can make to return "HTC G1" etc? How about one for
the carrier, "T-Mobile"?
Thanks
--
Android Academy http://www.androidacademy.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers
App | Preferences | 1. Preferences from XML Parent toggle correctly
toggles its child.
Do the same with 5. Preferences from code and it has no effect on the
child.
Would you believe thats exactly what I need too ;-) Any fix please?
--
Android Academy http://www.androidacademy.com
--~--~-
I'm writing unit tests in a class derived from
ActivityInstrumentationTestCase2. I know I can access anything defined
in the applications XML using findViewById(), but this application
defines its Menu programmatically. I'm trying to access that menu so I
can fire click() events to it in my tests
n Aug 18, 8:59 pm, Dianne Hackborn wrote:
> Well you'll need to have some way for your instrumentation to get at the
> activity state it wants. Either give your dynamically created menus an ID,
> or have APIs on the activity to get the menus, or do something else.
>
> On Tue,
You don't have to call it yourself, but you can if you want to give it
a hint that right now would be a good time to clean up. Even then,
there is no guarantee it will do anything. Heres an example - say you
have an action game which does the minimum possible (but still some)
allocations during pl
I have a Dialog with a Button whos OnClickListener() creates an
AlertDialog:
public void onClick(View v) {
Dialog confirmDialog = new AlertDialog.Builder( activity )
.setIcon( R.drawable.icon )
...
The problem is in one place in the app, actually a MapActivity derived
Act
I ran into this recently. Try this in your AndroidManifest.xml
--
Android Academy http://androidacademy.com
On Apr 5, 6:01 am, Gabriel Simões wrote:
> Hi all,
>
> After spending some time learning about Android´s SDK I´ve finally
> "finished" a first version of my first app: a metronome.
> It´
I've an App which performs a potentially large download in background
thread. When the orientation changes or the keyboard is opened the App
lifecycle system invokes the start/stop/pause/resume etc calls - is
there any strategy available to resume the download rather than just
set a flag so the new
Mikey
Android Academy http://www.androidacademy.com
On Feb 8, 1:59 am, tora wrote:
> Hello,
>
> I have a simple question.
>
> What's his name?http://www.android.com/intl/ja/media/android_vector.jpg
>
> According to this site, his name is [ android robot
> ]http://www.android.com/branding.html
>
Instead of having 2 versions on the market for apps, one lite (free)
and one paid, is it possible to have just the lite one but offer a
payment page in the app which upgraded it once the payment is
received?
--
Android Academy http://www.androidacademy.com
--
You received this message because yo
This should give you some pointers:
http://www.androidacademy.com/3-tutorials/43-hands-on/167-coolsplash-an-interactive-splash-toy-for-android-apps
On Feb 22, 10:06 am, CMF wrote:
> Hi all, I would like to display a picture for 2secons before running
> into the main stream of the program
> public
There seems to be a default inner border in the WebView - it's about 6
pixels all round. How can this be removed so the size matches the
content?
Simple demo (target is Google API 1.6):
public class Main extends Activity {
@Override
public void onCreate(Bundle savedInstanceState) {
I'm curious about something regarding signing. If someone does as this
hack shows and patches the apk, they need to resign the new build. If
they then put this version out and its widely distributed, can't
Google see the certificate used to resign it, compare with the
original and just revoke the n
That's clearer, thanks.
Presumably if you upload apps hacked this way to the Market, your
account will get pulled. And since this is the only way of getting
apps into the Market it remains safe?
On Aug 25, 8:36 am, Dianne Hackborn wrote:
> On Tue, Aug 24, 2010 at 8:59 PM, Carl Whalley
Might be throwing in a food-for-thought curveball here but I wonder if
there's a difference between updating an app that's running and one
which isn't?
On Aug 26, 8:23 pm, TreKing wrote:
> On Thu, Aug 26, 2010 at 1:56 PM, Doug wrote:
> > I don't have anything helpful to add, TreKing, but I did w
Smells like there will be a pattern, such as they've all installed
another app causing this and don't realise, or all have full internal
memory etc.
On Aug 5, 10:18 am, Pent wrote:
> Hey Bob,
>
> thanks for taking the time. I was just coming to report that I noticed
> A being destroyed after call
I have a handler for the custom onClick thus:
public class DialogValidator implements OnClickListener {
private int id;
private Activity activity;
protected DialogValidator(Activity activity, int id) {
this.activity = activity;
this.id = id;
When an app which uses the Map API is released it must be signed with
the public cert. For individual use the key comes from the local debug
keystore, created each time the Android SDK is installed. In other
words, its different for each developer. When I include a view using
it, then commit, my ke
Fx: Waiting to exhale.
The Nexus One has been out for almost a day now and *still* no 2.1
SDK ;-)
--
Android Academy http://www.androidacademy.com
On Dec 16 2009, 10:04 am, String
wrote:
> There's been no public announcement of Android2.1, remember, so
> there's noSDKbeen released. No doubt Goog
Following http://developer.android.com/guide/tutorials/views/hello-mapview.html
to create a MapView based app works but gives a deprecation warning on
the mapView.getZoomControls() call for 1.6+. The new way is just to
call setBuiltInZoomControls(true) on your MapView and the controls
will appear a
In graphics packages you can start with a rectangle, make it a
rounded, then say add another triangle and where they meet join them
to create a path, which can then be treat as a single object, e.g.
filled with a gradient. Can this be done with Androids graphics? I'm
trying to make, for example, a
You need to be familiar with the ListAdapter. Try here:
http://developerlife.com/tutorials/?p=327
--
Android Academy http://www.androidacademy.com
On Jan 19, 8:28 pm, ls02 wrote:
> How do I update individual row in listview?
--
You received this message because you are subscribed to the Google
When developing for the G1 I set up a local apache site to serve APK's
and pointed the G1 browser to it. The server is on my local P and the
G1 connects via Wifi on its direct IP. The mime types was set up, and
the G1 downloads and installs them fine - these are all signed with
the public key. When
I've an app which shows bitmaps using either of these calls on the G1
(1.6) and they show up correctly at the same size. When I run on the
N1 (or a 2.1 AVD) I find the same file appears much smaller using
BitmapFactory.decodeFile(), but it is correct when using
BitmapFactory.decodeResource(). How
This double post to a broken link is about a Symbian handset.
On Feb 4, 6:30 am, SonyEricsson DeveloperWorld
wrote:
> Vivaz has a 3.2 inch 360 x 640 pixel TFT resistive touchscreen with 16
> million color depth. OpenGL ES 1.1 and 2.0 are supported for superb
> graphics.
> The 8.1 megapixel camera
Check out the layout inflater - in your case you'll want to download
the XML first.
http://developer.android.com/intl/zh-TW/reference/android/view/LayoutInflater.html
--
Android Academy http://www.androidacademy.com
On Jul 1, 6:41 am, ABhi wrote:
> Hi All,
>
> I'm dealing with a problem you guys
Posted to SO but there's no reply - anyone come across this?
http://stackoverflow.com/questions/33112277/android-6-0-marshmallow-stops-showing-vertical-seekbar-thumb
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, sen
What I'm trying to achieve is to use a Drawable with a couple of
layers inside it, but control some values at runtime such as the
startColor for the gradient. Here's what I have in
my_layered_shape.xml:
http://schemas.android.com/apk/res/android";
>
57 matches
Mail list logo