[android-developers] Re: MenuItems and Typefaces

2009-02-23 Thread Christian Martín Reinhold

I am using the arabic font at the /assets/fonts folder and then used
the locale of ctx.getResources().configuration().locale to change the
locale to the desired ones (having previously added the configuration
settings uses-permition at the xml manifest), and it works. It changes
to the arabic language.

The next step is to use arabic fonts, for that y use
ctx.getAssetsManager(), and there  I specify the font to the TextView
in the way tv.setTypeface so that arabic letters are readable, and I
used a reshaper (capital letters don't work properly when reshaping,
but the rest works fine like this).

The only thing is, Menus and Titles in Dialogs use textviews (i
suppose that), but you can not access to the textview and set a
typeface. In dialogs you have the option of setting a view, so you can
define your own textview so it is no problem, but I do not know how to
do that in the Menu object.


On 22 feb, 12:08, G_man aman@gmail.com wrote:
 I don't mean to let you down but as of now, android does not have an
 arabic font

 I have a g1 and I can view arabic (disconnected letters) but this is
 because I have root access and I replaced the default system font with
 one that supports arabic
 your application will not be readable for users.

 There is a way to do that.
 You have to put an arabic font as a part of your program and do some
 sort of reshaper or make it viewable as images. Otherwise no one will
 be able to see what your application prints on screen.
--~--~-~--~~~---~--~~
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: Paid Download Stats?

2009-02-23 Thread deepdr...@googlemail.com

then again, what is the ratio of Android phones being able to download
paid apps (US only) to iPhones?
Maybe the 5% isn't that bad at all?


On 22 Feb., 22:12, tspree15 thedailyb...@gmail.com wrote:
 Is anyone having a lot of success with the market thus far?
 I'm seeing about 5% of the downloads when compared to my same app on
 the iTunes app store.

 I'm wondering if my listing is poor or if I'm doing something
 wrong.  I've only had 11 downloads and 3 returns in the past 48 hrs
 (my app is $1.49)

 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] What's holding up UK paid app's

2009-02-23 Thread Ryan

Hi,

Do we know why UK end users can't get paid app's yet? Is it just a
case of waiting for T-Mobile to release the latest update, or do
Google still need to do some more work to make this live?

Anyone got any rumours of a timeline?

Thanks a lot,

Ryan
--~--~-~--~~~---~--~~
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] Bug while selecting from a list of multi-select items whilst using filterable

2009-02-23 Thread Gyan
I'm displaying the contacts in a Multi-select Ok, Cancel dialog box. I've
implemented Filterable for the adapter that displays the contacts in the
dialog. The problem is, once i try and select(check) a contact while i'm
using a type ahead, the check box in that particular position is checked and
not the contact.

The initial screen goes like





After type-ahead,






When I hit backspace, the screen appears as,




This is my activity.

   Cursor c =
getContentResolver().query(People.CONTENT_URI, PROJECTION,

 null, null,
Contacts.People.DEFAULT_SORT_ORDER);

startManagingCursor(c);

ListAdapter adapter1 = new
ContactListAdapter(this, c);

LayoutInflater inflater = (LayoutInflater)
this


.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

View view = (View)
inflater.inflate(R.layout.list_view, null);

 listView = (ListView)
view.findViewById(R.id.contactlist);

 listView.setTextFilterEnabled(true);


listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);

 listView.setAdapter(adapter1);


listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);

 listView.setOnItemSelectedListener(this);

 alertDialog.setView(view);

The adapter goes like,

public class ContactListAdapter extends CursorAdapter implements Filterable
{

public static final String[] PEOPLE_PROJECTION = new String[] { People._ID,

People.NAME, People.NUMBER };

public ContactListAdapter(Context context, Cursor c) {

super(context, c);

mContent = context.getContentResolver();

}

@Override

public View newView(Context context, Cursor cursor, ViewGroup parent) {

final LayoutInflater inflater = LayoutInflater.from(context);

final TextView view = (TextView) inflater.inflate(

android.R.layout.simple_list_item_multiple_choice, parent, false);

view.setText(cursor.getString(1));

return view;

}

@Override

public void bindView(View view, Context context, Cursor cursor) {

((TextView) view).setTag(cursor.getLong(0));

((TextView) view).setText(cursor.getString(1));

}

@Override

public String convertToString(Cursor cursor) {

return cursor.getString(1);

}

@Override

public Cursor runQueryOnBackgroundThread(CharSequence constraint) {

if (getFilterQueryProvider() != null) {

return getFilterQueryProvider().runQuery(constraint);

}

StringBuilder buffer = null;

String[] args = null;

if (constraint != null) {

buffer = new StringBuilder();

buffer.append(UPPER();

buffer.append(Contacts.ContactMethods.NAME);

buffer.append() GLOB ?);

args = new String[] { constraint.toString().toUpperCase() + * };

}

return mContent.query(Contacts.People.CONTENT_URI, PEOPLE_PROJECTION,

buffer == null ? null : buffer.toString(), args,

Contacts.People.DEFAULT_SORT_ORDER);

}

private ContentResolver mContent;

}





Any help in this is welcome.

Gyan.

--~--~-~--~~~---~--~~
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] Bug while selecting from a list of multi-select items whilst using filterable

2009-02-23 Thread Gyan
I'm displaying the contacts in a Multi-select Ok, Cancel dialog box. I've
implemented Filterable for the adapter that displays the contacts in the
dialog. The problem is, once i try and select(check) a contact while i'm
using a type ahead, the check box in that particular position is checked and
not the contact.

The initial screen goes like





After type-ahead,







When I hit backspace, the screen appears as,



This is my activity.

   Cursor c =
getContentResolver().query(People.CONTENT_URI, PROJECTION,

 null, null,
Contacts.People.DEFAULT_SORT_ORDER);

startManagingCursor(c);

ListAdapter adapter1 = new
ContactListAdapter(this, c);

LayoutInflater inflater = (LayoutInflater)
this


.getSystemService(Context.LAYOUT_INFLATER_SERVICE);

View view = (View)
inflater.inflate(R.layout.list_view, null);

 listView = (ListView)
view.findViewById(R.id.contactlist);

 listView.setTextFilterEnabled(true);


listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);

 listView.setAdapter(adapter1);


listView.setChoiceMode(ListView.CHOICE_MODE_MULTIPLE);

 listView.setOnItemSelectedListener(this);

 alertDialog.setView(view);

The adapter goes like,

public class ContactListAdapter extends CursorAdapter implements Filterable
{

public static final String[] PEOPLE_PROJECTION = new String[] { People._ID,

People.NAME, People.NUMBER };

public ContactListAdapter(Context context, Cursor c) {

super(context, c);

mContent = context.getContentResolver();

}

@Override

public View newView(Context context, Cursor cursor, ViewGroup parent) {

final LayoutInflater inflater = LayoutInflater.from(context);

final TextView view = (TextView) inflater.inflate(

android.R.layout.simple_list_item_multiple_choice, parent, false);

view.setText(cursor.getString(1));

return view;

}

@Override

public void bindView(View view, Context context, Cursor cursor) {

((TextView) view).setTag(cursor.getLong(0));

((TextView) view).setText(cursor.getString(1));

}

@Override

public String convertToString(Cursor cursor) {

return cursor.getString(1);

}

@Override

public Cursor runQueryOnBackgroundThread(CharSequence constraint) {

if (getFilterQueryProvider() != null) {

return getFilterQueryProvider().runQuery(constraint);

}

StringBuilder buffer = null;

String[] args = null;

if (constraint != null) {

buffer = new StringBuilder();

buffer.append(UPPER();

buffer.append(Contacts.ContactMethods.NAMEhttp://contacts.contactmethods.name/
);

buffer.append() GLOB ?);

args = new String[] { constraint.toString().toUpperCase() + * };

}

return mContent.query(Contacts.People.CONTENT_URI, PEOPLE_PROJECTION,

buffer == null ? null : buffer.toString(), args,

Contacts.People.DEFAULT_SORT_ORDER);

}

private ContentResolver mContent;

}





Any help in this is welcome.

Gyan.



CONFIDENTIALITY NOTICE: This communication may contain privileged or
other confidential information.
If you have received it in error, please advise the sender by reply
email and immediately delete the message and any attachments without
copying or disclosing the contents.

--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---

inline: image003.pnginline: image002.pnginline: image001.png

[android-developers] Re: java.lang.VerifyError -- in Android

2009-02-23 Thread Maddy

Hi Fadden,

Thanks for your reply. I had changed the signature of the method and
now everything works properly.
With this excercise I had learned few things about 'dexdump', thanks a
lot for your help.

On Feb 20, 11:04 pm, fadden fad...@android.com wrote:
 On Feb 20, 1:29 am, Maddy malli.ar...@gmail.com wrote:

  I have done dexdump -d my application (AndJOSCAR) and got
  AndJOSCAR.apk.dump file.

  I have opened that file using Ultraedit (Text Editor tool) to look for
  any useful information.

  I searched for addRequestImpl and I could not find any reference for
  this name in that file.

 If the method doesn't exist in the APK, it stands to reason that
 attempting to use it is causing a failure.

 My guess would be that a .class file is being included at compile time
 but not added to the APK.  However, from what you wrote earlier, it
 looks like the missing method and the code that refers to it are in
 the same class, so I'm a bit baffled.

 The output of dexdump will show all classes, and all methods in each
 class; if this doesn't match up with what you have in your sources,
 then something is getting lost along the way.
--~--~-~--~~~---~--~~
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: Install .odex + .apk

2009-02-23 Thread David Turner
You should not mess with .odex files, they are essentially device-specific
optimized versions of your classes.dex that are
generated by the installer for you to speed up application startup and
runtime. The exact format of .odex files is likely to
change overtime for a variety of reasons and you should not try to move them
from one device to another, especially if
they run different versions of the platform.

It would be better if you could tell us which kind of errors you're seeing
so that we can help you resolve them.

On Sun, Feb 22, 2009 at 7:42 PM, Isaac Waller ad...@isaacwaller.com wrote:


 Hello,
 I have a .odex and a .apk file. I understand that the .odex is just
 the classes.dex file extracted, so if there is some way I can put it
 back in so I can install it on the emulator? I am getting errors about
 classes.dex without that.
 Thanks,
 Isaac

 


--~--~-~--~~~---~--~~
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] Checking user activity / whether the screen is locked.

2009-02-23 Thread Bram Bonné

Hi,

For one reason or another, my last post didn't show up in the
Discussions-list, so here's a repost (sorry):

I'm writing a presence agent application for Android (that checks if
you are 'available' or 'away'). For this I would like to check any
activity on the phone.
The easiest way to do this would be to check whether the screen is
locked. Is there any way to do this?
Alternatively, is there a way to check if the user is 'using' the
screen or touching any keys without having to be in the activity of
this app (so I can check this from within my service when the user is
using other apps).

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: Does Android support APDUConnection as known from JSR 177?

2009-02-23 Thread Anders Rundgren

I don't know but JSR 177 seems to be a J2ME-related JSR.
Android has (in theory) a JCE-based API that does what JSR 177 does
and more.
The problem is really that there is no link between the JCE and the
SIM if that's what you are looking for.
Personally I think using the SIM with JSR 177 is a bad idea, SIM TK
solutions are the only generally available.

You may be interested in http://android-keystore-v2.webpki.org

BTW, are you the real Neil Young? :-)  I'm a true fan!

Rgds
AR

On Feb 21, 2:59 pm, Neil.Young neil.yo...@freenet.de wrote:
 Simple question. More answers?

 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-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: Layout question

2009-02-23 Thread Mark Murphy

Doughy wrote:
 I would like to create an application that has 5 images, 4 of which
 are small, and one is larger.  The 4 small images I would like to
 place in the corners of the screen, and the big image I want to be
 right in the center.  Like this:  
 http://www.eng.utah.edu/~jwilson/files/layout.png
 
 What is the best type of layout to accomplish this?  I would like the
 layout to work on various devices, so some kind of fluid method is
 preferred over absolute positioning.  Seems like a table view would
 work if the images were the same size, but they're not.  Any ideas?

This is tailor-made for a RelativeLayout. Anchor the four smaller images
to their respective corners, and set the larger image to be centered.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

--~--~-~--~~~---~--~~
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: ListView issue- getchildat()

2009-02-23 Thread Mark Murphy

Anonymous Anonymous wrote:
 Thanks Romain,But is there anyway i can set for those items which are
 outside the screen?
 or while scrolling down or something?

Override getView() in your adapter and do whatever you want to the row
Views as they are created.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

--~--~-~--~~~---~--~~
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: Memory leak in BitmapFactory/Gallery?

2009-02-23 Thread qvark

Hi,

on a regular JVM you can generate a dump in the very moment the
first OOM occurs (starting it with the -XX:+HeapDumpOnOutOfMemoryError
option), which is very useful.

From your previous posts I have deduced that's impossible with
Dalvik... am I right? are you considering this feature?

Thanks,

Jose Luis.

