Re: [android-developers]

2010-09-18 Thread Indicator Veritatis
Then world-famous computer scientist Dijkstra once said, (http://
www.cs.virginia.edu/~cs655/readings/ewd498.html) "Besides a
mathematical inclination, an exceptionally good mastery of one's
native tongue is the most vital asset of a competent programmer."

But since the international language of computer science, business and
open source software is English, that exceptionally good mastery had
better apply to English whether or not it is your native tongue. You
are going to find getting the help you need through online forums very
difficult without it. It is hard enough with it:(

And yes, the site http://www.catb.org/esr/faqs/smart-questions.html is
very, VERY good.

On Sep 17, 5:19 pm, xc s  wrote:
> my english is not very good.so i donnot how to describe it.sorry
>
> 2010/9/18, Agus :
>
> > good answer!
>
> > On Fri, Sep 17, 2010 at 12:07 PM, TreKing  wrote:
> >> On Fri, Sep 17, 2010 at 12:45 PM, xc s  wrote:
>
> >>> how to use the gprs in android ??
>
> >>http://www.catb.org/esr/faqs/smart-questions.html
>
> >> -
> >> TreKing - Chicago transit tracking app for Android-powered devices
>
> >> --
> >> 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 more options, visit this group at
> >>http://groups.google.com/group/android-developers?hl=en
>
> > --
> > 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 more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Help for Android spiner data binding.

2010-09-18 Thread Indicator Veritatis
As http://www.catb.org/esr/faqs/smart-questions.html suggests, rather
than make the reader read through your entire code and run it himself
to figure out what the error is, if you tell us the error message and
which line of code it comes from, you are much more likely to get a
helpful answer.

No promises though, since you admit the code below is only 'almost'
complete;)

Also helpful would be to show us what happens when you access the same
data from the same database using the sqlite3 command in adb shell.
Then we would know for sure that your database is sound.

On Sep 17, 1:47 am, Muhammad Irfan  wrote:
> Hi,
>
> there is no solution for this?
>
> Regards
>
> On Fri, Sep 17, 2010 at 7:50 AM, iffeess  wrote:
> > Hello Every body,
> > I am new in this group. I am in a problem from many days and try to
> > resolve it. But unfortunately its difficult for me.
> > I am fetching data from data base and dsiplaying in the spiner.
> > Database created and working well but when I bind it with spiner then
> > it show error and force to shutdown the application.
>
> > This is the almost complete code.
>
> > import android.os.Bundle;
> > import android.app.Activity;
> > import android.content.ContentValues;
> > import android.database.Cursor;
> > import android.database.sqlite.SQLiteDatabase;
> > import android.widget.TextView;
> > import android.widget.Spinner;
> > import android.widget.SimpleCursorAdapter;
> > import android.app.ListActivity;
> > import static com.servanetdatabase.Constants.Table_Name;
> > import static com.servanetdatabase.Constants.KEY_SensorID;
> > import static com.servanetdatabase.Constants.KEY_type;
> > import static com.servanetdatabase.Constants.KEY_ThresouldValue;
> > import static com.servanetdatabase.Constants.KEY_Address;
> > import static com.servanetdatabase.Constants.KEY_City;
> > import static com.servanetdatabase.Constants.KEY_State;
> > import static com.servanetdatabase.Constants.KEY_Latitude;
> > import static com.servanetdatabase.Constants.KEY_GPSNo;
> > import static com.servanetdatabase.Constants.KEY_SensorID;
> > import android.widget.SimpleCursorAdapter;
> > import android.widget.Spinner;
> > import android.widget.ArrayAdapter;
>
> > public class ServaNetDatabase extends Activity {
>
> >        private static String[] FROM = { KEY_SensorID, KEY_type,
> > KEY_ThresouldValue, };
> >        private static String ORDER_BY = KEY_SensorID + " DESC";
> >        public static String[] PROJECTION;
> > //      int[] to = new int[]{android.R.id.text1};
>
> >           private DBAdapter events;
>
> >           @Override
> >           public void onCreate(Bundle savedInstanceState) {
> >              super.onCreate(savedInstanceState);
> >              setContentView(R.layout.main);
> >              events = new DBAdapter(this);
> >              try {
> >                 addEvent("This is an event");
> >                 Cursor cursor = getEvents();
> >                 showEvents(cursor);
> >              } finally {
> >                 events.close();
> >              }
>
> >           }
>
> >           private void addEvent(String string) {
> >                      // Insert a new record into the Events data source.
> >                      // You would do something similar for delete and
> > update.
> >                      SQLiteDatabase db = events.getWritableDatabase();
> >                      ContentValues values = new ContentValues();
> >                     // values.put(KEY_SensorID, 1);
> >                      values.put(KEY_type, 500);
> >                      values.put(KEY_ThresouldValue, 500);
> >                      db.insertOrThrow(Table_Name, null, values);
> >                   }
> >           private Cursor getEvents() {
> >                      // Perform a managed query. The Activity will handle
> > closing
> >                      // and re-querying the cursor when needed.
> >                      SQLiteDatabase db = events.getReadableDatabase();
> >                      Cursor cursor = db.query(Table_Name, FROM, null, null,
> > null,
> >                            null, ORDER_BY);
> >                      startManagingCursor(cursor);
> >                      return cursor;
> >                   }
>
> >           private void showEvents(Cursor cursor) {
>
> >                      SimpleCursorAdapter adapter =
> >                        new SimpleCursorAdapter(this,
> > android.R.layout.simple_spinner_item, cursor, FROM, null );
>
> > adapter.setDropDownViewResource(
> > android.R.layout.simple_spinner_dropdown_item );
> >                      // get reference to our spinner
> >                      Spinner s = (Spinner) findViewById( R.id.dspiner );
> >                      s.setAdapter(adapter);
>
> >                   }
>
> >                }
>
> > Any body can help me to resolve this issue?
>
> > Regards,
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android

[android-developers] Live Wallpaper Preview/Real Conflict

2010-09-18 Thread HaMMeReD
I've made a LWP, and it seemingly runs perfectly, but the problem
seems to lie in the fact that when you set the wallpaper, after the
preview has loaded, it gets a out-of-memory.

It seems that since all the engines are in the same VM I don't have
enough memory to start it a second time. How can I tell if the preview
is dead and freed?

I've done what I could to ensure that as much is shared between the
engines as possible, yet still out-of-memory on setting after the
preview is loaded?

Any thoughts would be great.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: To the Moderators: is there a way to find my earlier post threads?

2010-09-18 Thread Indicator Veritatis
Every time I have found one of my own posts in the email, I have also
found it in the web interface. But it can be harder to find unless you
check right away, since the threads move very quickly. Are you finding
them when you use the Google Groups "Search this group" functionality?

On Sep 17, 9:47 pm, Saied  wrote:
> Is it unreasonable to expect to find my posts, and their replies, here
> on the web interface?
>
> On Sep 17, 7:29 pm, DanH  wrote:> Are you working via 
> email or the web interface?  If you're using the
> > web interface you can click "Edit my membership" just to the right of
> > this thread to change your email preferences.  If you're working via
> > email I assume there's a way to email change requests, but I don't
> > know what it is.
>
> > On Sep 17, 8:04 pm, Saied  wrote:
>
> > > Dear Moderator(s)?
>
> > > I wonder if there is a way for me to find the messages that I have
> > > posted here, and more importantly, the responses that others have
> > > posted for my questions.
>
> > > Is there?
>
> > > I am not getting other people's responses emailed to me. (is there a
> > > way? and is that the only way?)
>
> > > And when I search for my posts, I don't find them listed under my
> > > profile: list of messages. I do see the number of posts reflect my
> > > posts, but the actual posts are not in the list. (some are, but most
> > > are not).
>
> > > I am new to this and so far I have not had a great luck getting any
> > > useful information from this group. Not finding the responses that
> > > others may have provided would certainly hamper my further efforts in
> > > benefiting from this forum.
>
> > > Are these expectations reasonable? Am I missing something?
>
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: appbucket: all apps for $9.99 per year, are we just going to watch?

2010-09-18 Thread Indicator Veritatis
Don't rely on web anonymity for protection. When presented with a
subpoena, bulletin board operators, moderators, ISPs and the like have
to reveal whatever data they have concerning who it is who posted
anonymously. This would be a bad time to be surprised by how much data
that is.

Of course, if you KNOW that the particular method of posting
anonymously that you chose is immune to such data collection, then you
can rely on that. But be sure that what you 'know' really is true.

Then again, one would hope that even in jurisdictions with such nasty
libel laws, they would hesitate to take the case of an obvious pirate.
But that is something I would research carefully, maybe even
consulting with an ABA lawyer, before relying on it.

On Sep 17, 5:58 pm, "Maps.Huge.Info (Maps API Guru)"
 wrote:
> I guess you'd just have to post anonymously... that would be easy
> enough. Let them try and find the real person behind the post.
>
> -John Coryat

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: gstreamer on android

2010-09-18 Thread B U J J I
hi,
thanks for your reply.
As i am not able to download through repo its showing some error message
like some files are not existing and not able to get any of those files.
i tried doing git clone also same problem.
and the next step i downloaded all the source from
http://github.com/prajnashi but i am not able build those
builds using ndk-build.
there is no instructions like how to build and how to integrate them
and when try each module with command ndk-build
its giving error like
Android NDK: Could not find application project directory !
Android NDK: Please define the NDK_PROJECT_PATH variable to point to it.
/home/fstl/android-ndk-r4b/build/core/build-local.mk:85: *** Android NDK:
Aborting.  Stop.

before running i exported PATH also for ndk and sdk directories.

whats wrong ..
how should i proceed to build gstreamer and run applications on
emulator(android).

can someone help me who has already worked with this.


Thanks
Bujji

On Sat, Sep 18, 2010 at 7:44 AM, Indicator Veritatis wrote:

> You know the drill: http://lmgtfy.com/?q=GStreamer+java+android
>
> The very first link that comes up answers your question about as fully
> as is possible.
>
> On Sep 17, 12:33 am, B U J J I  wrote:
> > hi all,
> > I want to use gstreamer in my android based application.
> > so i want to port gstreamer on android.
> > can anybody suggest me the way to port gstreamer on android.
> >
> > can i run gstreamer on android emulator ?
> >
> > pls help me
> >
> > Bujji
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Webview inside Scroll doesn't resize

2010-09-18 Thread Edwin
Hi all, I put a webview inside a scroll view according to this
http://www.anddev.org/view-layout-resource-problems-f27/add-imageview-to-bottom-of-webview-t19169.html
.
But I found that if the webview already loaded a long content, and
then load short content again. The webview doesn't resize and the
scroll bar is still here.

for example, load "test" and then
load "test" in the webview will cause this problem.

How can I resize the webview the fit the content.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Mechanism to ensure request comes from my app

2010-09-18 Thread William Ferguson
Thanks Dan, Joe. That's as far as I had got too.
It feels like there should be a way. But I can't see one that can't be
mimicked.

On Sep 18, 8:46 am, joebowbeer  wrote:
> Keep in mind that other apps can access your app's resources and
> assets, and in fact anyone can access your apk and obtain anything
> hidden therein.
>
> I wish Android provided a way that a server could determine if a
> request was generated by some app 'package id' signed by a given key
> -- but this is not available as far as I know.
>
> On Sep 17, 12:03 am, William Ferguson 
> wrote:
>
> > If I have my app fetching content from my server, what mechanism
> > should I use on my server to ensure that its my app making the
> > request?
>
> > Is there any way that I can sign the request to using my app's
> > signature to show its come from my app and not from a stolen version
> > or copycat? I suspect the answer is no, but I'm looking for
> > suggestions.
>
> > William

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Converting Bitmap to ASCII

2010-09-18 Thread Frank Weiss
I suggest looking into multipart mime type libraries. The API will likely
have an encoding parameter. I suppose a commone one is base64.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Please help me with calculating direction from point A to B

2010-09-18 Thread Pedro Teixeira

Well.. I'm guessing it's to hard or impossible then.. :/

On Sep 17, 2010, at 9:56 PM, Pedro Teixeira wrote:


Hi everyone...

I'm back with the same issue for the last couple of days… I'm trying
to create a compass for my application BUT the difference is that,
instead of having a line always pointing to north, I want this line to
point for a specific point. I've been trying dozens of algorithms and
nothing works..
I've finally found one that points me exactlly to the point I want..
BUT it doesn't move if I change the position of the device which is my
objective.. basicly, what I want is that no matter the direction I'm
using my device.. the line always point me to the point
(picLatitude,picLongitude)…

I understood that for the line to move, I can't use static variables…
I need to use the values offered by the onSensorChanged(SensorEvent
event).

This are the data I have available:

event.values[0]: azimuth, rotation around the Z axis (device in
relation to north, 0º)
event.values[1]: pitch, rotation around the X axis
event.values[2]: roll, rotation around the Y axis
mLatitude: device current latitude gottern from GPS (variable)
mLongitude: device current longitude gotten from GPS (variable)
picLatitude: static picture latitude established previously
picLongitude: static picture longitude established previously
distance: distance in Km from device to the picture calculated
previously

And this the formula that works correct, and gives me the correct
angle.. ( BUT IT DOESN'T USE ANY OF THE SENSOR DATA SO THE LINE
COMPASS DOESNT MOVE):

double dLong = picLongitude - mLongitude;
double y =  (Math.sin(dLong) * Math.cos(picLatitude));
double x =  (Math.cos(mLatitude) * Math.sin(picLatitude) -
Math.sin(mLatitude)*Math.cos(picLatitude)*Math.cos(dLong));
double angleDegreesWrongRange = Math.abs(Math.toDegrees(Math.atan2(y,
x)));
float angleDegrees = (float) ((angleDegreesWrongRange+360) % 360);

myCompass.updateDirection(angleDegrees);

I got this "bearing" formula from this website:
http://www.movable-type.co.uk/scripts/latlong.html


Can someone please help me with this?
I've try adding, subtracting… the azimuth.. I've tried with the
others.. seriously at this point I'm just demoralized..

Thank you in advance

--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Pedro Teixeira

www.pedroteixeira.org

--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Application-wide resources.. how to achieve?

2010-09-18 Thread Indicator Veritatis
Dianne Hackborn just did a post recently recommending not to use
Application unless you really, REALLY need to. (My words, not hers).
What criteria she had for "really, really need to" were less clear to
me, but I think it was that the data really need to be global (to the
application), and do not need to be persisted (as SharedPreferences
would do).

On Sep 17, 8:12 am, TreKing  wrote:
> On Fri, Sep 17, 2010 at 10:07 AM, Jason  wrote:
> > Is it possible to have data bound to the lifecycle of the entire
> > application?
>
> http://developer.android.com/reference/android/app/Application.html
>
> -
> TreKing  - Chicago
> transit tracking app for Android-powered devices

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Service and application got crash

2010-09-18 Thread Indicator Veritatis
And he should use pastebin at http://pastebin.com/ too, right?

On Sep 17, 8:26 am, TreKing  wrote:
> On Thu, Sep 16, 2010 at 5:27 AM, nimi  wrote:
> > Plz take a look at it and help me..
>
> Sorry, but posting hundreds of lines of poorly formatted output is not a
> good way to get help.
>
> Please try to explain your problem in more detail. Explain the steps you're
> taking that lead you to your problem and only post logs that are relevant to
> the issue at hand.
>
> -
> TreKing  - Chicago
> transit tracking app for Android-powered devices

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-18 Thread Indicator Veritatis
Most apps make very little money, too. That $100/day app mentioned
earlier must be a 6sigma exception! Though I admit I don't have
figures to back this up. Does anyone else have any?

On Sep 17, 7:46 am, Agus  wrote:
> Just go for paid apps if you want to make fast money, ads generate
> VERY little revenue unless you have 1.000.000 ads impressions/dayOn Fri, Sep 
> 17, 2010 at 7:40 AM, TreKing  wrote:
> > On Thu, Sep 16, 2010 at 5:22 PM, William Ferguson
> >  wrote:
>
> >> Very droll.
>
> > Perhaps =P
>
> >> But it's a good question.
>
> > Yes, it would definitely be very interesting to see some stats from various
> > developers.
>
> > But it IS a fairly private / personal question not many people are going to
> > be willing to answer. Notice how no one has actually answered the question,
> > including the OP, save for the one person that was already blogging about it
> > anyway.
>
> > BTW, poly, thanks for sharing and congrats on the success. When I'm making
> > that much I'll be flaunting it too =P
>
> > -
> > TreKing - Chicago transit tracking app for Android-powered devices
>
> > --
> > 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 more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: More AsyncTask - Simultaneous Downloads

2010-09-18 Thread Indicator Veritatis
Have you considered using IntentService?

On Sep 17, 7:29 am, Spidey  wrote:
> Sorry for double posting, but I haven't confirmed if the first message
> was received. I'm sending this one through google groups website, hope
> this reach the group.
>
> =
> Ok, so in a project I'm in, we are implementing a service to handle
> connection changes and downloads. The service handles a queue of
> AsyncTasks, each representing a "download task". This way, we can
> cancel/pause tasks when connection drops, and also restore them when
> connection is reestablished. Since the threads AsyncTasks are run are
> not deterministic, how many ATs should I execute() at the same time?
>
> I've read that I shouldn't reuse tasks. How can I achieve this pause->resume 
> functionality then? Should I tell the thread to sleep? Should
>
> I make a no-op while if connection is down? I was trusting the
> cancel(true) method, which I've read is not reliable either.
>
> My main DownloadTask is a subclass of AsyncTask that returns a new
> AsyncTask to be called when the connection is restored. Is that a good
> solution?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: SurfaceHolder changed : Stops Video playback

