[android-developers] does linear interpolator work?

2009-10-08 Thread Andy Droid
I am creating a Translate Animation, and explicitly setting the Interpolator to LinearInterpolator (which is also the default), but it doesn't seem to be truly linear. It still accelerates and decelerates. Am I missing something? I am in Android 1.5. thanks

[android-developers] simple apk builder example

2009-09-30 Thread Andy Droid
There doesn't seem to be much documentation on the apkbuilder. There is, of course the command line help, but so far I'm not exactly sure how to do my task. I don't have a lot of experience building in ant or anything. I basically want to take an apk that I've made from eclipse, unzip it, swap

[android-developers] Re: Sending Email

2009-09-27 Thread alex-droid
I've created so-far fully working version of javamail based on the source code available in the glassfish repository and some awt class from harmony. I'm not sure of what i can do with the license of what i have used to make it work but i've put all of this in a google code project :

[android-developers] modify asset such as a .png

2009-09-25 Thread Andy Droid
Wondering if my app can modify an asset, such as myimage.png, that is in the res/drawable folder of my app? Say I want to change the color. So, perhaps I would get the bitmap, make a copy, make it mutable, modify the pixels, then save over it? Or can I just alter it directly? If so, how would

[android-developers] Re: Can a core class access resources at the app layer?

2009-09-24 Thread Andy Droid
to get a package's resources are the typical mechanism for this. On Tue, Sep 22, 2009 at 5:59 PM, Andy Droid andydroi...@gmail.com wrote: Can a core class such as AbsListView access resources, such as xml files, and .png's, in a 3rd party app installed in the normal way (at the app level

[android-developers] Re: Can a core class access resources at the app layer?

2009-09-24 Thread Andy Droid
do that.) On Thu, Sep 24, 2009 at 4:39 PM, Andy Droid andydroi...@gmail.com wrote: Thanks, Dianne.  I tested your suggestion with two apps, where one app gets resources from another app, and it worked.  Doing it at the framework layer is more difficult, but it may be more of a build

[android-developers] View pops to the left, at the end of animation

2009-09-16 Thread Andy Droid
I have a ViewGroup, which has three children, a TextView in the middle of the screen, a TextView off-screen-right, and a TextView off-screen- left. The user can swipe left or right, to bring either of those off- screen TextViews to the on-screen position. The ViewGroup then takes care of

[android-developers] Re: what services are available at the API level?

2009-09-09 Thread Andy Droid
, 2009 at 12:51 PM, Andy Droid andydroi...@gmail.com wrote: I know about LocationManagerService, AlarmManagerService, and BatteryService, from Android programming books, but is there a published list of all available services?  thanks -- Dianne Hackborn Android framework engineer hack

[android-developers] Re: what services are available at the API level?

2009-09-09 Thread Andy Droid
Yeah, that questions too vague. The link helped, though. On Sep 9, 10:41 am, Mark Murphy mmur...@commonsware.com wrote: Andy Droid wrote: That's a good point.  In addition to what I mentioned, I guess I'm really interested in ALL the API's, regardless of how they are implemented

[android-developers] change framework assets with alternate home screen

2009-09-09 Thread Andy Droid
Could an alternate home screen app replace the assets such as s menu_item_background_pressed.9.png or list_selector_background_focus.9.png, both found in frameworks/base/ core/res/res/drawable in the open source project? I have altered those by changing out the assets and recompiling. But can

[android-developers] Re: change framework assets with alternate home screen

2009-09-09 Thread Andy Droid
Thanks for the reply. So once the system.img is flashed to the phone, there is really no way to change the contents of framework-res.apk? Sorry for the redundant question, just verifying. And no way to change out a core app icon, such as Contacts? thanks On Wed, Sep 9, 2009 at 3:58 PM,

[android-developers] what services are available at the API level?

2009-09-04 Thread Andy Droid
I know about LocationManagerService, AlarmManagerService, and BatteryService, from Android programming books, but is there a published list of all available services? thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[android-developers] dynamically add view to view flipper