On Feb 4, 1:18 am, fadden fad...@android.com wrote:
 On Feb 3, 1:42 am, blindfold seeingwithso...@gmail.com wrote:

  One thing that kept me from further working with this a few days ago
  is that I ran the monkey tool with the --hprof option, which according
  tohttp://code.google.com/intl/zh-TW/android/reference/monkey.html
  puts results in the data/misc folder. However, it seems impossible
  (prohibited) to access that folder on the phone to retrieve the
  generated profiling results? So can this only be used by people who
  flash their own phones with a development build, or did I overlook
  something (I did not dig for long)?

 The VM is listening for two signals, SIGQUIT and SIGUSR1.  If you send
 it a SIGQUIT it will dump the stacks from all running threads; if you
 send it a SIGUSR1 it will dump the heap profiling data.

 On a production device, you can't send signals to arbitrary processes,
 so adb shell kill -10 pid isn't going to work.  You can, however,
 send the process a signal from itself, using
 android.os.Process.sendSignal(myPid(), SIGNAL_USR1).  Unfortunately
 (as you've noted) this isn't useful unless (a) the process can write
 to /data/misc, and (b) you can adb pull the files out once they have
 been written.

 In not-yet-public Cupcake there's a new call in android.os.Debug that
 will dump the heap profiling data to a file you specify.  In the
 future we hope to be able to control this through DDMS.

 In the mean time, you need to use a development device or the
 emulator, either of which will allow you to chmod 777 /data/misc.
--~--~-~--~~~---~--~~
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: Local service: how to tell activity when done?

2009-02-23 Thread Wouter

Hi,

If you create the BroadcastReceiver as an inner class, you do have
access in the broadcastreceiver to anything in your activity.

So in you activity, do something like:

/**
 * Receive messages from our Service
 */
private BroadcastReceiver receiver = new BroadcastReceiver() {
public void onReceive(Context context, Intent intent) {
String data = intent.getStringExtra(testdata);
iAmAMethodOfTheContainingActivity(data);
}
};

protected void onResume() {
super.onResume();

// register as a BroadcastReceiver for Intent action from our
Service
   registerReceiver(receiver, new IntentFilter
(MyService.SOME_ACTION));
}

public void iAmAMethodOfTheContainingActivity(String data)
{
   System.out.println(Received:  + data);
}

And in your service, something like:

Intent intent = new Intent(SOME_ACTION);
intent.putExtra(testdata, Some result);
sendBroadcast(intent);

Note that communication in the other direction (calling the service
from the activity) can be done in a similar way, using startService
from the activity, and passing the arguments through the Intent.

hth,

Wouter


On Mon, Feb 23, 2009 at 10:26 AM, Marius Shekov mshe...@gmx.de
wrote:

Hey Wouter,

Thanks for your reply. However, I am not really able to understand
what you mean with If you then use a BroadcastReceiver IN the calling
activities. The only thing I know is how to create (separate)
BroadcastReceivers (they are in a separate .java file, a separate
class, which must be this way, because in Java you can only use
extends for one class, there's no multiple inheritance) and how to
register them (using the xml file for example) and how to receive
intents with them. However, once I have the intent in the broadcast
receivers onReceive() method, it's just as useless as I do not know
how to inform my activity about that. Something like
context.startActivity(i) in onReceive() will not work, unless I set
i.setFlags(FLAG_ACTIVITY_NEW_TASK) which I do absolutely not want (I
want to inform an already existing activity and bring its stack to the
front).

I hope that you could clarify what you meant in your email.

Greetings
NameZero912

 Original-Nachricht 
 Datum: Sun, 22 Feb 2009 15:48:25 -0800 (PST)
 Von: Wouter woute...@gmail.com
 An: NameZero912 mshe...@gmx.de
 Betreff: Re: Local service: how to tell activity when done?

 In your service, you can do 'sendBroadcast(Intent)', adding the
result-
 data
 as Extra in the intent.
 If you then use a BroadcastReceiver in the calling activities
(create,
 override
 onReceive, and register with 'registerReceiver'), it gets
notified of
 the broadcast,
 and receives the data.

 hth,

 Wouter

 On Feb 22, 1:44 pm, NameZero912 mshe...@gmx.de wrote:
  Hi there,
 
  starting from the example ServiceStartArguments.java of the
API
  demos, the service ServiceStartArguments is creating a new
Handler
  object (ServiceHandler) which does all the work in a separate
thread.
  Once that work is completed, how can I tell other components
that my
  work is finished, and also provide data (that resulted from
the work)
  to them?
 
  I tried something like startActivity
(intent_transferred_via_msg) which
  does not work, I'll get an exception because I call it
outside of the
  service, which is technically true.
 
  Greetings

--~--~-~--~~~---~--~~
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's holding up UK paid app's

2009-02-23 Thread AusR

I think we are waiting for TMUK to pull their finger out!
--~--~-~--~~~---~--~~
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] How to check which button is clicked

2009-02-23 Thread gganesh

hi friends,
I have 3 buttons on the screen and i have to perform different task
according to the button clicked ,how can i check which button is
clicked
Thanks in Advance
ganesh
--~--~-~--~~~---~--~~
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 check which button is clicked

2009-02-23 Thread Andrea Fanfani

On Mon, Feb 23, 2009 at 05:13:50AM -0800, gganesh wrote:
 
 hi friends,
 I have 3 buttons on the screen and i have to perform different task
 according to the button clicked ,how can i check which button is
 clicked


3 different listeners ? 

a.f.


-- 
Andrea Fanfani - a.fanfani [at] dynamicfun.com
Via Cardinal Massaia 83 - 10147 Torino - Italy
Tel. +39 011 23 03 642 - Fax +39 011 23 09 413

--~--~-~--~~~---~--~~
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 check which button is clicked

2009-02-23 Thread Johnny

In your Java code, you can get these three buttons by:
findViewById(); - assume that you have already set id for these
buttons in the xml file

Then you can add OnClickListener to each of them, to perform specific
task seperately.

--Johnny

On Feb 23, 9:13 pm, gganesh ganesh@gmail.com wrote:
 hi friends,
 I have 3 buttons on the screen and i have to perform different task
 according to the button clicked ,how can i check which button is
 clicked
 Thanks in Advance
 ganesh
--~--~-~--~~~---~--~~
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's holding up UK paid app's

2009-02-23 Thread Al Sutton

And for app payments to be a bit more reliable.

And for Google to check their TCs against UK law.

.

(I can see it being a few weeks)

Al.

AusR wrote:
 I think we are waiting for TMUK to pull their finger out!
 
   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~-~--~~~---~--~~
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's holding up UK paid app's

2009-02-23 Thread AusR

TMUK won't even acknowledge that an update is due.

--~--~-~--~~~---~--~~
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 check which button is clicked

2009-02-23 Thread guptha

Thanks a lot for your reply

On Feb 23, 6:32 pm, Johnny johnnylee...@gmail.com wrote:
 In your Java code, you can get these three buttons by:
 findViewById(); - assume that you have already set id for these
 buttons in the xml file

 Then you can add OnClickListener to each of them, to perform specific
 task seperately.

 --Johnny

 On Feb 23, 9:13 pm, gganesh ganesh@gmail.com wrote:

  hi friends,
  I have 3 buttons on the screen and i have to perform different task
  according to the button clicked ,how can i check which button is
  clicked
  Thanks in Advance
  ganesh
--~--~-~--~~~---~--~~
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] How to access the form data in all my Activity

2009-02-23 Thread guptha

hi group,
In main activity i have a EditText where  user enters his data ,how
can, all my activity classes access that data
Is there any session variables in android to store those values .
thanks in advance
guptha
--~--~-~--~~~---~--~~
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's holding up UK paid app's

2009-02-23 Thread AusR

I just read my reply. Al, I didn't mean to sound rude. I guess the DSR
may have something to do with it too. But it would be useful for TM to
give us an update.

On Feb 23, 1:48 pm, AusR austinjr...@gmail.com wrote:
 TMUK won't even acknowledge that an update is due.
--~--~-~--~~~---~--~~
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] Notepad provider context - Notepad application?

2009-02-23 Thread Shadakshari Hiremath

Hi Android,

I referred notepad application sample code in Adnroid SDK to
understand how to create new content provider.

I want to know whether the content provider will run in the context of
notepad application process or some other process.

When the Notepad provider gets instantiated and by whom?

Regards,
Shaddu

--~--~-~--~~~---~--~~
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 this group moderated?

2009-02-23 Thread Jean-Baptiste Queru

http://groups.google.com/group/android-developers/about

Messages from new members are moderated

JBQ

On Sat, Feb 21, 2009 at 3:40 PM, neil.young neil.yo...@freenet.de wrote:

 Is this group moderated??

 




-- 
Jean-Baptiste M. JBQ Queru
Android Engineer, Google.

--~--~-~--~~~---~--~~
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: Building multiple app versions for the Market

2009-02-23 Thread Jay-andro

Hi Mattaku (or anyone else who can help)

I am trying a similar approach. All my code (trial and full) is in a
single codebase. A set of preferences (set differently in the two
versions) determine whether the app behaves as a trial or as a full
app. In order to create two apk's out of this, I put all the code into
com.appcore.* packages. I then create com.appfull and com.apptrial
packages and place the respective android manifest files there. I make
the necessary changes to the manifest to make all the relative package
names in the manifest absolute. Now when I build say appfull in
eclipse, the issue I have is that R.java gets generated into
com.appfull, and all the classes in com.appcore.* are unable to refer
to R.layout objects because R is no longer in the same package
structure as themselves. I tried physically moving  the generated
R.java into com.appcore but didnt have any success with that, plus
thats not an elegant solution anyway.

The other issue is how do I get com.appfull to invoke/refer-to
com.appcore so that when I build, it will include both com.appfull and
com.appcore in the apk.

If you can share a more complete how-to on the appcore/appfull/applite
scheme you are using (or post the code somewhere), that would be very
helpful.

Thanks
Jay

On Feb 18, 8:57 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
wrote:
 I have two APK files. One in com.foo.appfull package, the other in
 com.foo.applite package.

 On Wed, Feb 18, 2009 at 4:36 PM, jarkman jark...@gmail.com wrote:

  Thanks - so did you define your activities in com.foo.appcore, or do
  they have to be in the com.foo.applite/appfull packages ?

  On Feb 18, 9:36 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
  wrote:
   What I did was:

   Put most of the functionality in a single package, say: com.foo.appcore

   Then, each version of the app will be in a different package

   com.foo.applite
   com.foo.appfull

   In development, I put the full version in Eclipse (i.e., appcore and
   appfull), so it's easy to build and debug all the source code.

   To build applite, I use a Makefile -- I tried ant, but it's just not as
   flexible as make.

   I got all that to work, and then I decided to make my program open-source
  so
   all that was a waste of time :-)

   On Wed, Feb 18, 2009 at 10:50 AM, jarkman jark...@gmail.com wrote:

We're thinking about building light and paid versions of our app for
the Market. But I am not clear what we need to do, or how to do it.

(1) Do we definitely need the two versions to have different package
names for the two builds ?

It seems logical to do it that way, but I have not found a clear
answer from Google to that question. Though I have found several
people asking the same question.

(2) Is there any support in Eclipse for building two similar apps with
different package names from the same java and xml files ?

In most of the IDEs I've used, it is a doddle to define multiple build
targets for one project, but none of those mechanisms seem to be
present here. And, the package name is embedded in every java file, as
well as in many places in the manifest, leaving me without a tidy way
to build to alternate package names.

Is there a tidy way to build multiple version ? Or are we really going
to end up copying the whole codebase and search-and-replacing the
package name ?

Thanks,

Richard
--~--~-~--~~~---~--~~
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] (OT) Is the combination of Android Market and Google Checkout a joke?

2009-02-23 Thread Stoyan Damov

Hi all,

I've got a customer who placed orders on 19th (Thursday) @ 9:46 PM
PST, and he is still able to cancel his order (there's no green circle
confirming the charge).
I guess it's the *48* hours refund period + the fact that Google
Checkout could care less about weekends and holidays.
So if I'm a customer, I could buy, say[1], a game on Friday, play all
weekend and return it on Monday.

Google has got to be joking.

[1] Arcade games are more vulnerable to this WTF because you can
literally play the entire game in 1 weekend unless it's *very* hard.

--~--~-~--~~~---~--~~
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 this group moderated?

2009-02-23 Thread Al Sutton

But I bet there are times when you wish everyone was moderated :).

Al.

Jean-Baptiste Queru wrote:
 http://groups.google.com/group/android-developers/about

 Messages from new members are moderated

 JBQ

 On Sat, Feb 21, 2009 at 3:40 PM, neil.young neil.yo...@freenet.de wrote:
   
 Is this group moderated??

 



   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~-~--~~~---~--~~
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: Playing Hide and seek with menu items

2009-02-23 Thread Faber Fedor
I guess this one is too advanced for the beginner's group, so I'll ask it
here:

On Mon, Feb 16, 2009 at 9:20 PM, Faber Fedor faberfe...@gmail.com wrote:

 On my map menu I've got two menuitems: Map View and Satellite View.
 I'm sure you can figure out what they do. :-)  I want to push Map View and
 have the Satellite View menuitem disappear and vice-versa.  I thought the
 following code was the obvious way to do it, but my map_menuitem and
 satellite_menuitem are both set to null.  Yes, the R.id's do exist and
 Eclipse is happy with all the code. I don't see why this shouldn't work,
 'cept it don't. Suggestions?

 CODE
 public boolean onOptionsItemSelected(MenuItem item) {

 Intent i;

 switch(item.getItemId()) {
 case R.id.satellite_menuitem:
 MenuItem map_menuitem  = (MenuItem)
 findViewById(R.id.map_menuitem);
 map_menuitem.setVisible(false);

 item.setVisible(true);

 map.setSatellite(true);
 map.invalidate();
 break;
 case R.id.map_menuitem:
 MenuItem satellite_menuitem  = (MenuItem)
 findViewById(R.id.satellite_menuitem);
 satellite_menuitem.setVisible(false);

 item.setVisible(true);

 map.setSatellite(false);
 map.invalidate();
 break;
 }

 return(super.onOptionsItemSelected(item));
 }

 /CODE


 --
 Faber Fedor
 Linux New Jersey
 http://linuxnj.com




-- 

Faber Fedor
Linux New Jersey
http://linuxnj.com
faberfedor.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
-~--~~~~--~~--~--~---



[android-developers] Re: Playing Hide and seek with menu items

2009-02-23 Thread Mark Murphy