2010-09-18 Thread Indicator Veritatis
The obvious solution seems to be: instead of letting it play after
onPause(), save your position in the file (MediaPlayer has a
getCurrentPosition method), and pick up from there after you recreate
the SurfaceHolder in onResume(). I don't think the user wants it to
continue playing after onPause() anyway, audio or audio+video.

Or did you try this and were unable to get it to work?

On Sep 17, 6:32 am, abhay mulye  wrote:
> Hi all,  i am developing the application which displays Video on the
> SurfaceHolder.
> When i run my video it plays well. But if i switch my application using
> "Home key", & go to some other application.
> Now if i come back by long Home key press to my application, my video does
> not get displayed but audio continues.
>
> This happens because, onPause() is called for Activity when Application is
> switched. Thus the "SurfaceHolder" is destroyed, & next time no video is
> displayed.
>
> Anybody having a solution for this. Is this a common issue? .
>
> Regards,
> Abhay

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to install the .apk file into blackberry

2010-09-18 Thread Indicator Veritatis
You did not read closely enough. I never -said- Android was a JME
platform. Rather, I said that BlackBerry was a JME platform, and that
Android used the Java language, NOT the platform.

And yes, a JME app written for one phone has a good chance of failing
on another JME phone, which is why people say that Sun's promise of
"write once, anywhere" has become (at least for JME) "write once,
debug everywhere";)

On Sep 17, 5:21 am, Prakash Iyer  wrote:
> I would dispute your last statement - Android is not a JME platform. Any
> Java based app has really no chance of running as is on a JME platform. In
> fact as any one who has done serious JME programming will tell you, an
> interesting JME program has a decent probability of not working as intended
> across JME devices even from the same platform. BTW, a standard JME program
> has a non-zero probability that it will not work as is on a BlackBerry -
> basically there are somethings that you need to use the BlackBerry API for
> that are not JSR.
>
> Now a Java app, without modifications wouldn't run on Android and vice versa
> but that is more due to the runtime support that you will agree is quite
> different in Android devices than on any platform.
>
> To the OP (in a vain attempt to not hijack the thread:)) - the best option
> is to use a Web view equivalent and then try to write the skeleton app
> across platforms. Or you could try to write JME compliant code that is pure
> Java, makes no use of any JSR and reuse that core across JME and Android
> platforms. The shims (which in this case might be quite thick:)) would be
> platform specific...
>
> On Fri, Sep 17, 2010 at 3:02 AM, Indicator Veritatis 
> wrote:> That is absolutely correct. BlackBerry phones are 
> not Android phones.
> > They do not understand APK files, nor is there any practical way to
> > translate them to COD files.
>
> > Now if the OP had been thinking of running JME files, that could be
> > done. BlackBerry does support JME (MIDP 2.0, CLDC 1.2). But this is
> > yet another example of how Android, though it uses the Java -
> > language-, does not use or support the Java -platform-.
>
> > On Sep 16, 1:29 pm, SheikhAman  wrote:
> > > Hahaha..
> > > well, jokes apart, I really think you're on the wrong forum.
>
> > > As far as I know, BlackBerry supports .cod files and it won't
> > > understand what an APK file is.
>
> > > secondly, if it the code inside the APK file uses the SDK made for
> > > android and BlackBerry won't know anything about it.
> > > so it won't work.
>
> > > On Sep 16, 12:47 pm, bharani kumar 
> > > wrote:> Hi ,
>
> > > > How to install the .apk file into blackberry ,
>
> > > > --
> > > > Regards
> > > > B.S.Bharanikumarhttp://php-mysql-jquery.blogspot.com/
>
> > --
> > 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 more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Converting Bitmap to ASCII

2010-09-18 Thread Bret Foreman

http://en.wikipedia.org/wiki/MIME

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] decode image

2010-09-18 Thread pramod.deore
Hi, all I am developing one application in that I want to decode
image, I have one .txt file which contains encoded format of image
(image is encoded using Base64 format). I have Base64 class in that I
have decode(String base64) method which accept String and return byte
array. I have one txt file of size more than 6MB which contains
encoded image now I want to decode that image to .jpg format . I had
tried it but when I open decoded image it is not open.and size is also
very less (18KB and expected size is 5MB)   Here is my code


 public void decodeImage()
{
System.out.println ("Now decoding image");

try
{
image.createNewFile();
 byte[] byteArray = new byte[102400];
 FileInputStream fstream = new 
FileInputStream(imageFile);
 int bytesRead = 0;
 while((bytesRead = fstream.read(byteArray)) != -1)
 {
str = new String(byteArray,0,bytesRead);
byte[] im = Base64.decode(str);
out1 = new FileOutputStream(image);
 try
 {
 out1.write(im);
 out1.flush();
 }
 catch (Exception e)
 {
 e.printStackTrace();
 }
 }


 out1.close();

}
catch (Exception e)
{
e.printStackTrace();
}
}

What is fault? Please help me . Thanks in advance

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: About getting wrong sizes with drawables objects.

2010-09-18 Thread jlopeznava...@gmail.com
You are right, what a noob error :(
Thank you man.

On Sep 17, 11:10 pm, Romain Guy  wrote:
> You are probably using drawable/ or drawable-mdpi/ assets on an hdpi
> device and your assets get scaled automatically.
>
> On Fri, Sep 17, 2010 at 10:00 AM, jlopeznava...@gmail.com
>
>
>
>
>
>  wrote:
> > Hi, I am using some drawable objects, when I instance them and paint
> > in my canvas they doesn't get the original PNG image file size,
> > instead they get a bigger size, so they does't paint in my canvas as I
> > expected since I wanted them in their original sizes, why this
> > happens???
>
> > (original file is 96x96 pixels)
>
> > --- 
> > ---
> > mSprite = mRes.getDrawable(R.drawable.my_sprite);
>
> > mSpriteWidth = mSprite.getIntrinsicWidth(); // It returns 114, not 96
> > mSpriteHeight = mSprite.getIntrinsicHeight(); // It returns 114, not
> > 96
>
> > mSprite.setBounds(coordX, coordY, coordX + mSpriteWidth, coordY +
> > mSpriteHeight);
> > mSprite_PipeRect.draw(canvas); //It paints at 114x114 size, it shows
> > bigger in the screen then original size
>
> > --- 
> > ---
>
> > Something similar happens with the background but it is fixed in the
> > "setSurfaceSize" event this way:
>
> > public void setSurfaceSize(int width, int height) {
> >           mBackgroundImage =
> > Bitmap.createScaledBitmap(mBackgroundImage, width, height,
> > true);
> > }
>
> > In this case height and widht is properly provided in the event
> > parameters
>
> > --- 
> > ---
>
> > Why are not loaded in their original size, and how to get original
> > size for my drawables???
>
> > Thanks in advance.
>
> > --
> > 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 more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Romain Guy
> Android framework engineer
> romain...@android.com
>
> Note: please don't send private questions to me, as I don't have time
> to provide private support.  All such questions should be posted on
> public forums, where I and others can see and answer them

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-18 Thread Alex
I am very interested in the responses to this thread.

I only have one app on the market, a simple home page widget.  It is
free, and it has been downloaded 13,937 times with an active install
percentage of 47%.

Obviously, I would like to make some money from my apps, but when I
look at paid versions of similar apps to mine, the download numbers
are pitiful.

We are constantly reading about the massive growth of Android and the
10s of millions of devices out there, so why do most apps struggle to
even grab a tiny percentage of that user base?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: decode image

2010-09-18 Thread pramod.deore
Oh I solve this issue, I had misunderstandly wrrote this out1 = new
FileOutputStream(image);   inside while, after  writing tha before
while I got correct Image.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Please help me with calculating direction from point A to B

2010-09-18 Thread Kostya Vasilyev

 Pedro,

If I understand you correctly, you are having difficulties with the 
device's orientation.


The bearing angle seems to be computed in the horizontal plane. If you 
wish to adjust for the device's orientation, you need to concatenate it 
with the bearing angle.


Google for "quaternions".

This is a (relatively) simple math technique to work with rotations the 
same way you can work with vectors: add / subtract, interpolate.


-- Kostya

18.09.2010 0:56, Pedro Teixeira пишет:

Hi everyone...

I'm back with the same issue for the last couple of days… I'm trying
to create a compass for my application BUT the difference is that,
instead of having a line always pointing to north, I want this line to
point for a specific point. I've been trying dozens of algorithms and
nothing works..
I've finally found one that points me exactlly to the point I want..
BUT it doesn't move if I change the position of the device which is my
objective.. basicly, what I want is that no matter the direction I'm
using my device.. the line always point me to the point
(picLatitude,picLongitude)…

I understood that for the line to move, I can't use static variables…
I need to use the values offered by the onSensorChanged(SensorEvent
event).

This are the data I have available:

event.values[0]: azimuth, rotation around the Z axis (device in
relation to north, 0º)
event.values[1]: pitch, rotation around the X axis
event.values[2]: roll, rotation around the Y axis
mLatitude: device current latitude gottern from GPS (variable)
mLongitude: device current longitude gotten from GPS (variable)
picLatitude: static picture latitude established previously
picLongitude: static picture longitude established previously
distance: distance in Km from device to the picture calculated
previously

And this the formula that works correct, and gives me the correct
angle.. ( BUT IT DOESN'T USE ANY OF THE SENSOR DATA SO THE LINE
COMPASS DOESNT MOVE):

double dLong = picLongitude - mLongitude;
double y =  (Math.sin(dLong) * Math.cos(picLatitude));
double x =  (Math.cos(mLatitude) * Math.sin(picLatitude) -
Math.sin(mLatitude)*Math.cos(picLatitude)*Math.cos(dLong));
double angleDegreesWrongRange = Math.abs(Math.toDegrees(Math.atan2(y,
x)));
float angleDegrees = (float) ((angleDegreesWrongRange+360) % 360);

myCompass.updateDirection(angleDegrees);

I got this "bearing" formula from this website:
http://www.movable-type.co.uk/scripts/latlong.html


Can someone please help me with this?
I've try adding, subtracting… the azimuth.. I've tried with the
others.. seriously at this point I'm just demoralized..

Thank you in advance




--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How much money do you make?

2010-09-18 Thread Kostya Vasilyev

 18.09.2010 12:59, Alex пишет:

We are constantly reading about the massive growth of Android and the
10s of millions of devices out there, so why do most apps struggle to
even grab a tiny percentage of that user base?

Yes, this is indeed a curious thing.

Especially given that, compared to the price of a phone + cellular plan 
(outright or per month), the price of a typical Android application ($3 
to $5) is quite insignificant.


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com


--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] What is exactly the X and Y coordinates in method "canvas.rotate"

2010-09-18 Thread jlopeznava...@gmail.com
Can anybody explain me what is exactly that coordinates? I have search
for information but can't find properly info.
I have some drawables objects wich I need to rotate, I have realized I
need to add a constant value to that coordinates, if not they rotate
wrong.

I use this way:

==
canvas.save();
canvas.rotate(90 * mRotatationType, CTE_ROTATING_X_POINT + coordX,
CTE_ROTATING_Y_POINT + coordY);
canvas.restore;
==

Where:
-mRotatationType: is set to 0, 1, 2, or 3 in order to get a 0, 90,
180, 270º rotation.
-coordX and coordY are the top/left points of my drawable object.
-CTE_ROTATING_X_POINT and CTE_ROTATING_Y_POINT are set to "48" (if not
the drawables move in a different place after rotate). This is the
mistery for me.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Problem with HttpsURLConnection

2010-09-18 Thread Neilz
Here's the full error message:

09-18 10:45:56.909: ERROR/NetService:httpsGet(16414): HttpRequest:
IOException: java.io.IOException: Write error: I/O error during system
call, Broken pipe

The strange this is I'm not writing anything, this is a get request.

Any clues at all?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-18 Thread niko20
My core app has been on the Market since early 2009. I currently make
an average of 130ish dollars a day. The last two months I made more
than at my full time job.



On Sep 18, 4:34 am, Kostya Vasilyev  wrote:
>   18.09.2010 12:59, Alex пишет:> We are constantly reading about the massive 
> growth of Android and the
> > 10s of millions of devices out there, so why do most apps struggle to
> > even grab a tiny percentage of that user base?
>
> Yes, this is indeed a curious thing.
>
> Especially given that, compared to the price of a phone + cellular plan
> (outright or per month), the price of a typical Android application ($3
> to $5) is quite insignificant.
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Symbian C++ for mobile apps

2010-09-18 Thread Indicator Veritatis
For a query like that, the best help we can offer is to direct you to
http://www.catb.org/esr/faqs/smart-questions.html.

On Sep 16, 8:58 pm, urmila swami  wrote:
> i hv a probiem do u help me?
>
> On 9/15/10, Rohan Malhotra  wrote:
>
>
>
> > Guys,
>
> > Create powerful apps for the world’s most popular smart phone platform
> > with Symbian C++
>
> > Symbian provides a secure, reliable operating system for smart phones
> > and is created in Symbian C++
> > Symbian C++ has been designed to run efficiently on devices with
> > relatively limited memory and power resources. Several elements of
> > Symbian C++ therefore differ from desktop C/C++ because of these
> > requirements. Specific examples include a leaving mechanism that
> > protects apps against a lack of requested resources and special
> > handling of data through descriptors. While these mechanisms may be
> > unfamiliar at first, once mastered they enable the coding of robust
> > and efficient apps.
>
> > For othr info check this:
> >http://www.forum.nokia.com/Develop/Other_Technologies/Symbian_C++/
>
> > --
> > 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 more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Best method to save a array in Bundle?

2010-09-18 Thread jlopeznava...@gmail.com
I have 2 dimensions array like this:
public myArrayType[][] mObjArray;

I want to save it in the onSaveInstanceState method, since my array
contains lot of elements I dont want to save element by element but
the whole array object, what is the best way?

I tried this but exception is thrown:

-

 public Bundle saveState(Bundle map) {

if (map != null) {
map.putSerializable("objLevel", (Serializable)
mCurrentLevelMatrix);
}

return map;
}

---

I have seen a putParcelableArrayList method but dunno how it works
exactly.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Webview inside Scroll doesn't resize

2010-09-18 Thread Mark Murphy
On Sat, Sep 18, 2010 at 3:44 AM, Edwin  wrote:
> Hi all, I put a webview inside a scroll view according to this
> http://www.anddev.org/view-layout-resource-problems-f27/add-imageview-to-bottom-of-webview-t19169.html
> .
> But I found that if the webview already loaded a long content, and
> then load short content again. The webview doesn't resize and the
> scroll bar is still here.
>
> for example, load "test>" and then
> load "test" in the webview will cause this problem.
>
> How can I resize the webview the fit the content.

I do not expect a WebView inside a ScrollView will work. They both
know how to scroll, and scrollable things in scrollable things does
not work well in Android. I suggest that you come up with a UI design
that can avoid this requirement.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Atlanta: http://bignerdranch.com/classes/android

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Reading webpage data

2010-09-18 Thread Mark Murphy
On Sat, Sep 18, 2010 at 12:37 AM, pramod.deore  wrote:
> Hi, all in my application I want to read data from web page. if data
> at web page is upto 800kb then I am able to read it succesfully, but
> if data is larger then I get OutofMemoryException. Here is my code
> which reads data from web page

Switch to using HttpClient and a BasicResponseHandler:

http://svn.apache.org/repos/asf/httpcomponents/httpclient/trunk/httpclient/src/examples/org/apache/http/examples/client/ClientWithResponseHandler.java

