Re: [android-beginners] Integrating the timer with my game

2010-07-02 Thread Justin Anderson
U... ok.
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Wed, Jun 30, 2010 at 5:14 PM, Emmen Farooq farooq.em...@gmail.comwrote:

 Hi,

 I m making an android game in which i have to make a timer , now I
 developed the timer as a separate module and now when Im trying to
 integrate , the images of the game dont show and only a black screen
 is visible with the timer , im printing the time in textview

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Justin Anderson
Does this question have anything at all to do with Android?

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:

 The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
 a poster on the developer's group, Sonar. Seriously broken or
 seriously misunderstood? If we're going to author Jet audio, we need
 this synth right?

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Context Menu pops-up twice

2010-07-02 Thread Justin Anderson
What version of Android are you developing for?  Where are you setting the
context menu listener?  Do you by chance do that more than once?


--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Thu, Jul 1, 2010 at 11:46 PM, Bender abende...@googlemail.com wrote:

 Hi,

 I'm trying to make a context menu for a little notes application, and
 it has some weird behaviour. My notes are categorized in.. well
 categories. I'm using a ExpandableListView to show the categories
 (groups) and notes (children). I have registered for context menu, and
 what happens is the following:

  * When I click and hold a category, my context menu pops up which has
 one option delete.
  * When I click delete, the category gets deleted and the context menu
 disappears, but then a new context menu pops up which has also
 delete in it, but it isnt clickable. The only way to close it is to
 use the back button.

 I don't get why that second context menu pops up and how I can get rid
 of it, I hope somebody here can help me.

 Here is my code, if additional code pieces please tell me. :)

public void onCreateContextMenu(ContextMenu menu, View v,
ContextMenuInfo menuInfo) {
super.onCreateContextMenu(menu, v, menuInfo);

ExpandableListView.ExpandableListContextMenuInfo info =
(ExpandableListView.ExpandableListContextMenuInfo)
 menuInfo;

int type =
 ExpandableListView.getPackedPositionType(info.packedPosition);

// Context menu for categories
if(type == ExpandableListView.PACKED_POSITION_TYPE_GROUP) {
menu.addSubMenu(0, CONTEXT_DELETE_CAT, 0,
 R.string.delete);

// Context menu for notes
} else if(type ==
 ExpandableListView.PACKED_POSITION_TYPE_CHILD) {
menu.addSubMenu(0, CONTEXT_DELETE_NOTE, 0,
 R.string.delete);
}
}

public boolean onContextItemSelected(MenuItem item) {

ExpandableListContextMenuInfo info =
(ExpandableListContextMenuInfo) item.getMenuInfo();

switch(item.getItemId()) {
case CONTEXT_DELETE_CAT:
long categoryId = info.id;
db.categories.deleteWithNotes(categoryId);
mAdapter.notifyDataSetChanged();
fillView();
return true;
case CONTEXT_DELETE_NOTE:
long noteId = info.id;
db.notes.delete(noteId);
fillView();

  getExpandableListView().expandGroup(mOpenedCategory);
return true;
default:
return super.onContextItemSelected(item);
}
}

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] 95% of Chinese android developer earns not a penn

2010-07-02 Thread Robert Lin
It takes only 3 month for an android game, and 3 to 4 weeks for an
android application, so many projects are done by students in China.
Most people think their products are cool but nobody pay for them.
Chinese people never pay for software.
Americans are willing to pay for an app but Chinese not. They use
pirate, and over 75% of android users in China pay not a penny for an
app. And Chinese developers dont know what the overseas markets like
and cannot meet the requirements of Americans.
And the third reason is, plagiarizing. Chinese are expert in
plagiarizing others ideas, so once a good idea and app comes out,
there will be large amount of plagiarizers in China. For example, when
android came out, oPhone soon emerged in China. When facebook came
out, renren.com emerged. Chinese use renren.com instead of facebook,
baidu.com instead of google, ophone instead of android , nokla instead
of nokia. Chinese are lack of creativity.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] XMPP

2010-07-02 Thread Tsolmon Narantsogt
Hello everyone

I am trying to build a small *XMPP* client in *android*. Any ideas on what
library i can use?

-- 
Regards

Tsolmon

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] 95% of Chinese android developer earns not a penn

2010-07-02 Thread Pankaj Sharma
what can i say.. ???

On Fri, Jul 2, 2010 at 12:20 PM, Robert Lin robertli...@gmail.com wrote:

 and 3 to 4 weeks for an
 android application, so many projects are done by students in China.
 Most people think their products are cool but nobody pay for them.
 Chinese people never pay for software.
 Americans are willing to pay for an app but Chinese not. They use
 pirate, and over 75% of android users in China pay not a penny for an
 app. And Chinese developers dont know what the overseas markets like
 and cannot meet the requirements of Americans.
 And the third reason is, plagiarizing. Chinese are expert in
 plagiarizing others ideas, so once a good idea and app comes out,
 there will be large amount of plagiarizers in China. For example, when
 android came out, oPhone soon emerged in China. When facebook came
 out, renren.com emerged. Chinese use renren.com instead of facebook,
 baidu.com instead of google, ophone instead of android , nokla instead


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: R class breaks on downgrade?