Faber Fedor wrote:
 I guess this one is too advanced for the beginner's group, so I'll ask
 it here:
 
 On Mon, Feb 16, 2009 at 9:20 PM, Faber Fedor faberfe...@gmail.com
 mailto:faberfe...@gmail.com wrote:
 
 On my map menu I've got two menuitems: Map View and Satellite
 View.  I'm sure you can figure out what they do. :-)  I want to
 push Map View and have the Satellite View menuitem disappear and
 vice-versa.  I thought the following code was the obvious way to do
 it, but my map_menuitem and satellite_menuitem are both set to
 null.  Yes, the R.id's do exist and Eclipse is happy with all the
 code. I don't see why this shouldn't work, 'cept it don't. Suggestions?
 
 CODE
 public boolean onOptionsItemSelected(MenuItem item) {

 Intent i;
 
 switch(item.getItemId()) {
 case R.id.satellite_menuitem:
 MenuItem map_menuitem  = (MenuItem)
 findViewById(R.id.map_menuitem);

MenuItems aren't Views. I mean that literally: MenuItem is an interface,
not a subclass of View.

Hence, to find a MenuItem, you don't call findViewById(). Instead, you
need to hold onto the Menu you populated in onCreateOptionsMenu() and
call findItem() on it.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
_The Busy Coder's Guide to Android Development_ Version 2.0 Published!

--~--~-~--~~~---~--~~
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] (a bit OT): Google Checkout help

2009-02-23 Thread Stoyan Damov

Now I have to play a support person for Google Checkout too.
I've got a customer who later cancelled his order and I got this
message (via Google Checkout) from him a few minutes ago:

Hello ...,
John Doe has sent you the following message:

Question regarding order #234230...:
I requested a refund on this order and according to the status, my
card shouldn't be charged. But on my bank account today it shows I was
charged. Please have this fixed ASAP, Thank you.

 Order Details - date time
 Google Order #...
 Shipping Status QtyItem  Price 
  Cancelled Items1  software..$price
Tax (state) : $0.00   
Total : $price
Order cancelled - Your card was not charged

Does anybody know the link to Google Checkout help which explains why
Google doesn't charge immediately (besides the 24/48 hour period) to
allow the user to buy multiple items but charge him once to save on
transaction fees, and presumably does that for cancelled orders. I'm
pretty sure I read about this but my I'm extremely tired and can't
find it.

Thanks!
Stoyan

--~--~-~--~~~---~--~~
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: (a bit OT): Google Checkout help

2009-02-23 Thread Al Sutton

It sounds very much like google charged him when they shouldn't have 
(maybe the refund button has a bug :)), I would respond saying Google 
handle all payments for the application, please contact them for 
assistance as I am unable to control what gets charged to your bank 
account because there is honestly very little you can do without 
risking him getting multiple refunds if Google sort the mess out.

Al.

Stoyan Damov wrote:
 Now I have to play a support person for Google Checkout too.
 I've got a customer who later cancelled his order and I got this
 message (via Google Checkout) from him a few minutes ago:

 Hello ...,
 John Doe has sent you the following message:

 Question regarding order #234230...:
 I requested a refund on this order and according to the status, my
 card shouldn't be charged. But on my bank account today it shows I was
 charged. Please have this fixed ASAP, Thank you.

  Order Details - date time
  Google Order #...
  Shipping Status   QtyItem  Price 
   Cancelled Items  1  software..$price
 Tax (state) :   $0.00   
 Total :   $price
 Order cancelled - Your card was not charged

 Does anybody know the link to Google Checkout help which explains why
 Google doesn't charge immediately (besides the 24/48 hour period) to
 allow the user to buy multiple items but charge him once to save on
 transaction fees, and presumably does that for cancelled orders. I'm
 pretty sure I read about this but my I'm extremely tired and can't
 find it.

 Thanks!
 Stoyan

 
   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~-~--~~~---~--~~
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: (a bit OT): Google Checkout help

2009-02-23 Thread Stoyan Damov

FWIW I found it:

http://checkout.google.com/support/bin/answer.py?answer=99752

...
Locate Refund
When the seller refunds your order, your Google Checkout account
should reflect this change immediately. Cancelled orders are
automatically refunded. To locate an expected refund, review our
step-by-step refund troubleshooting guide.

Verify the refund has been finalized in your Google Checkout account.
BOLDYou may still notice a pending authorization on your
credit/debit card, which will expire from your account in 1 to 14
business days/BOLD. Contact your bank for details.

Cheers

On Mon, Feb 23, 2009 at 5:43 PM, Stoyan Damov stoyan.da...@gmail.com wrote:
 Now I have to play a support person for Google Checkout too.
 I've got a customer who later cancelled his order and I got this
 message (via Google Checkout) from him a few minutes ago:

 Hello ...,
 John Doe has sent you the following message:

 Question regarding order #234230...:
 I requested a refund on this order and according to the status, my
 card shouldn't be charged. But on my bank account today it shows I was
 charged. Please have this fixed ASAP, Thank you.

  Order Details - date time
  Google Order #...
  Shipping Status         Qty    Item      Price
  Cancelled Items        1      software..    $price
 Tax (state) : $0.00
 Total : $price
 Order cancelled - Your card was not charged

 Does anybody know the link to Google Checkout help which explains why
 Google doesn't charge immediately (besides the 24/48 hour period) to
 allow the user to buy multiple items but charge him once to save on
 transaction fees, and presumably does that for cancelled orders. I'm
 pretty sure I read about this but my I'm extremely tired and can't
 find it.

 Thanks!
 Stoyan


--~--~-~--~~~---~--~~
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: Amazon Web Services (AWS) from Android

2009-02-23 Thread Al Sutton

You don't need the whole AWS kit to do AWS things. You can use the 
HTTPClient libraries on the phone and a small amount of coding to write 
the stuff yourself.

The AWS stuff we use in AndAppStore was written in-house and is less 
than 1500 lines and handles uploads, listing buckets, and deletions in 
S3 and distribution through CloudFront.

Al.

jjbunn wrote:

 On Feb 22, 2:55 pm, Mark Murphy mmur...@commonsware.com wrote:
   
 Many thanks ... this sounds like a good plan. However, there are quite
 a few
 of them, ten in total.
   
 10 JARs?

 Which AWS service are you using? There has to be some Java client for it
 less pudgy than 10 JARs' worth.

 
 Is there a way of converting the jars directly
 rather than finding all the source and recompiling that, or should I
 bite the bullet?
   
 Well, you tried converting the JARs directly, which is what gave you your
 error. The point of recompiling from source is to avoid converting the
 JARs directly.

 Case in point: the stock Beanshell JAR (www.beanshell.org) does not work
 on Android, because (I think) it was compiled with Java 1.4.2, and we need
 Java 1.5+. However, recompiling Beanshell to create a fresh JAR, with a
 current Java compiler, worked just fine.

 --
 Mark Murphy (a Commons Guy)http://commonsware.com
 _The Busy Coder's Guide to Android Development_ Version 2.0 Available!
 

 Amazon supplies with their Java AWS kit a set of ten third party jars.
 They are:

 commons-codec-1.3.jar
 commons-httpclient-3.0.1.jar
 commons-logging-1.1.jar
 activation.jar
 jaxb-all-deps.jar
 jaxb-api.jar
 jaxb-impl.jar
 jaxb-xjc.jar
 jsr173_1.0_api.jar
 log4j-1.2.14.jar

 I did manage to find source for just about all of these (except
 activation.jar) but am having a
 devil of a game combining them all into my project: there seem to be
 dependencies on e.g.
 beans that are problematic.

 I'll keep plugging away at it. Thanks for the advice.





 
   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~-~--~~~---~--~~
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: (a bit OT): Google Checkout help

2009-02-23 Thread Al Sutton

As I read his email he's been actually charged and doesn't have a 
pending auth.

Al.

Stoyan Damov wrote:
 FWIW I found it:

 http://checkout.google.com/support/bin/answer.py?answer=99752

 ...
 Locate Refund
 When the seller refunds your order, your Google Checkout account
 should reflect this change immediately. Cancelled orders are
 automatically refunded. To locate an expected refund, review our
 step-by-step refund troubleshooting guide.

 Verify the refund has been finalized in your Google Checkout account.
 BOLDYou may still notice a pending authorization on your
 credit/debit card, which will expire from your account in 1 to 14
 business days/BOLD. Contact your bank for details.

 Cheers

 On Mon, Feb 23, 2009 at 5:43 PM, Stoyan Damov stoyan.da...@gmail.com wrote:
   
 Now I have to play a support person for Google Checkout too.
 I've got a customer who later cancelled his order and I got this
 message (via Google Checkout) from him a few minutes ago:

 Hello ...,
 John Doe has sent you the following message:

 Question regarding order #234230...:
 I requested a refund on this order and according to the status, my
 card shouldn't be charged. But on my bank account today it shows I was
 charged. Please have this fixed ASAP, Thank you.

  Order Details - date time
  Google Order #...
  Shipping Status QtyItem  Price
  Cancelled Items1  software..$price
 Tax (state) : $0.00
 Total : $price
 Order cancelled - Your card was not charged

 Does anybody know the link to Google Checkout help which explains why
 Google doesn't charge immediately (besides the 24/48 hour period) to
 allow the user to buy multiple items but charge him once to save on
 transaction fees, and presumably does that for cancelled orders. I'm
 pretty sure I read about this but my I'm extremely tired and can't
 find it.

 Thanks!
 Stoyan

 

 
   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~-~--~~~---~--~~
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: (a bit OT): Google Checkout help

2009-02-23 Thread Stoyan Damov

Al, I see you're developing a sense of humor :) That's what happens to
me these days - at first I was extremely annoyed, then I started
laughing at the Market/Google checkout WTFs, I'm now about to either
go nuts or pull out my app out of the Market and wait (on slideme, and
andappstore) for better times...

Cheers

On Mon, Feb 23, 2009 at 5:48 PM, Al Sutton a...@funkyandroid.com wrote:

 It sounds very much like google charged him when they shouldn't have
 (maybe the refund button has a bug :)), I would respond saying Google
 handle all payments for the application, please contact them for
 assistance as I am unable to control what gets charged to your bank
 account because there is honestly very little you can do without
 risking him getting multiple refunds if Google sort the mess out.

 Al.
 - Show quoted text -
 Stoyan Damov wrote:
 Now I have to play a support person for Google Checkout too.
 I've got a customer who later cancelled his order and I got this
 message (via Google Checkout) from him a few minutes ago:

 Hello ...,
 John Doe has sent you the following message:

 Question regarding order #234230...:
 I requested a refund on this order and according to the status, my
 card shouldn't be charged. But on my bank account today it shows I was
 charged. Please have this fixed ASAP, Thank you.

  Order Details - date time
  Google Order #...
  Shipping Status       Qty    Item      Price
   Cancelled Items      1      software..    $price
 Tax (state) :       $0.00
 Total :       $price
 Order cancelled - Your card was not charged

 Does anybody know the link to Google Checkout help which explains why
 Google doesn't charge immediately (besides the 24/48 hour period) to
 allow the user to buy multiple items but charge him once to save on
 transaction fees, and presumably does that for cancelled orders. I'm
 pretty sure I read about this but my I'm extremely tired and can't
 find it.

 Thanks!
 Stoyan

 



 --
 ==
 Funky Android Limited is registered in England  Wales with the
 company number  6741909. The registered head office is Kemp House,
 152-160 City Road, London,  EC1V 2NX, UK.

 The views expressed in this email are those of the author and not
 necessarily those of Funky Android Limited, it's associates, or it's
 subsidiaries.


 


--~--~-~--~~~---~--~~
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] How to start the BroadcastReceiver

2009-02-23 Thread Birds


hi all,
 This is my code.

public class MyThreadActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

Button b = (Button) findViewById(R.id.btn1);
b.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
Log.d(MyThreadActivity, MyThreadActivity);
IntentFilter intentFilter = new IntentFilter();
intentFilter.addAction(show.me);
registerReceiver(receiver, intentFilter);
}
});
}

/**
 *
 */
private BroadcastReceiver receiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
Dialog dialog = new Dialog(MyThreadActivity.this);
dialog.setTitle(showme);
dialog.show();
}
};
}

  Why the BroadcastReceiver can not start when I click button ?
 How to start the BroadcastReceiver ?  the registerReceiver method
was not work .



--~--~-~--~~~---~--~~
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 many projects are being canned because of Market TCs

2009-02-23 Thread Al Sutton

JP,

The mobile market is a very different place now to what it was when some 
of these guys started work on their projects. With paid apps now out the 
door I expect many to be evaluating the time they spent and the return 
their getting, and I'm interested to see what happens.

Android may have provided some innovation, but the other platforms are 
fighting back. Nokia have their Ovi store which will list open source 
apps, BlackBerry now have an SDK thats an Eclipse plugin and their store 
has been taking submissions since the end of last month, and Windows 
Mobile 6.5 is around the corner and MS have confirmed Windows 
Marketplace will stock mobile apps.

All three of these vendors already have millions of users and years of 
experience working in and with Mobile users, so the Android proposition 
may not be as attractive to them as it once was, especially given the 
way Google are currently handling feature roll-outs and general 
developer relations.

Al.

JP wrote:

 On Feb 22, 1:23 pm, Java Developer supp...@cyntacks.com wrote:
   
 Al,

 We finally made the decision to pull the plug too.
 

 I wonder how pro's that build things from scratch (i.e. do not
 leverage existing back ends such as Weather Channel, Amazon etc.)
 would sign up to the platform in an effort to build innovative apps.
 Technically, Android has the capabilities and best in class up front
 effort and cost.

 It can be frustrating at times, to say the least. I backed off quite a
 bit ever since the Google team wasn't able or willing to disperse the
 allegations that the ADC1 was extended to allow the MIT team to submit
 and take a price. I sure did not consider quitting my day job.
 Learning about pretty significant issues like the sidetracked SDK
 releases in the ADC1 or the launch of paid apps through off-hand
 remarks in the WSJ is you fill the blank.
 Poor relationship building.

 ** Google I/O coming. Opportunity to fix the relationship with the
 developer community **

 
   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~-~--~~~---~--~~
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: (a bit OT): Google Checkout help