(or http://bit.ly/lCVgZ if that URL is too long)

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Atlanta: http://bignerdranch.com/classes/android

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Best method to save a array in Bundle?

2010-09-18 Thread YuviDroid
I haven't played with this, but if you make your class (myArrayType) implement
the Serializable interface it should work fine. Of course, all the instance
variables of that class must also be Serializable, otherwise you would still
get an exception (probably a NotSerializableException).

Hope it helps,
Yuvi

On Sat, Sep 18, 2010 at 12:46 PM, jlopeznava...@gmail.com <
jlopeznava...@gmail.com> wrote:

> I have 2 dimensions array like this:
> public myArrayType[][] mObjArray;
>
> I want to save it in the onSaveInstanceState method, since my array
> contains lot of elements I dont want to save element by element but
> the whole array object, what is the best way?
>
> I tried this but exception is thrown:
>
> -
>
>  public Bundle saveState(Bundle map) {
>
>if (map != null) {
>map.putSerializable("objLevel", (Serializable)
> mCurrentLevelMatrix);
>}
>
>return map;
>}
>
> ---
>
> I have seen a putParcelableArrayList method but dunno how it works
> exactly.
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en




-- 
YuviDroid
Check out Launch-X  (a widget to
quickly access your favorite apps and contacts!)
http://android.yuvalsharon.net

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Webview inside Scroll doesn't resize

2010-09-18 Thread Kwok Chun Wing, Edwin
Umm...I got your point, but I really need to have an image below a 
webview, is there any suggest that is without using scroll view

Thanks


On 09/18/2010 06:49 PM, Mark Murphy wrote:

On Sat, Sep 18, 2010 at 3:44 AM, Edwin  wrote:
   

Hi all, I put a webview inside a scroll view according to this
http://www.anddev.org/view-layout-resource-problems-f27/add-imageview-to-bottom-of-webview-t19169.html
.
But I found that if the webview already loaded a long content, and
then load short content again. The webview doesn't resize and the
scroll bar is still here.

for example, load "test 

" and then
   

load "test" in the webview will cause this problem.

How can I resize the webview the fit the content.
 

I do not expect a WebView inside a ScrollView will work. They both
know how to scroll, and scrollable things in scrollable things does
not work well in Android. I suggest that you come up with a UI design
that can avoid this requirement.
   


--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Webview inside Scroll doesn't resize

2010-09-18 Thread Mark Murphy
On Sat, Sep 18, 2010 at 7:03 AM, Kwok Chun Wing, Edwin
 wrote:
> Umm...I got your point, but I really need to have an image below a webview,
> is there any suggest that is without using scroll view

Option #1: Put the WebView in a LinearLayout or RelativeLayout, and
put the ImageView below that.

Option #2: Put the image in the WebView by modifying the HTML.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Atlanta: http://bignerdranch.com/classes/android

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android Market Licensing Service

2010-09-18 Thread MarcoAndroid
Regarding obfuscation, I found this post pretty handy for some
pitfalls in that area: 
http://blog.uncommons.org/2010/09/13/android-lvl-obfuscation-pitfalls/


On 17 sep, 22:52, Bret Foreman  wrote:
> Is anyone on this list using AMLS yet? Any comments, things to avoid,
> best practices? It sounds great in concept but I'd like to hear how
> it's working in practice.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Webview inside Scroll doesn't resize

2010-09-18 Thread Kwok Chun Wing, Edwin
I think the first option is not suitable for me since I need the image 
be shown only when it is scrolled to the end.


It maybe good to add some html in the webview content, but I want to 
know how to right such html
, but the image is stored in the drawable, 
how the html can obtain such image?


Thanks for your advice.

On 09/18/2010 07:09 PM, Mark Murphy wrote:

On Sat, Sep 18, 2010 at 7:03 AM, Kwok Chun Wing, Edwin
  wrote:
   

Umm...I got your point, but I really need to have an image below a webview,
is there any suggest that is without using scroll view
 

Option #1: Put the WebView in a LinearLayout or RelativeLayout, and
put the ImageView below that.

Option #2: Put the image in the WebView by modifying the HTML.
   


--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Developing for Galaxy tab(any tab resolution devices)

2010-09-18 Thread MarcoAndroid
Or be patient, as this official google blogpost says a custom AVD
should be coming from Samsung: 
http://android-developers.blogspot.com/2010/09/screen-geometry-fun.html


On 17 sep, 12:58, Rahul  wrote:
> Hi,
>
> I want to how to develop and test apps for the Galaxy tab. I mean like
> the Android simulator, can we test the tab apps on a simulator? Is
> there a way to download simulator for the tab or should we tweak the
> existing simulator?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-18 Thread Michael A.
Alex, I think the answer to your question is pretty simple: 99.99% of
the apps users download are the same 100-200 top apps. This is the
case even in the appstore/iTunes - the big difference there, of
course, is that there are much better tools available there to
facilitate browsing and discovery. Actually, I may be giving too much
credit to the Android market, because in practice it does not support
app discovery. I'd almost say that the few successful developers are
successful in spite of the Android ecosystem, rather than because of
it. The large number of apps that blatantly break the Android market
TOS together with the huge number of spam apps (30%, according to
appbrain in March) are all symptoms of an eco-system that is far from
friendly for independent developers.

One reason, I don't like to discuss how much I earn (beyond the
obvious reasons), is that earnings are extremely variable - especially
with ads; for instance, I've seen fluctuations of 300% revenue from
one day to the next, so anything I might write now could be completely
inaccurate in a week. It can also easily comes across as bragging.

I have 2 apps on the market (both free); one pretty much finished
(haven't done anything on it for a while), the other still being
improved upon. The latter is the successful one - it is high enough on
the market that a user might find it if he scrolls down the relevant
category for long enough (most new users still find it through
updates, though). It's currently up to around 90,000 users (it's about
half a year old). No idea what the install base is - I do not trust
Google's numbers at all any more (cf. other discussions here).
According to Flurry, the app currently sees some 10K active sessions a
day.

It is currently making double digits per day in ad revenue, though
still a good distance away from Doug's triple digits. Still, assuming
the growth in active users continue over the next 3-4 months
(possible, though the market gets ever more competitive) and that the
current eCPM is maintained or improved (very uncertain), I think three
digits is possible. A lof of ifs involved, but it is still pretty
amazing to me, as a couple of months ago, the game was not making more
than $2-$3 a day.

I would certainly consider a paid version on the market, if this was
an option at all. Even a 2% conversion rate would probably double the
daily income; more than that (Polyclef has about 5-10% conversion,
from what I can gather) would certainly place the game within reach of
three digit income a day.

Based on my own experiences, I can certainly see how someone could
make a pretty OK living from simply focusing on developing Android
apps, although I don't feel the least bit tempted myself (I've poured
a lot of work into my apps, but it's still been out of my free time).
I still find it inspirational to read stuff like Polyclef's blog,
though.

Regards,

Michael A.

On Sep 18, 10:59 am, Alex  wrote:
> I am very interested in the responses to this thread.
>
> I only have one app on the market, a simple home page widget.  It is
> free, and it has been downloaded 13,937 times with an active install
> percentage of 47%.
>
> Obviously, I would like to make some money from my apps, but when I
> look at paid versions of similar apps to mine, the download numbers
> are pitiful.
>
> We are constantly reading about the massive growth of Android and the
> 10s of millions of devices out there, so why do most apps struggle to
> even grab a tiny percentage of that user base?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-18 Thread Neilz
Very interesting read, this blog.

I always assumed that the ratio would be stacked in favour of Ad
revenue, with Paid revenue falling somewhere behind. But for this app,
it's not the case. Perhaps it's because of the app type, being a well
reviewed utility.

I have a free Ad-supported app with well over a million downloads, and
it's bringing in a very nice ad revenue. I never bothered creating a
paid version, as a) my own research suggested not many people would
pay for it, b) There wasn't much I could offer as an extra (except
losing the ads). One of the things that I get as regular feedback is
"It's free!" and I like to keep it that way.

You never know though...maybe it's worth a shot. Hmmm.

On Sep 17, 12:07 am, polyclefsoftware  wrote:
> I blog about my app revenue, among other things:
>
> http://polyclefsoftware.blogspot.com/2010/08/yet-another-android-succ...
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Webview inside Scroll doesn't resize

2010-09-18 Thread Mark Murphy
On Sat, Sep 18, 2010 at 7:17 AM, Kwok Chun Wing, Edwin
 wrote:
> I think the first option is not suitable for me since I need the image be
> shown only when it is scrolled to the end.

That may or may not prove to be possible.

> It maybe good to add some html in the webview content, but I want to know
> how to right such html
> , but the image is stored in the drawable, how
> the html can obtain such image?

Try android.resource://package_name/drawable/name, where:

-- package_name is the name of your application's package
-- name is the name of the image resource

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Atlanta: http://bignerdranch.com/classes/android

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] What is exactly the X and Y coordinates in method "canvas.rotate"

2010-09-18 Thread Kostya Vasilyev
 The coordinates are the rotation's center point (called the pivot 
point in the docs).


See here for an interactive demo:

http://www.nbilyk.com/pivot-rotate-example

If you set these coordinates to the center of the canvas, you'll get the 
most intuitive result. But other rotations are possible as shown in the 
link above.


-- Kostya

18.09.2010 13:37, jlopeznava...@gmail.com пишет:

Can anybody explain me what is exactly that coordinates? I have search
for information but can't find properly info.
I have some drawables objects wich I need to rotate, I have realized I
need to add a constant value to that coordinates, if not they rotate
wrong.

I use this way:

==
canvas.save();
canvas.rotate(90 * mRotatationType, CTE_ROTATING_X_POINT + coordX,
CTE_ROTATING_Y_POINT + coordY);
canvas.restore;
==

Where:
-mRotatationType: is set to 0, 1, 2, or 3 in order to get a 0, 90,
180, 270º rotation.
-coordX and coordY are the top/left points of my drawable object.
-CTE_ROTATING_X_POINT and CTE_ROTATING_Y_POINT are set to "48" (if not
the drawables move in a different place after rotate). This is the
mistery for me.




--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Problem with HttpsURLConnection

2010-09-18 Thread Kostya Vasilyev

 Neil,

Perhaps you could try using AndroidHttpClient - supposedly, it has some 
tweaks specifically for the https/ssl protocol so works more smoothly.


Since this class derives from Apache's HttpClient, you'd be able to use 
most of your code on the desktop, as well (you seem to imply that you 
also have a desktop application).


http://developer.android.com/reference/android/net/http/AndroidHttpClient.html

http://developer.android.com/reference/org/apache/http/client/HttpClient.html 



-- Kostya

18.09.2010 13:47, Neilz пишет:

Here's the full error message:

09-18 10:45:56.909: ERROR/NetService:httpsGet(16414): HttpRequest:
IOException: java.io.IOException: Write error: I/O error during system
call, Broken pipe

The strange this is I'm not writing anything, this is a get request.

Any clues at all?




--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Problem with HttpsURLConnection

2010-09-18 Thread Mark Murphy
Note that this class is new to API level 8.

On Sat, Sep 18, 2010 at 7:54 AM, Kostya Vasilyev  wrote:
>  Neil,
>
> Perhaps you could try using AndroidHttpClient - supposedly, it has some
> tweaks specifically for the https/ssl protocol so works more smoothly.
>
> Since this class derives from Apache's HttpClient, you'd be able to use most
> of your code on the desktop, as well (you seem to imply that you also have a
> desktop application).
>
> http://developer.android.com/reference/android/net/http/AndroidHttpClient.html
>
> http://developer.android.com/reference/org/apache/http/client/HttpClient.html
>
> -- Kostya
>
> 18.09.2010 13:47, Neilz пишет:
>>
>> Here's the full error message:
>>
>> 09-18 10:45:56.909: ERROR/NetService:httpsGet(16414): HttpRequest:
>> IOException: java.io.IOException: Write error: I/O error during system
>> call, Broken pipe
>>
>> The strange this is I'm not writing anything, this is a get request.
>>
>> Any clues at all?
>>
>
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget --
> http://kmansoft.wordpress.com
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Atlanta: http://bignerdranch.com/classes/android

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: IntentService: Sending Message to a handler on dead thread

2010-09-18 Thread Samuh
:bump:

Please help.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: What is exactly the X and Y coordinates in method "canvas.rotate"

2010-09-18 Thread jlopeznava...@gmail.com
That link was very useful to understand how the pivot point works, now
I understand it perfectly.
I was using 48, 48 as pivot and I didn't realized that was the middle
X and middle of my drawable (it sizes 96x96) so that's because it
rotate properly.

Thank you very much.

On Sep 18, 1:51 pm, Kostya Vasilyev  wrote:
>   The coordinates are the rotation's center point (called the pivot
> point in the docs).
>
> See here for an interactive demo:
>
> http://www.nbilyk.com/pivot-rotate-example
>
> If you set these coordinates to the center of the canvas, you'll get the
> most intuitive result. But other rotations are possible as shown in the
> link above.
>
> -- Kostya
>
> 18.09.2010 13:37, jlopeznava...@gmail.com пишет:
>
>
>
>
>
> > Can anybody explain me what is exactly that coordinates? I have search
> > for information but can't find properly info.
> > I have some drawables objects wich I need to rotate, I have realized I
> > need to add a constant value to that coordinates, if not they rotate
> > wrong.
>
> > I use this way:
>
> > === 
> > ===
> > canvas.save();
> > canvas.rotate(90 * mRotatationType, CTE_ROTATING_X_POINT + coordX,
> > CTE_ROTATING_Y_POINT + coordY);
> > canvas.restore;
> > === 
> > ===
>
> > Where:
> > -mRotatationType: is set to 0, 1, 2, or 3 in order to get a 0, 90,
> > 180, 270º rotation.
> > -coordX and coordY are the top/left points of my drawable object.
> > -CTE_ROTATING_X_POINT and CTE_ROTATING_Y_POINT are set to "48" (if not
> > the drawables move in a different place after rotate). This is the
> > mistery for me.
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] IntentService: Sending Message to a handler on dead thread

2010-09-18 Thread Mark Murphy
On Thu, Sep 16, 2010 at 11:49 AM, Samuh  wrote:
> 1. What is causing these exceptions?

Probably because of this:

> The IntentService class fires a few AsyncTask from its onHandleIntent() 
> callback.

IntentService already uses a background thread for onHandleIntent().
Hence, do not use AsyncTask -- just execute your code in
onHandleIntent().

> 2. How can such exceptions be avoided?

Do not use AsyncTask -- just execute your code in onHandleIntent().

Also, you might consider using a WakefulIntentService, or your own
pattern derived from it, to keep the device awake while you are doing
work:

http://github.com/commonsguy/cwac-wakeful

> 3. What happens when the device sleeps?

All processes and threads are suspended.

> 4. I've read somewhere that if the network connectivity is through
> WiFi, it is disabled when the device sleeps.

Correct.

> What are the cases that a
> developer should take care of when a device wakes up?

That is impossible to answer in the abstract.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

Android Training in Atlanta: http://bignerdranch.com/classes/android

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] hah! so *thats* how they do it!

2010-09-18 Thread Stephen Ridley
navi-two:tools s7ephen$ say -v "Cellos" "droid";
navi-two:tools s7ephen$ uname -a
Darwin navi-two.local 10.3.2 Darwin Kernel Version 10.3.2: Wed Mar 17 14:55:00 
PDT 2010; root:xnu-1504.5.30~3/RELEASE_I386 i386

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: hah! so *thats* how they do it!

2010-09-18 Thread Chris Stratton

What exactly is the "it" that they are doing?

Running android on top of a bsd-derived kernel?  Sounds plausible if
they are careful to check and honor licensing for or rewrite if
necessary anything kernel mode like binder or ashmem brought over from
linux android.

Doing something unrelated to android?

What is this system?

On Sep 18, 9:12 am, Stephen Ridley  wrote:
> navi-two:tools s7ephen$ say -v "Cellos" "droid";
> navi-two:tools s7ephen$ uname -a
> Darwin navi-two.local 10.3.2 Darwin Kernel Version 10.3.2: Wed Mar 17 
> 14:55:00 PDT 2010; root:xnu-1504.5.30~3/RELEASE_I386 i386

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-18 Thread DanH
It's hard to compete against free.  I've not installed many phone
apps, but in terms of desktop apps I find that quality/fit is so
variable that I'm reluctant to pay up front for an app (have only done
it on a couple of occasions), and I would imagine the same is true for
phone apps.  I have on a handful of occasions (maybe 25% of those that
give the option) upgraded a free desktop app to paid to gain more
features (and a little bit out of guilt, I suppose).  I don't ever
recall upgrading a "trial period" app -- for some reason they never
seem that valuable to me when the trial period expires.

One problem that phone apps have, I suspect, is that it's difficult/
impossible (depending on the market) to directly provide interfaces to
upgrade to a new version, whether free or paid, while desktop apps can
do it seamlessly.

On Sep 18, 3:59 am, Alex  wrote:
> I am very interested in the responses to this thread.
>
> I only have one app on the market, a simple home page widget.  It is
> free, and it has been downloaded 13,937 times with an active install
> percentage of 47%.
>
> Obviously, I would like to make some money from my apps, but when I
> look at paid versions of similar apps to mine, the download numbers
> are pitiful.
>
> We are constantly reading about the massive growth of Android and the
> 10s of millions of devices out there, so why do most apps struggle to
> even grab a tiny percentage of that user base?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: To the Moderators: is there a way to find my earlier post threads?

2010-09-18 Thread DanH
It's not unreasonable, but I don't think it's going to happen.  Google
seems to be letting their Groups software languish.

That said, I've not noticed a single case of not finding one of my
posts on the web, if I come back at least once every 24 hours.

On Sep 17, 11:47 pm, Saied  wrote:
> Is it unreasonable to expect to find my posts, and their replies, here
> on the web interface?
>
> On Sep 17, 7:29 pm, DanH  wrote:
>
> > Are you working via email or the web interface?  If you're using the
> > web interface you can click "Edit my membership" just to the right of
> > this thread to change your email preferences.  If you're working via
> > email I assume there's a way to email change requests, but I don't
> > know what it is.
>
> > On Sep 17, 8:04 pm, Saied  wrote:
>
> > > Dear Moderator(s)?
>
> > > I wonder if there is a way for me to find the messages that I have
> > > posted here, and more importantly, the responses that others have
> > > posted for my questions.
>
> > > Is there?
>
> > > I am not getting other people's responses emailed to me. (is there a
> > > way? and is that the only way?)
>
> > > And when I search for my posts, I don't find them listed under my
> > > profile: list of messages. I do see the number of posts reflect my
> > > posts, but the actual posts are not in the list. (some are, but most
> > > are not).
>
> > > I am new to this and so far I have not had a great luck getting any
> > > useful information from this group. Not finding the responses that
> > > others may have provided would certainly hamper my further efforts in
> > > benefiting from this forum.
>
> > > Are these expectations reasonable? Am I missing something?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-18 Thread DanH
Impatience?  I'm not one of those who jumped on the guy without trying
to understand what he wanted, or why.  Angry?  I'm not one of those
who told him he was (in so many words) an idiot.