2010-07-02 Thread madcabbage
Do you have three folders for r-*dpi (or *dpi-r, can't remember), *
being l, m and h? I had this problem and it's because the lower
versions of android don't support the *dpi classes. Copying and
renaming to just 'r' worked.

On Jul 1, 10:41 am, lucas verdonk lverd...@gmail.com wrote:
 I had the same problem recently.
 First as justin told you, make sure that you are not importing android.R
 class instead of your R class in your program.
 Then check if your res directory works fine, any problem in this directory
 will cause build to fail and R wont be re-built.

 for instance my problem was that downgrading from 1.6 to 1.5 made the
 resolution screen support folder (drawable-ldpi etc...) unvalid so R wasn't
 generated.

 Hope this help

 Lucas

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Add ListView to RelativeLayout

2010-07-02 Thread Kritzli
Hi there,

I'm having trouble to add a listview to a relativelayout. Ok, not
adding itself is the problem. I'm not able to fill it with my data. I
receive my data from a query to a webservice where i get a list of
books as response. In my listview i want to display just the title of
these books.
And there's the problem. If I'm trying it with

listView.setAdapter(this, android.R.layout.simply_list_item1,
listBook);

I just get the id or value of those books.
I also tried to achieve it with listAdapters but... I need a little
guide for that.
Or maybe I'm totally in the wrong direction and I need a class which
extends listActivity with an EditView to generate my query and not a
listView within a RelativeLayout ?

I would be very grateful for any kind of help :)

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Unable to start service

2010-07-02 Thread Bret Foreman
I'm try to start a service like this:

try {
Intent myIntent = new 
Intent();

myIntent.setClass(cb.getContext(), SensorService.class);
startService( myIntent 
);
} catch( Exception e ){
android.util.Log.e( 
getString(R.string.app_name) , Unable to
start sensor service , e );
}

And I see a runtime exception like this:

ActivityThread.handleCreateService(ActivityThread$CreateServiceData)
line: 2764
ActivityThread.access$3200(ActivityThread, ActivityThread
$CreateServiceData) line: 119
ActivityThread$CreateServiceData(ActivityThread
$H).handleMessage(Message) line: 1917
ActivityThread$H(Handler).dispatchMessage(Message) line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4363
Method.invokeNative(Object, Object[], Class, Class[], Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 860
ZygoteInit.main(String[]) line: 618
NativeStart.main(String[]) line: not available [native method]

And a message in the log like this:

W/ActivityManager(   52): Timeout executing service:
ServiceRecord{43d53de8 com.
shipmate/.SensorService}

I verified in the debugger that the service's onStartCommand is never
being called.

What should be my next debugging step?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] SQLiteOpenHelper.getWritableDatabase ambiguous documentation

2010-07-02 Thread Bret Foreman
I'm looking at this page:

http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html

Note that in the section about getWritableDatabase there is the
phrase: Create and/or open a database

But getWritableDatabase is not calling the SQLiteOpenHelper.onCreate
method which is where the DB gets created. How can I cause onCreate to
be called?

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] back button when in ListActivity causes runtime exception

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 11:50 AM, Bret Foreman bret.fore...@gmail.com wrote:
 When my ListActivity is active and I press the back button (in the
 Droid simulator), my application stops with a runtime exception. The
 stack trace looks like this:

 ActivityThread.performDestroyActivity(IBinder, boolean, int, boolean)
 line: 3421
 ActivityThread.handleDestroyActivity(IBinder, boolean, int, boolean)
 line: 3487
 ActivityThread.access$2800(ActivityThread, IBinder, boolean, int,
 boolean) line: 119
 BinderProxy(ActivityThread$H).handleMessage(Message) line: 1896
 ActivityThread$H(Handler).dispatchMessage(Message) line: 99
 Looper.loop() line: 123
 ActivityThread.main(String[]) line: 4363
 Method.invokeNative(Object, Object[], Class, Class[], Class, int,
 boolean) line: not available [native method]
 Method.invoke(Object, Object...) line: 521
 ZygoteInit$MethodAndArgsCaller.run() line: 860
 ZygoteInit.main(String[]) line: 618
 NativeStart.main(String[]) line: not available [native method]

There is probably more to your stack trace than this. Usually stack
traces have an exception, for example.

 I verified with breakpoints in the debugger that the ListActivity
 onDetroy method is never being called. What should be my next
 debugging step?

Continue reading your stack trace. Look for the Caused by: line to
find out the actual exception.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Unable to start service

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 12:01 PM, Bret Foreman bret.fore...@gmail.com wrote:
 I'm try to start a service like this:

                                                try {
                                                        Intent myIntent = new 
 Intent();
                                                        
 myIntent.setClass(cb.getContext(), SensorService.class);
                                                        startService( myIntent 
 );
                                                } catch( Exception e ){
                                                        android.util.Log.e( 
 getString(R.string.app_name) , Unable to
 start sensor service , e );
                                                }

Try replacing cb.getContext() with this.

 And I see a runtime exception like this:

 ActivityThread.handleCreateService(ActivityThread$CreateServiceData)
 line: 2764
 ActivityThread.access$3200(ActivityThread, ActivityThread
 $CreateServiceData) line: 119
 ActivityThread$CreateServiceData(ActivityThread
 $H).handleMessage(Message) line: 1917
 ActivityThread$H(Handler).dispatchMessage(Message) line: 99
 Looper.loop() line: 123
 ActivityThread.main(String[]) line: 4363
 Method.invokeNative(Object, Object[], Class, Class[], Class, int,
 boolean) line: not available [native method]
 Method.invoke(Object, Object...) line: 521
 ZygoteInit$MethodAndArgsCaller.run() line: 860
 ZygoteInit.main(String[]) line: 618
 NativeStart.main(String[]) line: not available [native method]

That is not an exception. It is a stack trace. You are missing the
exception part, and the Caused by: portion.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] SQLiteOpenHelper.getWritableDatabase ambiguous documentation

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 12:09 PM, Bret Foreman bret.fore...@gmail.com wrote:
 I'm looking at this page:

 http://developer.android.com/reference/android/database/sqlite/SQLiteOpenHelper.html

 Note that in the section about getWritableDatabase there is the
 phrase: Create and/or open a database

 But getWritableDatabase is not calling the SQLiteOpenHelper.onCreate
 method which is where the DB gets created.