2009-02-23 Thread Al Sutton

I think there are two camps in the Android world at the moment; those 
who can laugh at the problems, and those who are crying because of the 
effect it's had on them and their apps, I'm trying to stay in the former :)

Al.

Stoyan Damov wrote:
 Al, I see you're developing a sense of humor :) That's what happens to
 me these days - at first I was extremely annoyed, then I started
 laughing at the Market/Google checkout WTFs, I'm now about to either
 go nuts or pull out my app out of the Market and wait (on slideme, and
 andappstore) for better times...

 Cheers

 On Mon, Feb 23, 2009 at 5:48 PM, Al Sutton a...@funkyandroid.com wrote:
   
 It sounds very much like google charged him when they shouldn't have
 (maybe the refund button has a bug :)), I would respond saying Google
 handle all payments for the application, please contact them for
 assistance as I am unable to control what gets charged to your bank
 account because there is honestly very little you can do without
 risking him getting multiple refunds if Google sort the mess out.

 Al.
 - Show quoted text -
 Stoyan Damov wrote:
 
 Now I have to play a support person for Google Checkout too.
 I've got a customer who later cancelled his order and I got this
 message (via Google Checkout) from him a few minutes ago:

 Hello ...,
 John Doe has sent you the following message:

 Question regarding order #234230...:
 I requested a refund on this order and according to the status, my
 card shouldn't be charged. But on my bank account today it shows I was
 charged. Please have this fixed ASAP, Thank you.

  Order Details - date time
  Google Order #...
  Shipping Status   QtyItem  Price
   Cancelled Items  1  software..$price
 Tax (state) :   $0.00
 Total :   $price
 Order cancelled - Your card was not charged

 Does anybody know the link to Google Checkout help which explains why
 Google doesn't charge immediately (besides the 24/48 hour period) to
 allow the user to buy multiple items but charge him once to save on
 transaction fees, and presumably does that for cancelled orders. I'm
 pretty sure I read about this but my I'm extremely tired and can't
 find it.

 Thanks!
 Stoyan

   
 --
 ==
 Funky Android Limited is registered in England  Wales with the
 company number  6741909. The registered head office is Kemp House,
 152-160 City Road, London,  EC1V 2NX, UK.

 The views expressed in this email are those of the author and not
 necessarily those of Funky Android Limited, it's associates, or it's
 subsidiaries.


 

 
   


-- 
==
Funky Android Limited is registered in England  Wales with the 
company number  6741909. The registered head office is Kemp House, 
152-160 City Road, London,  EC1V 2NX, UK. 

The views expressed in this email are those of the author and not 
necessarily those of Funky Android Limited, it's associates, or it's 
subsidiaries.


--~--~-~--~~~---~--~~
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 start the BroadcastReceiver

2009-02-23 Thread Marco Nelissen

In your code, you're calling registerReceiver() from your onClick(),
meaning that from then on, your receiver will respond to broadcasts of
the intent in question. You're never actually broadcasting that intent
though.
You probably want to call registerReceiver() from your onCreate(), and
then send the broadcast in onClick(). You might also want to think
about using a Handler instead.




On Mon, Feb 23, 2009 at 7:55 AM, Birds birdsact...@gmail.com wrote:


 hi all,
  This is my code.

 public class MyThreadActivity extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);

Button b = (Button) findViewById(R.id.btn1);
b.setOnClickListener(new OnClickListener() {
@Override
public void onClick(View arg0) {
Log.d(MyThreadActivity, MyThreadActivity);
IntentFilter intentFilter = new IntentFilter();
intentFilter.addAction(show.me);
registerReceiver(receiver, intentFilter);
}
});
}

/**
 *
 */
private BroadcastReceiver receiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
Dialog dialog = new Dialog(MyThreadActivity.this);
dialog.setTitle(showme);
dialog.show();
}
};
 }

   Why the BroadcastReceiver can not start when I click button ?
 How to start the BroadcastReceiver ?  the registerReceiver method
 was not work .



 


--~--~-~--~~~---~--~~
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] runtime window layout change

2009-02-23 Thread Dan Raaka

In an activity .. setting this.getWindow().setLayout(..) works fine,
when forcing an window for an activity to be less than the screen size
available.
Can an activity resize the window at runtime?

I am for looking for something like ..

public boolean onTouchEvent(MotionEvent ev)
{
   // change the window size based on the where the user touched
}

-Dan

--~--~-~--~~~---~--~~
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: Paid Download Stats?

2009-02-23 Thread Steve Ingram

I have been wondering the same thing.  I'm beginning to wonder if I
have done something wrong that is preventing people from finding or
being able to purchase my app.  Any other insights would be greatly
appreciated.

When was your app released?
What is the price of your app?
How many have you sold so far?
What version of the SDK did you use?
Are you using Copy Protection?

Here are my answers: 2/20/09 | $0.99 | 6 sold, 1 canceled |  1.0_r2  |
turned Copy Protection off on 2/21


On Feb 22, 3:12 pm, tspree15 thedailyb...@gmail.com wrote:
 Is anyone having a lot of success with the market thus far?
 I'm seeing about 5% of the downloads when compared to my same app on
 the iTunes app store.

 I'm wondering if my listing is poor or if I'm doing something
 wrong.  I've only had 11 downloads and 3 returns in the past 48 hrs
 (my app is $1.49)

 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: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-02-23 Thread Steve Barr

On 2/23/09, Stoyan Damov stoyan.da...@gmail.com wrote:
  So if I'm a customer, I could buy, say[1], a game on Friday, play all
  weekend and return it on Monday.

  Google has got to be joking.

  [1] Arcade games are more vulnerable to this WTF because you can
  literally play the entire game in 1 weekend unless it's *very* hard.

So design games with replay value.   Randomize things, periodically release
downloadable levels, whatever.

Once Google gets its act together and stops being the laughing stock
of the mobile world, there is the potential for games and other
software to be better on the Android platform because a) they can be
due to a better programming/runtime environment and b) they have to be
because of the Market policies.

Steve
-- 
Yes, Chinese is easy if people speak slowly to you, in proper tones
and without an accent. But this is not how Chinese is spoken. --
renzhe

--~--~-~--~~~---~--~~
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: Paid Download Stats?

2009-02-23 Thread Stoyan Damov

On Mon, Feb 23, 2009 at 6:24 PM, Steve Ingram steveing...@gmail.com wrote:

 When was your app released?

20 or 21st, I really can't remember.

 What is the price of your app?

$5

 How many have you sold so far?

~30 of which 10 have been charged (the 48 hour period + weekend has expired)
Compare the 30 to the 3100+ downloads of the free version.

 What version of the SDK did you use?

1.1 because my assumption is that most of the users would have
installed it (I don't think anyone could resist an OTA update given
how naggy it is).

 Are you using Copy Protection?

Was using the 1st day, and removed it either the same or next day

Now, I have to say I have at lest 2 competitors, one of which,
according to my G1 is doing a bit better than me in ratings and twice
as better in downloads but he only has a free app (as of today, he's
planning a paid version as well).

Hope that helps.

P.S. If you don't look at the sales, which are surely a funny, if not
pathetic number, even the downloads are surprising. Some 3K downloads
for a free game, and it has very close to 4 rating... I don't know,
perhaps it needs a bit more time... On the other hand, if I was a user
who downloaded the game and it started crashing on me (the infamous
problem after update) I wouldn't check for updates either.


 Here are my answers: 2/20/09 | $0.99 | 6 sold, 1 canceled |  1.0_r2  |
 turned Copy Protection off on 2/21
 - Show quoted text -

 On Feb 22, 3:12 pm, tspree15 thedailyb...@gmail.com wrote:
 Is anyone having a lot of success with the market thus far?
 I'm seeing about 5% of the downloads when compared to my same app on
 the iTunes app store.

 I'm wondering if my listing is poor or if I'm doing something
 wrong.  I've only had 11 downloads and 3 returns in the past 48 hrs
 (my app is $1.49)

 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: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-02-23 Thread Java Developer

So design games with replay value.   Randomize things, periodically
release
downloadable levels, whatever. 

In my opinion, this is a completely bogus statement for most games/
applications developed on this platform (minus organizations such as
EA Sports, etc.). The G1 is not a PS3. If I purchase an application in
the $1-$4 range I do not expect it to have the same replay value as
Grand Theft Auto.

Purchases at this dollar value are impulse buys, similar to the
entertainment magazines at the grocery store checkout. Once I finish
my US Weekly within an hour, can I get a refund? How about if I
bring it home, read it for 47 hours, then can I get a refund. How
about if I just wanted to steal articles from the magazine so i can
develop my own magazine, then can I get a refund?

This whole policy is ridiculous, and I don't know why I continue to
care/post as it is obvious Google doesn't care...

Kevin




On Feb 23, 11:36 am, Steve Barr barr8...@gmail.com wrote:
 On 2/23/09, Stoyan Damov stoyan.da...@gmail.com wrote:

   So if I'm a customer, I could buy, say[1], a game on Friday, play all
   weekend and return it on Monday.

   Google has got to be joking.

   [1] Arcade games are more vulnerable to this WTF because you can
   literally play the entire game in 1 weekend unless it's *very* hard.

 So design games with replay value.   Randomize things, periodically release
 downloadable levels, whatever.

 Once Google gets its act together and stops being the laughing stock
 of the mobile world, there is the potential for games and other
 software to be better on the Android platform because a) they can be
 due to a better programming/runtime environment and b) they have to be
 because of the Market policies.

 Steve
 --
 Yes, Chinese is easy if people speak slowly to you, in proper tones
 and without an accent. But this is not how Chinese is spoken. --
 renzhe
--~--~-~--~~~---~--~~
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: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-02-23 Thread Stoyan Damov

On Mon, Feb 23, 2009 at 6:36 PM, Steve Barr barr8...@gmail.com wrote:

 On 2/23/09, Stoyan Damov stoyan.da...@gmail.com wrote:
  So if I'm a customer, I could buy, say[1], a game on Friday, play all
  weekend and return it on Monday.

  Google has got to be joking.

  [1] Arcade games are more vulnerable to this WTF because you can
  literally play the entire game in 1 weekend unless it's *very* hard.

 So design games with replay value.   Randomize things, periodically release
 downloadable levels, whatever.

Good point, and I'm already working on many of these.


 Once Google gets its act together and stops being the laughing stock
 of the mobile world, there is the potential for games and other
 software to be better on the Android platform because a) they can be
 due to a better programming/runtime environment and b) they have to be
 because of the Market policies.

Actually I very much doubt the better programming/runtime
environment especially in terms of performance.
You could google a bit for performance benchmarks between G1 and
iphone, but in 1 sentence -- due to the almighty Dalvik VM in Android,
iPhone's slower, and single-core processor provides faster and better
user experience.

Cheers


 Steve
 --
 Yes, Chinese is easy if people speak slowly to you, in proper tones
 and without an accent. But this is not how Chinese is spoken. --
 renzhe

 


--~--~-~--~~~---~--~~
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: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-02-23 Thread Sundog

The answer can't be so write a different type of application.
Certainly these are good strategies, but not suited to every kind of
game; seeing that type of game disappear from the market is not a
forward-thinking solution. Some people WANT these simple little games.

On Feb 23, 9:36 am, Steve Barr barr8...@gmail.com wrote:
 On 2/23/09, Stoyan Damov stoyan.da...@gmail.com wrote:

   So if I'm a customer, I could buy, say[1], a game on Friday, play all
   weekend and return it on Monday.

   Google has got to be joking.

   [1] Arcade games are more vulnerable to this WTF because you can
   literally play the entire game in 1 weekend unless it's *very* hard.

 So design games with replay value.   Randomize things, periodically release
 downloadable levels, whatever.

 Once Google gets its act together and stops being the laughing stock
 of the mobile world, there is the potential for games and other
 software to be better on the Android platform because a) they can be
 due to a better programming/runtime environment and b) they have to be
 because of the Market policies.

 Steve
 --
 Yes, Chinese is easy if people speak slowly to you, in proper tones
 and without an accent. But this is not how Chinese is spoken. --
 renzhe
--~--~-~--~~~---~--~~
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: access to internal telephony

2009-02-23 Thread legerb

sorry for the delay. for any destination number (say
212333,4;444), it would be:


destNum = destNum.replaceAll(#, ENCODE_POUND);
if (destNum.endsWith(ENCODE_POUND)) //calls ending with # will fail
{
destNum= destNum.substring(0, destNum.length()-ENCODE_POUND.length
());
}
Intent mIntent = new Intent(Intent.ACTION_CALL, Uri.parse(tel: +
destNum));

where:
private static final String ENCODE_POUND = %23;


On Feb 10, 9:22 am, shimo...@gmail.com shimo...@gmail.com wrote:
 Hi,

 Can you share the code snippet you use to call, for example -
 212333,4;444 ?

 (the comma should yield a timed pause, the ';' - a hard pause -
 waiting for the user to acknowledge before dialing)

 Thanks !

 On Feb 9, 1:19 pm, legerb drim...@gmail.com wrote:

  I had problems with the '#', but when encoded, it works fine. With
  other symbols i didn't have any problems. And i remember that when '#'
  was the last char (even encoded), it was always stripped.

  On Feb 9, 9:25 am, shimo...@gmail.com shimo...@gmail.com wrote:

   Hi,

   Using a DEV phone, seems I can not make calls to numbers containing
   extra digits (i.e. pauses - either 'hard' or 'timed'). They are
   stripped.

   If I start the call from the built-in contacts app using the
   ACTION_VIEW
   intent and then tapping a phone field with, say - *151,#,1 it is
   dialed
   ok.

   Is there any intent other than ACTION_CALL I need to use to start a
   call
   to a number  like *151,#,1 to have the device call then send those
   extra digits ?

   Or is there any specific intent data ? type ? extra ?
   Or maybe a formatting ?

   TIA

   On Feb 8, 6:09 am, Dianne Hackborn hack...@android.com wrote:

Not any time soon.  Most of the classes there will only work when 
running
code in the phone process, and making them work in other process would 
be
significant work.

Also on the G1 I don't believe that anything in the application 
processor
even has access the voice data stream, so it just wouldn't be able to do
what you want even if you were modifying the platform itself.

On Sat, Feb 7, 2009 at 11:04 AM, Gero Mudersbach ger...@web.de wrote:
 Hello,

 are there plans to make com.android.internal.telephony available 
 public? As
 far as I understand it is currently not possible to write e.g. an 
 answering
 machine within the current framework (standard sdk), because direct 
 access
 to acceptCall and hangup methods is missing.

 Best
 G. Mudersbach

--
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.  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: Local service: how to tell activity when done?

2009-02-23 Thread NameZero912

Thank you very much :)

On 23 Feb., 13:52, Wouter woute...@gmail.com wrote:
 Hi,

 If you create the BroadcastReceiver as an inner class, you do have
 access in the broadcastreceiver to anything in your activity.

 So in you activity, do something like:

         /**
          * Receive messages from our Service
          */
     private BroadcastReceiver receiver = new BroadcastReceiver() {
         public void onReceive(Context context, Intent intent) {
             String data = intent.getStringExtra(testdata);
             iAmAMethodOfTheContainingActivity(data);
         }
     };

         protected void onResume() {
                 super.onResume();

                 // register as a BroadcastReceiver for Intent action from our
 Service
                registerReceiver(receiver, new IntentFilter
 (MyService.SOME_ACTION));
         }

             public void iAmAMethodOfTheContainingActivity(String data)
 {
                    System.out.println(Received:  + data);
             }

 And in your service, something like:

                         Intent intent = new Intent(SOME_ACTION);
                         intent.putExtra(testdata, Some result);
                         sendBroadcast(intent);

 Note that communication in the other direction (calling the service
 from the activity) can be done in a similar way, using startService
 from the activity, and passing the arguments through the Intent.

 hth,

 Wouter

 On Mon, Feb 23, 2009 at 10:26 AM, Marius Shekov mshe...@gmx.de
 wrote:

     Hey Wouter,

     Thanks for your reply. However, I am not really able to understand
 what you mean with If you then use a BroadcastReceiver IN the calling
 activities. The only thing I know is how to create (separate)
 BroadcastReceivers (they are in a separate .java file, a separate
 class, which must be this way, because in Java you can only use
 extends for one class, there's no multiple inheritance) and how to
 register them (using the xml file for example) and how to receive
 intents with them. However, once I have the intent in the broadcast
 receivers onReceive() method, it's just as useless as I do not know
 how to inform my activity about that. Something like
 context.startActivity(i) in onReceive() will not work, unless I set
 i.setFlags(FLAG_ACTIVITY_NEW_TASK) which I do absolutely not want (I
 want to inform an already existing activity and bring its stack to the
 front).

     I hope that you could clarify what you meant in your email.

     Greetings
     NameZero912

      Original-Nachricht 
      Datum: Sun, 22 Feb 2009 15:48:25 -0800 (PST)
      Von: Wouter woute...@gmail.com
      An: NameZero912 mshe...@gmx.de
      Betreff: Re: Local service: how to tell activity when done?

      In your service, you can do 'sendBroadcast(Intent)', adding the
 result-
      data
      as Extra in the intent.
      If you then use a BroadcastReceiver in the calling activities
 (create,
      override
      onReceive, and register with 'registerReceiver'), it gets
 notified of
      the broadcast,
      and receives the data.
     
      hth,
     
      Wouter
     
      On Feb 22, 1:44 pm, NameZero912 mshe...@gmx.de wrote:
       Hi there,
      
       starting from the example ServiceStartArguments.java of the
 API
       demos, the service ServiceStartArguments is creating a new
 Handler
       object (ServiceHandler) which does all the work in a separate
 thread.
       Once that work is completed, how can I tell other components
 that my
       work is finished, and also provide data (that resulted from
 the work)
       to them?
      
       I tried something like startActivity
 (intent_transferred_via_msg) which
       does not work, I'll get an exception because I call it
 outside of the
       service, which is technically true.
      
       Greetings
--~--~-~--~~~---~--~~
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] Discussion on localizing-android-apps-draft

2009-02-23 Thread WampBier

what's about the 1.2 version. I cannot set the locale.

is there a way to test for example PL...
--~--~-~--~~~---~--~~
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: Paid Download Stats?

2009-02-23 Thread Steve Ingram

Thanks for the info Stoyan.  One theory I have is this:

Those of us that had Copy Protection on at initial release missed the
ever critical new app exposure. I don't have a phone, so I have been
watching cyrket.com.  I noticed that my app wasn't showing there at
all when initially released.  As soon as I turned off Copy Protection,
it immediately showed up on cyrket.com at the top of Newest
Content.  A few minutes later, it was no longer there.  I searched
for it and found it.  I assumed that it used the original release date
to determine where it belongs in the lists sorted by date (including
Newest Content).  Of course, when it was originally released, it
wasn't showing because of the Copy Protection problem.

On Feb 23, 10:47 am, Stoyan Damov stoyan.da...@gmail.com wrote:
 On Mon, Feb 23, 2009 at 6:24 PM, Steve Ingram steveing...@gmail.com wrote:

  When was your app released?

 20 or 21st, I really can't remember.

  What is the price of your app?

 $5

  How many have you sold so far?

 ~30 of which 10 have been charged (the 48 hour period + weekend has expired)
 Compare the 30 to the 3100+ downloads of the free version.

  What version of the SDK did you use?

 1.1 because my assumption is that most of the users would have
 installed it (I don't think anyone could resist an OTA update given
 how naggy it is).

  Are you using Copy Protection?

 Was using the 1st day, and removed it either the same or next day

 Now, I have to say I have at lest 2 competitors, one of which,
 according to my G1 is doing a bit better than me in ratings and twice
 as better in downloads but he only has a free app (as of today, he's
 planning a paid version as well).

 Hope that helps.

 P.S. If you don't look at the sales, which are surely a funny, if not
 pathetic number, even the downloads are surprising. Some 3K downloads
 for a free game, and it has very close to 4 rating... I don't know,
 perhaps it needs a bit more time... On the other hand, if I was a user
 who downloaded the game and it started crashing on me (the infamous
 problem after update) I wouldn't check for updates either.



  Here are my answers: 2/20/09 | $0.99 | 6 sold, 1 canceled |  1.0_r2  |
  turned Copy Protection off on 2/21
  - Show quoted text -

  On Feb 22, 3:12 pm, tspree15 thedailyb...@gmail.com wrote:
  Is anyone having a lot of success with the market thus far?
  I'm seeing about 5% of the downloads when compared to my same app on
  the iTunes app store.

  I'm wondering if my listing is poor or if I'm doing something
  wrong.  I've only had 11 downloads and 3 returns in the past 48 hrs
  (my app is $1.49)

  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] How to formate sdcard

2009-02-23 Thread android_fans


we are developing an phone for android.
If an user have a sdcard in his phone,but he want to format the
sdcard .
How to do ,we can do this.

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] Threading help!!

2009-02-23 Thread Gray

I am developing an application on the Android Platform for my music
service (axcid.org)..

Haven't spent a huge amount of time in Java but could use a bit of
help with this code:
http://pastebin.com/m5300a4e6

bit of bad practice in there I know but I haven't spent a ton of time
developing Java apps..

Anyways the problem:
  if (!this.listLoaded) {
//holdup this needs it's own thread
//Url load and parse time.

//Now we can start a thread for the search :)
Thread thread = new Thread(this);
thread.start();


I need update media list to be called when:
public void run() {
// search
String URL = this.getIntent().getExtras().getString(searchurl);
sm.LoadResults(URL+?android=1);
listLoaded = true;
}

is done..

However calling it from the thread will crash Android. Did many google
searches but found nothing. Friend told me to try here.

How can I call updateMediaList when the thread is complete? (from the
UI thread)

--~--~-~--~~~---~--~~
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: MenuItems and Typefaces

2009-02-23 Thread Kaloyan Donev
Make your own style by extending TypefaceSpan. And then use spannable text
for your UI.

On Mon, Feb 23, 2009 at 10:29 AM, Christian Martín Reinhold 
sabues...@gmail.com wrote:


 I am using the arabic font at the /assets/fonts folder and then used
 the locale of ctx.getResources().configuration().locale to change the
 locale to the desired ones (having previously added the configuration
 settings uses-permition at the xml manifest), and it works. It changes
 to the arabic language.

 The next step is to use arabic fonts, for that y use
 ctx.getAssetsManager(), and there  I specify the font to the TextView
 in the way tv.setTypeface so that arabic letters are readable, and I
 used a reshaper (capital letters don't work properly when reshaping,
 but the rest works fine like this).

 The only thing is, Menus and Titles in Dialogs use textviews (i
 suppose that), but you can not access to the textview and set a
 typeface. In dialogs you have the option of setting a view, so you can
 define your own textview so it is no problem, but I do not know how to
 do that in the Menu object.


 On 22 feb, 12:08, G_man aman@gmail.com wrote:
  I don't mean to let you down but as of now, android does not have an
  arabic font
 
  I have a g1 and I can view arabic (disconnected letters) but this is
  because I have root access and I replaced the default system font with
  one that supports arabic
  your application will not be readable for users.
 
  There is a way to do that.
  You have to put an arabic font as a part of your program and do some
  sort of reshaper or make it viewable as images. Otherwise no one will
  be able to see what your application prints on screen.
 


--~--~-~--~~~---~--~~
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 add transparent button to screen

2009-02-23 Thread brado32003

I've made $109 on this free sportsbetting site, and my friend currently has 
over 
$200!... 
 
You start with 10 cents and when you get to $20 you can cash out or keep going! 
 
Check it out... 
 
http://www.centsports.com/?opcode=289473


 cindy ypu01...@yahoo.com wrote: 
 
 I need to make the linear layout transparent. Other wise, I still
 could n't see the picture underneath. I have put the background to
 @android:drawable/gallery_thumb
 
 Still not working.
 
 LinearLayout xmlns:android=http://schemas.android.com/apk/res/
 android
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:orientation=vertical
 SurfaceView android:id=@+id/surface_c
 android:layout_width=fill_parent
 android:layout_height=fill_parent
 android:layout_weight=1
 android:gravity=bottom
 /SurfaceView
   RelativeLayout
   android:layout_width=fill_parent
  android:layout_height=wrap_content
  android:background=@android:drawable/gallery_thumb
  android:orientation=horizontal
 
 Button android:id =@+id/BackToBlogB
   android:text=Back
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:layout_alignParentLeft=true/
 Button android:id =@+id/TakePictureB
   android:text=Take
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:layout_centerHorizontal=true/
 Button android:id =@+id/SavePictureB
   android:text=Save
 android:layout_width=wrap_content
 android:layout_height=wrap_content
 android:layout_alignParentRight=true/
 /RelativeLayout
 /LinearLayout
 
 
 On Feb 22, 10:07 am, drasticp drast...@gmail.com wrote:
  Try using an image drawable or ninepatch drawable PNG with some alpha
  in it.
 
  This is an example that's already in the framework. Set this as the
  background of a FrameLayout:
  @android:drawable/gallery_thumb
 
  On Feb 22, 12:08 am, cindy ypu01...@yahoo.com wrote:
 
   Hi all,
 
   When I use android's camera, the buttons aretransparent. Does anyone
   knows how to do that?
 
   A lot of thanks!
 
   Cindy
  


--~--~-~--~~~---~--~~
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] A question about the use of “ logcat

2009-02-23 Thread Eugene

Hi all,

I find logcat call not display all the messages. If i use logcat
, it can only show some messages from Java App and Service. If i use
'logcat -b radio, it only shows ril messages but without other
messages from Java App and Service. Can sombody tell me whether it is
possible to output all the messages simutaneously and how to do that?

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: When will Android support Multiple PDP?

2009-02-23 Thread Long

I got same doubt.
I see the cupcake code,Google still highlight //TODO:Increase this to
match the max number of simultaneous PDP contexts we plan to support.

It obviously Google hasn't supported the Mutiple APN (simultaneous PDP
contexts), it's not meet to their announce roadmap.

So far if we want to active the second PDP context(ex: MMS),Andoird
will disconnect first PDP (ex:internet)then recovery it until MMS
sent.

On Feb 20, 4:57 pm, vistoda...@gmail.com wrote:
     I want to know when will Android support Multiple PDP, it is
 urgent, please tell me if anyone knows, thanks in advance.

     BR,
     -David

--~--~-~--~~~---~--~~
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] Create graphic interfaces dinamically

2009-02-23 Thread Rafa

Hi every one, I trying to create an application similar to the
notepad3 tutorial. The main difference is that I need to be able to
create different note formats. Is possible to obtain an xml file
from the web and use it in the creation of an android interface? I
have researched about the Metawidget library that is a very useful
tool for android but I haven't been able to create interfaces
dynamically. Thanks in advance.

Regards,
Helios

--~--~-~--~~~---~--~~
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 with my implementation of mediaplayer

2009-02-23 Thread Gray

From what I can understand you want to move the compiled file. In
eclipse load your workspace project, look in the 'bin' folder and you
will find the .APK file of your app. Transfer this to your device or
platform and your golden.

Hope I could help
-gray