On Sep 18, 1:54 am, Indicator Veritatis  wrote:
> The impatience revealed by your puerile, angry language shows that you
> have not learned the most important lessons your allegedly longer
> experience could have taught you. Small wonder, then, that you show
> such limited understanding of UX principles.
>
> On Sep 17, 7:25 pm, DanH  wrote:
>
> > With all due respect -- hell toss respect out the window -- you don't
> > know sith about what you're talking about.  I've been in this industry
> > for 40 years, and I've seen all sorts of good and bad UI designs --
> > many of the worst directly attributable to "designers" inventing and
> > enforcing "rules" about what was good and bad, against the explicit
> > advice of others who, from experience and experiment, knew what worked
> > and what didn't.
>
> > The OP has explained why he wants to reverse the action of the
> > control, and it's a perfectly valid reason, especially given that he's
> > experimenting -- he realizes that what he's planning to try may not
> > work well, but even in the failure of it he may learn some things
> > about how to make a better UI.
>
> > Granted in several ways it is a "square peg into a round hole", but
> > consider that, just maybe, it's the hole that's wrongly shaped, not
> > the peg.  The biggest thing that scares me about Android, from the
> > standpoint of investing in it as a platform for future applications,
> > is that already too many features of it are apparently "sacred" and
> > immutable, even as they clearly demonstrate a poor fit to reality.
> > I'm quite afraid that Android will end up even more hide-bound than
> > iPhone due to this belief on the part of its designers that it's too
> > perfect to permit further modification.
>
> > On Sep 17, 9:07 pm, Indicator Veritatis  wrote:> I have 
> > worked with numerous UI and UX experts over the years, and not
> > > once have I ever heard any of them say anything as rash and glib as
> > > "whatever works". Not even with your caveat. Nor is your glib
> > > assertion consistent with my own experience of good and bad UI design
> > > over the years.
>
> > > Besides: your caveat qualified it with respect for convention -- which
> > > is exactly what the OP is tossing out the window.
>
> > > And no, the rights you so graciously bestow on the OP do not exist --
> > > except perhaps in the fanciful imaginations of people on their own
> > > high horses. Since he asked such a bad question, he is not going to
> > > like the answers he gets. Tough luck. Next time, he should 
> > > readhttp://www.catb.org/esr/faqs/smart-questions.htmlandlearnfrom his
> > > mistake.
>
> > > Finally, your example of a simulated scroll wheel does not illustrate
> > > the point you think it does. Of course the presence of the wheel
> > > changed the user's perception of which way it should be (because of
> > > scroll buttons on mice): but by insisting on putting a scroll wheel in
> > > there in the first place, no matter how 'good' the reason, you
> > > introduced a contradiction into the UI paradigm of the application. If
> > > you had studied it a little closer, you would likely have noticed that
> > > as users try to make more and more use of the application, a
> > > significant plurality of them would have trouble remembering when up
> > > is up and when up is down.
>
> > > IOW, given that you had to introduce the wheel, allowing it to go
> > > against the grain in that one place may have worked, but only at a
> > > cost, and it is quite unconvincing that the wheel really had to be
> > > there, or is worth that cost.
>
> > > But I can't say a lot about your old situation, since I know only what
> > > you so briefly described. What I CAN say is that it really does go
> > > against the grain in Android, and in a way that can only detract from
> > > the UX. And that if the OHA or Google had the kind of strict UI
> > > guidelines that made Apple's OS so user-friendly even from the early
> > > days, it would NOT be allowed.
>
> > > You are making me wish for the straight-jackets from the Developmental
> > > Ministry in the Republic of Steve Jobs;)
>
> > > On Sep 17, 10:04 am, DanH  wrote:
>
> > > > In this particular context there was a simulated scroll wheel
> > > > superimposed over the edge of the scroll list (for reasons having to
> > > > do with the dynamics of the controls).  For some reason this changed
> > > > the user's perception of the control completely.  Basically, the user
> > > > saw the wheel as moving the highlight bar up/down vs moving the list
> > > > up/down.  (If you think about it, the scroll wheel on a mouse operates
> > > > the same way.)
>
> > > > I am sure there are other situations where similar perceptual issues
> > > > could arise, such as when scrolling some sort of a map.
>
> > > > And t

[android-developers] SIM state ready intent

2010-09-18 Thread Mohammad Siddiqui
Hi everyone,

Can any one please tell me which intent is broadcast whent sim became
reday or when sim connected to the network

Thanks

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: HttpClient routine works but w/o connection, it times out?

2010-09-18 Thread davemac
In addition to putting your http calls into a separate thread, you
could also add HttpParams to your HttpGet object to set timeouts, both
for the connection and for the operation. Something like the
following:

HttpParams params = new BasicHttpParams();

HttpConnectionParams.setConnectionTimeout(params, 2000);// 2
seconds
HttpConnectionParams.setSoTimeout(params, 15000); // 15 seconds

httpget.setParams(params);

If a timeout occurs during execute(), you'll get an IOException,
technically a subclass of IOException depending on which timeout
tripped.

- dave
www.androidbook.com

On Sep 17, 9:39 pm, Indicator Veritatis  wrote:
> Indeed! Why, one of the major benefits of using HttpClient instead of
> barebones java.net methods is that it makes  it easy to move all the
> HTTP waiting -out- of the UI main thread.
>
> See, for example, how the authors of "Unlocking Android" have done
> this in the sample code for chapter 6 
> athttp://code.google.com/p/unlocking-android/
> .
>
> See especially the class HTTPRequestHelper in HTTPHelperForm.java in
> NetworkExplorer, since this class 'wraps' HttpClient.
>
> Of course, to get a full explanation of how this separation works, you
> need to buy and read the book;)
>
> NB: their approach is noticeably different from Mark Murphy's
> solution. They use the Looper and Handler, which they call the "Swiss-
> Army knife" of threading in Android.
>
> This approach may appear a little dated compared to AsyncTask, but at
> least this way you learn to use the Swiss-Army knife, instead of
> becoming dependent on AsyncTask. One should expect the Swiss-Army
> knife to be more widely applicable than AsyncTask.
>
> Besides: it is a good exercise to rewrite it to use AsyncTask in place
> of Looper/Handler or vice versa.
>
> On Sep 17, 1:04 pm, Kostya Vasilyev  wrote:
>
> >   John,
>
> > It's not a good idea to do networking on the UI thread. As you found
> > out, if there is a delay, for reasons that you can't control, the user
> > gets the ANR dialog ("application not responding").
>
> > Take a look at several options offered by Android to move your
> > networking code to a worker thread:
>
> > - AsyncTask
> > - IntentService
>
> > - An improvement upon IntentService, developed by Mark Murphy:
> > WakefulIntentService
>
> > -- Kostya
>
> > 17.09.2010 23:59, john brown пишет:
>
> > > It does however display the error "Application MyApp (in process
> > > mnt.android.myapp.MA103) is not responding." along with a Force Close
> > > button and a Wait button. If I wait a moment and press the Wait
> > > button, the app proceeds like it should.
>
> > > What can I do to avoid the long wait (and error) when there is no
> > > service?
>
> > --
> > Kostya Vasilyev -- WiFi Manager + pretty widget 
> > --http://kmansoft.wordpress.com

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Same color specified in xml file and png appear differently?

2010-09-18 Thread Mark Wyszomierski
I'm not quite sure what's going on - if I specify the color in my layout xml
like so with alpha = FF:

   #ffebebeb

then at least in the layout editor it now matches the color of my png
(created in photoshop, with the same #ebebeb specification). When I run the
app though, the emulator is showing it as a different type of grey. Did I
miss what you meant by alpha channel difference, Mark?

Thanks

On Thu, Sep 16, 2010 at 9:59 AM, Mark Murphy wrote:

> Might be an alpha channel difference.
>
> On Thu, Sep 16, 2010 at 9:51 AM, Mark Wyszomierski 
> wrote:
> > Hi,
> >
> > I have a 9 png which is used as the background of a view, the
> > stretchable region has a color of:
> >
> >   #ebebeb
> >
> > I have a view next to it, and I've set its background color like so:
> >
> >   >   
> >   android:background="#ebebeb" >
> >
> > when the two views are beside one another, you can clearly tell that
> > the colors are not the same, they're different shades of grey. I'm
> > seeing this on the emulators, haven't had a chance to try it on a
> > device. Is this expected, or is there something I'm doing wrong in the
> > color declaration?
> >
> > Thanks
> >
> > --
> > 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 more options, visit this group at
> > http://groups.google.com/group/android-developers?hl=en
> >
>
>
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Same color specified in xml file and png appear differently?

2010-09-18 Thread Mark Murphy
On Sat, Sep 18, 2010 at 11:17 AM, Mark Wyszomierski  wrote:
> I'm not quite sure what's going on - if I specify the color in my layout xml
> like so with alpha = FF:
>    #ffebebeb
> then at least in the layout editor it now matches the color of my png
> (created in photoshop, with the same #ebebeb specification). When I run the
> app though, the emulator is showing it as a different type of grey. Did I
> miss what you meant by alpha channel difference, Mark?

Well, you are halfway there.

For starters, you need the alpha value of your background color to be
the same as the alpha value of your PNG file. You know what the alpha
value of your background color is, because you are setting it. Now,
you need to determine the alpha value that Photoshop used with your
PNG file.

Also, if you choose a non-opaque (i.e., less than FF) alpha, things
get more complicated, as you have to take into account the stuff the
alpha channel is blending from behind the respective widgets.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Same color specified in xml file and png appear differently?

2010-09-18 Thread Mark Wyszomierski
Yeah I guess that's why I'm confused, the alpha of my png is 100%. So when I
set the background color in the xml file to explicitly have alpha = ff, then
the layout editor shows the two colors matching. It's just that when I run
the app, the emulator (and n1 at least) show the background color (not the
png) as the different grey, same as when I was previously *not* setting the
alpha = ff. To sum it up:

   before:
  background="#ebebeb"
  drawable in photoshop (100% alpha, ebebeb)
  layout editor and emulator show background as a purplish-grey.

   now
  background="#ffebebeb"
  drawable (unchanged from before)
  layout editor shows background now matching my drawable,
  but at runtime it looks like the purplish grey from before.

I'm not modifying the color at runtime (which could explain the difference),
I'll make a separate test app to try and demo it,

Thanks

On Sat, Sep 18, 2010 at 11:21 AM, Mark Murphy wrote:

> On Sat, Sep 18, 2010 at 11:17 AM, Mark Wyszomierski 
> wrote:
> > I'm not quite sure what's going on - if I specify the color in my layout
> xml
> > like so with alpha = FF:
> >#ffebebeb
> > then at least in the layout editor it now matches the color of my png
> > (created in photoshop, with the same #ebebeb specification). When I run
> the
> > app though, the emulator is showing it as a different type of grey. Did I
> > miss what you meant by alpha channel difference, Mark?
>
> Well, you are halfway there.
>
> For starters, you need the alpha value of your background color to be
> the same as the alpha value of your PNG file. You know what the alpha
> value of your background color is, because you are setting it. Now,
> you need to determine the alpha value that Photoshop used with your
> PNG file.
>
> Also, if you choose a non-opaque (i.e., less than FF) alpha, things
> get more complicated, as you have to take into account the stuff the
> alpha channel is blending from behind the respective widgets.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> _The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
> Available!
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Same color specified in xml file and png appear differently?

2010-09-18 Thread Kostya Vasilyev
Perhaps you can use a small PNG drawable for the view where you currently
specify a color constant?

--
Kostya Vasilyev -- http://kmansoft.wordpress.com

18.09.2010 19:35 пользователь "Mark Wyszomierski" 
написал:

Yeah I guess that's why I'm confused, the alpha of my png is 100%. So when I
set the background color in the xml file to explicitly have alpha = ff, then
the layout editor shows the two colors matching. It's just that when I run
the app, the emulator (and n1 at least) show the background color (not the
png) as the different grey, same as when I was previously *not* setting the
alpha = ff. To sum it up:

   before:
  background="#ebebeb"
  drawable in photoshop (100% alpha, ebebeb)
  layout editor and emulator show background as a purplish-grey.

   now
  background="#ffebebeb"
  drawable (unchanged from before)
  layout editor shows background now matching my drawable,
  but at runtime it looks like the purplish grey from before.

I'm not modifying the color at runtime (which could explain the difference),
I'll make a separate test app to try and demo it,

Thanks



On Sat, Sep 18, 2010 at 11:21 AM, Mark Murphy 
wrote:
>
> On Sat, Sep 18,...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" g...

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to reverse ListView scrolling behavior?

2010-09-18 Thread Brad Gies


Just wanted to say that it might be a bad design decision for a real 
app, but have you ever considered that he might want to do it as a joke 
app for his friends? I do that kind of stuff all the time just for the 
fun of it.


So... why jump all over the guy? ... at least until you know what he 
really wants to do.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 17/09/2010 11:54 PM, Indicator Veritatis wrote:

The impatience revealed by your puerile, angry language shows that you
have not learned the most important lessons your allegedly longer
experience could have taught you. Small wonder, then, that you show
such limited understanding of UX principles.

On Sep 17, 7:25 pm, DanH  wrote:

With all due respect -- hell toss respect out the window -- you don't
know sith about what you're talking about.  I've been in this industry
for 40 years, and I've seen all sorts of good and bad UI designs --
many of the worst directly attributable to "designers" inventing and
enforcing "rules" about what was good and bad, against the explicit
advice of others who, from experience and experiment, knew what worked
and what didn't.

The OP has explained why he wants to reverse the action of the
control, and it's a perfectly valid reason, especially given that he's
experimenting -- he realizes that what he's planning to try may not
work well, but even in the failure of it he may learn some things
about how to make a better UI.

Granted in several ways it is a "square peg into a round hole", but
consider that, just maybe, it's the hole that's wrongly shaped, not
the peg.  The biggest thing that scares me about Android, from the
standpoint of investing in it as a platform for future applications,
is that already too many features of it are apparently "sacred" and
immutable, even as they clearly demonstrate a poor fit to reality.
I'm quite afraid that Android will end up even more hide-bound than
iPhone due to this belief on the part of its designers that it's too
perfect to permit further modification.

On Sep 17, 9:07 pm, Indicator Veritatis  wrote:>  I have 
worked with numerous UI and UX experts over the years, and not

once have I ever heard any of them say anything as rash and glib as
"whatever works". Not even with your caveat. Nor is your glib
assertion consistent with my own experience of good and bad UI design
over the years.
Besides: your caveat qualified it with respect for convention -- which
is exactly what the OP is tossing out the window.
And no, the rights you so graciously bestow on the OP do not exist --
except perhaps in the fanciful imaginations of people on their own
high horses. Since he asked such a bad question, he is not going to
like the answers he gets. Tough luck. Next time, he should 
readhttp://www.catb.org/esr/faqs/smart-questions.htmlandlearn from his
mistake.
Finally, your example of a simulated scroll wheel does not illustrate
the point you think it does. Of course the presence of the wheel
changed the user's perception of which way it should be (because of
scroll buttons on mice): but by insisting on putting a scroll wheel in
there in the first place, no matter how 'good' the reason, you
introduced a contradiction into the UI paradigm of the application. If
you had studied it a little closer, you would likely have noticed that
as users try to make more and more use of the application, a
significant plurality of them would have trouble remembering when up
is up and when up is down.
IOW, given that you had to introduce the wheel, allowing it to go
against the grain in that one place may have worked, but only at a
cost, and it is quite unconvincing that the wheel really had to be
there, or is worth that cost.
But I can't say a lot about your old situation, since I know only what
you so briefly described. What I CAN say is that it really does go
against the grain in Android, and in a way that can only detract from
the UX. And that if the OHA or Google had the kind of strict UI
guidelines that made Apple's OS so user-friendly even from the early
days, it would NOT be allowed.
You are making me wish for the straight-jackets from the Developmental
Ministry in the Republic of Steve Jobs;)
On Sep 17, 10:04 am, DanH  wrote:

In this particular context there was a simulated scroll wheel
superimposed over the edge of the scroll list (for reasons having to
do with the dynamics of the controls).  For some reason this changed
the user's perception of the control completely.  Basically, the user
saw the wheel as moving the highlight bar up/down vs moving the list
up/down.  (If you

Re: [android-developers] Same color specified in xml file and png appear differently?

2010-09-18 Thread Mark Wyszomierski
Hi Kostya, I'll probably end up doing that, I was just curious as to what is
going on with this since everything seems to look ok - I'll make that test
app and post back if I find anything,

Thanks

2010/9/18 Kostya Vasilyev 

> Perhaps you can use a small PNG drawable for the view where you currently
> specify a color constant?
>
> --
> Kostya Vasilyev -- http://kmansoft.wordpress.com
>
> 18.09.2010 19:35 пользователь "Mark Wyszomierski" 
> написал:
>
>
> Yeah I guess that's why I'm confused, the alpha of my png is 100%. So when
> I set the background color in the xml file to explicitly have alpha = ff,
> then the layout editor shows the two colors matching. It's just that when I
> run the app, the emulator (and n1 at least) show the background color (not
> the png) as the different grey, same as when I was previously *not* setting
> the alpha = ff. To sum it up:
>
>before:
>   background="#ebebeb"
>   drawable in photoshop (100% alpha, ebebeb)
>   layout editor and emulator show background as a purplish-grey.
>
>now
>   background="#ffebebeb"
>   drawable (unchanged from before)
>   layout editor shows background now matching my drawable,
>   but at runtime it looks like the purplish grey from before.
>
> I'm not modifying the color at runtime (which could explain the
> difference), I'll make a separate test app to try and demo it,
>
> Thanks
>
>
>
> On Sat, Sep 18, 2010 at 11:21 AM, Mark Murphy 
> wrote:
> >
> > On Sat, Sep 18,...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" g...
>
>  --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] StateListDrawable and activity-menu-shown state?

