[android-developers] Tracking revenue on the Android Market

2010-11-16 Thread kostmo
Hey All, I'd like to share an application that I recently open-sourced. It has two main functions: *Plot revenue across apps over time *Notify the developer of low-rated Market comments I had it listed as a paid application for a while, but with only a few sales, I decided I'd rather have as many

[android-developers] Re: plotting Market sales - determining if your android work is profitable

2010-04-09 Thread kostmo
Here it is for Android: http://code.google.com/p/chartdroid/wiki/MarketSalesPlotter On Apr 4, 12:35 pm, Lance Nanek wrote: > Neat. I wonder if the market API could be used to do graphs for free > apps as well:http://code.google.com/p/android-market-api/ > > On Apr 4, 1:54 am, k

[android-developers] plotting Market sales - determining if your android work is profitable

2010-04-03 Thread kostmo
I thought I'd share a script that I've been working on: http://www.anddev.org/viewtopic.php?p=30732 It lets you generate parameterizable histograms of Android Market sales by automatically downloading data from Google Checkout. Hope someone finds it useful. Karl -- You received this message be

[android-developers] Re: "Scheduling restart of crashed service", but no call to onStart() follows

2010-03-08 Thread kostmo
I should link to the question on Stack Overflow where it is said that you can restart your service from onCreate() manually, which actually will be called after memory pressure kills it. http://stackoverflow.com/questions/2398482/scheduling-restart-of-crashed-service-but-no-call-to-onstart-follows

[android-developers] "Scheduling restart of crashed service", but no call to onStart() follows

2010-03-07 Thread kostmo
In the 1.6 API, is there a way to ensure that the onStart() method of a Service is called after the service is killed due to memory pressure? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-devel

[android-developers] OSK word suggestion ribbon for physical keyboard?

2010-01-10 Thread kostmo
Is there a way to cause the "word suggestion" component of the On- Screen Keyboard to appear when users begin typing in an EditText with the Physical keyboard? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email

[android-developers] Re: Clicking on an AppWidget to run onUpdate() - should we use ACTION_APPWIDGET_UPDATE?

2010-01-05 Thread kostmo
tCode new Intent (AppWidgetManager.ACTION_APPWIDGET_UPDATE), 0 // no flags ); On Jan 5, 11:42 pm, kostmo wrote: > Hello, > I am overriding onReceive() in my subclassed AppWidgetProvider.  My > home screen widget works fine with a periodic update.  I

[android-developers] Clicking on an AppWidget to run onUpdate() - should we use ACTION_APPWIDGET_UPDATE?

2010-01-05 Thread kostmo
Hello, I am overriding onReceive() in my subclassed AppWidgetProvider. My home screen widget works fine with a periodic update. I would like to have a click on the widget cause the widget to update. When building the RemoteView, I set a PendingIntent as follows: PendingIntent pen

[android-developers] TranslateAnimation slide from just offscreen

2009-12-24 Thread kostmo
Specifying the following in an XML file will slide a view into place, starting with the view's right edge aligned with the right edge of the screen (assuming parent is the main window). Is there a recommended/possible way to specify the starting position to be just offscreen (i.e. the view's left

[android-developers] Re: subclassed Drawable disables AlphaAnimation?

2009-12-22 Thread kostmo
Now I've found that if I wrap the ImageView in a RelativeLayout and perform the animations on the RelativeLayout instead, the AlphaAnimation works again. Bug filed here: http://code.google.com/p/android/issues/detail?id=5589 Karl On Dec 21, 4:13 pm, kostmo wrote: > I have been ap

[android-developers] subclassed Drawable disables AlphaAnimation?

2009-12-21 Thread kostmo
I have been applying a simultaneous rotate and alpha animation to an ImageView using AnimationSet. It was working fine when I set a Bitmap as the image with Image.setImageBitmap(my_bitmap). I then extended the Drawable class with my own drawing routine. In my custom drawable I do some porter-duf

[android-developers] direct network retrieval from ContentProvider

2009-11-11 Thread kostmo
The fromSocket() method of ParcelFileDescriptor seems like a potential way to do a network image fetch from within the openFile() method of a ContentProvider. I got part way into this and found that although from within the ContentProvider I observe that my Socket.getInputStream () is not null, in

[android-developers] broken permission dependencies

2009-11-10 Thread kostmo
I'm having an issue with Content Provider permissions between two apps. Basically, both apps define a permission that the other uses. The intention is for both apps to get increased functionality by using the other's content provider. However, the first app that is installed throws a SecurityExce

[android-developers] usb device absent from adb after Ubuntu Karmic upgrade