On Feb 22, 7:38 pm, susanner zsusan...@163.com wrote:
 Hi all,
 I have run mediaplayer in SDK which can play media in res/raw folder 
 successfully on emulator , but now I wanted to run it on my hardware which 
 have already successfully implemented the android kernal and file system and 
 audio, video drivers etc. I have no experience to implement JAVA app . I once 
 implemented  mplayer app  written in C to my linux OS which only need to copy 
 the final executable file  , but now I don't know which files or folder 
 should I copy to my platform because I have no basic knowledge of Java 
 although I have run successfully on my emulator.
 anyone can help 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] ADP1 with 1.1 holiday firmware can see paid apps only if SIM card is plugged - BUG or not ?

2009-02-23 Thread fdimeglio

Hi,

I have just updated to 1.1 firmware for my ADP1 (see my post on
android-discuss) and I found something very strange related to the
Android Market.

As far as I can see Market is listing paid apps only and only if a SIM
card is plugged into my ADP1. As soon as I start with no SIM card,
Market does not see the paid apps any more (I mean: when re-starting
with re-flashing 1.1 with wipe out and then going to Market).

More strangely, if I plug a SIM card and then use Market on both
sections (Applications and Games)  then unplug the SIM card and use
Wifi, then I can still can see the paid apps...

Is is a bug / feature ?

I look forward to your comments/feedback.

Fabrice

--~--~-~--~~~---~--~~
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] Getting favicons in WebView

2009-02-23 Thread Sylvain Wallez

Hi all,

I've been desperately trying to get favicons from web pages loaded in a 
WebView, even for pages that have a link rel=icon/

Things I've tried :
- WebViewClient.onPageStarted() -- the icon parameter is always null
- WebChromeClient.onReceivedIcon() -- never called
- WebIconDatabase.requestIconForPageUrl() -- the listener is never called

I looked at the Browser source code and couldn't find anything else 
other than the above. I have the feeling I'm missing something obvious...

Thanks for any hint!

BTW, what is the exact purpose of WebIconDatabase? Is it a special cache 
for favicons? How is it supposed to be used?

Sylvain

-- 
Sylvain Wallez - http://bluxte.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
-~--~~~~--~~--~--~---



[android-developers] API for validating app purchases

2009-02-23 Thread Alejandro

Having read a few threads about how users that have root access and
can copy the .apk after installing the app, ask for a refund and
install the app again, it occurred to me it would be nice to have an
API that connects to the Market and validates if the current user has
purchased the app. It should be up to the developer to decide how
often to check, what to do if the query to the Market fails due to
connection issues, etc.  It could be part of the current
PackageManager.

Example:
boolean hasUserPurchasedPackage(String PackageName);

Regards,
Alejandro

--~--~-~--~~~---~--~~
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] [android-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread Jerry Yang
Hi, all
Now, I am trying to verify the JNI in Android java platform.
I am using HTC G1 phone.
I write a simple .c file to make a hello.so and a simple hello.java file to
load the library. My story is like below:

1. create hellolib.c file and compiled to a hellolib.so
create a folder in
create a hellolib.c file hellolib.c, it really nothing just a function
return;
*#include jni.h*
*#define .LOG_TAG TestLib*
*#undef LOG*
*#include utils/Log.h*
*JNIEXPORT void JNICALL java_com_testHelloLib_PrintHello(JNIEnv * env,
jobject jobj)*
*{*
*LOGD(hello android LIB);*
*}*

I compiled the hellolib.c to .so by changing the android.mk:
*LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)*
*LOCAL_SRC_FILES := \
 hellolib.c*
*LOCAL_C_INCLUDES := \
 $(JNI_H_INCLUDE)*
*LOCAL_SHARED_LIBRARIES := \
 libutils

LOCAL_PRELINK_MODULE := false*
*LOCAL_MODULE := libhello *

*include $(BUILD_SHARED_LIBRARY)
*
push the libhello.so to /system/lib

2. create a .java file.
*public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
 super.onCreate(savedInstanceState);
TextView tv = new TextView(this);
   native_test.add_xx(1, 2) ;*
*}*
*
}
class native_test{
 static {
 System.loadLibrary(hello);// System.loadLibrary(media_jni);
 }*
* public native_test(HelloAndroid helloAndroid) {
   return;
 }
 public static int add_xx(int a, int b)
 {
  return 0;
 }
}*

3. push the .apk to the phone and run from eclips
 always a run time error like:the application hello.android has stopped
unexpectedly, pla try again

I changed the System.loadLibrary(hello) to a
System.loadLibrary(media_jni) like I saw in android source code, I get the
same error.

so, Could anyone help me to teach me where is my error? I missed something?
If my hellolib.so has problem, why I load the media_jni still meet the
problem? if my .java has problem, but it seems really like my java is like
the source code. Do I need to expose the .h file to java app?
I am really new for java programming, appreciate for your help!

Thanks
with best wishes
Jerry

--~--~-~--~~~---~--~~
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] Notepad Exercise 1 solution gives weird errors

2009-02-23 Thread mpxy

Hi everybody,
I'm a beginner in development in Android. I've downloaded and begin
going through Notepad Exercise, however, even when I try running the
the solution of Exercise 1, I get the following 4 errors:

Invalid character constant  ._Notepadv1.java
Notepadv1/src/com/android/
demo/notepad1   line 1  Java Problem

Syntax error on tokens, delete these tokens ._Notepadv1.java
Notepadv1/
src/com/android/demo/notepad1   line 1  Java Problem

Syntax error on tokens, delete these tokens ._NotesDbAdapter.java
Notepadv1/src/com/android/demo/notepad1 line 1  Java Problem

Syntax error on tokens, delete these tokens ._R.java
Notepadv1/src/com/
android/demo/notepad1   line 1  Java Problem

I'm using Windows XP and Eclipse. Are there anybody who had the same
problem, or does anyone have any idea about their reason?

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: Get application ID of my app on the market

2009-02-23 Thread Jay Freeman (saurik)

You are probably better off using the package name:

market://search?q=pname:com.whatever.name

That way the link will always point to the most recent version of your
application and not need to be updated. -J

(As I just joined this group I am going to get moderated when I send
this message, so I also CC'd the original poster.)


On Feb 22, 1:14 pm, Wah mobic...@gmail.com wrote:
 Hi:

 I hope to figure out the direct URL link to my application on the
 market likehttp://market:blahblah

 I was able to find the application ID previously by going to the UI
 interface to upload application, and looking at the URL link that can
 edit the app.

 However, this method doesn't seem to work any more because the now the
 edit URL link contains only the package name and not the app ID.

 Any idea how to get the application ID?

 Wah

--~--~-~--~~~---~--~~
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: Where is a system-image for DP1?

2009-02-23 Thread Digital Mayhem

any update on 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
-~--~~~~--~~--~--~---



[android-developers] Create graphic interfaces dinamically

2009-02-23 Thread Rafa

Hi every one, I trying to create an application similar to the
notepad3 tutorial. The main difference is that I need to be able to
create different note formats. Is possible to obtain an xml file
from the web and use it in the creation of an android interface? I
have researched about the Metawidget library that is a very useful
tool for android but I haven't been able to create interfaces
dynamically. Does anyone know how to do this? Thanks in advance.

Regards,
Helios

--~--~-~--~~~---~--~~
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 this group moderated?

2009-02-23 Thread Spongebob.Squarepants

Al Sutton schrieb:
 But I bet there are times when you wish everyone was moderated :).

 Al.

 Jean-Baptiste Queru wrote:
   
 http://groups.google.com/group/android-developers/about

 Messages from new members are moderated

 
The point is: I'm one of the first members of this group. Joined Nov 07. 
But for some reasons I was banned.. My real account is neil.young, but 
deactivated. Would be glad to know, why...:(



--~--~-~--~~~---~--~~
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: Text-to-Speech for Android: Eyes-Free

2009-02-23 Thread Breezy

I can't get my emulator to play the sound of the TTS.

I manually installed the APK and now I get a message (for only like
1/2 a second) that says the voice data is being downloaded and that I
will have to restart my app.  I do it and it says the same thing for a
half second.

Any suggestions?



On Dec 29 2008, 9:32 am, blindfold seeingwithso...@gmail.com wrote:
 [Reposted because of a corrupted v0.46 APK file earlier today]

 The vOICe augmented reality for the blind app (version 0.47 beta)
 now includesTTS1.2 support, and is available from

    http://www.seeingwithsound.com/android.htm

 or from the Market (multimedia section).

 The vOICe silently detects if the user hasTTS1.2 installed, and will
 not push theTTSlibrary download upon the user with a popup dialog
 (displayInstallMessage is false). It just uses theTTSlibrary if it
 is present (it too can be installed from the Market).

 On the G1, one can change focus without clicking by using the
 trackball, and focus changes and clicked items are spoken separately.
 Blind users will, for lack of a system wide screen reader, still need
 assistance with software installation and the creation of keyboard
 shortcuts via Applications - Quick launch.

 Of course, speed performance on the G1 is still quite sluggish for
 lack of a JIT compiler or equivalent, but other than that it is not
 too bad.

 Regards

 On Dec 22, 9:22 am, blindfold seeingwithso...@gmail.com wrote:

  I had problems too a couple of days ago, and then needed to use
  anotherTTSstub .jar. I'm not sure if the material underneath the
  tutorial links has in the mean-time been adapted accordingly, but
  check out the discussion at

 http://groups.google.com/group/tts-for-android/browse_thread/thread/9...

  just in case this relates to your problem.

  Regards

  On Dec 22, 7:21 am, Wesley sit06...@gmail.com wrote:

   hi,

   I try nihaoworld_demo.apk 
   athttp://eyes-free.googlecode.com/svn/trunk/documentation/tutorial/tuto...
   no sound one??? it stop atTTSservices, then nothing happen... is it I miss
   out something???

   wesley.

--~--~-~--~~~---~--~~
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: Could be better?!?!

2009-02-23 Thread brado32003

I've made $109 on this free sportsbetting site, and my friend currently has 
over 
$200!... 
 
You start with 10 cents and when you get to $20 you can cash out or keep going! 
 
Check it out... 
 
http://www.centsports.com/?opcode=289473


 Arron arro...@gmail.com wrote: 
 
 I believe when the app is initially bought, it isn't charged until the
 24 hours period is over.  Once the refund period is over, then the
 opposing credit card is finally charged.  During the refund period,
 you should not be given the burden of chargeback fees.  If the user
 wants to charge back the credit after the refund period, he/she will
 need to go the the credit card company and do this, which is highly
 unlikely since it's only a $1.
 
 Java Developer wrote:
  HA!
 
  If I didn't laugh at this I would cry. An individual bought our second
  application today, a simple app which allows the user to Ping and
  search Whois information. It is called Pinger and cost $1.00.
 
  It was returned with the comment Could be better. Um, of course it
  could be better! You only paid $1.00!!! What did you expect? The app
  is fully functioning, error handling, etc and works as anyone familiar
  with Pings and Whois would expect.
 
  Do I understand the TOS correctly? The return of this $1.00 app is
  going to cost me the chargeback fees ($10) from the credit card
  company, is that correct? Unfortunately, in order to ensure this
  scenario doesn't happen again we have removed this app and then
  increased the price on our first application from $3.99 (which we
  thought was fair and was selling well) to $10.99 thus breaking the
  return barrier of the TOS.
 
  Utterly amazed at how this has been handled...
  


--~--~-~--~~~---~--~~
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: Could be better?!?!

2009-02-23 Thread brado32003

I've made $109 on this free sportsbetting site, and my friend currently has 
over 
$200!... 
 
You start with 10 cents and when you get to $20 you can cash out or keep going! 
 
Check it out... 
 
http://www.centsports.com/?opcode=289473


 Java Developer supp...@cyntacks.com wrote: 
 
 HA!
 
 If I didn't laugh at this I would cry. An individual bought our second
 application today, a simple app which allows the user to Ping and
 search Whois information. It is called Pinger and cost $1.00.
 
 It was returned with the comment Could be better. Um, of course it
 could be better! You only paid $1.00!!! What did you expect? The app
 is fully functioning, error handling, etc and works as anyone familiar
 with Pings and Whois would expect.
 
 Do I understand the TOS correctly? The return of this $1.00 app is
 going to cost me the chargeback fees ($10) from the credit card
 company, is that correct? Unfortunately, in order to ensure this
 scenario doesn't happen again we have removed this app and then
 increased the price on our first application from $3.99 (which we
 thought was fair and was selling well) to $10.99 thus breaking the
 return barrier of the TOS.
 
 Utterly amazed at how this has been handled...
 
 
  


--~--~-~--~~~---~--~~
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: When will Android support Multiple PDP?

2009-02-23 Thread Long

Test

On Feb 22, 10:39 am, David Hu vistoda...@gmail.com wrote:
 Any more on Android?



 On Sun, Feb 22, 2009 at 6:53 AM, Tote tot...@gmail.com wrote:

  Well, according tohttp://www.3g4g.co.uk/Tutorial/ZG/zg_pdpit is not
  the same. Multiple APN means that you can use different connections at
  the same time. Whereas multiple PDP contexts means that you can use
  the same connection with different configurations (e.g. QoS).

  On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote:
   On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote:

    More specifically, as I know, Symbian 7.0s  higher support
  Multiple
PDP, that's mean you can create multiple, for example, GPRS context 
  use it
simultaniously(such as MMS  WAP  Inet context)...
Does Android support this feature? If not, when will it support?
   Please
help me.

   The Android roadmap mentions upcoming support for multiple APNs:
 http://source.android.com/roadmap

   Is that the same thing?

   --
   Jon- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
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] Pass Business Search Results To Application

2009-02-23 Thread xmpptest...@googlemail.com

Hi,