2010-09-18 Thread Mark Wyszomierski
Hi,

I have a linear layout that is focusable, I'd like it to use the same
background drawable as found in listview items:

StateListDrawable sld =
(StateListDrawable)context.getResources().getDrawable(
android.R.drawable.list_selector_background);
linearLayout..setBackgroundDrawable(sld);
linearLayout.setFocusable(true);

The default state of this selector is to be transparent, but I want a
specific background drawable used in an unselected state. It would be
ideal if we could just "override" this one state, and leave everything
else the same:

sld.addState(new int[] { -android.R.attr.state_window_focused },
context.getResources().getDrawable(R.drawable.my_background));

That seems to work - but if I display a menu in the parent activity,
the background reverts to transparent again. When the menu is hidden,
the background comes back to the drawable I had used for the override.
I'm not sure what states I could override to fix the menu-display-
state-issue - but I'm not sure if this is even a proper use of
StateListDrawables. I could just make my own sld to mimic what the one
bundled with android does, but if I make its highlight state orange
for example, it'll look strange on some devices that have changed the
focus color to green for example with listviews (droid eris for
example). It'd be great to keep everything consistent.

Below is the xml def for android.R.drawable.list_selector_background.
If anyone knows what states to change for the menu display, that'd be
great.

Thanks




   http://schemas.android.com/apk/res/
android">

   

   
   
   

   
   

   

   

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Eclipse not installing Android Application on Emulator

2010-09-18 Thread AgitoM
Hope anyone can still offer a solution. Or can point me into the
direction of a resource that might help.
I'm quite desperate to find a solution to this, since the problem
means I can't run Android apps on my office computer.

On Sep 16, 12:20 pm, AgitoM  wrote:
> Been looking around the internet for some time for a solution, but
> still can't get it to work. Hence I am posting my problem here.
>
> I recently started learning Android, and have set up the development
> environment. I've created a HelloWorld like application. Basically I
> did nothing then create a project, and change the default display
> string. When I try to run the application on the emulator, it does not
> install the application on the Emulator.
>
> This is my Eclipse Console output:
>
> [2010-09-16 12:06:01 - DroidTest] Android Launch!
> [2010-09-16 12:06:01 - DroidTest] adb is running normally.
> [2010-09-16 12:06:01 - DroidTest] Performing
> com.example.DroidTestActivity activity launch
> [2010-09-16 12:06:01 - DroidTest] Automatic Target Mode: Preferred AVD
> 'VanillaAVD' is not available. Launching new emulator.
> [2010-09-16 12:06:01 - DroidTest] Launching a new emulator with
> Virtual Device 'VanillaAVD'
>
> Ironically, doing the exact same thing on a other computer, does
> result in the application being installed and runned successfully.
>
> I've tried many things to fix this problem:
> - Fresh Eclipse install
> - Android SDK re-install
> - Project recreation
> - AVD re-creation
> - Changed Eclipse workspace
> - the kill-sever command line command.
>
> Getting quite desperate here, after having tried for two days, so hope
> someone has a clear solution for this.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How much money do you make?

2010-09-18 Thread Prakash Iyer
Just my 2c - the freemium model when executed well could be one answer.
Basically the free app version should do enough to not invite removal due to
either "not compelling" or "too irritating". But it should also entice
enough so that the user just bites - again patience is key as not every one
will bite the very first time.

One app that does this well is Tapatalk (I am not associated with them in
any way other than being a happy, paying consumer). Their free version
allows me to read from forums, supply login, read private messages etc. but
then if I want to post/reply/click thru to bigger images etc I must upgrade.
They didn't keep telling me I was a cheapskate just when I tried a premium
feature. Loved it enough to pay up.

More than the platform it is the individual app I think. As an example, the
free virus scan software that Google Pack installs on the desktop is
irritating me to the point I am going to replace it - asks me to upgrade
whenever it can as opposed to when it makes sense.

On Sat, Sep 18, 2010 at 9:40 AM, DanH  wrote:

> It's hard to compete against free.  I've not installed many phone
> apps, but in terms of desktop apps I find that quality/fit is so
> variable that I'm reluctant to pay up front for an app (have only done
> it on a couple of occasions), and I would imagine the same is true for
> phone apps.  I have on a handful of occasions (maybe 25% of those that
> give the option) upgraded a free desktop app to paid to gain more
> features (and a little bit out of guilt, I suppose).  I don't ever
> recall upgrading a "trial period" app -- for some reason they never
> seem that valuable to me when the trial period expires.
>
> One problem that phone apps have, I suspect, is that it's difficult/
> impossible (depending on the market) to directly provide interfaces to
> upgrade to a new version, whether free or paid, while desktop apps can
> do it seamlessly.
>
> On Sep 18, 3:59 am, Alex  wrote:
> > I am very interested in the responses to this thread.
> >
> > I only have one app on the market, a simple home page widget.  It is
> > free, and it has been downloaded 13,937 times with an active install
> > percentage of 47%.
> >
> > Obviously, I would like to make some money from my apps, but when I
> > look at paid versions of similar apps to mine, the download numbers
> > are pitiful.
> >
> > We are constantly reading about the massive growth of Android and the
> > 10s of millions of devices out there, so why do most apps struggle to
> > even grab a tiny percentage of that user base?
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How to install the .apk file into blackberry

2010-09-18 Thread Prakash Iyer
Fair enough.

On Sat, Sep 18, 2010 at 4:30 AM, Indicator Veritatis wrote:

> You did not read closely enough. I never -said- Android was a JME
> platform. Rather, I said that BlackBerry was a JME platform, and that
> Android used the Java language, NOT the platform.
>
> And yes, a JME app written for one phone has a good chance of failing
> on another JME phone, which is why people say that Sun's promise of
> "write once, anywhere" has become (at least for JME) "write once,
> debug everywhere";)
>
> On Sep 17, 5:21 am, Prakash Iyer  wrote:
> > I would dispute your last statement - Android is not a JME platform. Any
> > Java based app has really no chance of running as is on a JME platform.
> In
> > fact as any one who has done serious JME programming will tell you, an
> > interesting JME program has a decent probability of not working as
> intended
> > across JME devices even from the same platform. BTW, a standard JME
> program
> > has a non-zero probability that it will not work as is on a BlackBerry -
> > basically there are somethings that you need to use the BlackBerry API
> for
> > that are not JSR.
> >
> > Now a Java app, without modifications wouldn't run on Android and vice
> versa
> > but that is more due to the runtime support that you will agree is quite
> > different in Android devices than on any platform.
> >
> > To the OP (in a vain attempt to not hijack the thread:)) - the best
> option
> > is to use a Web view equivalent and then try to write the skeleton app
> > across platforms. Or you could try to write JME compliant code that is
> pure
> > Java, makes no use of any JSR and reuse that core across JME and Android
> > platforms. The shims (which in this case might be quite thick:)) would be
> > platform specific...
> >
> > On Fri, Sep 17, 2010 at 3:02 AM, Indicator Veritatis 
> > wrote:>
> That is absolutely correct. BlackBerry phones are not Android phones.
> > > They do not understand APK files, nor is there any practical way to
> > > translate them to COD files.
> >
> > > Now if the OP had been thinking of running JME files, that could be
> > > done. BlackBerry does support JME (MIDP 2.0, CLDC 1.2). But this is
> > > yet another example of how Android, though it uses the Java -
> > > language-, does not use or support the Java -platform-.
> >
> > > On Sep 16, 1:29 pm, SheikhAman  wrote:
> > > > Hahaha..
> > > > well, jokes apart, I really think you're on the wrong forum.
> >
> > > > As far as I know, BlackBerry supports .cod files and it won't
> > > > understand what an APK file is.
> >
> > > > secondly, if it the code inside the APK file uses the SDK made for
> > > > android and BlackBerry won't know anything about it.
> > > > so it won't work.
> >
> > > > On Sep 16, 12:47 pm, bharani kumar 
> > > > wrote:> Hi ,
> >
> > > > > How to install the .apk file into blackberry ,
> >
> > > > > --
> > > > > Regards
> > > > > B.S.Bharanikumarhttp://php-mysql-jquery.blogspot.com/
> >
> > > --
> > > 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 more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
> >
> >
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Service and application got crash

2010-09-18 Thread Prakash Iyer
that is one nice tool. reps inbound for that!

On Sat, Sep 18, 2010 at 4:12 AM, Indicator Veritatis wrote:

> And he should use pastebin at http://pastebin.com/ too, right?
>
> On Sep 17, 8:26 am, TreKing  wrote:
> > On Thu, Sep 16, 2010 at 5:27 AM, nimi  wrote:
> > > Plz take a look at it and help me..
> >
> > Sorry, but posting hundreds of lines of poorly formatted output is not a
> > good way to get help.
> >
> > Please try to explain your problem in more detail. Explain the steps
> you're
> > taking that lead you to your problem and only post logs that are relevant
> to
> > the issue at hand.
> >
> >
> -
> > TreKing  - Chicago
> > transit tracking app for Android-powered devices
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: What's happening to my posts here? Is someone deleting them?

2010-09-18 Thread Prakash Iyer
I agree - Google hasn't figured out scale yet. After all they deal with what
a few 10's of searches and emails a day...

Some times I wish there would be some one who actually did what Chris is
referring to. Coming back in a few hours to email and finding out the top
posts are
- where are all my posts? well if none of them made it here then this one
wouldn't as well. if this one did then maybe others did as well...
- i am trying to do something that is well documented for a change. i am too
busy to read, so here let me ask the collective wisdom to solve it for me...
- i have screwed up by actually doing something before reading. now let me
find out if any one here can read logcat output because I sure as hell can
only paste it...

On Fri, Sep 17, 2010 at 8:52 PM, Saied  wrote:

> I thought people post messages then come back here to see who has
> responded to them and what.
>
> It's hard to believe that Google cannot handle a few tens of text
> posts everyday.
>
> Notoriously unreliable?? has anyone been put to task to fix it? This
> does not seem to be a very hard problem for a technology company like
> google.
>
> "the dog ate your messages" is a much better excuse.
>
> On Sep 17, 1:44 pm, Chris Stewart  wrote:
> > Ok ok, I'll fess up.  I've been deleting your posts.  It's not that I
> don't
> > find them useful, it's just that they're so painfully boring to read.  I
> > can't take it, I... I just can't do it anymore.  It's not you, and I know
> > it's *cliché to say*, but it's true.  It's not you at all, it's me.
> >
> > :-p
> >
> > --
> > Chris Stewarthttp://chriswstewart.com
> >
> > Fantasy Football<
> http://chriswstewart.com/android-applications/fantasy-football/>-
> > Android app for MFL fantasy football owners
> >
> > On Fri, Sep 17, 2010 at 3:37 PM, Kostya Vasilyev 
> wrote:
> > >  17.09.2010 22:43, TreKing пишет:
> >
> > > On Fri, Sep 17, 2010 at 12:42 PM, Saied  wrote:
> >
> > >> Is it the policy of this group to remove the posts for which Android
> > >> cannot give an answer?
> >
> > > Not really. I found your post in my email archive. I suggest you use
> your
> > > email to read from and post to this group. The web interface is
> notoriously
> > > unreliable.
> >
> > > To OP - if you do this, be advised that your messages will not be
> relayed
> > > back to you over email. You will only see replies, if any.
> >
> > > --
> > > Kostya Vasilyev -- WiFi Manager + pretty widget --
> http://kmansoft.wordpress.com
> >
> > >  --
> > > 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 more options, visit this group at
> > >http://groups.google.com/group/android-developers?hl=en
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Is it possible to rotate screen by program code but not accelerometer sensor?

2010-09-18 Thread Prakash Iyer
Not sure what you want to do here. Without the accelerometer the system
wouldn't recognize that the screen has rotated. You (the user) can disable
orientation change in the settings but then no app would ever know the
orientation has changed.

Now, the app can trap the orientation change and decide to do nothing about,
or set a timer and ignore successive notifications to overcome sensitivity
etc.

On Fri, Sep 17, 2010 at 8:17 PM, San Zhang  wrote:

> Hi every one,
>
> There are some shortcoming for system's rotate screen function:
>
> 1. It is too sensitive to result in many unwanted rotating actions.
> 2. Accelerometer consumed power greatly.
>
> I want disable it and control screen orientation by my own program. Is it
> possible?
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Eclipse not installing Android Application on Emulator

2010-09-18 Thread Prakash Iyer
try getting logcat output or use adb to install your package on the emulator
and see what's happening. my guess would be the minSDK version is higher
than what is supported on the emulator...

On Sat, Sep 18, 2010 at 12:11 PM, AgitoM  wrote:

> Hope anyone can still offer a solution. Or can point me into the
> direction of a resource that might help.
> I'm quite desperate to find a solution to this, since the problem
> means I can't run Android apps on my office computer.
>
> On Sep 16, 12:20 pm, AgitoM  wrote:
> > Been looking around the internet for some time for a solution, but
> > still can't get it to work. Hence I am posting my problem here.
> >
> > I recently started learning Android, and have set up the development
> > environment. I've created a HelloWorld like application. Basically I
> > did nothing then create a project, and change the default display
> > string. When I try to run the application on the emulator, it does not
> > install the application on the Emulator.
> >
> > This is my Eclipse Console output:
> >
> > [2010-09-16 12:06:01 - DroidTest] Android Launch!
> > [2010-09-16 12:06:01 - DroidTest] adb is running normally.
> > [2010-09-16 12:06:01 - DroidTest] Performing
> > com.example.DroidTestActivity activity launch
> > [2010-09-16 12:06:01 - DroidTest] Automatic Target Mode: Preferred AVD
> > 'VanillaAVD' is not available. Launching new emulator.
> > [2010-09-16 12:06:01 - DroidTest] Launching a new emulator with
> > Virtual Device 'VanillaAVD'
> >
> > Ironically, doing the exact same thing on a other computer, does
> > result in the application being installed and runned successfully.
> >
> > I've tried many things to fix this problem:
> > - Fresh Eclipse install
> > - Android SDK re-install
> > - Project recreation
> > - AVD re-creation
> > - Changed Eclipse workspace
> > - the kill-sever command line command.
> >
> > Getting quite desperate here, after having tried for two days, so hope
> > someone has a clear solution for this.
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: hah! so *thats* how they do it!

2010-09-18 Thread Phill Wiggin
On Sat, Sep 18, 2010 at 9:27 AM, Chris Stratton  wrote:

>
> What exactly is the "it" that they are doing?
>
> Running android on top of a bsd-derived kernel?  Sounds plausible if
> they are careful to check and honor licensing for or rewrite if
> necessary anything kernel mode like binder or ashmem brought over from
> linux android.
>
> Doing something unrelated to android?
>
> What is this system?
>
> On Sep 18, 9:12 am, Stephen Ridley  wrote:
> > navi-two:tools s7ephen$ say -v "Cellos" "droid";
> > navi-two:tools s7ephen$ uname -a
> > Darwin navi-two.local 10.3.2 Darwin Kernel Version 10.3.2: Wed Mar 17
> 14:55:00 PDT 2010; root:xnu-1504.5.30~3/RELEASE_I386 i386
>
>
I think he's pointing out that the Verizon "Droid" commercial/vocals are
done on a Mac.

--PhillW

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] ecllpse - creating run config for different API

2010-09-18 Thread dashman
i've got the AVD created (api3) - i see it listed and have the
sdk loaded.

but when i try to create a debug config in eclipse - i do not
see the AVD listed. i do see the one for 2.2

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Exception Logging

2010-09-18 Thread Brad Gies
 This is a bit long winded (sorry, but I need to explain what I'm doing 
before I can ask the question).


Just wondering if I could get a few (hopefully few hundred) opinions on 
this :


I developed an Exception Handler for my first Android app (released the 
first month the market opened), which logs all uncaught exceptions to my 
server, and since then I have gradually refined it and improved. I'm now 
using it in my 4th public Android app and a few private apps, and I find 
it extremely helpful to find bugs that don't happen to me when I'm testing.


One thing I added that is proving to be extremely useful is an 
AlertDialog when the exception occurs asking the user if it is OK to 
contact him/her if I need more information to be able to fix the 
problem, and a box for them to enter their email address if they agree. 
I don't have good numbers for you on the acceptance rate because most of 
my public apps already have the users email address and for the private 
apps the company enforces their compliance (or supplies the emails for 
me to use). BUT... it looks like about 20% of users do enter their email 
address if asked, and that is more than enough to be very useful.


I think I can increase the percentage of users that do supply their 
emails addresses, and that is what my question is about :).  (I will ask 
it soon)


First, It has occurred to me that my Exception Logger might be even more 
successful for me if other developers were also using it because users 
might have seen it before and trust it when they first see it in my 
apps. That obviously would only happen if quite a few developers were 
using it.