2009-09-04 Thread Andy Droid
Trying to dynamically add a view to a ViewFlipper. I want to extend ViewFlipper so I can modify it. Here is the code. The child does get added, but it doesn't show up. Any ideas? thanks public class DCMFlipper extends ViewFlipper { DCMFlipper(Context context){

[android-developers] how do I extract an AttributeSet from an xml file

2009-09-03 Thread Andy Droid
I would like to extend ViewFlipper, so that I can override some of the functions. I borrowed some code from the Flipper Demo in Murphy's Busy Coders book. I made my own class that extends it, but I have to pass in an AttributeSet, when I instantiate it. How do I get that from my xml? Here is

[android-developers] which content providers to apps have access to?

2009-09-02 Thread Andy Droid
What content providers in the cupcake android build do apps have access to? According to this: http://developer.android.com/guide/topics/providers/content-providers.html You can see some of them listed in the android.provider package... which is listed here:

[android-developers] problem animating a view object

2009-09-01 Thread Andy Droid
Attempting a fairly simple animation of a View. I'm trying to display a panel, and then just animate it if the user touches the screen. Code for my simplified test is below. The function animateMe() definitely gets called, but nothing happens. Any help greatly appreciated, thanks. MAIN

[android-developers] problem animating a view object

2009-08-31 Thread Andy Droid
Attempting a fairly simple animation of a View. I'm trying to display a panel, and then just animate it if the user touches the screen. Code for my simplified test is below. The function animateMe() definitely gets called, but nothing happens. Any help greatly appreciated, thanks. MAIN

[android-developers] problem animating view objects

2009-08-28 Thread Andy Droid
Having trouble animating some view objects. My main activity creates a DrawView class, which extends View. The DrawView class creates three ColorBalls, each of which which extend View. The onDraw function in DrawView calls drawBitmap on each of the ColorBalls. This seems to be required, if I

[android-developers] simple twitter query

2009-07-30 Thread Andy Droid
Just trying to search for a user's latest public twitter post. I have not worked with http in java before, so I don't know how it all comes together with http gets and requests, and such. I just want to get the latest post from a user (say Fred1000), in the form of a json object. If there is a

[android-developers] Re: simple twitter query

2009-07-30 Thread Andy Droid
=fooq=twitter again, just not sure how to put this into java, thanks. On Wed, Jul 29, 2009 at 6:40 PM, Andy Droid andydroi...@gmail.com wrote: Just trying to search for a user's latest public twitter post. I have not worked with http in java before, so I don't know how it all comes together

[android-developers] simple twitter query

2009-07-30 Thread Andy Droid
Just trying to search for a user's latest public twitter post. I have not worked with http in java before, so I don't know how it all comes together with http gets and requests, and such. I just want to get the latest post from a user (say Fred1000), in the form of a json object. If there is a

[android-developers] How does app change icon of core apps?

2009-07-30 Thread Andy Droid
Some of those Home apps such as Better Home, change the graphics for some of the core apps, such as contacts? How do they do that? Are they opening up the apk, and replacing resources, and then zipping it back up again? You can always go back to the original Home though, so I don't get how

[android-developers] [Invitation] first meeting in 2 nd calendar @ Wed May 27 12:30pm – 1:30pm (Android Develop ers)

2009-05-26 Thread Seven Droid
BEGIN:VCALENDAR PRODID:-//Google Inc//Google Calendar 70.9054//EN VERSION:2.0 CALSCALE:GREGORIAN METHOD:REQUEST BEGIN:VEVENT DTSTART:20090527T093000Z DTEND:20090527T103000Z DTSTAMP:20090526T170612Z ORGANIZER;CN=2nd calendar:mailto:cijbeko7rs00l2gb2ll72o2...@group.calendar. google.com

[android-developers] Re: Repeat Events in Calendar

2009-05-25 Thread Seven Droid
RFC-2445 for example at http://code.google.com/p/google-rfc-2445/ EventRecurrence.java in the source On Mon, May 25, 2009 at 5:01 PM, Shawn_Chiu qiuping...@gmail.com wrote: Hi, Farida I forgot what P meas in P300S, but I surely know that S means seconds. Then, if the 'duration' field is