I was wondering whether it is possible to pass the results of a
buisness search from the Maps application to my own application, as
currently I can only search for locations and not businesses from my
own mapView.

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: When will Android support Multiple PDP?

2009-02-23 Thread Long

test

On Feb 22, 10:39 am, David Hu vistoda...@gmail.com wrote:
 Any more on Android?



 On Sun, Feb 22, 2009 at 6:53 AM, Tote tot...@gmail.com wrote:

  Well, according tohttp://www.3g4g.co.uk/Tutorial/ZG/zg_pdpit is not
  the same. Multiple APN means that you can use different connections at
  the same time. Whereas multiple PDP contexts means that you can use
  the same connection with different configurations (e.g. QoS).

  On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote:
   On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote:

    More specifically, as I know, Symbian 7.0s  higher support
  Multiple
PDP, that's mean you can create multiple, for example, GPRS context 
  use it
simultaniously(such as MMS  WAP  Inet context)...
Does Android support this feature? If not, when will it support?
   Please
help me.

   The Android roadmap mentions upcoming support for multiple APNs:
 http://source.android.com/roadmap

   Is that the same thing?

   --
   Jon- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
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: When will Android support Multiple PDP?

2009-02-23 Thread Long

test

On Feb 22, 10:39 am, David Hu vistoda...@gmail.com wrote:
 Any more on Android?



 On Sun, Feb 22, 2009 at 6:53 AM, Tote tot...@gmail.com wrote:

  Well, according tohttp://www.3g4g.co.uk/Tutorial/ZG/zg_pdpit is not
  the same. Multiple APN means that you can use different connections at
  the same time. Whereas multiple PDP contexts means that you can use
  the same connection with different configurations (e.g. QoS).

  On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote:
   On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote:

    More specifically, as I know, Symbian 7.0s  higher support
  Multiple
PDP, that's mean you can create multiple, for example, GPRS context 
  use it
simultaniously(such as MMS  WAP  Inet context)...
Does Android support this feature? If not, when will it support?
   Please
help me.

   The Android roadmap mentions upcoming support for multiple APNs:
 http://source.android.com/roadmap

   Is that the same thing?

   --
   Jon- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
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] google gadgets in Android application

2009-02-23 Thread Aninda

Hi
All,

I want to browse through all the available google gadgets (available
to configure for igoogle) through a custom written Android
application, from where User will be able to download, install and
view any gadgets. Please let me know if there is any API to fetch and
show the google gadgets in a custom application.

Aninda

--~--~-~--~~~---~--~~
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: When will Android support Multiple PDP?

2009-02-23 Thread Long

I got same doubt.
I see the cupcake code,Google still highlight //TODO:Increase this to
match the max number of simultaneous PDP contexts we plan to support.

It obviously Google hasn't supported the Mutiple APN (simultaneous PDP
contexts), it's not meet to their announce roadmap.

So far if we want to active the second PDP context(ex: MMS),Andoird
will disconnect first PDP (ex:internet)then recovery it until MMS
sent.

On Feb 22, 10:39 am, David Hu vistoda...@gmail.com wrote:
 Any more on Android?



 On Sun, Feb 22, 2009 at 6:53 AM, Tote tot...@gmail.com wrote:

  Well, according tohttp://www.3g4g.co.uk/Tutorial/ZG/zg_pdpit is not
  the same. Multiple APN means that you can use different connections at
  the same time. Whereas multiple PDP contexts means that you can use
  the same connection with different configurations (e.g. QoS).

  On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote:
   On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote:

    More specifically, as I know, Symbian 7.0s  higher support
  Multiple
PDP, that's mean you can create multiple, for example, GPRS context 
  use it
simultaniously(such as MMS  WAP  Inet context)...
Does Android support this feature? If not, when will it support?
   Please
help me.

   The Android roadmap mentions upcoming support for multiple APNs:
 http://source.android.com/roadmap

   Is that the same thing?

   --
   Jon- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
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] getting error in calling MakeDefaultPhones() in my application

2009-02-23 Thread shweta

Hi,

I am calling MakeDefaultPhones() in my OnCreate in my application
which will enable and disable data calls.when i start the appliaction
I get the following error on emulator.

02-23 10:56:54.349: ERROR/ServiceManager(18): add_service
('simphonebook',0x2a) uid=10033 - PERMISSION DENIED
02-23 10:56:54.349: DEBUG/AndroidRuntime(258): Shutting down VM
02-23 10:56:54.361: WARN/dalvikvm(258): threadid=3: thread exiting
with uncaught exception (group=0x4000fe68)
02-23 10:56:54.361: ERROR/AndroidRuntime(258): Uncaught handler:
thread main exiting due to uncaught exception
02-23 10:56:54.381: ERROR/AndroidRuntime(258):
java.lang.RuntimeException: Unable to start activity ComponentInfo
{com.android.dataConnectivity/
com.android.dataConnectivity.DataConnectivity}:
java.lang.SecurityException
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2156)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:
2172)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.app.ActivityThread.access$1800(ActivityThread.java:112)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1586)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.os.Handler.dispatchMessage(Handler.java:99)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.os.Looper.loop(Looper.java:123)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.app.ActivityThread.main(ActivityThread.java:3790)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
java.lang.reflect.Method.invokeNative(Native Method)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
java.lang.reflect.Method.invoke(Method.java:521)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run
(ZygoteInit.java:745)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:503)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
dalvik.system.NativeStart.main(Native Method)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): Caused by:
java.lang.SecurityException
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.os.BinderProxy.transact(Native Method)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.os.ServiceManagerProxy.addService(ServiceManagerNative.java:
146)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.os.ServiceManager.addService(ServiceManager.java:72)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.telephony.gsm.SimPhoneBookInterfaceManager.publish
(SimPhoneBookInterfaceManager.java:106)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.telephony.gsm.SimPhoneBookInterfaceManager.init
(SimPhoneBookInterfaceManager.java:102)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.telephony.gsm.GSMPhone.init(GSMPhone.java:181)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.telephony.gsm.GSMPhone.init(GSMPhone.java:158)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.telephony.PhoneFactory.useNewRIL
(PhoneFactory.java:70)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.internal.telephony.PhoneFactory.makeDefaultPhones
(PhoneFactory.java:123)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
com.android.dataConnectivity.DataConnectivity.onCreate
(DataConnectivity.java:67)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:
1123)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:
2119)
02-23 10:56:54.381: ERROR/AndroidRuntime(258): ... 11 more
02-23 10:56:54.410: INFO/Process(57): Sending signal. PID: 258 SIG: 3

I have added READ_CONTACTS and WRITE_CONTACTS permission to the
manifest.xml.Can anyone tell what permissions are further  required
for adding simphonebook.Or what could be the reason for getting the
error.

Thanks,
Shweta

--~--~-~--~~~---~--~~
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: When will Android support Multiple PDP?

2009-02-23 Thread Long



On Feb 22, 10:39 am, David Hu vistoda...@gmail.com wrote:
 Any more on Android?



 On Sun, Feb 22, 2009 at 6:53 AM, Tote tot...@gmail.com wrote:

  Well, according tohttp://www.3g4g.co.uk/Tutorial/ZG/zg_pdpit is not
  the same. Multiple APN means that you can use different connections at
  the same time. Whereas multiple PDP contexts means that you can use
  the same connection with different configurations (e.g. QoS).

  On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote:
   On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote:

    More specifically, as I know, Symbian 7.0s  higher support
  Multiple
PDP, that's mean you can create multiple, for example, GPRS context 
  use it
simultaniously(such as MMS  WAP  Inet context)...
Does Android support this feature? If not, when will it support?
   Please
help me.

   The Android roadmap mentions upcoming support for multiple APNs:
 http://source.android.com/roadmap

   Is that the same thing?

   --
   Jon- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
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] Google G2 / HTC Magic for developers?

2009-02-23 Thread Daniel



Hi,

I've seen the unlocked G1 offer for developers (named Android Dev
Phone 1, instead of G1):

  http://developer.android.com/guide/developing/device.html

How do I order the HTC Magic (G2) through this program?

Also, what are the warranty terms for the developer handset - does a
European buyer get a Europe-wide warranty, or is it a worldwide
warranty?  How does the HTC network of repair centers compare to other
vendors, e.g. Nokia?  Or can developers have their Android Dev Phone 1
or 2 repaired by the same network who retails the handset?  E.g. will
a T-Mobile UK store accept an Android Dev Phone 1 for repair?

Has anyone found other phones suitable for development?  I saw a post
about OEM Chinese clone handsets on Slashdot, but haven't been able to
find any devices:

  http://mobile.slashdot.org/article.pl?sid=08/10/29/1710220

Regards,

Daniel

--~--~-~--~~~---~--~~
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: When will Android support Multiple PDP?

2009-02-23 Thread Long

test

On Feb 22, 6:53 am, Tote tot...@gmail.com wrote:
 Well, according tohttp://www.3g4g.co.uk/Tutorial/ZG/zg_pdpit is not
 the same. MultipleAPNmeans that you can use different connections at
 the same time. Whereas multiple PDP contexts means that you can use
 the same connection with different configurations (e.g. QoS).

 On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote:



  On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote:

       More specifically, as I know, Symbian 7.0s  higher support Multiple
   PDP, that's mean you can create multiple, for example, GPRS context  use 
   it
   simultaniously(such as MMS  WAP  Inet context)...
   Does Android support this feature? If not, when will it support?  Please
   help me.

  The Android roadmap mentions upcoming support for multiple 
  APNs:http://source.android.com/roadmap

  Is that the same thing?

  --
  Jon- Hide quoted text -

 - Show quoted text -

--~--~-~--~~~---~--~~
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] Need help with my account

2009-02-23 Thread spongebob.squarepants

Hi,
probably Romain Guy would be so kind to help me out here? While trying
to post this morning I got a mail, that my account was banned from
this forum... I have absolutely no clue, why.

What can I do with this? Who is able to help me to return to my
previously used account?

Kind 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-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] google gadgets in Android application

2009-02-23 Thread Aninda

Hi
All,

I want to browse through all the available google gadgets (available
to configure for igoogle) through a custom written Android
application, from where User will be able to download, install and
view any gadgets. Please let me know if there is any API to fetch and
show the google gadgets in a custom application.

Aninda

--~--~-~--~~~---~--~~
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] test

2009-02-23 Thread aini3001 aini3001
just test

--~--~-~--~~~---~--~~
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] Please Read! Advice needed!

2009-02-23 Thread anthony.nun...@gmail.com

  Ok this is gonna be the most awkward post I've ever put anywhere but
I need some help or I'm going to probably give up on this dream. I
know that its unfair to ask this question because I could just do this
on my own but I feel so excited about this that I need advice now or
I'm not gonna get any sleep for the next few days!

  I am not a developer. I know what is required to make an application
for cell phones like the g1 but in all honesty I am frightened to try
this on my own because my ambition is far greater than I could
possibly accomplish anytime soon on my own. I want to make a game for
the g1, and possibly other cell phones in the future. I have no skills
at the moment needed to accomplish this but I have every possible
facet of the idea written down to accomplish a great and successful
but most importantly FUN game. I am sure that If i do enough learning
and research I can create this on my own but frankly I think this idea
deserves professional work to fully realize its potential and not a
first time programmer such as myself. I need advice on how to get the
ball rolling on this idea for instance, where could I look for help on
finding a great programmer, what advice do you have for a small team
with LOW income, how can I avoid getting screwed.

  Please believe me I know people have to risk a lot to win a lot
which is fine but i don't want to risk losing my ideas to a thief or
doing something wrong just because I was afraid to ask for help. I
just hate the fact that if you are great at something or have an idea,
you have to learn a hundred other things just to get what you love
available to the public. I wish to have the opportunity to see my
ideas become reality and yes maybe have an easier and better lifestyle
for my family and friends but is that too much to ask today? To have
an idea you believe could get you away from your stress but to be even
more stressed because you can't get your ideas to become reality is
for me the worst thing that could happen to someone. I want to avoid
this so please share anything you can to help or if you want to just
tell me how hopeless I am. I just have to try because I am tired of
not trusting.







--~--~-~--~~~---~--~~
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: Does Android support APDUConnection as known from JSR 177?

2009-02-23 Thread spongebob.squarepants

Hi Anders,

many thanks for answering. I don't know what happened, but over the
weekend I seemed to blow my rather old account Neil.Young, so it is
BANNED now (I did never appear such things :() and I don't know, why.
What went wrong with my subscription?

So I'm forced to use this rediculous account to proceed :) Neil and
Spongebob, what a difference ;)

OK, back to the problem: JCE based API, hmm. Could you please be a bit
more specific? What I wanted to achieve is to gain access to the SIM
card, especially to the authentication algorithms.

Please don't let our conversation stop, you are my only contact to
this group... I was a very active member in the beginning of Android,
but shifted my focus in 2008. The only thing, I wanted, was to
return... But I was BANNED, thanks...

Regards


On 23 Feb., 13:10, Anders Rundgren anders.rundg...@telia.com wrote:
 I don't know but JSR 177 seems to be a J2ME-related JSR.
 Android has (in theory) a JCE-based API that does what JSR 177 does
 and more.
 The problem is really that there is no link between the JCE and the
 SIM if that's what you are looking for.
 Personally I think using the SIM with JSR 177 is a bad idea, SIM TK
 solutions are the only generally available.

 You may be interested inhttp://android-keystore-v2.webpki.org

 BTW, are you the real Neil Young? :-)  I'm a true fan!

 Rgds
 AR

 On Feb 21, 2:59 pm, Neil.Young neil.yo...@freenet.de wrote:

  Simple question. More answers?

  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-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-developers]JNI run time error even I use same code and lib as Android source code.

2009-02-23 Thread Marco Nelissen