Anyway... sorry it's already getting long, and I AM trying to keep it 
from becoming a book. I have repackaged my Exception Logger and will 
release it in the next couple of days for other developers to use (the 
price is the good one - FREE). I will host the thing on my server (FYI 
it's a Cloud based server so we can increase capacity if needed) and any 
developers using it will be able to log in and view the exceptions their 
app has generated, and sort by time/date, user, and other fields.


NOW.. the question: I think the Exception Logger would be more 
successful getting the users to agree to be contacted IF their email 
addresses were kept confidential. Actually, I don't think there is much 
doubt that would be the case. BUT, there is a tradeoff. Obviously, most 
developers would prefer to see the email addresses so they can manage 
the contacts a bit more effectively without using my website to do it, 
BUT if the email addresses are not confidential, fewer users will give 
them.


So here are what I think are the options:

a)keep the email addresses confidential, but developers can send the 
user an email using my website, include both a reply address which goes 
to my website and then forwards the email to the developer, and also the 
developers email address so the user could respond directly to the 
developer if they choose. I'm sure this would have by far the highest 
success rate for getting contact info  but means devs have to use my 
website to send the first email at least.


b)give the user a choice of keeping the email address confidential 
or just giving it to the developer. This should also have a fairly high 
acceptance rate by the user, but complicates the process for them 
because they would actually have to read the instructions to figure out 
how it works, and quite possibly a few users would think they asked for 
their email addresses to be confidential, when they actually checked the 
other option, and would be upset if they found out later. It's also a 
bit more work for me, for maybe very little benefit.


c)Don't bother keeping the email addresses confidential. All my own 
apps work this way, and it is useful, but I'm sure either of the other 
two options would have a better success rate of obtaining the email 
addresses, and therefore would be better for most devs to get 
information about problems in their apps.


I don't try the a) or b) options for myself because obviously I could 
see the email addresses in my log files if I wanted to look, and it 
would be a little deceitful to tell the user their email would be 
confidential in that case, even if I did use them properly ... BUT, I 
can do that for other developers without stretching the truth at all, so 
I think it's worth the effort if other devs want to use it.


So, please let me know what your opinions are.

I'm also hoping to get some idea of how many developers might want to 
use this. I've already done almost all the work, so it will be released 
even if nobody wants to use it. It freaks me out a little to open up my 
server to an unknown amount of use, but I am well setup to increase 
server capacity quickly if needed, and I don't think the cost of doing 
this will be too horrible (I hope). ...



Sincerely,

Brad Gies
--

Re: [android-developers] Exception Logging

2010-09-18 Thread Prakash Iyer
I have thought along similar lines. I think it should just be option a.
Don't confuse the user with options. In fact don't even allow user to reply
back directly.

On Sep 18, 2010 1:19 PM, "Brad Gies"  wrote:

 This is a bit long winded (sorry, but I need to explain what I'm doing
before I can ask the question).

Just wondering if I could get a few (hopefully few hundred) opinions on this
:

I developed an Exception Handler for my first Android app (released the
first month the market opened), which logs all uncaught exceptions to my
server, and since then I have gradually refined it and improved. I'm now
using it in my 4th public Android app and a few private apps, and I find it
extremely helpful to find bugs that don't happen to me when I'm testing.

One thing I added that is proving to be extremely useful is an AlertDialog
when the exception occurs asking the user if it is OK to contact him/her if
I need more information to be able to fix the problem, and a box for them to
enter their email address if they agree. I don't have good numbers for you
on the acceptance rate because most of my public apps already have the users
email address and for the private apps the company enforces their compliance
(or supplies the emails for me to use). BUT... it looks like about 20% of
users do enter their email address if asked, and that is more than enough to
be very useful.

I think I can increase the percentage of users that do supply their emails
addresses, and that is what my question is about :).  (I will ask it soon)

First, It has occurred to me that my Exception Logger might be even more
successful for me if other developers were also using it because users might
have seen it before and trust it when they first see it in my apps. That
obviously would only happen if quite a few developers were using it.

Anyway... sorry it's already getting long, and I AM trying to keep it from
becoming a book. I have repackaged my Exception Logger and will release it
in the next couple of days for other developers to use (the price is the
good one - FREE). I will host the thing on my server (FYI it's a Cloud based
server so we can increase capacity if needed) and any developers using it
will be able to log in and view the exceptions their app has generated, and
sort by time/date, user, and other fields.

NOW.. the question: I think the Exception Logger would be more successful
getting the users to agree to be contacted IF their email addresses were
kept confidential. Actually, I don't think there is much doubt that would be
the case. BUT, there is a tradeoff. Obviously, most developers would prefer
to see the email addresses so they can manage the contacts a bit more
effectively without using my website to do it, BUT if the email addresses
are not confidential, fewer users will give them.

So here are what I think are the options:

a)keep the email addresses confidential, but developers can send the
user an email using my website, include both a reply address which goes to
my website and then forwards the email to the developer, and also the
developers email address so the user could respond directly to the developer
if they choose. I'm sure this would have by far the highest success rate for
getting contact info  but means devs have to use my website to send the
first email at least.

b)give the user a choice of keeping the email address confidential or
just giving it to the developer. This should also have a fairly high
acceptance rate by the user, but complicates the process for them because
they would actually have to read the instructions to figure out how it
works, and quite possibly a few users would think they asked for their email
addresses to be confidential, when they actually checked the other option,
and would be upset if they found out later. It's also a bit more work for
me, for maybe very little benefit.

c)Don't bother keeping the email addresses confidential. All my own apps
work this way, and it is useful, but I'm sure either of the other two
options would have a better success rate of obtaining the email addresses,
and therefore would be better for most devs to get information about
problems in their apps.

I don't try the a) or b) options for myself because obviously I could see
the email addresses in my log files if I wanted to look, and it would be a
little deceitful to tell the user their email would be confidential in that
case, even if I did use them properly ... BUT, I can do that for other
developers without stretching the truth at all, so I think it's worth the
effort if other devs want to use it.

So, please let me know what your opinions are.

I'm also hoping to get some idea of how many developers might want to use
this. I've already done almost all the work, so it will be released even if
nobody wants to use it. It freaks me out a little to open up my server to an
unknown amount of use, but I am well setup to increase server capacity
quickly if needed, and I don't think the cos

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-18 Thread Peter Sinnott
Received this update this morning :

Hello,

We'd like to give you an update on this issue. We've previously stated
that some application updates are incorrectly being counted as pure
uninstalls rather than updates, causing the active installs metric to
drop. We have now identified the root cause, and are working on a fix
that we hope to release next week. However, due to the nature of the
interaction between the Market client and our reporting
infrastructure, it may take up to several weeks for your metrics in
the Developer Console to return to normal. Again, we apologize for any
inconvenience, and will keep you posted on our progress.

Thank you for your continued patience.



On Sep 15, 10:43 am, Pent  wrote:
> > > Thanks for writing in. We are currently investigating this issue. So far,
> > >> this appears to be purely a reporting issue: some update events are being
> > >> inaccurately recorded as uninstalls, rather than updates, creating a 
> > >> lower
> > >> active installs percentage. However, our investigation tells us that
> > >> applications are not actually being uninstalled. We hope to have a
> > >> resolution soon.
>
> This fits, actually.
>
> I had been holding steady at around 50%. Released my first update for
> a month
> yesterday evening and now I'm down to 45%.
>
> Pent

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Android Market Licensing Service

2010-09-18 Thread gcstang
Are there any examples of how you implemented it that you're willing
to share?

Even psuedocode would be helpful as an example:

Copied java files 1,2,3 into my project as a pkg
Implemented methods A,B,C
Added X of LVL to onCreate of my main point of access on the
application and did X,Y,Z etc...
if return of G fails I did D to exit my application

Or do you have anything you used online that could take you through it
step by step, the blog post is a bit over whelming to someone just
starting and since you have successfully implemented it I think it
would be of great help to the community and myself to know the proper
way to implement the procedure you used.

If you can't I understand but it would be helpful if you could.

Thank you,

On Sep 18, 12:14 am, String  wrote:
> Yes, I'm using it.
>
> I deployed it to one of my less-used apps first, and remarkably have
> had NO complaints. So I'm in the process of rolling it out to my front-
> line apps now.
>
> As for best-practices, I'd refer to the most recent dev blog posting
> on the 
> subject:http://android-developers.blogspot.com/2010/09/securing-android-lvl-a...
>
> I'm using the ServerManagedPolicy myself. I integrated it into my own
> source tree (rather than using it as an external library), but that
> was my own preference. I've also tweaked some of the internals to
> defeat automated cracking, a la point 2 in the blog post above. I'm
> not using obfuscation currently; I couldn't get ProGuard to work
> without devoting more time than I have to spare, and from what I've
> read, that's not much of an impediment anyway.
>
> String
>
> On Sep 17, 9:52 pm, Bret Foreman  wrote:
>
> > Is anyone on this list using AMLS yet? Any comments, things to avoid,
> > best practices? It sounds great in concept but I'd like to hear how
> > it's working in practice.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: How much money do you make?

2010-09-18 Thread Michael A.
Keep in mind that there is a huge gap between the price to upgrade a
desktop app and a phone app. The usual price range ($1-5) is generally
so small that under normal circumstances, you should see good
conversion rates.

The problem is not that phone apps are difficult to upgrade to a new
version - the problem is that the Android market does not provide the
toolset to allow us to provide smooth in-app purchases and that one
will break the terms of service if one implements it oneself. But this
griping is nothing new, of course.

Regards,

Michael A.

On Sep 18, 3:40 pm, DanH  wrote:
> It's hard to compete against free.  I've not installed many phone
> apps, but in terms of desktop apps I find that quality/fit is so
> variable that I'm reluctant to pay up front for an app (have only done
> it on a couple of occasions), and I would imagine the same is true for
> phone apps.  I have on a handful of occasions (maybe 25% of those that
> give the option) upgraded a free desktop app to paid to gain more
> features (and a little bit out of guilt, I suppose).  I don't ever
> recall upgrading a "trial period" app -- for some reason they never
> seem that valuable to me when the trial period expires.
>
> One problem that phone apps have, I suspect, is that it's difficult/
> impossible (depending on the market) to directly provide interfaces to
> upgrade to a new version, whether free or paid, while desktop apps can
> do it seamlessly.
>
> On Sep 18, 3:59 am, Alex  wrote:
>
> > I am very interested in the responses to this thread.
>
> > I only have one app on the market, a simple home page widget.  It is
> > free, and it has been downloaded 13,937 times with an active install
> > percentage of 47%.
>
> > Obviously, I would like to make some money from my apps, but when I
> > look at paid versions of similar apps to mine, the download numbers
> > are pitiful.
>
> > We are constantly reading about the massive growth of Android and the
> > 10s of millions of devices out there, so why do most apps struggle to
> > even grab a tiny percentage of that user base?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Exception Logging

2010-09-18 Thread Sean Chitwood
I believe option A is the best.

One thing you might consider as a premium option for developers is reporting
showing which crashes are more prevalent than others. I know Microsoft does
this internally for application crashes reported via Watson.

--Sean

Calendar: http://www.google.com/calendar/embed?src=darkmane%40gmail.com
Livejournal: http://darkmane.livejournal.com

Every 5 minutes you spend writing code in a new language is more useful than
5 hours reading blog posts about how great the language is.




On Sat, Sep 18, 2010 at 10:34 AM, Prakash Iyer  wrote:

> I have thought along similar lines. I think it should just be option a.
> Don't confuse the user with options. In fact don't even allow user to reply
> back directly.
>
> On Sep 18, 2010 1:19 PM, "Brad Gies"  wrote:
>
>  This is a bit long winded (sorry, but I need to explain what I'm doing
> before I can ask the question).
>
> Just wondering if I could get a few (hopefully few hundred) opinions on
> this :
>
> I developed an Exception Handler for my first Android app (released the
> first month the market opened), which logs all uncaught exceptions to my
> server, and since then I have gradually refined it and improved. I'm now
> using it in my 4th public Android app and a few private apps, and I find it
> extremely helpful to find bugs that don't happen to me when I'm testing.
>
> One thing I added that is proving to be extremely useful is an AlertDialog
> when the exception occurs asking the user if it is OK to contact him/her if
> I need more information to be able to fix the problem, and a box for them to
> enter their email address if they agree. I don't have good numbers for you
> on the acceptance rate because most of my public apps already have the users
> email address and for the private apps the company enforces their compliance
> (or supplies the emails for me to use). BUT... it looks like about 20% of
> users do enter their email address if asked, and that is more than enough to
> be very useful.
>
> I think I can increase the percentage of users that do supply their emails
> addresses, and that is what my question is about :).  (I will ask it soon)
>
> First, It has occurred to me that my Exception Logger might be even more
> successful for me if other developers were also using it because users might
> have seen it before and trust it when they first see it in my apps. That
> obviously would only happen if quite a few developers were using it.
>
> Anyway... sorry it's already getting long, and I AM trying to keep it from
> becoming a book. I have repackaged my Exception Logger and will release it
> in the next couple of days for other developers to use (the price is the
> good one - FREE). I will host the thing on my server (FYI it's a Cloud based
> server so we can increase capacity if needed) and any developers using it
> will be able to log in and view the exceptions their app has generated, and
> sort by time/date, user, and other fields.
>
> NOW.. the question: I think the Exception Logger would be more successful
> getting the users to agree to be contacted IF their email addresses were
> kept confidential. Actually, I don't think there is much doubt that would be
> the case. BUT, there is a tradeoff. Obviously, most developers would prefer
> to see the email addresses so they can manage the contacts a bit more
> effectively without using my website to do it, BUT if the email addresses
> are not confidential, fewer users will give them.
>
> So here are what I think are the options:
>
> a)keep the email addresses confidential, but developers can send the
> user an email using my website, include both a reply address which goes to
> my website and then forwards the email to the developer, and also the
> developers email address so the user could respond directly to the developer
> if they choose. I'm sure this would have by far the highest success rate for
> getting contact info  but means devs have to use my website to send the
> first email at least.
>
> b)give the user a choice of keeping the email address confidential or
> just giving it to the developer. This should also have a fairly high
> acceptance rate by the user, but complicates the process for them because
> they would actually have to read the instructions to figure out how it
> works, and quite possibly a few users would think they asked for their email
> addresses to be confidential, when they actually checked the other option,
> and would be upset if they found out later. It's also a bit more work for
> me, for maybe very little benefit.
>
> c)Don't bother keeping the email addresses confidential. All my own
> apps work this way, and it is useful, but I'm sure either of the other two
> options would have a better success rate of obtaining the email addresses,
> and therefore would be better for most devs to get information about
> problems in their apps.
>
> I don't try the a) or b) options for myself because obviously I could see
> the email

[android-developers] Re: Exception Logging

2010-09-18 Thread DanH
First off, you are to be commended for putting this much effort into
diagnostics.  Even the big players are just catching onto this (as
witnessed by the fact that there's no facility for this built into the
phone).  "Real time" diagnostics are much friendlier for the user than
saying "Please reproduce with logging turned on" or whatever, and
generally the information you obtain is more comprehensive and helpful
(since you're more apt to see several instances of essentially the
same bug, but with slightly different symptoms).

There is a slight danger that the paranoid among users will believe
that you're secretly collecting data on them.  It's probably better to
somehow obtain their permission to send the failure report to you, vs
doing it silently and unconditionally.  Asking them at the same time
if they want to provide an email address is good, though.

In terms of options, I'd say "KISS" -- keep it simple.  Unless the
facility is going to be picked up by a "trusted authority" (say,
Google), just have email address be reported back to the developer.
Promise, of course, that the email address will be kept private (and
make any users of your facilities aware that they're making this
promise) but don't bother with the complex forwarding service -- users
are no more apt to trust it than they are to trust the individual
developers, and in fact they're probably more likely to be confused by
the options and not agree at all.

On Sep 18, 12:19 pm, Brad Gies  wrote:
>   This is a bit long winded (sorry, but I need to explain what I'm doing
> before I can ask the question).
>
> Just wondering if I could get a few (hopefully few hundred) opinions on
> this :
>
> I developed an Exception Handler for my first Android app (released the
> first month the market opened), which logs all uncaught exceptions to my
> server, and since then I have gradually refined it and improved. I'm now
> using it in my 4th public Android app and a few private apps, and I find
> it extremely helpful to find bugs that don't happen to me when I'm testing.
>
> One thing I added that is proving to be extremely useful is an
> AlertDialog when the exception occurs asking the user if it is OK to
> contact him/her if I need more information to be able to fix the
> problem, and a box for them to enter their email address if they agree.
> I don't have good numbers for you on the acceptance rate because most of
> my public apps already have the users email address and for the private
> apps the company enforces their compliance (or supplies the emails for
> me to use). BUT... it looks like about 20% of users do enter their email
> address if asked, and that is more than enough to be very useful.
>
> I think I can increase the percentage of users that do supply their
> emails addresses, and that is what my question is about :).  (I will ask
> it soon)
>
> First, It has occurred to me that my Exception Logger might be even more
> successful for me if other developers were also using it because users
> might have seen it before and trust it when they first see it in my
> apps. That obviously would only happen if quite a few developers were
> using it.
>
> Anyway... sorry it's already getting long, and I AM trying to keep it
> from becoming a book. I have repackaged my Exception Logger and will
> release it in the next couple of days for other developers to use (the
> price is the good one - FREE). I will host the thing on my server (FYI
> it's a Cloud based server so we can increase capacity if needed) and any
> developers using it will be able to log in and view the exceptions their
> app has generated, and sort by time/date, user, and other fields.
>
> NOW.. the question: I think the Exception Logger would be more
> successful getting the users to agree to be contacted IF their email
> addresses were kept confidential. Actually, I don't think there is much
> doubt that would be the case. BUT, there is a tradeoff. Obviously, most
> developers would prefer to see the email addresses so they can manage
> the contacts a bit more effectively without using my website to do it,
> BUT if the email addresses are not confidential, fewer users will give
> them.
>
> So here are what I think are the options:
>
> a)    keep the email addresses confidential, but developers can send the
> user an email using my website, include both a reply address which goes
> to my website and then forwards the email to the developer, and also the
> developers email address so the user could respond directly to the
> developer if they choose. I'm sure this would have by far the highest
> success rate for getting contact info  but means devs have to use my
> website to send the first email at least.
>
> b)    give the user a choice of keeping the email address confidential
> or just giving it to the developer. This should also have a fairly high
> acceptance rate by the user, but complicates the process for them
> because they would actually have to read the instructions to fi