Then you already have a database.

 How can I cause onCreate to
 be called?

Delete the existing database (e.g., using DDMS's File Manager). Then
call getWritableDatabase().

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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: back button when in ListActivity causes runtime exception

2010-07-02 Thread Bret Foreman
Here's the full trace from the debugger.

com.shipmate.MainActivity [Android Application using Studio for
Android]
DalvikVM[localhost:8610]
Thread [3 main] (Suspended (exception RuntimeException))
ActivityThread.performDestroyActivity(IBinder, boolean, 
int,
boolean) line: 3421
ActivityThread.handleDestroyActivity(IBinder, boolean, 
int,
boolean) line: 3487
ActivityThread.access$2800(ActivityThread, IBinder, 
boolean, int,
boolean) line: 119
BinderProxy(ActivityThread$H).handleMessage(Message) 
line: 1896
ActivityThread$H(Handler).dispatchMessage(Message) 
line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4363
Method.invokeNative(Object, Object[], Class, Class[], 
Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 860
ZygoteInit.main(String[]) line: 618
NativeStart.main(String[]) line: not available [native 
method]
Thread [13 Binder Thread #2] (Running)
Thread [11 Binder Thread #1] (Running)
Thread [15 Binder Thread #3] (Running)

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Unable to start service

2010-07-02 Thread Bret Foreman
Intent.setClass needs a Context for the first argument. Replacing
cb.getContext with this causes a compiler error. Do you mean I
should call getApplicationContext?

Here's the full trace:

com.shipmate.MainActivity [Android Application using Studio for
Android]
DalvikVM[localhost:8610]
Thread [3 main] (Suspended (exception RuntimeException))
ActivityThread.handleCreateService(ActivityThread
$CreateServiceData) line: 2764
ActivityThread.access$3200(ActivityThread, 
ActivityThread
$CreateServiceData) line: 119
ActivityThread$CreateServiceData(ActivityThread
$H).handleMessage(Message) line: 1917
ActivityThread$H(Handler).dispatchMessage(Message) 
line: 99
Looper.loop() line: 123
ActivityThread.main(String[]) line: 4363
Method.invokeNative(Object, Object[], Class, Class[], 
Class, int,
boolean) line: not available [native method]
Method.invoke(Object, Object...) line: 521
ZygoteInit$MethodAndArgsCaller.run() line: 860
ZygoteInit.main(String[]) line: 618
NativeStart.main(String[]) line: not available [native 
method]
Thread [13 Binder Thread #2] (Running)
Thread [11 Binder Thread #1] (Running)

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Unable to start service

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 1:02 PM, Bret Foreman bret.fore...@gmail.com wrote:
 Intent.setClass needs a Context for the first argument. Replacing
 cb.getContext with this causes a compiler error. Do you mean I
 should call getApplicationContext?

No, I mean you should use the proper value of this.

Your code is:

try {
   Intent myIntent
= new Intent();

myIntent.setClass(cb.getContext(), SensorService.class);
   startService( myIntent );
   } catch( Exception e ){

android.util.Log.e( getString(R.string.app_name) , Unable to
start sensor service , e );
   }

Do you see your call to startService()? That is a method on Context.
Whatever object you are in, it is a Context. If this gives you a
compiler error, yet startService() does not, that means this code
snippet comes from an inner class, and so you need to scope your
this to the proper outer class (e.g., MyActivity.this).

 Here's the full trace:

Perhaps Eclipse considers that to be a trace. It is useless to me and,
presumably, to you.

If you continue execution past this point, your exception, with a full
exception message and two-tier stack trace, will be written to logcat.
This will be accessible from Eclipse via the DDMS perspective, in the
LogCat tab, in red.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: back button when in ListActivity causes runtime exception

2010-07-02 Thread Mark Murphy
Please see my answer for your other question for some thoughts on how
to get a real stack trace.

On Fri, Jul 2, 2010 at 12:55 PM, Bret Foreman bret.fore...@gmail.com wrote:
 Here's the full trace from the debugger.

 com.shipmate.MainActivity [Android Application using Studio for
 Android]
        DalvikVM[localhost:8610]
                Thread [3 main] (Suspended (exception RuntimeException))
                        ActivityThread.performDestroyActivity(IBinder, 
 boolean, int,
 boolean) line: 3421
                        ActivityThread.handleDestroyActivity(IBinder, boolean, 
 int,
 boolean) line: 3487
                        ActivityThread.access$2800(ActivityThread, IBinder, 
 boolean, int,
 boolean) line: 119
                        BinderProxy(ActivityThread$H).handleMessage(Message) 
 line: 1896
                        ActivityThread$H(Handler).dispatchMessage(Message) 
 line: 99
                        Looper.loop() line: 123
                        ActivityThread.main(String[]) line: 4363
                        Method.invokeNative(Object, Object[], Class, Class[], 
 Class, int,
 boolean) line: not available [native method]
                        Method.invoke(Object, Object...) line: 521
                        ZygoteInit$MethodAndArgsCaller.run() line: 860
                        ZygoteInit.main(String[]) line: 618
                        NativeStart.main(String[]) line: not available [native 
 method]
                Thread [13 Binder Thread #2] (Running)
                Thread [11 Binder Thread #1] (Running)
                Thread [15 Binder Thread #3] (Running)

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: SQLiteOpenHelper.getWritableDatabase ambiguous documentation

2010-07-02 Thread Bret Foreman
I'm in the DDMS file manager now and can't see anything related to
SQLite. Do you know the exact path and filename for the datafle?

Note that I discovered that onCreate wasn't being called because I got
an exception from insertOrThrow that said no such database. So I'm not
really sure if the db exists.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: SQLiteOpenHelper.getWritableDatabase ambiguous documentation

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 1:19 PM, Bret Foreman bret.fore...@gmail.com wrote:
 I'm in the DDMS file manager now and can't see anything related to
 SQLite. Do you know the exact path and filename for the datafle?

Sorta. /data/data/your.package.name/databases/your.database.name

where your.package.name is the package you gave your application in
the manifest, and your.database.name is the name you gave the
database.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Unable to start service

2010-07-02 Thread Bret Foreman
I fixed the context as you suggested, using MainActivity.this to make
sure I have the right scope. The run behavior is unchanged. Here's
what appears in logcat. It looks like some sort of timeout when trying
to start the service.

W/InputManagerService(   52): Got RemoteException sending
setActive(false) notification to pid 4041 uid 10024
I/ActivityManager(   52): Displayed activity
com.shipmate/.MainActivity: 5999 ms (total 5999 ms)
D/dalvikvm(  101): GC freed 167 objects / 7248 bytes in 109ms
W/ActivityManager(   52): Timeout executing service:
ServiceRecord{43cf1c40 com.shipmate/.SensorService}
I/ActivityManager(   52): ANR in process: com.shipmate
I/ActivityManager(   52): Annotation: Executing service
ComponentInfo{com.shipmate/com.shipmate.SensorService}
I/ActivityManager(   52): CPU usage:
I/ActivityManager(   52): Load: 0.27 / 1.05 / 0.98
I/ActivityManager(   52): CPU usage from 36474ms to 74ms ago:
I/ActivityManager(   52):   system_server: 7% = 6% user + 1% kernel /
faults: 744 minor
I/ActivityManager(   52):   adbd: 4% = 0% user + 3% kernel
I/ActivityManager(   52):   d.process.acore: 1% = 0% user + 0%
kernel / faults: 287 minor
I/ActivityManager(   52):   m.android.phone: 0% = 0% user + 0%
kernel / faults: 1 minor
I/ActivityManager(   52):   utmethod.pinyin: 0% = 0% user + 0% kernel
I/ActivityManager(   52):   logcat: 0% = 0% user + 0% kernel
I/ActivityManager(   52):   zygote: 0% = 0% user + 0% kernel / faults:
17 minor
I/ActivityManager(   52):   qemud: 0% = 0% user + 0% kernel
I/ActivityManager(   52):   servicemanager: 0% = 0% user + 0% kernel
I/ActivityManager(   52):   logcat: 0% = 0% user + 0% kernel
I/ActivityManager(   52):  +com.shipmate: 0% = 0% user + 0% kernel
I/ActivityManager(   52):  +sh: 0% = 0% user + 0% kernel
I/ActivityManager(   52):  +app_process: 0% = 0% user + 0% kernel
I/ActivityManager(   52):  -com.shipmate: 0% = 0% user + 0% kernel
I/ActivityManager(   52): TOTAL: 20% = 12% user + 6% kernel + 0% irq +
0% softirq
I/ActivityManager(   52): Removing old ANR trace file from /data/anr/
traces.txt

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Mark
Very helpful response Justin. Its a tool that is part of the SDK.
RTFM.

On Jul 1, 11:21 pm, Justin Anderson janderson@gmail.com wrote:
 Does this question have anything at all to do with Android?

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --

 On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:
  The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
  a poster on the developer's group, Sonar. Seriously broken or
  seriously misunderstood? If we're going to author Jet audio, we need
  this synth right?

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en



-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Context Menu pops-up twice

2010-07-02 Thread Bender
Thanks for your reply :)

I'm developing for google api 1.5 and I'm setting the context menu
once in the onCreate() method by my activity with:

registerForContextMenu(getExpandableListView());

I can't see any other place where I'm registring any context menu.

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-02 Thread Indicator Veritatis
But what about when the user presses the home key? According to the
docs, onPause() is called WHENEVER the application goes invisible, not
just on the Back key, not just when another application is launched.
So no, it is not just on the Back key.


On Jun 26, 9:13 am, mahesh askmah...@gmail.com wrote:
 And you have to unregister it in your OnPause() and onStop().

 Just as ref if you do not know this already -
 OnPause() is called when you quit the application via the back button
 or start another app.
 OnStop() is called when it is actually killed (via task manager)

 -
 maheshhttp://android.maheshdixit.com

 On Jun 25, 2:25 pm, Mark Murphy mmur...@commonsware.com wrote:

  On Fri, Jun 25, 2010 at 5:21 PM, Flamechamp flamechamp1...@yahoo.com 
  wrote:
   This may sound stupid, but I have a problem with my application.
   I made an application to check the accelerometer and orientation
   sensor.
   I tested it on my Nexus One and it works.
   The problem starts when I close it. (I pressed the - button in the
   phone) When I checked the Battery usage. That program I made is still
   there.

  You also need to be sure to unregister your sensor listeners. If you
  do not, your program will not truly end, and you will continue
  receiving sensor data.

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

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



-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 2:32 PM, Indicator Veritatis mej1...@yahoo.com wrote:
 But what about when the user presses the home key? According to the
 docs, onPause() is called WHENEVER the application goes invisible, not
 just on the Back key, not just when another application is launched.
 So no, it is not just on the Back key.

onPause() is called whenever the activity loses the foreground from an
input standpoint.

onStop() is also called, if the activity is no longer visible on the screen.

onDestroy() is also called, if the activity instance is going away for good.

Hence, BACK calls onPause(), onStop(), and onDestroy(). HOME calls
onPause() and onStop().

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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Justin Anderson
Wow... good luck getting help now.  Not sure how often you frequent this
google group but RTFM is something that is not used very often here.

In fact, the only time I recall seeing this was when I used it once
myself... and got privately reprimanded by another user who didn't
appreciate me using it.

I have been providing help on this group for quite a while, as many others
will vouch for me

Also, for your information, when I saw your question I went to the following
page immediately, thinking it could possibly be a a tool to be used with the
SDK, only it wasn't listed:
http://developer.android.com/guide/developing/tools/index.html

I then searched within the Dev Guide for EASDLL.dll and came up with no
results.

If you could point me to where, exactly, in TFM this is talked about I am
very curious.  Though, after your response, I will not be making any effort
to help you out.

Good luck and happy coding... Hope someone else can help you because I sure
won't.

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Fri, Jul 2, 2010 at 11:57 AM, Mark m...@sublimeslime.com wrote:

 Very helpful response Justin. Its a tool that is part of the SDK.
 RTFM.

 On Jul 1, 11:21 pm, Justin Anderson janderson@gmail.com wrote:
  Does this question have anything at all to do with Android?
 
  --
  There are only 10 types of people in the world...
  Those who know binary and those who don't.
  --
 
  On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:
   The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
   a poster on the developer's group, Sonar. Seriously broken or
   seriously misunderstood? If we're going to author Jet audio, we need
   this synth right?
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Beginners group.
 
   NEW! Try asking and tagging your question on Stack Overflow at
  http://stackoverflow.com/questions/tagged/android
 
   To unsubscribe from this group, send email to
   android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 android-beginners%2bunsubscr...@googlegroups.comandroid-beginners%252bunsubscr...@googlegroups.com
 
   For more options, visit this group at
  http://groups.google.com/group/android-beginners?hl=en
 
 

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Mikey
Cubase (the world renowned music creation software, that retails for $$$), and 
one of it's *Windows only* DLLs are tools that form part of the Android SDK?

Wow! I sure did miss the point of writing phone apps, and I think from the help 
Justin has given me in the past has shown that he has made exactly same basic 
errors of comprehension that I have.

Please, enlighten us all on even just the basic tips for using Cubase as part 
of the SDK - I think we could all gain from that...

On 2 Jul 2010, at 18:57, Mark wrote:

 Very helpful response Justin. Its a tool that is part of the SDK.
 RTFM.
 
 On Jul 1, 11:21 pm, Justin Anderson janderson@gmail.com wrote:
 Does this question have anything at all to do with Android?
 
 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --
 
 On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:
 The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
 a poster on the developer's group, Sonar. Seriously broken or
 seriously misunderstood? If we're going to author Jet audio, we need
 this synth right?
 
 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.
 
 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android
 
 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en
 
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.
 
 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android
 
 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Mikey
Mind you, much better when you read the F as FINE :o)

On 2 Jul 2010, at 19:38, Justin Anderson wrote:

 Wow... good luck getting help now.  Not sure how often you frequent this 
 google group but RTFM is something that is not used very often here.
 
 In fact, the only time I recall seeing this was when I used it once myself... 
 and got privately reprimanded by another user who didn't appreciate me using 
 it.
 
 I have been providing help on this group for quite a while, as many others 
 will vouch for me
 
 Also, for your information, when I saw your question I went to the following 
 page immediately, thinking it could possibly be a a tool to be used with the 
 SDK, only it wasn't listed:
 http://developer.android.com/guide/developing/tools/index.html
 
 I then searched within the Dev Guide for EASDLL.dll and came up with no 
 results.
 
 If you could point me to where, exactly, in TFM this is talked about I am 
 very curious.  Though, after your response, I will not be making any effort 
 to help you out.
 
 Good luck and happy coding... Hope someone else can help you because I sure 
 won't.
 
 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --
 
 
 On Fri, Jul 2, 2010 at 11:57 AM, Mark m...@sublimeslime.com wrote:
 Very helpful response Justin. Its a tool that is part of the SDK.
 RTFM.
 
 On Jul 1, 11:21 pm, Justin Anderson janderson@gmail.com wrote:
  Does this question have anything at all to do with Android?
 
  --
  There are only 10 types of people in the world...
  Those who know binary and those who don't.
  --
 
  On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:
   The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
   a poster on the developer's group, Sonar. Seriously broken or
   seriously misunderstood? If we're going to author Jet audio, we need
   this synth right?
 
   --
   You received this message because you are subscribed to the Google
   Groups Android Beginners group.
 
   NEW! Try asking and tagging your question on Stack Overflow at
  http://stackoverflow.com/questions/tagged/android
 
   To unsubscribe from this group, send email to
   android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
   For more options, visit this group at
  http://groups.google.com/group/android-beginners?hl=en
 
 
 
 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.
 
 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android
 
 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en
 
 
 -- 
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.
  
 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android
  
 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Xavier Ducrohet
We do provide some plug-ins for some sound authoring applications in
order to create Jet compatible sound file that are then read on device
by the Jet engine.

Some of it is only supported by MacOS and Windows so if you have a
linux SDK you will not see it, but you might see the sample called
JetBoy that demonstrate how to use a sound file created by JetCreator.

Mark, I'm not entirely familiar with the cubase support for EASDLL.dll
but I'll forward your email to some engineer who should know.

Xav

On Fri, Jul 2, 2010 at 11:45 AM, Mikey frak@gmail.com wrote:
 Cubase (the world renowned music creation software, that retails for $$$), 
 and one of it's *Windows only* DLLs are tools that form part of the Android 
 SDK?

 Wow! I sure did miss the point of writing phone apps, and I think from the 
 help Justin has given me in the past has shown that he has made exactly same 
 basic errors of comprehension that I have.

 Please, enlighten us all on even just the basic tips for using Cubase as part 
 of the SDK - I think we could all gain from that...

 On 2 Jul 2010, at 18:57, Mark wrote:

 Very helpful response Justin. Its a tool that is part of the SDK.
 RTFM.

 On Jul 1, 11:21 pm, Justin Anderson janderson@gmail.com wrote:
 Does this question have anything at all to do with Android?

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --

 On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:
 The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
 a poster on the developer's group, Sonar. Seriously broken or
 seriously misunderstood? If we're going to author Jet audio, we need
 this synth right?

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en



 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] closing multiple activities

2010-07-02 Thread Tollas
I have 3 activities, activityA, activityB  activityC.
I want to add a menu button NEW SEARCH that will destroy/finish all 3
and start a new activityA.
I do not want to finish the activities as they process as I want the
user to be able to navigate between the 3 unless the NEW SEARCH menu
option is chosen.

I guess basically I want to know how to finish activityB  C from
activityA.

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Xavier Ducrohet
Just FYI, the doc about using the JetPlayer on the device is:

http://developer.android.com/guide/topics/media/index.html#jet

About the JetCreator tool:
http://developer.android.com/guide/topics/media/jet/jetcreator_manual.html

It's not because you're not aware of something that it doesn't exist.
While out of topic subjects are annoying, a dose a caution is
warranted for something as vast as Android :)

Xav

On Thu, Jul 1, 2010 at 11:21 PM, Justin Anderson
janderson@gmail.com wrote:
 Does this question have anything at all to do with Android?

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --


 On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:

 The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
 a poster on the developer's group, Sonar. Seriously broken or
 seriously misunderstood? If we're going to author Jet audio, we need
 this synth right?

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en




-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] closing multiple activities

2010-07-02 Thread Justin Anderson
Are all three activities developed by you or are B  C third-party
activities?  In which Activity should this button reside?  Are B  C
launched from A or are they launched separately on their own by the user?

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Fri, Jul 2, 2010 at 1:06 PM, Tollas tolla...@gmail.com wrote:

 I have 3 activities, activityA, activityB  activityC.
 I want to add a menu button NEW SEARCH that will destroy/finish all 3
 and start a new activityA.
 I do not want to finish the activities as they process as I want the
 user to be able to navigate between the 3 unless the NEW SEARCH menu
 option is chosen.

 I guess basically I want to know how to finish activityB  C from
 activityA.

 Thanks!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Jet authoring problem: SONiVOX synth DLL in SDK won't load in Cubase or Sonar.

2010-07-02 Thread Justin Anderson
* It's not because you're not aware of something that it doesn't exist.*

Agreed.  Never did I assume that it didn't...  I did some searching for
EASDLL.dll and couldn't find anything.  The post seemed completely off-topic
which is why I honestly asked whether this had to do with Android... In all
honesty I was thinking that the poster may have meant to post in a different
google group.

Though I have never used Jet, I have heard of it... And even though the
question did mention it, it didn't seem that Jet itself was the main focus
of the question.



--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Fri, Jul 2, 2010 at 1:11 PM, Xavier Ducrohet x...@android.com wrote:

 Just FYI, the doc about using the JetPlayer on the device is:

 http://developer.android.com/guide/topics/media/index.html#jet

 About the JetCreator tool:
 http://developer.android.com/guide/topics/media/jet/jetcreator_manual.html

 It's not because you're not aware of something that it doesn't exist.
 While out of topic subjects are annoying, a dose a caution is
 warranted for something as vast as Android :)

 Xav

 On Thu, Jul 1, 2010 at 11:21 PM, Justin Anderson
 janderson@gmail.com wrote:
  Does this question have anything at all to do with Android?
 
  --
  There are only 10 types of people in the world...
  Those who know binary and those who don't.
  --
 
 
  On Thu, Jul 1, 2010 at 6:22 PM, Mark m...@sublimeslime.com wrote:
 
  The EASDLL.dll is not recognized by Cubase SX 3.0.2, nor according to
  a poster on the developer's group, Sonar. Seriously broken or
  seriously misunderstood? If we're going to author Jet audio, we need
  this synth right?
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.
 
  NEW! Try asking and tagging your question on Stack Overflow at
  http://stackoverflow.com/questions/tagged/android
 
  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-beginners?hl=en
 
  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.
 
  NEW! Try asking and tagging your question on Stack Overflow at
  http://stackoverflow.com/questions/tagged/android
 
  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
  For more options, visit this group at
  http://groups.google.com/group/android-beginners?hl=en
 



 --
 Xavier Ducrohet
 Android SDK Tech Lead
 Google Inc.

 Please do not send me questions directly. Thanks!

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Clicking in an AppWidget

2010-07-02 Thread Jake Colman

I know how to write code that would launch an activity when a button is
pressed on my appwidget.  I would prefer, however, to not dedicate
real-estate for a button.  Is there a way to launch an activity simply
by clicking anywhere in the appwidget?  If so, is that a violation of
Android standards?

-- 
Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: closing multiple activities

2010-07-02 Thread Tollas
All activities are developed by me.
The NEW SEARCH button will be in all 3 activities.
B is launched from A. C is launched from B by the user (based on
button clicks).

On Jul 2, 2:13 pm, Justin Anderson janderson@gmail.com wrote:
 Are all three activities developed by you or are B  C third-party
 activities?  In which Activity should this button reside?  Are B  C
 launched from A or are they launched separately on their own by the user?

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --

 On Fri, Jul 2, 2010 at 1:06 PM, Tollas tolla...@gmail.com wrote:
  I have 3 activities, activityA, activityB  activityC.
  I want to add a menu button NEW SEARCH that will destroy/finish all 3
  and start a new activityA.
  I do not want to finish the activities as they process as I want the
  user to be able to navigate between the 3 unless the NEW SEARCH menu
  option is chosen.

  I guess basically I want to know how to finish activityB  C from
  activityA.

  Thanks!

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Clicking in an AppWidget

2010-07-02 Thread Tollas
You can set any view to be focusable and add an OnClickListener.

ScrollView view = (ScrollView)findViewById(R.id.my_scroll_view);
view.setFocusable(true);
view.setOnClickListener(new OnClickListener(){
public void onClick(View v) {
// DoStuff

}});

On Jul 2, 2:19 pm, Jake Colman col...@ppllc.com wrote:
 I know how to write code that would launch an activity when a button is
 pressed on my appwidget.  I would prefer, however, to not dedicate
 real-estate for a button.  Is there a way to launch an activity simply
 by clicking anywhere in the appwidget?  If so, is that a violation of
 Android standards?

 --
 Jake Colman -- Android Tinkerer

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Clicking in an AppWidget

2010-07-02 Thread Kostya Vasilyev

Jake,

You can set an on-click PendingIntent on some other View (such as a Layout).

Whether or not it's a good idea - I guess it depends on how pretty you 
can make it look :)


-- Kostya

02.07.2010 23:19, Jake Colman пишет:

Is there a way to launch an activity simply
by clicking anywhere in the appwidget?



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

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: closing multiple activities

2010-07-02 Thread Kostya Vasilyev

Tollas,

First of all, there is Activity.finish(), which closes the activity.

But if the way you want your app to interact with the user doesn't fit 
the way Activities are managed by Android, perhaps you can consider 
switching views inside an Activity?


You can call setContent at any time to switch the layout, and obtain any 
necessary UI objects for the new view hierarchy (such as buttons, etc) - 
the stuff you normally do in onCreate(). Another option is to use a 
ViewFlipper, this way the entire layout with all of its variations can 
be loaded at once.


Then you could handle the back key to return to previous layout or view 
(if using a ViewFlipper).


This might be easier to implement than trying to bend Activities life cycle.

-- Kostya

02.07.2010 23:19, Tollas пишет:

All activities are developed by me.
The NEW SEARCH button will be in all 3 activities.
B is launched from A. C is launched from B by the user (based on
button clicks).

On Jul 2, 2:13 pm, Justin Andersonjanderson@gmail.com  wrote:
   

Are all three activities developed by you or are B  C third-party
activities?  In which Activity should this button reside?  Are B  C
launched from A or are they launched separately on their own by the user?

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--

On Fri, Jul 2, 2010 at 1:06 PM, Tollastolla...@gmail.com  wrote:
 

I have 3 activities, activityA, activityB  activityC.
I want to add a menu button NEW SEARCH that will destroy/finish all 3
and start a new activityA.
I do not want to finish the activities as they process as I want the
user to be able to navigate between the 3 unless the NEW SEARCH menu
option is chosen.
   
 

I guess basically I want to know how to finish activityB  C from
activityA.
   
 

Thanks!
   
 

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
   
 

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
   
 

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
   
   



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

--
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: Application still consumes battery even tough it is closed

2010-07-02 Thread david2
This is a great discussion.
This is probably the most important aspect of Android. It is critical
for all developers to properly understand activity lifecycle. From the
apps I've seen, most do not.
Google should also do a better job of clarifying and documenting this
lifecycle with additional examples and discussion.

On Jul 2, 2:35 pm, Mark Murphy mmur...@commonsware.com wrote:
 On Fri, Jul 2, 2010 at 2:32 PM, Indicator Veritatis mej1...@yahoo.com wrote:
  But what about when the user presses the home key? According to the
  docs, onPause() is called WHENEVER the application goes invisible, not
  just on the Back key, not just when another application is launched.
  So no, it is not just on the Back key.

 onPause() is called whenever the activity loses the foreground from an
 input standpoint.

 onStop() is also called, if the activity is no longer visible on the screen.

 onDestroy() is also called, if the activity instance is going away for good.

 Hence, BACK calls onPause(), onStop(), and onDestroy(). HOME calls
 onPause() and onStop().

Not true. Back does not call onDestroy. On destroy is called when the
system decides the application is going away. This does not normally
occur on a back button or home button. Processes stay around until
memory is needed elsewhere. And even then, documentation states that
onDestroy may never get called even when the application is killed.

In general BACK doesn't do anything additional vs. HOME.

In general, I'd rely primarily on onPause since you're likely to get
this call. onStop may not even be called in extreme situations, but is
normally called.


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

 Android Training...At Your Office:http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Clicking in an AppWidget

2010-07-02 Thread Mark Murphy
On Fri, Jul 2, 2010 at 3:19 PM, Jake Colman col...@ppllc.com wrote:
 I know how to write code that would launch an activity when a button is
 pressed on my appwidget.  I would prefer, however, to not dedicate
 real-estate for a button.  Is there a way to launch an activity simply
 by clicking anywhere in the appwidget?

Sure. You can call setOnClickPendingIntent() on anything you'd like --
LinearLayout, ImageView, etc.

 If so, is that a violation of Android standards?

Since there are few standards, I feel fairly comfortable it will be
considered acceptable.

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

Android Training...At Your Office: http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Re: back button when in ListActivity causes runtime exception

2010-07-02 Thread RichardC
For the moment get rid of any try catch handlers (comment them all
out).  They are swallowing the exceptions and thefore we do not seeing
a full stack trace.

/Richard

On Jul 2, 6:09 pm, Mark Murphy mmur...@commonsware.com wrote:
 Please see my answer for your other question for some thoughts on how
 to get a real stack trace.



 On Fri, Jul 2, 2010 at 12:55 PM, Bret Foreman bret.fore...@gmail.com wrote:
  Here's the full trace from the debugger.

  com.shipmate.MainActivity [Android Application using Studio for
  Android]
         DalvikVM[localhost:8610]
                 Thread [3 main] (Suspended (exception RuntimeException))
                         ActivityThread.performDestroyActivity(IBinder, 
  boolean, int,
  boolean) line: 3421
                         ActivityThread.handleDestroyActivity(IBinder, 
  boolean, int,
  boolean) line: 3487
                         ActivityThread.access$2800(ActivityThread, IBinder, 
  boolean, int,
  boolean) line: 119
                         BinderProxy(ActivityThread$H).handleMessage(Message) 
  line: 1896
                         ActivityThread$H(Handler).dispatchMessage(Message) 
  line: 99
                         Looper.loop() line: 123
                         ActivityThread.main(String[]) line: 4363
                         Method.invokeNative(Object, Object[], Class, 
  Class[], Class, int,
  boolean) line: not available [native method]
                         Method.invoke(Object, Object...) line: 521
                         ZygoteInit$MethodAndArgsCaller.run() line: 860
                         ZygoteInit.main(String[]) line: 618
                         NativeStart.main(String[]) line: not available 
  [native method]
                 Thread [13 Binder Thread #2] (Running)
                 Thread [11 Binder Thread #1] (Running)
                 Thread [15 Binder Thread #3] (Running)

  --
  You received this message because you are subscribed to the Google
  Groups Android Beginners group.

  NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

  To unsubscribe from this group, send email to
  android-beginners+unsubscr...@googlegroups.com
  For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en

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

 Android Training...At Your Office:http://commonsware.com/training

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


Re: [android-beginners] Re: closing multiple activities

2010-07-02 Thread Justin Anderson
I would probably recommend not trying to change views within an activity.

While in theory it could be done it is not really the recommended way and
there have been multiple posts with people trying to do this and running
into multiple problems.  Most of them eventually end up switching to using
different activities and wasted a lot of development time trying to just
switch views within one activity.

It also tends to violate the really good programming practice of having
things do one thing, and one thing only...

That being said, there may be some cases where just switching views within
an activity would be acceptable and normal thing to do.  I haven't really
come across the need in my own programming efforts to do that.  An activity
should serve one purpose and one purpose only.  I guess an acceptable reason
to do that might be if you had multiple layouts for an activity that just
presented the same information to the user in a different way then that
would be ok.

It's all a matter of preference but the Android way is to use activities.
They have all sorts of options for controlling how they behave as well that
you can set in the manifest file.

--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Fri, Jul 2, 2010 at 1:36 PM, Kostya Vasilyev kmans...@gmail.com wrote:

 Tollas,

 First of all, there is Activity.finish(), which closes the activity.

 But if the way you want your app to interact with the user doesn't fit the
 way Activities are managed by Android, perhaps you can consider switching
 views inside an Activity?

 You can call setContent at any time to switch the layout, and obtain any
 necessary UI objects for the new view hierarchy (such as buttons, etc) - the
 stuff you normally do in onCreate(). Another option is to use a ViewFlipper,
 this way the entire layout with all of its variations can be loaded at once.

 Then you could handle the back key to return to previous layout or view (if
 using a ViewFlipper).

 This might be easier to implement than trying to bend Activities life
 cycle.

 -- Kostya

 02.07.2010 23:19, Tollas пишет:

  All activities are developed by me.
 The NEW SEARCH button will be in all 3 activities.
 B is launched from A. C is launched from B by the user (based on
 button clicks).

 On Jul 2, 2:13 pm, Justin Andersonjanderson@gmail.com  wrote:


 Are all three activities developed by you or are B  C third-party
 activities?  In which Activity should this button reside?  Are B  C
 launched from A or are they launched separately on their own by the user?

 --
 There are only 10 types of people in the world...
 Those who know binary and those who don't.
 --

 On Fri, Jul 2, 2010 at 1:06 PM, Tollastolla...@gmail.com  wrote:


 I have 3 activities, activityA, activityB  activityC.
 I want to add a menu button NEW SEARCH that will destroy/finish all 3
 and start a new activityA.
 I do not want to finish the activities as they process as I want the
 user to be able to navigate between the 3 unless the NEW SEARCH menu
 option is chosen.




 I guess basically I want to know how to finish activityB  C from
 activityA.




 Thanks!




 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.




 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android




 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 android-beginners%2bunsubscr...@googlegroups.comandroid-beginners%252bunsubscr...@googlegroups.com
 
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en






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

 --
 You received this message because you are subscribed to the Google
 Groups Android Beginners group.

 NEW! Try asking and tagging your question on Stack Overflow at
 http://stackoverflow.com/questions/tagged/android

 To unsubscribe from this group, send email to
 android-beginners+unsubscr...@googlegroups.comandroid-beginners%2bunsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-beginners?hl=en


-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] screen resolution 800x480

2010-07-02 Thread Victor Hugo
Hi people,

how i do to change the screen resolution of my xml layout

i need developer a application with the resolution 800x480 for samsung
galaxy

someone give a help??

hugs

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] Please read: Eclipse 3.6 compatibility issue

2010-07-02 Thread Xavier Ducrohet
Hello everyone,

There is a bug in the Eclipse 3.6 plug-ins that provides XML
model/editors to our custom editors. This prevent using some custom
Android editors such as the string editors.

The Eclipse bug database already contain this bug:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=318108

We are working on a work around, but in the mean time we recommend
that you stay on 3.5

Xav
-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en


[android-beginners] How change android Home default application (launcher.apk)

2010-07-02 Thread Arun
Hi All,


for some specific requirement
I am required to change Android Default Home application
with my customized Home application

Can any one help me out like whr it registers launcher.apk for default
home application or how to change that


Regards,
Arun

-- 
You received this message because you are subscribed to the Google
Groups Android Beginners group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en