[android-developers] Re: Map view not displaying tiles in 1.5 but it's fine in 1.1

2009-04-21 Thread wayne mcfadden- Red Droid
Thanks a bunch Xavier. That worked I now can see the map in the 1.5 toolkit. A few notes on what I did: 1. Regenerate the certificate using the new location for the 1.5 environment. 2. Regenerate the key: I used the html file that comes with the 1.5 documentation rather than the going to the

[android-developers] Map view not displaying tiles in 1.5 but it's fine in 1.1

2009-04-20 Thread wayne mcfadden- Red Droid
I'm debugging an application in 1.5 and my map view is not showing the tiles. My overlays show up fine. The tiles show correctly if I run the appication in 1.1. (so the key that i'm using there is fine in the xml) So this looks like it may be a map key problem. I'm trying to use the same

[android-developers] Re: maps api and 1.5

2009-04-19 Thread wayne mcfadden- Red Droid
Hi Guys, The problem I think was that while trying to get this running and trying different configs, I imported the maps.jar via the class path. All you need to do is set the build target to be the Google APIs like the responses above say. Once I removed the jar from the class path, the app

[android-developers] maps api and 1.5

2009-04-18 Thread wayne mcfadden- Red Droid
Sorry guys, originally i posted to discussion which is the wrong place. I'm migrating over an application from 1.1 to 1.5 and it uses the Google maps. I got through most of the class path issues resolved I think but when launching the application I get the following message. 04-18

[android-developers] Re: upgrade issues and other market problems for developers

2009-03-01 Thread wayne mcfadden- Red Droid
I have this problem too. Hopefully google will fix the problem and remove the one star rankings caused by the download issue. This is obviosly going to affect everyone who publishes to the marketplace so just balance it out. On Feb 28, 2:39 pm, carnivalcom...@gmail.com carnivalcom...@gmail.com

[android-developers] Re: Think twice before turning on the Copy Protection option! -- there's a serious bug in Market

2009-02-27 Thread wayne mcfadden- Red Droid
I'm also having this problem. I have a couple of apps using copy protection though and this is the first one that has run into this problem. I first tried to upload my app via firefox and forgot that that that interface is broken and has been broken for the past 2-3 weeks. So I switched to

[android-developers] Market Place not updating downloads and active users

2009-02-17 Thread wayne mcfadden- Red Droid
I have an application published in marketplace and its not updating the active users/number of downloads on the phone display or the developer console. My other application appears to be fine. Anyone else seeing this? Also when the application was uploaded over the weekend there were issues

[android-developers] Utterly simple app keeps giving me ActivityManager: [1] Killed

2009-01-12 Thread Droid Rage
When I try to run a very simple application, the console shows me: ActivityManager: [1] Killed and attempting to run the app in the emulator causes the acore to crash. The weirdest part is that all I've done is to change the class and package names of the Notepad_v3_Solution demo that comes

[android-developers] Re: Utterly simple app keeps giving me ActivityManager: [1] Killed

2009-01-12 Thread Droid Rage
If you're referring to my AndroidManifest.xml file, it looks like this: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.mypackage.testsuite.MyApp application android:icon=@drawable/icon activity android:name=.MyApp

[android-developers] Re: Utterly simple app keeps giving me ActivityManager: [1] Killed

2009-01-12 Thread Droid Rage
Resolved the issue. Thanks for getting me on the right track. It was a problem with the AndroidManifest.xml On Jan 12, 1:06 pm, Dianne Hackborn hack...@android.com wrote: Your main activity appears to be private (not exported). Do you have an android:exported=false line on it?

[android-developers] Displaying contact Email address in a List in ListActivity

2009-01-03 Thread Droid
Hello all, Happy New Year! I'm a newbie trying to display a list of contact details in a ListActivity. What is the best way to retrieve the Contact Name, Email address and phone number and display it in a ListActivity? Here's what I have so far... (Obviously in a half-cooked form)

<    1   2   3