[android-developers] Re: Same color specified in xml file and png appear differently?

2010-09-18 Thread DanH
There's a way, using one of the tools shipped with the emulator, to
determine what color is actually being displayed.  (The tool, which
I've never used, is described in "Pro Android 2" -- don't remember the
name.)  Probably some 3rd party tools can be used for this as well.

On Sep 16, 8:51 am, Mark Wyszomierski  wrote:
> Hi,
>
> I have a 9 png which is used as the background of a view, the
> stretchable region has a color of:
>
>    #ebebeb
>
> I have a view next to it, and I've set its background color like so:
>
>           
>        android:background="#ebebeb" >
>
> when the two views are beside one another, you can clearly tell that
> the colors are not the same, they're different shades of grey. I'm
> seeing this on the emulators, haven't had a chance to try it on a
> device. Is this expected, or is there something I'm doing wrong in the
> color declaration?
>
> Thanks

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Same color specified in xml file and png appear differently?

2010-09-18 Thread Kostya Vasilyev
 Photoshop's color picker could be an option too (used with a 
screenshot taken in DDMS).


18.09.2010 22:06, DanH пишет:

There's a way, using one of the tools shipped with the emulator, to
determine what color is actually being displayed.  (The tool, which
I've never used, is described in "Pro Android 2" -- don't remember the
name.)  Probably some 3rd party tools can be used for this as well.

On Sep 16, 8:51 am, Mark Wyszomierski  wrote:

Hi,

I have a 9 png which is used as the background of a view, the
stretchable region has a color of:

#ebebeb

I have a view next to it, and I've set its background color like so:

   

when the two views are beside one another, you can clearly tell that
the colors are not the same, they're different shades of grey. I'm
seeing this on the emulators, haven't had a chance to try it on a
device. Is this expected, or is there something I'm doing wrong in the
color declaration?

Thanks



--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Same color specified in xml file and png appear differently?

2010-09-18 Thread Mark Murphy
On Sat, Sep 18, 2010 at 2:06 PM, DanH  wrote:
> There's a way, using one of the tools shipped with the emulator, to
> determine what color is actually being displayed.  (The tool, which
> I've never used, is described in "Pro Android 2" -- don't remember the
> name.)

That would be Hierarchy Viewer:

http://developer.android.com/guide/developing/tools/hierarchy-viewer.html

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy

_The Busy Coder's Guide to *Advanced* Android Development_ Version 1.9
Available!

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Is it possible to rotate screen by program code but not accelerometer sensor?

2010-09-18 Thread Dianne Hackborn
On Fri, Sep 17, 2010 at 5:17 PM, San Zhang  wrote:

> 2. Accelerometer consumed power greatly.
>

The power needed for the accelerometer is trivial next to the power needed
for the screen.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Best method to save a array in Bundle?

2010-09-18 Thread Dianne Hackborn
Please do *not* use Serializable.  It is really inefficient.

If you want to implement custom marshalling/unmarshalling, implement
Parcelable.  It requires that you do more work, but it is far more
efficient.

On Sat, Sep 18, 2010 at 3:57 AM, YuviDroid  wrote:

> I haven't played with this, but if you make your class (myArrayType) implement
> the Serializable interface it should work fine. Of course, all the instance
> variables of that class must also be Serializable, otherwise you would still
> get an exception (probably a NotSerializableException).
>
> Hope it helps,
> Yuvi
>
>
> On Sat, Sep 18, 2010 at 12:46 PM, jlopeznava...@gmail.com <
> jlopeznava...@gmail.com> wrote:
>
>> I have 2 dimensions array like this:
>> public myArrayType[][] mObjArray;
>>
>> I want to save it in the onSaveInstanceState method, since my array
>> contains lot of elements I dont want to save element by element but
>> the whole array object, what is the best way?
>>
>> I tried this but exception is thrown:
>>
>> -
>>
>>  public Bundle saveState(Bundle map) {
>>
>>if (map != null) {
>>map.putSerializable("objLevel", (Serializable)
>> mCurrentLevelMatrix);
>>}
>>
>>return map;
>>}
>>
>> ---
>>
>> I have seen a putParcelableArrayList method but dunno how it works
>> exactly.
>>
>> --
>> 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 more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>
>
>
>
> --
> YuviDroid
> Check out Launch-X  (a widget
> to quickly access your favorite apps and contacts!)
> http://android.yuvalsharon.net
>
>  --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>



-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Why aren't the 2D graphics API & UI toolkit hardware accelerated?

2010-09-18 Thread Dianne Hackborn
On Fri, Sep 17, 2010 at 7:54 PM, Leigh McRae  wrote:

>  Making a few fast paths for drawing bitmaps (BitBlt) would be huge for
> game developers.  I know that 3 of my games I have made aren't OGL simply
> because I don't want the extra code maintenance/burden.  If a game is doing
> some of the things you mention, well then it's not likely concerned with
> frame-rate.


Use OpenGL ES.

Seriously, you generally can't just accelerate one function and nothing
else.  What you will end up with is the worst of both worlds, as you take
the hit of switching between hardware and software rendering all the time.

If you just want to draw bitmaps to the screen, this can certainly be
accomplished with Open GL ES, and you don't need to rely on the platform to
provide you with essentially helper APIs to make it easier to do that
particular special case.  You can ask anyone here to write such a thing for
you.  Waiting for the platform to provide it is a really bad option because
you don't know when it will be available (we don't really, either), and even
once it does become available you can't really take advantage of it until it
is available on the majority of the devices.

There are so many things people can do without relying on the platform to
give it to them in a nice little bundle.

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-18 Thread Pent
> We'd like to give you an update on this issue. We've previously stated
> that some application updates are incorrectly being counted as pure
> uninstalls rather than updates, causing the active installs metric to
> drop. We have now identified the root cause, and are working on a fix
> that we hope to release next week. However, due to the nature of the
> interaction between the Market client and our reporting
> infrastructure, it may take up to several weeks for your metrics in
> the Developer Console to return to normal. Again, we apologize for any
> inconvenience, and will keep you posted on our progress.

Thanks for the update. Hope they're not just going to rely on future
installs
to bring the figure up again as it sounds

Pent

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: Why aren't the 2D graphics API & UI toolkit hardware accelerated?

2010-09-18 Thread Leigh McRae

 On 9/18/2010 2:23 PM, Dianne Hackborn wrote:
On Fri, Sep 17, 2010 at 7:54 PM, Leigh McRae 
> wrote:


 Making a few fast paths for drawing bitmaps (BitBlt) would be
huge for game developers.  I know that 3 of my games I have made
aren't OGL simply because I don't want the extra code
maintenance/burden.  If a game is doing some of the things you
mention, well then it's not likely concerned with frame-rate.


Use OpenGL ES.
As I stated, using OpenGL ES requires extra code.  You to manage 
re-loading the assets such as textures and VBO.  With the Android 
Activity life cycle this is even more of an issue than other platforms.  
This isn't trivial.  It also exposes you to driver bugs/oddities.


Seriously, you generally can't just accelerate one function and 
nothing else.  What you will end up with is the worst of both worlds, 
as you take the hit of switching between hardware and software 
rendering all the time.
You can actually.  I don't think it's being suggested that you use the 
OpenGL driver to implement a basic bitblt.  Its being suggested that the 
Android OS supports the ability for hardware to accelerate the bitblt.  
Maybe it already does, I don't know.


If you just want to draw bitmaps to the screen, this can certainly be 
accomplished with Open GL ES, and you don't need to rely on the 
platform to provide you with essentially helper APIs to make it easier 
to do that particular special case.  You can ask anyone here to write 
such a thing for you.  Waiting for the platform to provide it is a 
really bad option because you don't know when it will be available (we 
don't really, either), and even once it does become available you 
can't really take advantage of it until it is available on the 
majority of the devices.


There are so many things people can do without relying on the platform 
to give it to them in a nice little bundle.
I don't think anyone is waiting.  I believe it was just a 
request/suggestion.


--
Dianne Hackborn
Android framework engineer
hack...@android.com 

Note: please don't send private questions to me, as I don't have time 
to provide private support, and so won't reply to such e-mails.  All 
such questions should be posted on public forums, where I and others 
can see and answer them.


--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en 


--
Leigh McRae
www.lonedwarfgames.com

--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Exception Logging

2010-09-18 Thread Brad Gies


If enough other devs do use it, I would put some effort into producing 
reports to make it more useful, but one option that I will do 
immediately is to put a button on the form listing your last ?? 
exceptions to download it in a comma delimited format so you can import 
it into a spreadsheet and do anything you want with it.


The only paid option I am even considering is putting an optional Pay 
Pal donate button on the web page the devs use to view the logged 
exceptions. I'd be happy if that even covered the additional server 
expenses.


I should also mention that devs will (soon) have the choice to send the 
exceptions to their own server if they prefer (the option is already in 
the code), but they will have to agree to some very specific provisions 
not to spam users before using it. When I have time to figure out the 
licensing, and set it up, I will put the code up on one of the open 
source sites so that other people can improve it.


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 10:53 AM, Sean Chitwood wrote:

I believe option A is the best.

One thing you might consider as a premium option for developers is 
reporting showing which crashes are more prevalent than others. I know 
Microsoft does this internally for application crashes reported via 
Watson.


--Sean

Calendar: http://www.google.com/calendar/embed?src=darkmane%40gmail.com
Livejournal: http://darkmane.livejournal.com

Every 5 minutes you spend writing code in a new language is more 
useful than 5 hours reading blog posts about how great the language is.





On Sat, Sep 18, 2010 at 10:34 AM, Prakash Iyer > wrote:


I have thought along similar lines. I think it should just be
option a. Don't confuse the user with options. In fact don't even
allow user to reply back directly.


On Sep 18, 2010 1:19 PM, "Brad Gies" mailto:rbg...@gmail.com>> wrote:

 This is a bit long winded (sorry, but I need to explain what I'm
doing before I can ask the question).

Just wondering if I could get a few (hopefully few hundred)
opinions on this :

I developed an Exception Handler for my first Android app
(released the first month the market opened), which logs all
uncaught exceptions to my server, and since then I have gradually
refined it and improved. I'm now using it in my 4th public
Android app and a few private apps, and I find it extremely
helpful to find bugs that don't happen to me when I'm testing.

One thing I added that is proving to be extremely useful is an
AlertDialog when the exception occurs asking the user if it is OK
to contact him/her if I need more information to be able to fix
the problem, and a box for them to enter their email address if
they agree. I don't have good numbers for you on the acceptance
rate because most of my public apps already have the users email
address and for the private apps the company enforces their
compliance (or supplies the emails for me to use). BUT... it
looks like about 20% of users do enter their email address if
asked, and that is more than enough to be very useful.

I think I can increase the percentage of users that do supply
their emails addresses, and that is what my question is about :).
 (I will ask it soon)

First, It has occurred to me that my Exception Logger might be
even more successful for me if other developers were also using
it because users might have seen it before and trust it when they
first see it in my apps. That obviously would only happen if
quite a few developers were using it.

Anyway... sorry it's already getting long, and I AM trying to
keep it from becoming a book. I have repackaged my Exception
Logger and will release it in the next couple of days for other
developers to use (the price is the good one - FREE). I will host
the thing on my server (FYI it's a Cloud based server so we can
increase capacity if needed) and any developers using it will be
able to log in and view the exceptions their app has generated,
and sort by time/date, user, and other fields.

NOW.. the question: I think the Exception Logger would be more
successful getting the users to agree to be contacted IF their
email addresses were kept confidential. Actually, I don't think
there is much doubt that would be the case. BUT, there is a
tradeoff. Obviously, most developers would prefer to see the
email addresses so they can manage the contacts a bit more

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-18 Thread Brad Gies


My guess from the wording of the answer is that market will be able to 
adjust the numbers when apps check for updates. But, it's just a guess :).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 11:40 AM, Pent wrote:

We'd like to give you an update on this issue. We've previously stated
that some application updates are incorrectly being counted as pure
uninstalls rather than updates, causing the active installs metric to
drop. We have now identified the root cause, and are working on a fix
that we hope to release next week. However, due to the nature of the
interaction between the Market client and our reporting
infrastructure, it may take up to several weeks for your metrics in
the Developer Console to return to normal. Again, we apologize for any
inconvenience, and will keep you posted on our progress.

Thanks for the update. Hope they're not just going to rely on future
installs
to bring the figure up again as it sounds

Pent



--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How much money do you make?

2010-09-18 Thread Chris Stewart
>> One problem that phone apps have, I suspect, is that it's difficult/
>> impossible (depending on the market) to directly provide interfaces to
>> upgrade to a new version, whether free or paid, while desktop apps can
>> do it seamlessly.

I implemented something for this in my app.  It's not very difficult to do
and has saved me a ton on support emails.

--
Chris Stewart
http://chriswstewart.com

Fantasy 
Football-
Android app for MFL fantasy football owners


On Sat, Sep 18, 2010 at 9:40 AM, DanH  wrote:

> It's hard to compete against free.  I've not installed many phone
> apps, but in terms of desktop apps I find that quality/fit is so
> variable that I'm reluctant to pay up front for an app (have only done
> it on a couple of occasions), and I would imagine the same is true for
> phone apps.  I have on a handful of occasions (maybe 25% of those that
> give the option) upgraded a free desktop app to paid to gain more
> features (and a little bit out of guilt, I suppose).  I don't ever
> recall upgrading a "trial period" app -- for some reason they never
> seem that valuable to me when the trial period expires.
>
> One problem that phone apps have, I suspect, is that it's difficult/
> impossible (depending on the market) to directly provide interfaces to
> upgrade to a new version, whether free or paid, while desktop apps can
> do it seamlessly.
>
> On Sep 18, 3:59 am, Alex  wrote:
> > I am very interested in the responses to this thread.
> >
> > I only have one app on the market, a simple home page widget.  It is
> > free, and it has been downloaded 13,937 times with an active install
> > percentage of 47%.
> >
> > Obviously, I would like to make some money from my apps, but when I
> > look at paid versions of similar apps to mine, the download numbers
> > are pitiful.
> >
> > We are constantly reading about the massive growth of Android and the
> > 10s of millions of devices out there, so why do most apps struggle to
> > even grab a tiny percentage of that user base?
>
> --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-18 Thread Tomáš Hubálek
That's crazy. I'm really curios why they are not able to deliver reliable
metrics. First issue of such a nature occurred four or five months ago and
still not fixed.

What is so difficult on this metric? I always thought that Google employs
first class brains, best in the industry. They are able to do a lot of
magics in other products so why they are not able to sum a few numbers? What
is the architecture that makes the trouble?

Tom

Dne 18.9.2010 19:37 "Peter Sinnott"  napsal/a:

Received this update this morning :

Hello,

We'd like to give you an update on this issue. We've previously stated
that some application updates are incorrectly being counted as pure
uninstalls rather than updates, causing the active installs metric to
drop. We have now identified the root cause, and are working on a fix
that we hope to release next week. However, due to the nature of the
interaction between the Market client and our reporting
infrastructure, it may take up to several weeks for your metrics in
the Developer Console to return to normal. Again, we apologize for any
inconvenience, and will keep you posted on our progress.

Thank you for your continued patience.




On Sep 15, 10:43 am, Pent  wrote:

> > > Thanks for writing in. We are currently investigating this issue. So
far,
> > >> this appears ...

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Exception Logging

2010-09-18 Thread Brad Gies




It's probably better to
somehow obtain their permission to send the failure report to you, vs
doing it silently and unconditionally.  Asking them at the same time
if they want to provide an email address is good, though.


Just so you know... how it works now is that the exception is logged 
immediately without the email address the first time an exception 
occurs. The server returns the id number of the exception, and THEN the 
dialog pops up and asks if they would mind supplying an email address. 
The user has the choice of supplying the email address and choosing "Yes 
Always send it", "Send it this time" (in which case they will be asked 
again on the next exception, but their email address is kept so they 
never need to enter it again, or the third option is "No, and don't ask 
again" in which case they will never see the dialog again for the life 
of the app.


If they answer "Yes, always" then they will never see the dialog again 
either, and the email address is just included in the original post when 
it's sent.