2009-10-30 Thread kostmo
Hello Ubuntu users, Just finished upgrading from Jaunty to Karmic, and my ADP1 doesn't show up in "./adb devices" anymore. I have tried the solution proposed here (http://groups.google.com/group/android-developers/msg/ 7f3990c5d5367dbb) but it doesn't work for me. Phone is also missing from the "

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-10-12 Thread kostmo
It seems I was the victim of an edge case. I had not done a factory reset of my ADP1 since Android 1.1. It works now! :) Karl On Oct 12, 1:13 am, kostmo wrote: > It seems tantalizingly close, but I still can't get the > GoogleLoginService method to work with Google App Engine (GAE

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-10-11 Thread kostmo
It seems tantalizingly close, but I still can't get the GoogleLoginService method to work with Google App Engine (GAE). I'll start with a review of the method that currently works for me. Let's say that "" is my GAE application name and "" is the 203-character string I get from ClientLogin. Afte

[android-developers] Re: How to create Image filter based animations ; Android Animations

2009-09-23 Thread kostmo
Would TransitionDrawable suit your purpose? Karl On Sep 16, 11:34 pm, siddharth_v wrote: > Hi > I have a requirement to create animations which are based on Image > filters. As of now I can see only AlphaAnimationsupport. How can I > extend and create these animations such as blur etc. > > Than

[android-developers] What is a Panel?

2009-09-13 Thread kostmo
I've seen the term "Panel" here and there in the documentation, but no explicit definition as to what a Panel is. e.g. - http://developer.android.com/reference/android/app/Dialog.html#onPreparePanel(int,%20android.view.View,%20android.view.Menu) Panel doesn't appear to be its own class. How does

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-09-09 Thread kostmo
I have been investigating whether GoogleLoginService can substitute for ClientLogin (see http://code.google.com/apis/accounts/docs/AuthForInstalledApps.html) on Google App Engine. To use ClientLogin, I solicit the username and password from the user in a dialog and exchange them on the Google se

[android-developers] Re: How i can create usable android project's library

2009-09-09 Thread kostmo
could reference the ID's of the resources inside the JAR, suggested by Eclipse's autocomplete behavior. I think the best way to accomplish what I was intending will be to install an entirely separate .apk with the libraries. Karl On Sep 9, 6:32 pm, Mark Murphy wrote: > kostmo wrote:

[android-developers] Re: How i can create usable android project's library

2009-09-09 Thread kostmo
> Bear in mind also that your library cannot package any resources, making > activities that much more difficult to package in a library. I'm not sure that is true. I have created a .jar from a project that happens to include some layout files. I import this .jar from a second project, and add

[android-developers] Re: Free Chart drawing package for Android

2009-09-08 Thread kostmo
Hey All, I started a project on Google Code for charting on Android. Right now it supports only pie charts, but I think they look rather nice. http://code.google.com/p/chartdroid/ It might be a good nucleation point for other charting widgets people have made. Suggestions welcome. Karl On Au

[android-developers] AutoCompleteTextView with SimpleAdapter

2009-08-03 Thread kostmo
Hello, I am trying to use a SimpleAdapter to populate my AutoCompleteTextView. I observe that the Filter runs after the third keystroke as specified in my layout, and "suggestion_list" is being populated with at least five elements. After the filter runs, the completionHint drops down from the A

[android-developers] Re: Tut (SDK 1.5) Get google account of user

2009-07-15 Thread kostmo
Hi ubikdroid, Would you be able to tell me more about how you used getCredentials? I'm trying this variation: getCredentials (android.app.Activity,int,android.os.Bundle, java.lang.String, java.lang.String, boolean) Called from my activity, it is getCredentials(this, 345, null, email, null, false

[android-developers] How to use CheckBox as children in ExpandableList?

2009-07-13 Thread kostmo
I would like to have expandable text categories which reveal children that are checkable entries. I've used the "simple_list_item_multiple_choice" layout for the childLayout argument of SimpleExpandableListAdapter. The activity shows up correctly, but when a child item is clicked, the check box w

[android-developers] Compiling Camera project from scratch

2009-07-12 Thread kostmo
Should the Camera app checked out via Git be able to compile as is? I used the command git clone git://android.git.kernel.org/platform/packages/apps/Camera.git to grab the source, then created a new Android 1.5 "project from existing source" in Eclipse. There are numerous errors in the project,

[android-developers] simple MediaController example

2009-05-13 Thread kostmo
Hi, I would like to show the MediaController (http://developer.android.com/ reference/android/widget/MediaController.html) view (with the play/ pause buttons and progress bar) when a button is pressed. The backend passed to setMediaPlayer() is a MediaController.MediaPlayerControl implementation t

[android-developers] Re: openGL colors

2009-02-22 Thread kostmo
*bump* I'm encountering this problem on my G1, but not in the emulator. Any news on this front? On Jan 21, 4:03 pm, Patrick wrote: > I'm writing some 3D rendering code, having started from the API demos > to get the SurfaceHolder and openGL initialization/refresh logic. The > actual rendering

[android-developers] G1 support for OpenGL ES 1.1?

2009-02-02 Thread kostmo
Does anyone know whether the G1 device is capable of supporting OpenGL ES 1.1? Is this something that depends on both the graphics chip and the OS, or is it purely software? If Android/the G1 only supports OpenGL ES 1.0, are there any pieces of the 1.1 spec that are supported? --~--~-~-