On Sun, Feb 22, 2009 at 10:23 PM, Jerry Yang 1999bige...@gmail.com wrote:
(...)
 3. push the .apk to the phone and run from eclips
  always a run time error like:the application hello.android has stopped
 unexpectedly, pla try again

What does it say in the system log?

--~--~-~--~~~---~--~~
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: Threading help!!

2009-02-23 Thread Marco Nelissen

Have a look at Activity.runOnUiThread()

On Sun, Feb 22, 2009 at 5:10 PM, Gray graham.stachow...@gmail.com wrote:

 I am developing an application on the Android Platform for my music
 service (axcid.org)..

 Haven't spent a huge amount of time in Java but could use a bit of
 help with this code:
 http://pastebin.com/m5300a4e6

 bit of bad practice in there I know but I haven't spent a ton of time
 developing Java apps..

 Anyways the problem:
  if (!this.listLoaded) {
//holdup this needs it's own thread
//Url load and parse time.

//Now we can start a thread for the search :)
Thread thread = new Thread(this);
thread.start();


 I need update media list to be called when:
 public void run() {
// search
String URL = this.getIntent().getExtras().getString(searchurl);
sm.LoadResults(URL+?android=1);
listLoaded = true;
}

 is done..

 However calling it from the thread will crash Android. Did many google
 searches but found nothing. Friend told me to try here.

 How can I call updateMediaList when the thread is complete? (from the
 UI thread)

 


--~--~-~--~~~---~--~~
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: Could be better?!?!

2009-02-23 Thread somatt

Well,
IMHO charging for a pinger, even $1, is ridiculous.
-Matt


On Feb 22, 2:10 pm, Java Developer supp...@cyntacks.com wrote:
 HA!

 If I didn't laugh at this I would cry. An individual bought our second
 application today, a simple app which allows the user to Ping and
 search Whois information. It is called Pinger and cost $1.00.

 It was returned with the comment Could be better. Um, of course it
 could be better! You only paid $1.00!!! What did you expect? The app
 is fully functioning, error handling, etc and works as anyone familiar
 with Pings and Whois would expect.

 Do I understand the TOS correctly? The return of this $1.00 app is
 going to cost me the chargeback fees ($10) from the credit card
 company, is that correct? Unfortunately, in order to ensure this
 scenario doesn't happen again we have removed this app and then
 increased the price on our first application from $3.99 (which we
 thought was fair and was selling well) to $10.99 thus breaking the
 return barrier of the TOS.

 Utterly amazed at how this has been handled...
--~--~-~--~~~---~--~~
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: Need help with my account

2009-02-23 Thread Marco Nelissen

On Mon, Feb 23, 2009 at 5:06 AM, spongebob.squarepants
spongebob.squarepa...@freenet.de wrote:

 Hi,
 probably Romain Guy would be so kind to help me out here? While trying
 to post this morning I got a mail, that my account was banned from
 this forum... I have absolutely no clue, why.

My guess is it has something to do with you posting the same message
over and over again in a short period of time yesterday, but I'm not
in charge of this group, so I really don't know.
You can contact the group owner here to see if they can help:
http://groups.google.com/group/android-developers/post?sendowner=1_done=%2Fgroup%2Fandroid-developers%2Fabout%3F;

--~--~-~--~~~---~--~~
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: Building multiple app versions for the Market

2009-02-23 Thread Mattaku Betsujin
I use eclipse to build apptrial, and then use 'make' to build appcore (You
could use 'ant' as well). When using make, it's more flexible and I can
force the R class to be generated in the appcore package.

On Mon, Feb 23, 2009 at 6:52 AM, Jay-andro jayan...@gmail.com wrote:


 Hi Mattaku (or anyone else who can help)

 I am trying a similar approach. All my code (trial and full) is in a
 single codebase. A set of preferences (set differently in the two
 versions) determine whether the app behaves as a trial or as a full
 app. In order to create two apk's out of this, I put all the code into
 com.appcore.* packages. I then create com.appfull and com.apptrial
 packages and place the respective android manifest files there. I make
 the necessary changes to the manifest to make all the relative package
 names in the manifest absolute. Now when I build say appfull in
 eclipse, the issue I have is that R.java gets generated into
 com.appfull, and all the classes in com.appcore.* are unable to refer
 to R.layout objects because R is no longer in the same package
 structure as themselves. I tried physically moving  the generated
 R.java into com.appcore but didnt have any success with that, plus
 thats not an elegant solution anyway.

 The other issue is how do I get com.appfull to invoke/refer-to
 com.appcore so that when I build, it will include both com.appfull and
 com.appcore in the apk.

 If you can share a more complete how-to on the appcore/appfull/applite
 scheme you are using (or post the code somewhere), that would be very
 helpful.

 Thanks
 Jay

 On Feb 18, 8:57 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
 wrote:
  I have two APK files. One in com.foo.appfull package, the other in
  com.foo.applite package.
 
  On Wed, Feb 18, 2009 at 4:36 PM, jarkman jark...@gmail.com wrote:
 
   Thanks - so did you define your activities in com.foo.appcore, or do
   they have to be in the com.foo.applite/appfull packages ?
 
   On Feb 18, 9:36 pm, Mattaku Betsujin mattaku.betsu...@gmail.com
   wrote:
What I did was:
 
Put most of the functionality in a single package, say:
 com.foo.appcore
 
Then, each version of the app will be in a different package
 
com.foo.applite
com.foo.appfull
 
In development, I put the full version in Eclipse (i.e., appcore and
appfull), so it's easy to build and debug all the source code.
 
To build applite, I use a Makefile -- I tried ant, but it's just not
 as
flexible as make.
 
I got all that to work, and then I decided to make my program
 open-source
   so
all that was a waste of time :-)
 
On Wed, Feb 18, 2009 at 10:50 AM, jarkman jark...@gmail.com wrote:
 
 We're thinking about building light and paid versions of our app
 for
 the Market. But I am not clear what we need to do, or how to do it.
 
 (1) Do we definitely need the two versions to have different
 package
 names for the two builds ?
 
 It seems logical to do it that way, but I have not found a clear
 answer from Google to that question. Though I have found several
 people asking the same question.
 
 (2) Is there any support in Eclipse for building two similar apps
 with
 different package names from the same java and xml files ?
 
 In most of the IDEs I've used, it is a doddle to define multiple
 build
 targets for one project, but none of those mechanisms seem to be
 present here. And, the package name is embedded in every java file,
 as
 well as in many places in the manifest, leaving me without a tidy
 way
 to build to alternate package names.
 
 Is there a tidy way to build multiple version ? Or are we really
 going
 to end up copying the whole codebase and search-and-replacing the
 package name ?
 
 Thanks,
 
 Richard
 


--~--~-~--~~~---~--~~
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: google gadgets in Android application

2009-02-23 Thread Mark Murphy

Aninda wrote:
 I want to browse through all the available google gadgets (available
 to configure for igoogle) through a custom written Android
 application, from where User will be able to download, install and
 view any gadgets. Please let me know if there is any API to fetch and
 show the google gadgets in a custom application.

No, there is no such facility, beyond the basic WebView browser widget.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android Training in Sweden -- http://www.sotrium.com/training.php

--~--~-~--~~~---~--~~
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] Create graphic interfaces dinamically

2009-02-23 Thread Rafa

Hi every one, I trying to create an application similar to the
notepad3 tutorial. The main difference is that I need to be able to
create different note formats. Is possible to obtain an xml file
from the web and use it in the creation of an android interface? I
have researched about the Metawidget library that is a very useful
tool for android but I haven't been able to create interfaces
dynamically. Does any one knows how this can be done? Thanks in
advance.

Regards,
Helios
--~--~-~--~~~---~--~~
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: Where is a system-image for DP1?

2009-02-23 Thread Jean-Baptiste Queru

I wish I had an update for you, but unfortunately there isn't one.

JBQ

On Sun, Feb 22, 2009 at 3:59 PM, Digital Mayhem
steve.lawre...@digital-mayhem.com wrote:

 any update on this?

 




-- 
Jean-Baptiste M. JBQ Queru
Android Engineer, Google.

--~--~-~--~~~---~--~~
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] TIE (Track Incomes and Expenses) - Android application

2009-02-23 Thread Juan David Trujillo C.

Hi guys!
I would like to share with you a project I´ve worked on for the last
couple of months with a friend (Estiven Rpo), called TIE your
money.
TIE (Track Incomes and Expenses) helps you control money, making
personal finances EASY and FUN:
-GPS to track incomes or expenses
-Customizable information to easily register again in one step
-Alarm reminders
-Predefined and custom queries
-Exporting data (E-mail, SDCard)

Wondering where your money has gone? TIE it now

Suggestions are well received!
--~--~-~--~~~---~--~~
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: (OT) Is the combination of Android Market and Google Checkout a joke?

2009-02-23 Thread Steve Barr

On 2/23/09, Sundog sunns...@gmail.com wrote:
  The answer can't be so write a different type of application.
  Certainly these are good strategies, but not suited to every kind of
  game; seeing that type of game disappear from the market is not a
  forward-thinking solution. Some people WANT these simple little games.

If people want the games they will not return them, right?  And how
hard is it to, I don't know, mirror the normal game board layout
occasionally, or vary the number and location of powerups, add some
gameplay configuration options, or whatever?  Anything to make the
gameplay different enough that it's still interesting several days
later.

I think the return policy has both good and bad aspects, but is mostly
a win for everyone but developers wanting money for something lame.
But it needs to be paired with a working checkout system, copy
protection, etc. which so far Google has failed to provide.

Steve
-- 
Yes, Chinese is easy if people speak slowly to you, in proper tones
and without an accent. But this is not how Chinese is spoken. --
renzhe

--~--~-~--~~~---~--~~
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: When will Android support Multiple PDP?

2009-02-23 Thread Andrew Stadler

Henry Long-

Please don't send repeated test messages to this mailing list.  We
received all of them.  You are creating unnecessary traffic for many
subscribers.



On Mon, Feb 23, 2009 at 3:12 AM, Long henry.l...@qisda.com.tw wrote:

 test

 On Feb 22, 6:53 am, Tote tot...@gmail.com wrote:
 Well, according tohttp://www.3g4g.co.uk/Tutorial/ZG/zg_pdpit is not
 the same. MultipleAPNmeans that you can use different connections at
 the same time. Whereas multiple PDP contexts means that you can use
 the same connection with different configurations (e.g. QoS).

 On Feb 20, 5:53 pm, Jon Colverson jjc1...@gmail.com wrote:



  On Feb 20, 9:13 am, David Hu vistoda...@gmail.com wrote:

   More specifically, as I know, Symbian 7.0s  higher support Multiple
   PDP, that's mean you can create multiple, for example, GPRS context  
   use it
   simultaniously(such as MMS  WAP  Inet context)...
   Does Android support this feature? If not, when will it support?  Please
   help me.

  The Android roadmap mentions upcoming support for multiple 
  APNs:http://source.android.com/roadmap

  Is that the same thing?

  --
  Jon- Hide quoted text -

 - Show quoted text -

 


--~--~-~--~~~---~--~~
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: another round of emulator DNS problems

2009-02-23 Thread ndefo arnauld
hi,
i am a student and developpe my school projet with android.I should use the
wifi to send my data to a server.But my android emulator don't start a
wifi.I don't know why.i use the emulator android for the release 1.1.
Can you help me to activate wifi connection into emulator android?I have
always Failed load wifi driver when launch the wifi into emulator.Tell me if
i need to install some package before activate wifi.Please, send me  the
package if you have
Thank you for your 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: Current Percentage of Refunds on Android Market?

2009-02-23 Thread Streets Of Boston

For me, maker of The Gube, a $0.99 app, the cancellation rate is
about 33%. It has been hovering between 25% and 35%.
But my app has been in the market for only a few days. So, i don't
know how reliable this statistic is. :-)


On Feb 22, 8:04 pm, Shane Isbell shane.isb...@gmail.com wrote:
 What kind of current percentage of refunds are developers typically seeing
 on the market? More than a 5%?

 Thanks,
 Shane
--~--~-~--~~~---~--~~
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: A question about the use of “logcat

2009-02-23 Thread Dianne Hackborn
Just run them both:

logcat 
logcat -b radio 

The main log and radio log are very deliberately in separate buffers.

On Mon, Feb 23, 2009 at 7:43 AM, Eugene eugene...@gmail.com wrote:


 Hi all,

I find logcat call not display all the messages. If i use logcat
 , it can only show some messages from Java App and Service. If i use
 'logcat -b radio, it only shows ril messages but without other
 messages from Java App and Service. Can sombody tell me whether it is
 possible to output all the messages simutaneously and how to do that?

 THANKS


 



-- 
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.  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: Create graphic interfaces dinamically

2009-02-23 Thread Wouter Lagerweij
The LayoutInflator docs (
http://developer.android.com/reference/android/view/LayoutInflater.html) are
very explicitly saying this is not possible.

You could possibly do something by getting 'install' permissions for your
app, and installing additional .apk files containing extra layouts. I've
just tried, and instantiating a layout from an already installed .apk seems
to work, as long as you refer to the fully qualified classname for the 'R'
class you're refering to.

Or you could parse the files yourself, of course, and built the UI in your
own code. Not very nice, but doable if the layout elements used can be
limited.

Wouter

On Mon, Feb 23, 2009 at 7:09 PM, Rafa rbenavidesagu...@gmail.com wrote:


 Hi every one, I trying to create an application similar to the
 notepad3 tutorial. The main difference is that I need to be able to
 create different note formats. Is possible to obtain an xml file
 from the web and use it in the creation of an android interface? I
 have researched about the Metawidget library that is a very useful
 tool for android but I haven't been able to create interfaces
 dynamically. Does any one knows how this can be done? Thanks in
 advance.

 Regards,
 Helios
 


--~--~-~--~~~---~--~~
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   3   >