Note that it is programmed this way because there are occasions when an 
exception occurs in the onCreate of your activity and the user interface 
is unstable, so even if I try to pop up the dialog then, the user won't 
see it. When the exception is logged, I use a couple of Preferences to 
keep track of what's sent, and all info needed for the dialog box, and 
when the Class is created, I check to see if an Exception occurred and 
the dialog will popup then (on the next activity created) OR I also have 
a function that can be called in the onResume event of each activity to 
check to see if a dialog is needed. If you use that function then the 
user will get the dialog box almost immediately after the exception 
occurs even if they use the back button to get out of the activity that 
caused the problem (the only time this doesn't work is if the exception 
happens on the onCreate of the main entry activity), and I would hope 
most devs have that covered already. The Exception would still be 
logged, but the user would never see a dialog box because the user 
interface would never be stable.


There is also a "Let me see what's sent" button and a Help/Info button 
to give some information on what it is, and what it's doing.


>users are no more apt to trust it than they are to trust the 
individual developers


That's a good point, and certainly true right now. I would hope if the 
Exception Logger is used by enough devs though that users would see it 
and learn to trust it. BUT... if the user clicks on the Help/Info button 
I already have the statement that the dev has agreed NOT to spam them, 
and maybe that is enough for option c) to be a good option. It's 
certainly a lot less website work for me because I already have all of 
that code working for myself... I'm just in the process of making it 
multi-dev friendly :).


I do use option c) myself, and it works well I just have it in my 
mind that the other options would be even more effective...but, I'm not 
positive and that's why I'm asking for other opinions. The unstated part 
of the question is what would other devs find most acceptable?




Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 11:00 AM, DanH wrote:

First off, you are to be commended for putting this much effort into
diagnostics.  Even the big players are just catching onto this (as
witnessed by the fact that there's no facility for this built into the
phone).  "Real time" diagnostics are much friendlier for the user than
saying "Please reproduce with logging turned on" or whatever, and
generally the information you obtain is more comprehensive and helpful
(since you're more apt to see several instances of essentially the
same bug, but with slightly different symptoms).

There is a slight danger that the paranoid among users will believe
that you're secretly collecting data on them.  It's probably better to
somehow obtain their permission to send the failure report to you, vs
doing it silently and unconditionally.  Asking them at the same time
if they want to provide an email address is good, though.

In terms of options, I'd say "KISS" -- keep it simple.  Unless the
facility is going to be picked up by a "trusted authority" (say,
Google), just have email address be reported back to the developer.
Promise, of course, that the email address will be kept private (and
make any users of your facilities aware that they're making this
promise) but don't bother with the complex forwarding service -- users
are no more apt to trust it th

Re: [android-developers] PreferenceScreen -> -element throws exception

2010-09-18 Thread TreKing
On Fri, Sep 17, 2010 at 3:35 AM, Eusebius  wrote:

> Logcat says:
>
>   ERROR/AndroidRuntime(18754): android.util.AndroidRuntimeException:
> Calling startActivity() from outside of an Activity context requires
> the FLAG_ACTIVITY_NEW_TASK flag. Is this really what you want?
>

Did you try adding this flag then?

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] Re: Streaming MP3 Playback Problems on Android 2.2

2010-09-18 Thread jdeslip
Yes, it works fine on 2.1 and below.  This is almost certainly related
to the problems the Pandora/Last.fm etc.. apps have on 2.2.  I just
want to find out what the recommended tactic for developers with this
problem is.  Is Google on verge of releasing an update 2.2?  Or is
there an official workaround?



On Sep 17, 11:58 pm, Indicator Veritatis  wrote:
> If that were the problem, then why would it work under 1.5 and fail
> under 2.2?
>
> On Sep 17, 8:50 pm, Doug  wrote:
>
>
>
>
>
>
>
> > Have you considered that eMusic might be doing something on the server
> > side to prevent the stream from working?  Many sites that stream
> > things will leave urls active for a limited time or require you to
> > preserve an HTTP session.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers]

2010-09-18 Thread TreKing
On Fri, Sep 17, 2010 at 7:19 PM, xc s  wrote:

> my english is not very good.so i donnot how to describe it.sorry


That's understandable but I hope your realize this is a (mostly)
English-speaking forum so not presenting your question in a more detailed,
understandable form is not going to get you any help.

Try Google Translate if nothing else.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: Is anyone's active install % dropping like a rock lately?

2010-09-18 Thread Brad Gies


Actually, I am very impressed with the response, and I hope you thanked 
them. It would be good to encourage the Market people to respond to this 
kind of stuff :).


It's also a bit of relieve to me. I released a Beta app about 3 weeks 
ago, and several updates since then fixing problems, and the quoted 
install percentage was a bit disconcerting to me :). BUT... from what it 
sounds like my numbers are not going to be nearly as bad as they look 
right now. I'm guessing that the short turnaround for updates in the 
Beta app was really contributing to the bug in the numbers :).


Sincerely,

Brad Gies
---
Bistro Bot - Bistro Blurb
http://bgies.com
http://bistroblurb.com
http://ihottonight.com
http://forcethetruth.com
---

Everything in moderation, including abstinence

Never doubt that a small group of thoughtful, committed people can
change the world. Indeed. It is the only thing that ever has - Margaret Mead


On 18/09/2010 10:37 AM, Peter Sinnott wrote:

Received this update this morning :

Hello,

We'd like to give you an update on this issue. We've previously stated
that some application updates are incorrectly being counted as pure
uninstalls rather than updates, causing the active installs metric to
drop. We have now identified the root cause, and are working on a fix
that we hope to release next week. However, due to the nature of the
interaction between the Market client and our reporting
infrastructure, it may take up to several weeks for your metrics in
the Developer Console to return to normal. Again, we apologize for any
inconvenience, and will keep you posted on our progress.

Thank you for your continued patience.



On Sep 15, 10:43 am, Pent  wrote:

Thanks for writing in. We are currently investigating this issue. So far,

this appears to be purely a reporting issue: some update events are being
inaccurately recorded as uninstalls, rather than updates, creating a lower
active installs percentage. However, our investigation tells us that
applications are not actually being uninstalled. We hope to have a
resolution soon.

This fits, actually.

I had been holding steady at around 50%. Released my first update for
a month
yesterday evening and now I'm down to 45%.

Pent


--
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: What's happening to my posts here? Is someone deleting them?

2010-09-18 Thread TreKing
On Fri, Sep 17, 2010 at 7:52 PM, Saied  wrote:

> I thought people post messages then come back here to see who has responded
> to them and what.
>

I'm not sure how others keep track, but I have an RSS feed for all the
Android Groups so I just scan through that to find posts I want to take part
in, and to see when responses have been posted. If you don't want to track
the whole group just track your own question, again, use the GMail
interface. Find your original email and star it or something, then you can
easily track when people have replied to your question.


> It's hard to believe that Google cannot handle a few tens of text posts
> everyday.
>

There are a lot of things that one would expect Google to be able to do well
at which they fail miserably (Market Search comes to mind).


> Notoriously unreliable?? has anyone been put to task to fix it? This does
> not seem to be a very hard problem for a technology company like google.
>

Probably not. It's not that it's a hard problem, it's probably more that
it's not "interesting". 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.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How much money do you make?

2010-09-18 Thread TreKing
On Sat, Sep 18, 2010 at 3:59 AM, Alex  wrote:

> We are constantly reading about the massive growth of Android and the 10s
> of millions of devices out there, so why do most apps struggle to even grab
> a tiny percentage of that user base?
>

Just guessing, but:
1 - Clearly the Market is not the most elegant mechanism for discovering
apps, so that's probably issue #1 right there

2 - Competition - how many task killer, tip calculator, ToDo, or file
manager apps are there? Given problem #1, how do you stand out amongst your
competitors? How do you convince people to pay for you app when others are
free? I've seen $0.99 Flashlight apps and just laugh. C'mon, seriously?

3 - The system is skewed to the "big guys". The only apps I ever see
"featured" are those by big name companies (including Google themselves)
that steal all the attention and really don't need the promotional help to
begin with.

4 - As a user, one reason I hesitate to buy an app is the lingering question
- "is there something better out there now or will there be soon?" Yes, it's
only $1 - $5, but it's still a "commitment" - once you purchase that app
it's yours for life and there's no getting rid of it (on your current
account anyway) so it better be all you hoped for.

On Sat, Sep 18, 2010 at 6:29 AM, Neilz  wrote:

> I never bothered creating a paid version, as a) my own research suggested
> not many people would pay for it, b) There wasn't much I could offer as an
> extra (except losing the ads). One of the things that I get as regular
> feedback is "It's free!" and I like to keep it that way.
>
> You never know though...maybe it's worth a shot. Hmmm.
>

It probably is. I've seen many, many user posts on apps requesting an
ad-free paid version. There are quite a few people that are willing to pay
to remove the adds and / or support the developer. Yes, these people often
seem like myths, but they do exist. You really don't have much to lose and a
lot to gain.

On Sat, Sep 18, 2010 at 8:40 AM, DanH  wrote:

> It's hard to compete against free.


Only if you're not offering much more, if anything, above what the free
competition is offering. If your app has some killer features not found
anywhere else that people really want, they'll pay for it.

On Sat, Sep 18, 2010 at 11:11 AM, Prakash Iyer  wrote:

> Just my 2c - the freemium model when executed well could be one answer.
> Basically the free app version should do enough to not invite removal due to
> either "not compelling" or "too irritating".


This is what I do and I do think it works quite well. I get way more
positives on the free version then negatives for being limited. And it means
a huge base of potential new buyers.

-
TreKing  - Chicago
transit tracking app for Android-powered devices

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] zapfino

2010-09-18 Thread intbt
Anyone know where I can find zapfino for Android CHEAP!! (<$40)

intbt

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


Re: [android-developers] Re: How much money do you make?

2010-09-18 Thread Dianne Hackborn
On Sat, Sep 18, 2010 at 1:43 PM, TreKing  wrote:

> 3 - The system is skewed to the "big guys". The only apps I ever see
> "featured" are those by big name companies (including Google themselves)
> that steal all the attention and really don't need the promotional help to
> begin with.
>

Hm currently featured on my phone...

"Kids Shape Puzzle" by anahoret
"ESPN Fantasy Footbal" by ESPN Inc
"Glyder 2" by Glu Mobile
"Deadly Chambers" by Battery Powered Games
"Shanghai Travel Guide" by Urban, Inc
"Radio Ball 3D" by Awesome Software
"Kaplan GRE Exam Vocabulary" by gWhiz Mobile
"On the Go" by Five Pumpkins
"Miami Dolphins" by Mobile Roadie
"Sporting News Pro Football" by The Zumobi Network
"Tumblr" by Tumblr
"Tank Recon 3D" by Lone Dwarf Games Inc
"Amtalee" by frostream
"RD3 - Groovebox" by mikrosonic
"Taylor Swift" by Mobile Roadie

Granted, most of those companies I've not really heard of, so I can't say
for sure whether they are "big guys," but it seems reasonably balanced to
me.

And not a Google app in sight. ;)

-- 
Dianne Hackborn
Android framework engineer
hack...@android.com

Note: please don't send private questions to me, as I don't have time to
provide private support, and so won't reply to such e-mails.  All such
questions should be posted on public forums, where I and others can see and
answer them.

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Re: [android-developers] Re: How much money do you make?

2010-09-18 Thread Justin Giles
I tend to agree with Dianne.  I've seen a plethora of "big name" apps as
well as unknowns show up.  I think the real issue is that all of us who have
apps in the Market feel that our apps are the best of the best and should be
featured.  Any time we see a "big name" app on the Market we immediately
think "Well, there you go!  Google is catering to those with $$$."  Any time
we see unknown, indie apps featured we immediately think "What the heck!
 That app is no where as good as mine!!  How did it get featured and mine
didn't?"  So, those in charge (or the algorithm in charge) of what apps get
featured are pretty much damned if you do, damned if you don't.  None of us
will be completely happy until OUR app has been featured.  I have personally
gone through this whole thought process and have come out feeling that I
should just be happy for those apps that do get featured and work my ass off
to try to write an application that could be worthy of one of the featured
slots.

Justin

On Sat, Sep 18, 2010 at 4:13 PM, Dianne Hackborn wrote:

> On Sat, Sep 18, 2010 at 1:43 PM, TreKing  wrote:
>
>> 3 - The system is skewed to the "big guys". The only apps I ever see
>> "featured" are those by big name companies (including Google themselves)
>> that steal all the attention and really don't need the promotional help to
>> begin with.
>>
>
> Hm currently featured on my phone...
>
> "Kids Shape Puzzle" by anahoret
> "ESPN Fantasy Footbal" by ESPN Inc
> "Glyder 2" by Glu Mobile
> "Deadly Chambers" by Battery Powered Games
> "Shanghai Travel Guide" by Urban, Inc
> "Radio Ball 3D" by Awesome Software
> "Kaplan GRE Exam Vocabulary" by gWhiz Mobile
> "On the Go" by Five Pumpkins
> "Miami Dolphins" by Mobile Roadie
> "Sporting News Pro Football" by The Zumobi Network
> "Tumblr" by Tumblr
> "Tank Recon 3D" by Lone Dwarf Games Inc
> "Amtalee" by frostream
> "RD3 - Groovebox" by mikrosonic
> "Taylor Swift" by Mobile Roadie
>
> Granted, most of those companies I've not really heard of, so I can't say
> for sure whether they are "big guys," but it seems reasonably balanced to
> me.
>
> And not a Google app in sight. ;)
>
> --
> Dianne Hackborn
> Android framework engineer
> hack...@android.com
>
> Note: please don't send private questions to me, as I don't have time to
> provide private support, and so won't reply to such e-mails.  All such
> questions should be posted on public forums, where I and others can see and
> answer them.
>
>
>  --
> 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 more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
>

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

[android-developers] testing android app for different devices

2010-09-18 Thread Tabman
hello

my app works fine on samsung galaxy and nexus one. It is giving
problem on htc incredible. How should I test my application for
various phones ?

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Why aren't the 2D graphics API & UI toolkit hardware accelerated?

2010-09-18 Thread Robert Green
Bah, 2D in OpenGL really isn't that hard and there's not that much
extra code.  If someone were to just write a simple spriterenderer
class that takes a set of bitmaps and lets you draw them wherever you
want by index then improve it to handle an atlas of images for faster
drawing and you've got 90% of most 2D game rendering code done right
there, all in under a couple hundred or so lines.

The lifecycle isn't that bad - all you ever have to do is reload vram-
stored stuff like textures and VBOs, which I just have a method called
vInit() that does that for any given renderer in the game, and when
the gl context has changed, my main renderer just calls vInit() on all
the subrenderers and all is back into the context and ready.  I think
that took me all of a few hours to get working correctly.

On Sep 18, 1:55 pm, Leigh McRae 
wrote:
>   On 9/18/2010 2:23 PM, Dianne Hackborn wrote:> On Fri, Sep 17, 2010 at 7:54 
> PM, Leigh McRae
> >  > > wrote:
>
> >      Making a few fast paths for drawing bitmaps (BitBlt) would be
> >     huge for game developers.  I know that 3 of my games I have made
> >     aren't OGL simply because I don't want the extra code
> >     maintenance/burden.  If a game is doing some of the things you
> >     mention, well then it's not likely concerned with frame-rate.
>
> > Use OpenGL ES.
>
> As I stated, using OpenGL ES requires extra code.  You to manage
> re-loading the assets such as textures and VBO.  With the Android
> Activity life cycle this is even more of an issue than other platforms.  
> This isn't trivial.  It also exposes you to driver bugs/oddities.
>
> > Seriously, you generally can't just accelerate one function and
> > nothing else.  What you will end up with is the worst of both worlds,
> > as you take the hit of switching between hardware and software
> > rendering all the time.
>
> You can actually.  I don't think it's being suggested that you use the
> OpenGL driver to implement a basic bitblt.  Its being suggested that the
> Android OS supports the ability for hardware to accelerate the bitblt.  
> Maybe it already does, I don't know.
>
> > If you just want to draw bitmaps to the screen, this can certainly be
> > accomplished with Open GL ES, and you don't need to rely on the
> > platform to provide you with essentially helper APIs to make it easier
> > to do that particular special case.  You can ask anyone here to write
> > such a thing for you.  Waiting for the platform to provide it is a
> > really bad option because you don't know when it will be available (we
> > don't really, either), and even once it does become available you
> > can't really take advantage of it until it is available on the
> > majority of the devices.
>
> > There are so many things people can do without relying on the platform
> > to give it to them in a nice little bundle.
>
> I don't think anyone is waiting.  I believe it was just a
> request/suggestion.
>
>
>
>
>
>
>
> > --
> > Dianne Hackborn
> > Android framework engineer
> > hack...@android.com 
>
> > Note: please don't send private questions to me, as I don't have time
> > to provide private support, and so won't reply to such e-mails.  All
> > such questions should be posted on public forums, where I and others
> > can see and answer them.
>
> > --
> > 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 more options, visit this group at
> >http://groups.google.com/group/android-developers?hl=en
>
> --
> Leigh McRaewww.lonedwarfgames.com

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: zapfino

2010-09-18 Thread DanH
Sure.  You can get it from Linotype for $39.

On Sep 18, 3:59 pm, intbt  wrote:
> Anyone know where I can find zapfino for Android CHEAP!! (<$40)
>
> intbt

-- 
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 more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


  1   2   >