[android-developers] Re: Strange behavior with AlarmManager.RTC_WAKEUP and PowerManager.WakeLock

2008-12-06 Thread Jon Colverson

On Dec 5, 7:56 am, Jon Colverson <[EMAIL PROTECTED]> wrote:
> On Dec 5, 6:41 am, Jon Colverson <[EMAIL PROTECTED]> wrote:
>
> > I'd been having some weird issues with AlarmManager seemingly not
> > firing my alarms when the device is asleep. I'm using the alarm to
> > start a service and I was acquiring my wake lock in onStart(). I tried
> > acquiring the lock in onCreate() instead, and that seems to have
> > solved the problem.
>
> Oops. I spoke too soon. After some more testing that doesn't seem to
> have helped.

I had another look at the AlarmManager documentation and I noticed
that it only talks about using alarms to broadcast events, not start
services. I changed things around to use a BroadcastReceiver instead
that acquires the lock in its onReceive() and stored the lock
reference as a static member of another class, following the example
of the AlarmClock application:
http://android.git.kernel.org/?p=platform/packages/apps/AlarmClock.git;a=blob_plain;f=src/com/android/alarmclock/AlarmAlertWakeLock.java;hb=HEAD

That seems to have worked. I guess what was happening was that my
service starting alarms were being fired, but the device was sometimes
going back to sleep before I could acquire the wake lock. Apparently
the only guarantee that is made when an alarm is received is that the
onReceive will run to completion.

I just thought I'd post this in case anyone is ever searching for the
same problem.

--
Jon

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



[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Xavier Ducrohet

Glad to hear you solved your JDK issue.

The only reason you would want to add the ddms plugin source code to
Eclipse is if you want to work on the plugin itself.

To develop/debug application, using the standalone DDMS or
_installing_ the plugin inside eclipse is enough.

Xav

On Sat, Dec 6, 2008 at 11:08 PM, Anonymous Anonymous
<[EMAIL PROTECTED]> wrote:
> Hi Xav, Ralf,
>
> Now am able to launch DDMS  and debug built in apps, pblm was with my JDK.
>
> Thanks a lot for your help
> Steve
>
> On Sun, Dec 7, 2008 at 8:13 AM, Anonymous Anonymous
> <[EMAIL PROTECTED]> wrote:
>>
>> Hi Xav,
>> in trouble :(
>> *I am trying to debug existing application.
>>
>> Am usign the full source code downloaded from source.android.com ...(not
>> this one http://code.google.com/android/download_list.html -Linux one).
>> I assume ADT plugin is used in such case , where we debug as Android
>> Application??
>> Here i try to debug the "full source" tree running DDMS on another
>> terminal (standalone!)
>> So i assumed adding the com.**.ddms in workspace will solve the
>> problem !!
>>
>> If you can run Eclipse with the ADT plugin, you don't need to run the
>> standalone DDMS. Go to the DDMS perspective in Eclipse, and select
>> your running application in the Device view, and then select to port
>> 8700
>>
>> On the other side i have tried this as well, but it needs to set SDK>tools
>> location and all 
>>
>> So am kinda lost now - (debugging IM application)..
>>
>> My workspace looks like this now FYR (http://i35.tinypic.com/5d1ehi.png)
>>
>> or me again wrong?
>>
>> Thanks and sorry for the trouble
>> Steve
>>
>> On Sat, Dec 6, 2008 at 11:01 PM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote:
>>>
>>> > I want to debug an android application built with the SDK say (IM)..
>>> > I think my understanding also wrong (sorry for being noobish),let me
>>> > summarize the steps needed for debugging...
>>> >
>>> > 1.Latest source code compiled succesfully with a working emulator.
>>> > 2.ddms plugin added in eclipse.
>>> > 3.lauch DDMS and emulator in separate terminals !! ?
>>> > 4.connect using 8700 port
>>> > (*considering my break point is in ImApp.java !!!)
>>>
>>> There is a big confusion on what step 2 is.
>>> From the beginning we helped you open and compile the _source_code_
>>> for the adt/ddms plug-ins.
>>> What you needed was to _install_ the plugin (which is called ADT but
>>> includes DDMS as well). See instruction here:
>>> http://code.google.com/android/intro/installing.html#installingplugin
>>>
>>> If you can run Eclipse with the ADT plugin, you don't need to run the
>>> standalone DDMS. Go to the DDMS perspective in Eclipse, and select
>>> your running application in the Device view, and then select to port
>>> 8700.
>>>
>>> Now, I do not know why you can't seem to run the standalone DDMS. It
>>> looks like your linux installation is weird.
>>>
>>> Xav
>>>
>>>
>>
>
>
> >
>

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



[android-developers] Re: How to find out what the IP address of the Android device is?

2008-12-06 Thread Peter

Not that this is legit or anything but you could retrieve a site such
as cmyip.com and just extract the IP from the html. You could also
setup a server yourelf to hand back the IP when the device connects?
(you could also use the IP information for statistics =p )

On Dec 5, 4:18 pm, Qualyxx <[EMAIL PROTECTED]> wrote:
> There is a DhcpInfo class but it does not tell you where you can
> retrieve the DhCpInfo from.
>
> I would like to establish a ServerSocket and let other Android device
> to connect to it and I need to publish the IP address of the device.
>
> any hint?
>
> Thanks,
>
> Yang
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
Hi Xav, Ralf,

Now am able to launch DDMS  and debug built in apps, pblm was with my JDK.

Thanks a lot for your help
Steve

On Sun, Dec 7, 2008 at 8:13 AM, Anonymous Anonymous <
[EMAIL PROTECTED]> wrote:

> Hi Xav,
> in trouble :(
> *I am trying to debug existing application.
>
> Am usign the full source code downloaded from source.android.com ...(not
> this one http://code.google.com/android/download_list.html -Linux one).
> I assume ADT plugin is used in such case , where we debug as Android
> Application??
> Here i try to debug the "full source" tree running DDMS on another terminal
> (standalone!)
> So i assumed adding the com.**.ddms in workspace will solve the problem
> !!
>
> * If you can run Eclipse with the ADT plugin, you don't need to run the
> standalone DDMS. Go to the DDMS perspective in Eclipse, and select
> your running application in the Device view, and then select to port
> 8700*
>
> On the other side i have tried this as well, but it needs to set SDK>tools
> location and all 
>
> So am kinda lost now - (debugging IM application)..
>
> My workspace looks like this now FYR (http://i35.tinypic.com/5d1ehi.png)
>
> or me again wrong?
>
> Thanks and sorry for the trouble
> Steve
>
>
> On Sat, Dec 6, 2008 at 11:01 PM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote:
>
>>
>> > I want to debug an android application built with the SDK say (IM)..
>> > I think my understanding also wrong (sorry for being noobish),let me
>> > summarize the steps needed for debugging...
>> >
>> > 1.Latest source code compiled succesfully with a working emulator.
>> > 2.ddms plugin added in eclipse.
>> > 3.lauch DDMS and emulator in separate terminals !! ?
>> > 4.connect using 8700 port
>> > (*considering my break point is in ImApp.java !!!)
>>
>> There is a big confusion on what step 2 is.
>> From the beginning we helped you open and compile the _source_code_
>> for the adt/ddms plug-ins.
>> What you needed was to _install_ the plugin (which is called ADT but
>> includes DDMS as well). See instruction here:
>> http://code.google.com/android/intro/installing.html#installingplugin
>>
>> If you can run Eclipse with the ADT plugin, you don't need to run the
>> standalone DDMS. Go to the DDMS perspective in Eclipse, and select
>> your running application in the Device view, and then select to port
>> 8700.
>>
>> Now, I do not know why you can't seem to run the standalone DDMS. It
>> looks like your linux installation is weird.
>>
>> Xav
>>
>> >>
>>
>

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



[android-developers] Re: New SDK Available

2008-12-06 Thread don rhummy

Will this unlocked phone work with a Sprint/Nextel SIM card? I've heard they're 
not compatible with most SIM-capable phones.


--- On Sat, 12/6/08, gjs <[EMAIL PROTECTED]> wrote:

> From: gjs <[EMAIL PROTECTED]>
> Subject: [android-developers] Re: New SDK Available
> To: "Android Developers" 
> Date: Saturday, December 6, 2008, 5:55 PM
> Hi,
> 
> Many many thanks for finally making an unlocked DEV phone
> available
> (largely) worldwide.
> 
> This is great news for us folks in the non T-Mobile regions
> and will
> help provide a level playing field for ADC II participants.
> 
> ( In my own case I decided not to wait as no news of DEV
> phones was
> forthcoming before now, so I took the *big* gamble of
> procuring a US
> G1 privately through ebay - for a premium. I managed to get
> it working
> after purchasing an unlock code and configuring the GPRS
> setting to
> work with Optus 3G in Australia. )
> 
> If the DEV phone is to automatically receive 'OTA'
> updates - without
> warning like the G1 - I would suggest that people double
> check their
> local mobile data plans to ensure they don't get
> slugged for excessive
> download charges.
> 
> Once again thanks, this is a great (xmas/holiday) present
> for many
> Android devs :-)
> 
> Regards
> 
> On Dec 7, 4:31 am, Romain Guy <[EMAIL PROTECTED]>
> wrote:
> > The Android Dev Phone 1 supports 3G in Europe. It
> depends on the
> > carrier, the country, etc. though. But it should work
> in most cases.
> >
> >
> >
> > On Sat, Dec 6, 2008 at 3:21 AM, Paulo Sergio
> <[EMAIL PROTECTED]> wrote:
> > > Hi
> > > very nice news!!!
> >
> > > 2 questions:
> > > whats the band frenquency of the phone? will it
> have 3g in europe?
> > > from where is it shipped? if outside europe will
> be expensive to who live
> > > here
> >
> > > ordering online is a huge help, but i'm just
> sad that a lot of country where
> > > left out! it's online, why do this??
> >
> > > thanks,
> > > paulo
> >
> > > On Sat, Dec 6, 2008 at 9:52 AM, Al Sutton
> <[EMAIL PROTECTED]> wrote:
> >
> > >> The development phones are an excellent and
> much needed help (especially
> > >> since they are available in markets where the
> G1 currently isn't).
> >
> > >> And I'd personally like to give a BIG hug
> to whoever fixed installing
> > >> apps via the browser from places such as
> AndAppStore in the new SDK
> > >> release :) :) :).
> >
> > >> Nice work and well done all at Google.
> >
> > >> Al.
> > >>http://andappstore.com/
> >
> > >> Dan Morrill wrote:
> > >> > Hello, developers!  I wanted to call
> your attention to the new Android
> > >> > 1.0 SDK, release 2 that we just made
> available.
> >
> > >> > For full details, please see our blog
> post:
> >
> > >>
> >http://android-developers.blogspot.com/2008/12/new-resources-for-deve...
> >
> > >> > - Dan
> >
> > --
> > Romain Guywww.curious-creature.org
> 

  

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] how to generate graphy through dmtracedump?

2008-12-06 Thread trust_chen chen
hi:I read the topic:Traceview: A Graphical Log Viewer
http://code.google.com/android/reference/traceview.html

   and get the trace data. traceview the data successfully. but how to use
the tool:dmtracedump. the diagram of "Using dmtracedump" can not be
generated.

in addition, I can not find the topics that introduce who to use the tools
such as stack_dump,read_addr.

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



[android-developers] Re: Dialog with No Title

2008-12-06 Thread cyntacks

I'm just bumping this, I have been trying to figure this out for the
past 2 hours... anyone know how this can be done?

On Nov 13, 1:26 pm, G <[EMAIL PROTECTED]> wrote:
> I've got the following NumberPickerDialog class which extendsDialog.
> Currently the pick_number.xml contains only a LinearLayout and 1
> button (this is all incomplete as i'm still in early dev stages). When
> I show thisdialog, I get a blank space for thetitleeven though I do
> not specify one. I would like that blank space gone, so i have more
> room on screen for more buttons. How do I create thisdialogwith notitle/empty 
> spot fortitle? I've tried setTitle(null) which didnt
> work, and setTheme(android.R.style.Theme_NoTitle) which is not
> supported by theDialogclass.
>
> Thanks a lot.
> /g
>
> public class NumberPickerDialog extendsDialog{
>
>         public interface OnNumberChangedListener {
>                 void numberChanged(int number);
>         }
>
>         private OnNumberChangedListener mListener;
>         private int mInitialNumber;
>         private int mMinNumber;
>         private int mMaxNumber;
>
>         @Override
>         protected void onCreate(Bundle savedInstanceState) {
>
>                 super.onCreate(savedInstanceState);
>
>                 setContentView(R.layout.pick_number);
>                 //setTitle("THIS SHOULDNT BE HERE");
>
>                 Button btn = (Button)findViewById(R.id.Button01);
>                 btn.setOnClickListener(new Button.OnClickListener() {
>
>                         public void onClick(View v) {
>                                 // TODO Auto-generated method stub
>                                 String num = ((Button)v).getText().toString();
>                                 
> mListener.numberChanged(Integer.parseInt(num));
>                                 dismiss();
>                         }
>
>                 });
>         }
>
>         public NumberPickerDialog(Context ctx, OnNumberChangedListener
> listener, int initialNumber, int minNumber, int maxNumber) {
>                 super(ctx);
>                 mListener = listener;
>                 mInitialNumber = initialNumber;
>                 mMinNumber = minNumber;
>                 mMaxNumber = maxNumber;
>         }
>
> }
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
Hi Xav,
in trouble :(
*I am trying to debug existing application.

Am usign the full source code downloaded from source.android.com ...(not
this one http://code.google.com/android/download_list.html -Linux one).
I assume ADT plugin is used in such case , where we debug as Android
Application??
Here i try to debug the "full source" tree running DDMS on another terminal
(standalone!)
So i assumed adding the com.**.ddms in workspace will solve the problem
!!

* If you can run Eclipse with the ADT plugin, you don't need to run the
standalone DDMS. Go to the DDMS perspective in Eclipse, and select
your running application in the Device view, and then select to port
8700*

On the other side i have tried this as well, but it needs to set SDK>tools
location and all 

So am kinda lost now - (debugging IM application)..

My workspace looks like this now FYR (http://i35.tinypic.com/5d1ehi.png)

or me again wrong?

Thanks and sorry for the trouble
Steve

On Sat, Dec 6, 2008 at 11:01 PM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote:

>
> > I want to debug an android application built with the SDK say (IM)..
> > I think my understanding also wrong (sorry for being noobish),let me
> > summarize the steps needed for debugging...
> >
> > 1.Latest source code compiled succesfully with a working emulator.
> > 2.ddms plugin added in eclipse.
> > 3.lauch DDMS and emulator in separate terminals !! ?
> > 4.connect using 8700 port
> > (*considering my break point is in ImApp.java !!!)
>
> There is a big confusion on what step 2 is.
> From the beginning we helped you open and compile the _source_code_
> for the adt/ddms plug-ins.
> What you needed was to _install_ the plugin (which is called ADT but
> includes DDMS as well). See instruction here:
> http://code.google.com/android/intro/installing.html#installingplugin
>
> If you can run Eclipse with the ADT plugin, you don't need to run the
> standalone DDMS. Go to the DDMS perspective in Eclipse, and select
> your running application in the Device view, and then select to port
> 8700.
>
> Now, I do not know why you can't seem to run the standalone DDMS. It
> looks like your linux installation is weird.
>
> Xav
>
> >
>

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



[android-developers] Re: ::CPU usage

2008-12-06 Thread Dianne Hackborn
You really can't judge performance based on the emulator.  Ignoring the CPU
emulation, there is no emulation of the memory bus, it doesn't do any
graphics hardware acceleration, etc.

Ultimately you need to do development on a real device, that is the only way
to know how your application is actually going to behave.

On Sat, Dec 6, 2008 at 6:12 AM, Xavier Mathews <[EMAIL PROTECTED]>wrote:

>
> Yes it will depending on the processor speed of the device. 50% Is Alot.
>
> On 12/06/2008, Mark Murphy <[EMAIL PROTECTED]> wrote:
> >
> > Imran wrote:
> >> Hi All...!!!
> >>
> >>i have developed a small  game application... i have a
> >> problem... when i run the application  it is using 50% of CPU (mine is
> >> 2Ghz processor )... will this create a problem in actual device..
> >
> > Possibly.
> >
> > The emulator is inefficient, in that it has to convert ARM instructions
> > into x86 instructions for execution on your development PC. This adds a
> > fair bit of overhead, which results in a higher-than-expected CPU
> > utilization.
> >
> > However, it is very difficult to project how a certain CPU utilization
> > on the development PC will translate into CPU utilization on a device.
> >
> > --
> > Mark Murphy (a Commons Guy)
> > http://commonsware.com
> > _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
> >
> > >
> >
>
>
> --
> Xavier A. Mathews
> Student/Browser Specialist/Developer/Web-Master
> Google Group Client Based Tech Support Specialist
> Hazel Crest Illinois
> [EMAIL PROTECTED]@[EMAIL PROTECTED]
> "Fear of a name, only increases fear of the thing itself."
>
> >
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

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



[android-developers] Re: Utterly confounded trying to create horizontal scrolling

2008-12-06 Thread Keith Wiley

Wow, sorry for the numerous small grammatical/typo errors in my post.
I should have given that a quick proofread.

My apologies.

Cheers!

Keith

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



[android-developers] Utterly confounded trying to create horizontal scrolling

2008-12-06 Thread Keith Wiley

I am trying to convert ScrollView into a new class ScrollView2D that
will support horizontal scrolling.  I have made what I consider to be
sensible changes to the class, but I cannot for the life of me get any
horizontal scrolling.  In my layout XML I am enclosing ScrollView2D
around a TableLayout, which in turn holds TableRows of EditTexts.
Actually, the TableRows are generated in code, as are the EditTexts
they hold, so the XML only descends as far as the TableLayout.

I have determined, thanks to the debugger, that the program stems from
the fact that the View's width is not being constrained the way the
Height is.  As rows are added, the height is not permitted to exceed
the screen's height (or the parent ViewGroup's height.  One the table
is taller than this height, vertical scrolling kicks in.  However,
when adding columns to the table (adding EditTexts to the end of the
TableRows) the width of the enclosing View just keeps getting larger,
vastly exceeding the width of the screen.  Consequently, horizontal
scrolling never kicks in.  Horizontal scrollbars don't appears,
dragging has not effect, and right-arrow jumping across the rows
simply jumps the focus out of view off the right side of the screen.

I am at a total loss where to go on this.  I'm not sure if the problem
is in the XML layout setup or in the actual java code for the new
ScrollView2D class.

Should I post my entire code for that class?  What will help you help
me figure this out?

Thank you.

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



[android-developers] Re: AndroidManifest.xml file missing!

2008-12-06 Thread Fred Grott(shareme)

Hi Bill which version of the SDk  are you using and which version of
the Eclipse ADt plugin are you using?

On Dec 5, 7:49 pm, "Bill Tan" <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I created a project for Android development in eclipse according 
> tohttp://source.android.com/using-eclipse:
>
>    1. If Eclipse asks you for a workspace location, choose the default.
>    2. If you have a "Welcome" screen, close it to reveal the Java
>    perspective.
>    3. File > New > Java Project
>    4. Pick a project name, "android" or anything you like.
>    5. Select "Create project from existing source", enter the path to your
>    Android root directory, and click Finish.
>    6. Wait while it sets up the project. (You'll see a subtle progress meter
>    in the lower right corner.)
>
> After the build finished, I got two errors:
> AndroidManifest.xml file missing!
> The type IGearsDialogService is already defined
>
> I am sure I followed the instructions. Is there anything I missed?
>
> Thanks in advance.
>
> Bill
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-06 Thread Fred Grott(shareme)

Dan on Linux I am getting a null error when attempting to extract the
zip



On Dec 5, 9:00 pm, Dan Morrill <[EMAIL PROTECTED]> wrote:
> Hello, developers!  I wanted to call your attention to the new Android 1.0
> SDK, release 2 that we just made available.
>
> For full details, please see our blog 
> post:http://android-developers.blogspot.com/2008/12/new-resources-for-deve...
>
> - 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: XML-RPC

2008-12-06 Thread skink

hi,

i uploaded v0.2 of my thin XML-RPC library, hope you'll enjoy it,
please remeber to register in order to download files

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



[android-developers] TabActivity vs VideoView vs Camera Preview contention

2008-12-06 Thread Jason Proctor

logged as bug 1464.

i replaced the VideoView with a combination of SurfaceView and 
manually installed MediaPlayer. this combination has worked for me in 
other applications, but in this particular instance, calling 
MediaPlayer.prepare() causes a VM crash --

12-06 15:30:09.837: INFO/DEBUG(826): *** *** *** *** *** *** *** *** 
*** *** *** *** *** *** *** *** 12-06 15:30:09.837: INFO/DEBUG(826): 
Build fingerprint: 
'tmobile/kila/dream/trout:1.0/TC4-RC30/116143:user/ota-rel-keys,release-keys' 
12-06 15:30:09.837: INFO/DEBUG(826): pid: 882, tid: 882  >>> 
com.particlebrand.uooo.android <<< 12-06 15:30:09.837: 
INFO/DEBUG(826): signal 11 (SIGSEGV), fault addr 000c 12-06 
15:30:09.837: INFO/DEBUG(826):  r0 bef9d5dc  r1 0001  r2 a6d8 
r3  12-06 15:30:09.837: INFO/DEBUG(826):  r4 000c  r5 
bef9d5d8  r6 bef9d5a8  r7 bef9d578 12-06 15:30:09.837: 
INFO/DEBUG(826):  r8 bef9d630  r9 4104dd6c  10 4104dd58  fp  
12-06 15:30:09.837: INFO/DEBUG(826):  ip a9d45784  sp bef9d568  lr 
a9d25303  pc ab218752  cpsr 8030 12-06 15:30:09.907: 
INFO/DEBUG(826):  #00  pc ab218752  /system/lib/libmedia.so 
12-06 15:30:09.907: INFO/DEBUG(826):  #01  pc ab215abe 
/system/lib/libmedia.so 12-06 15:30:09.917: INFO/DEBUG(826): 
#02  pc ab302ea8  /system/lib/libmedia_jni.so 12-06 15:30:09.917: 
INFO/DEBUG(826):  #03  pc ad00d9f4  /system/lib/libdvm.so
i'm starting to think that having both camera preview and video in 
the same tab activity is just destined for failure. i really hope not.

tx
j


>The black screen is probably the result of the 2D engine trying to
>composite from an empty camera preview frame buffer.
>
>The video push buffer surfaces were a late addition to SurfaceFlinger
>to facilitate the use of video hardware pipelines. I'm not surprised
>there are some rough edges because it didn't get any testing outside
>of the basic use cases.
>
>I suggest you log a bug. If you have a code snippet that demonstrates
>the problem, that would be even better.
>
>On Dec 3, 7:04 pm, Jason Proctor <[EMAIL PROTECTED]> wrote:
>>  another quite alarming detail is that if i initially remove the video
>>  view from its tab in my activity's onCreate(), then that results in a
>>  black screen where the camera preview should be. if i leave the video
>>  view installed, then the preview works fine.
>>
>>  this is somewhat baffling!
>

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



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

2008-12-06 Thread AlCapwn

I was getting this yesterday, My code was something like this:

mainActivity.java:

//all the usual stuff here, onCreate, etc
boolean ssl = getSettingFromPrefs(); //not a real method, just an
example
Server s = new Server(host, port, ssl);
new Thread(s).start();

Server.java

//all the usual stuff here, constructors, etc.

public void run() {
if (ssl)
   //run code here and get a socket running over ssl

else
   //use normal socket.

The ssl code was 100% the problem, when it was commented out, it gave
no issue.

I removed that code yesterday because it kept giving that error, so I
wasn't able to give a proper example now with real code, but hopefully
this example was clear.

On Dec 6, 3:58 am, Claudio Veas <[EMAIL PROTECTED]> wrote:
> Yeah the problem is that the file that has this issue is internal of
> the company that I work for and I cannot show it in a public space so
> that was why I was so not specific about the bug. Any way if you know
> which classes/methods/etc cause these kinds of problems Ill apreciate
> it.
> Thanks again
> Claudio
>
> On Dec 5, 11:48 pm, jacek <[EMAIL PROTECTED]> wrote:
>
> > You need to give us more details on the exact verify error
>
> > On Dec 5, 1:56 pm, Claudio Veas <[EMAIL PROTECTED]> wrote:
>
> > > I was wondering if anybody knows which are the classes/interfaces/
> > > fields/methods not
> > > supported by Android because Im getting a Verify error and I cannot
> > > identify which is the part of the class that is causing it.
> > > thanks in advance
> > > Claudio Veas
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-06 Thread gjs

Hi,

Many many thanks for finally making an unlocked DEV phone available
(largely) worldwide.

This is great news for us folks in the non T-Mobile regions and will
help provide a level playing field for ADC II participants.

( In my own case I decided not to wait as no news of DEV phones was
forthcoming before now, so I took the *big* gamble of procuring a US
G1 privately through ebay - for a premium. I managed to get it working
after purchasing an unlock code and configuring the GPRS setting to
work with Optus 3G in Australia. )

If the DEV phone is to automatically receive 'OTA' updates - without
warning like the G1 - I would suggest that people double check their
local mobile data plans to ensure they don't get slugged for excessive
download charges.

Once again thanks, this is a great (xmas/holiday) present for many
Android devs :-)

Regards

On Dec 7, 4:31 am, Romain Guy <[EMAIL PROTECTED]> wrote:
> The Android Dev Phone 1 supports 3G in Europe. It depends on the
> carrier, the country, etc. though. But it should work in most cases.
>
>
>
> On Sat, Dec 6, 2008 at 3:21 AM, Paulo Sergio <[EMAIL PROTECTED]> wrote:
> > Hi
> > very nice news!!!
>
> > 2 questions:
> > whats the band frenquency of the phone? will it have 3g in europe?
> > from where is it shipped? if outside europe will be expensive to who live
> > here
>
> > ordering online is a huge help, but i'm just sad that a lot of country where
> > left out! it's online, why do this??
>
> > thanks,
> > paulo
>
> > On Sat, Dec 6, 2008 at 9:52 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
>
> >> The development phones are an excellent and much needed help (especially
> >> since they are available in markets where the G1 currently isn't).
>
> >> And I'd personally like to give a BIG hug to whoever fixed installing
> >> apps via the browser from places such as AndAppStore in the new SDK
> >> release :) :) :).
>
> >> Nice work and well done all at Google.
>
> >> Al.
> >>http://andappstore.com/
>
> >> Dan Morrill wrote:
> >> > Hello, developers!  I wanted to call your attention to the new Android
> >> > 1.0 SDK, release 2 that we just made available.
>
> >> > For full details, please see our blog post:
>
> >> >http://android-developers.blogspot.com/2008/12/new-resources-for-deve...
>
> >> > - Dan
>
> --
> Romain Guywww.curious-creature.org
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: sdk 1.0 failed to correctly run code

2008-12-06 Thread JP



On Dec 1, 8:22 am, "Mina Ramses" <[EMAIL PROTECTED]> wrote:
> I tried the code below in eclipse using android sdk 1.0, but always can't
> get the
> application to run correctly neither got any of the testing statements in
> the logCat, i used to set appServer as the default activity and tried to run
>
> using Run configurations, i'm asking what's wrong and if i have to run the
> appClient first or before appServer, if not then what's wrong ??


I suppose you try to run the server and client as concurrent
Activities on one handset? It doesn't owork that way/ When you start
the client Activity, you kill the server Activity. Here's some
documentation:
http://code.google.com/android/intro/lifecycle.html
and in the documentation of Activity:
http://code.google.com/android/reference/android/app/Activity.html
This means you will have to run the server as a server or background
process.

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



[android-developers] Re: How to send email programmatically?

2008-12-06 Thread Sunit Katkar
Yes I would prefer this. However, can you please post a code example of how
to do this?Thanks,

- Sunit Katkar



On Sat, Dec 6, 2008 at 11:13 AM, Dianne Hackborn <[EMAIL PROTECTED]>wrote:

> You need to go through the UI of the mailer activity, so the user can
> select which app to use etc.  Adding support for allowing applications to
> get at the user's personal e-mail information and send on their behalf
> without their interaction (but some other way to inform them that the app is
> doing this) is not a high priority for the platform; actually, I would
> personally much prefer that apps go through the mail UI so the user can be
> aware of and confirm whatever some non-mail app is sending on their behalf.
>
> As a user, wouldn't you prefer this too? :}
>
>
> On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <[EMAIL PROTECTED]> wrote:
>
>>
>> I too want to send email programmtaically (i.e without a send form).
>> I've got it working with my hardcoded credentials, but I want my app
>> to use the user's account to send the email from the user's account
>> and receive replies to his account. How do I do this?
>>
>> On Nov 12, 10:51 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
>> > Thank you. I will try this.
>> >
>> >
>> >
>> > On Wed, Nov 12, 2008 at 12:44 AM, Peli <[EMAIL PROTECTED]> wrote:
>> >
>> > > You can find a code snippet here:
>> > >http://www.openintents.org/en/node/121
>> >
>> > > There is also a related SENDTO action which you can look up in the
>> > > documentation.
>> >
>> > > Peli
>> > >www.openintents.org
>> >
>> > > On Nov 12, 8:52 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
>> > > > Ok how would I implement the 'send form'. Do you mean that I should
>> > > launch a
>> > > > web browser and use some webmail type of application hosted on a
>> server?
>> > > > I was thinking about the Email Outbox. How can I put a simple text
>> > > message
>> > > > as an email in the Outbox? I know I could do this long long ago with
>> Palm
>> > > OS
>> > > > ver3.0. Hope there is a way to do it on Android.
>> >
>> > > > - Sunit
>> >
>> > > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess <[EMAIL PROTECTED]>
>> > > wrote:
>> > > > > If you don't want to direct the user to the typical send form,
>> then
>> > > you're
>> > > > > going to have to either try and adapt an existing java based
>> mailer to
>> > > > > android or write an SMTP client from scratch.  The SMTP standard
>> isn't
>> > > too
>> > > > > hard to implement.
>> >
>> > > > > On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar <
>> [EMAIL PROTECTED]
>> > > >wrote:
>> >
>> > > > >> Any ideas? Any pointers to some examples?
>> >
>> > > > >> On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar <
>> [EMAIL PROTECTED]
>> > > >wrote:
>> >
>> > > > >>> Suppose I have an Activity which has couple of text fields - one
>> for
>> > > the
>> > > > >>> subject and one for body text.
>> > > > >>> And there is a simple Button. When user clicks the button, I
>> wish to
>> > > send
>> > > > >>> the text in the textfields via email to a predetermined email
>> > > address.
>> > > > >>> How can I achieve this?
>> >
>> > > > >>> Sorry for being lazy and not looking up the SDK docs :)
>> >
>> > > > >>> PS: I have configured the EMAIL app on G1 using the Email setup
>> > > steps, so
>> > > > >>> it can receive and send email from my email account.
>> >
>> > > > >>> --
>> > > > >>> - Sunit Katkar
>> > > > >>>http://sunitkatkar.blogspot.com/-Android OS Tutorials
>> >
>> > > > >> --
>> > > > >> - Sunit Katkar
>> > > > >>http://sunitkatkar.blogspot.com/-Android OS Tutorials
>> >
>> > > > > --
>> > > > > Andrew Burgess
>> >
>> > > > --
>> > > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-Android OS Tutorials
>> >
>> > --
>> > - Sunit Katkarhttp://sunitkatkar.blogspot.com/- Android OS Tutorials
>>
>>
>
>
> --
> Dianne Hackborn
> Android framework engineer
> [EMAIL PROTECTED]
>
> 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: How to send email programmatically?

2008-12-06 Thread Dianne Hackborn
You need to go through the UI of the mailer activity, so the user can select
which app to use etc.  Adding support for allowing applications to get at
the user's personal e-mail information and send on their behalf without
their interaction (but some other way to inform them that the app is doing
this) is not a high priority for the platform; actually, I would personally
much prefer that apps go through the mail UI so the user can be aware of and
confirm whatever some non-mail app is sending on their behalf.

As a user, wouldn't you prefer this too? :}

On Mon, Dec 1, 2008 at 4:23 PM, Jay-andro <[EMAIL PROTECTED]> wrote:

>
> I too want to send email programmtaically (i.e without a send form).
> I've got it working with my hardcoded credentials, but I want my app
> to use the user's account to send the email from the user's account
> and receive replies to his account. How do I do this?
>
> On Nov 12, 10:51 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
> > Thank you. I will try this.
> >
> >
> >
> > On Wed, Nov 12, 2008 at 12:44 AM, Peli <[EMAIL PROTECTED]> wrote:
> >
> > > You can find a code snippet here:
> > >http://www.openintents.org/en/node/121
> >
> > > There is also a related SENDTO action which you can look up in the
> > > documentation.
> >
> > > Peli
> > >www.openintents.org
> >
> > > On Nov 12, 8:52 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
> > > > Ok how would I implement the 'send form'. Do you mean that I should
> > > launch a
> > > > web browser and use some webmail type of application hosted on a
> server?
> > > > I was thinking about the Email Outbox. How can I put a simple text
> > > message
> > > > as an email in the Outbox? I know I could do this long long ago with
> Palm
> > > OS
> > > > ver3.0. Hope there is a way to do it on Android.
> >
> > > > - Sunit
> >
> > > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess <[EMAIL PROTECTED]>
> > > wrote:
> > > > > If you don't want to direct the user to the typical send form, then
> > > you're
> > > > > going to have to either try and adapt an existing java based mailer
> to
> > > > > android or write an SMTP client from scratch.  The SMTP standard
> isn't
> > > too
> > > > > hard to implement.
> >
> > > > > On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar <
> [EMAIL PROTECTED]
> > > >wrote:
> >
> > > > >> Any ideas? Any pointers to some examples?
> >
> > > > >> On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar <
> [EMAIL PROTECTED]
> > > >wrote:
> >
> > > > >>> Suppose I have an Activity which has couple of text fields - one
> for
> > > the
> > > > >>> subject and one for body text.
> > > > >>> And there is a simple Button. When user clicks the button, I wish
> to
> > > send
> > > > >>> the text in the textfields via email to a predetermined email
> > > address.
> > > > >>> How can I achieve this?
> >
> > > > >>> Sorry for being lazy and not looking up the SDK docs :)
> >
> > > > >>> PS: I have configured the EMAIL app on G1 using the Email setup
> > > steps, so
> > > > >>> it can receive and send email from my email account.
> >
> > > > >>> --
> > > > >>> - Sunit Katkar
> > > > >>>http://sunitkatkar.blogspot.com/-Android OS Tutorials
> >
> > > > >> --
> > > > >> - Sunit Katkar
> > > > >>http://sunitkatkar.blogspot.com/-Android OS Tutorials
> >
> > > > > --
> > > > > Andrew Burgess
> >
> > > > --
> > > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-Android OS Tutorials
> >
> > --
> > - Sunit Katkarhttp://sunitkatkar.blogspot.com/- Android OS Tutorials
> >
>


-- 
Dianne Hackborn
Android framework engineer
[EMAIL PROTECTED]

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



[android-developers] Re: How to send email programmatically?

2008-12-06 Thread Sunit Katkar
www.openintents.org seems to be down. I got to this thread after a long time
and now that site is down :-(
- Sunit Katkar
http://sunitkatkar.blogspot.com/ - Android OS Tutorials



On Mon, Dec 1, 2008 at 6:06 PM, Xavier Mathews <[EMAIL PROTECTED]>wrote:

>
> Would They Be Using Gmail? If So You Could Have It Programed With IMAP!
>
> On 12/01/2008, Jay-andro <[EMAIL PROTECTED]> wrote:
> >
> > I too want to send email programmtaically (i.e without a send form).
> > I've got it working with my hardcoded credentials, but I want my app
> > to use the user's account to send the email from the user's account
> > and receive replies to his account. How do I do this?
> >
> > On Nov 12, 10:51 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
> >> Thank you. I will try this.
> >>
> >>
> >>
> >> On Wed, Nov 12, 2008 at 12:44 AM, Peli <[EMAIL PROTECTED]> wrote:
> >>
> >> > You can find a code snippet here:
> >> >http://www.openintents.org/en/node/121
> >>
> >> > There is also a related SENDTO action which you can look up in the
> >> > documentation.
> >>
> >> > Peli
> >> >www.openintents.org
> >>
> >> > On Nov 12, 8:52 am, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
> >> > > Ok how would I implement the 'send form'. Do you mean that I should
> >> > launch a
> >> > > web browser and use some webmail type of application hosted on a
> >> > > server?
> >> > > I was thinking about the Email Outbox. How can I put a simple text
> >> > message
> >> > > as an email in the Outbox? I know I could do this long long ago with
> >> > > Palm
> >> > OS
> >> > > ver3.0. Hope there is a way to do it on Android.
> >>
> >> > > - Sunit
> >>
> >> > > On Tue, Nov 11, 2008 at 5:25 PM, Andrew Burgess <[EMAIL PROTECTED]>
> >> > wrote:
> >> > > > If you don't want to direct the user to the typical send form,
> then
> >> > you're
> >> > > > going to have to either try and adapt an existing java based
> mailer
> >> > > > to
> >> > > > android or write an SMTP client from scratch.  The SMTP standard
> >> > > > isn't
> >> > too
> >> > > > hard to implement.
> >>
> >> > > > On Tue, Nov 11, 2008 at 8:05 PM, Sunit Katkar <
> [EMAIL PROTECTED]
> >> > >wrote:
> >>
> >> > > >> Any ideas? Any pointers to some examples?
> >>
> >> > > >> On Tue, Nov 11, 2008 at 9:42 AM, Sunit Katkar
> >> > > >> <[EMAIL PROTECTED]
> >> > >wrote:
> >>
> >> > > >>> Suppose I have an Activity which has couple of text fields - one
> >> > > >>> for
> >> > the
> >> > > >>> subject and one for body text.
> >> > > >>> And there is a simple Button. When user clicks the button, I
> wish
> >> > > >>> to
> >> > send
> >> > > >>> the text in the textfields via email to a predetermined email
> >> > address.
> >> > > >>> How can I achieve this?
> >>
> >> > > >>> Sorry for being lazy and not looking up the SDK docs :)
> >>
> >> > > >>> PS: I have configured the EMAIL app on G1 using the Email setup
> >> > steps, so
> >> > > >>> it can receive and send email from my email account.
> >>
> >> > > >>> --
> >> > > >>> - Sunit Katkar
> >> > > >>>http://sunitkatkar.blogspot.com/-Android OS Tutorials
> >>
> >> > > >> --
> >> > > >> - Sunit Katkar
> >> > > >>http://sunitkatkar.blogspot.com/-Android OS Tutorials
> >>
> >> > > > --
> >> > > > Andrew Burgess
> >>
> >> > > --
> >> > > - Sunit Katkarhttp://sunitkatkar.blogspot.com/-Android OS Tutorials
> >>
> >> --
> >> - Sunit Katkarhttp://sunitkatkar.blogspot.com/- Android OS Tutorials
> > >
> >
>
>
> --
> Xavier A. Mathews
> Student/Browser Specialist/Developer/Web-Master
> Google Group Client Based Tech Support Specialist
> Hazel Crest Illinois
> [EMAIL PROTECTED]@[EMAIL PROTECTED]
> "Fear of a name, only increases fear of the thing itself."
>
> >
>

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



[android-developers] Brazil is not accepted in the Market???

2008-12-06 Thread Marcio Alexandroni
I'm sure this is off-topic for this list but perhaps anyone at Google can
help me.

 

I tried to pay the fee for Android Market and for my surprise they don't
accept payments from Brazil!!! They list even smaller countries in
neibourhood but why not Brazil!

 

If anyone at Google can point me where to find more information or someone
to contact or perhaps another way to make the payment, please let me know.

 

Thanks.

 



Marcio Alexandroni

  www.cialogica.com

*  Tel. 55 11 3717-2345

*  Cel. 55 11 9989-8316

*   [EMAIL PROTECTED] 

 marcioalexandroni

 


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

<><>

[android-developers] I don't want to keep reiving these e-mails. Please take me off your list. Thank you.

2008-12-06 Thread Steven Mangual


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



[android-developers] Re: New SDK Available

2008-12-06 Thread Romain Guy

The Android Dev Phone 1 supports 3G in Europe. It depends on the
carrier, the country, etc. though. But it should work in most cases.

On Sat, Dec 6, 2008 at 3:21 AM, Paulo Sergio <[EMAIL PROTECTED]> wrote:
> Hi
> very nice news!!!
>
> 2 questions:
> whats the band frenquency of the phone? will it have 3g in europe?
> from where is it shipped? if outside europe will be expensive to who live
> here
>
> ordering online is a huge help, but i'm just sad that a lot of country where
> left out! it's online, why do this??
>
>
>
> thanks,
> paulo
>
> On Sat, Dec 6, 2008 at 9:52 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
>>
>> The development phones are an excellent and much needed help (especially
>> since they are available in markets where the G1 currently isn't).
>>
>> And I'd personally like to give a BIG hug to whoever fixed installing
>> apps via the browser from places such as AndAppStore in the new SDK
>> release :) :) :).
>>
>> Nice work and well done all at Google.
>>
>> Al.
>> http://andappstore.com/
>>
>> Dan Morrill wrote:
>> > Hello, developers!  I wanted to call your attention to the new Android
>> > 1.0 SDK, release 2 that we just made available.
>> >
>> > For full details, please see our blog post:
>> >
>> > http://android-developers.blogspot.com/2008/12/new-resources-for-developers.html
>> >
>> > - Dan
>> >
>> > >
>>
>>
>>
>
>
> >
>



-- 
Romain Guy
www.curious-creature.org

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Xavier Ducrohet

> I want to debug an android application built with the SDK say (IM)..
> I think my understanding also wrong (sorry for being noobish),let me
> summarize the steps needed for debugging...
>
> 1.Latest source code compiled succesfully with a working emulator.
> 2.ddms plugin added in eclipse.
> 3.lauch DDMS and emulator in separate terminals !! ?
> 4.connect using 8700 port
> (*considering my break point is in ImApp.java !!!)

There is a big confusion on what step 2 is.
>From the beginning we helped you open and compile the _source_code_
for the adt/ddms plug-ins.
What you needed was to _install_ the plugin (which is called ADT but
includes DDMS as well). See instruction here:
http://code.google.com/android/intro/installing.html#installingplugin

If you can run Eclipse with the ADT plugin, you don't need to run the
standalone DDMS. Go to the DDMS perspective in Eclipse, and select
your running application in the Device view, and then select to port
8700.

Now, I do not know why you can't seem to run the standalone DDMS. It
looks like your linux installation is weird.

Xav

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



[android-developers] New SDK Available

2008-12-06 Thread Ward Willats

>It is just Bug fixes nothing new
>

My $1200 ST-506 5MB winchester hard drive is not supported! (*sniff*)


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



[android-developers] Re: getListView().setTextFilterEnabled(true) get the filter text problem

2008-12-06 Thread [EMAIL PROTECTED]

no people?

On Dec 3, 2:11 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
wrote:
> I use getListView().setTextFilterEnabled(true) to fillter the resutl
> list,
>
> now I want to get the filter text , how do it?
>
> and how to set default filter text when call this intent?
>
> seem is internal object. can you help me?
>
> 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-06 Thread rezar

It is just Bug fixes nothing new

On Dec 6, 2:40 pm, ena <[EMAIL PROTECTED]> wrote:
> What is new in new sdk??
>
> On Dec 6, 4:21 pm, "Paulo Sergio" <[EMAIL PROTECTED]> wrote:
>
> > Hi
> > very nice news!!!
>
> > 2 questions:
> > whats the band frenquency of the phone? will it have 3g in europe?
> > from where is it shipped? if outside europe will be expensive to who live
> > here
>
> > ordering online is a huge help, but i'm just sad that a lot of country where
> > left out! it's online, why do this??
>
> > thanks,
> > paulo
>
> > On Sat, Dec 6, 2008 at 9:52 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
>
> > > The development phones are an excellent and much needed help (especially
> > > since they are available in markets where the G1 currently isn't).
>
> > > And I'd personally like to give a BIG hug to whoever fixed installing
> > > apps via the browser from places such as AndAppStore in the new SDK
> > > release :) :) :).
>
> > > Nice work and well done all at Google.
>
> > > Al.
> > >http://andappstore.com/
>
> > > Dan Morrill wrote:
> > > > Hello, developers!  I wanted to call your attention to the new Android
> > > > 1.0 SDK, release 2 that we just made available.
>
> > > > For full details, please see our blog post:
>
> > >http://android-developers.blogspot.com/2008/12/new-resources-for-deve...
>
> > > > - 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-06 Thread rezar

And again there is no Bluetooth support !


On Dec 6, 4:00 am, Dan Morrill <[EMAIL PROTECTED]> wrote:
> Hello, developers!  I wanted to call your attention to the new Android 1.0
> SDK, release 2 that we just made available.
>
> For full details, please see our blog 
> post:http://android-developers.blogspot.com/2008/12/new-resources-for-deve...
>
> - 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ::CPU usage

2008-12-06 Thread Xavier Mathews

Yes it will depending on the processor speed of the device. 50% Is Alot.

On 12/06/2008, Mark Murphy <[EMAIL PROTECTED]> wrote:
>
> Imran wrote:
>> Hi All...!!!
>>
>>i have developed a small  game application... i have a
>> problem... when i run the application  it is using 50% of CPU (mine is
>> 2Ghz processor )... will this create a problem in actual device..
>
> Possibly.
>
> The emulator is inefficient, in that it has to convert ARM instructions
> into x86 instructions for execution on your development PC. This adds a
> fair bit of overhead, which results in a higher-than-expected CPU
> utilization.
>
> However, it is very difficult to project how a certain CPU utilization
> on the development PC will translate into CPU utilization on a device.
>
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.9 Available!
>
> >
>


-- 
Xavier A. Mathews
Student/Browser Specialist/Developer/Web-Master
Google Group Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

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



[android-developers] Re: AuthenticationException when accessing Google Spreadsheets

2008-12-06 Thread Xavier Mathews

Google Spreadsheet On Android?

On 12/06/2008, schtieF <[EMAIL PROTECTED]> wrote:
>
> i also tried this with an older version of the android sdk, there was
> a hidden api in the android jar. but there was no authentication stuff
> see here
>
> http://www.anddev.org/google_data_apis-t2771.html
>
> now i'll try with the latest sdk if there is some additional api
>
> otherwise lets work directly with the http interface of google
> spreadsheat.
>
> On Nov 15, 3:50 am, Waldo <[EMAIL PROTECTED]> wrote:
>> I'm having the same "not verified" problem myself.  Anyone come up
>> with a solution?
>>
>> w
>>
>> On Oct 30, 6:28 am, atrus123 <[EMAIL PROTECTED]> wrote:
>>
>> > Did you ever have any luck getting this to work?  I'm also interested
>> > in accessing Google Spreadsheets, but before I spend a bunch of man
>> > hours trying, I'd like to know if it's even possible.
> >
>


-- 
Xavier A. Mathews
Student/Browser Specialist/Developer/Web-Master
Google Group Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]@[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

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



[android-developers] Re: New SDK Available

2008-12-06 Thread ena

What is new in new sdk??

On Dec 6, 4:21 pm, "Paulo Sergio" <[EMAIL PROTECTED]> wrote:
> Hi
> very nice news!!!
>
> 2 questions:
> whats the band frenquency of the phone? will it have 3g in europe?
> from where is it shipped? if outside europe will be expensive to who live
> here
>
> ordering online is a huge help, but i'm just sad that a lot of country where
> left out! it's online, why do this??
>
> thanks,
> paulo
>
> On Sat, Dec 6, 2008 at 9:52 AM, Al Sutton <[EMAIL PROTECTED]> wrote:
>
> > The development phones are an excellent and much needed help (especially
> > since they are available in markets where the G1 currently isn't).
>
> > And I'd personally like to give a BIG hug to whoever fixed installing
> > apps via the browser from places such as AndAppStore in the new SDK
> > release :) :) :).
>
> > Nice work and well done all at Google.
>
> > Al.
> >http://andappstore.com/
>
> > Dan Morrill wrote:
> > > Hello, developers!  I wanted to call your attention to the new Android
> > > 1.0 SDK, release 2 that we just made available.
>
> > > For full details, please see our blog post:
>
> >http://android-developers.blogspot.com/2008/12/new-resources-for-deve...
>
> > > - 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: AuthenticationException when accessing Google Spreadsheets

2008-12-06 Thread schtieF

i also tried this with an older version of the android sdk, there was
a hidden api in the android jar. but there was no authentication stuff
see here

http://www.anddev.org/google_data_apis-t2771.html

now i'll try with the latest sdk if there is some additional api

otherwise lets work directly with the http interface of google
spreadsheat.

On Nov 15, 3:50 am, Waldo <[EMAIL PROTECTED]> wrote:
> I'm having the same "not verified" problem myself.  Anyone come up
> with a solution?
>
> w
>
> On Oct 30, 6:28 am, atrus123 <[EMAIL PROTECTED]> wrote:
>
> > Did you ever have any luck getting this to work?  I'm also interested
> > in accessing Google Spreadsheets, but before I spend a bunch of man
> > hours trying, I'd like to know if it's even possible.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: ::CPU usage

2008-12-06 Thread Mark Murphy

Imran wrote:
> Hi All...!!!
> 
>i have developed a small  game application... i have a
> problem... when i run the application  it is using 50% of CPU (mine is
> 2Ghz processor )... will this create a problem in actual device.. 

Possibly.

The emulator is inefficient, in that it has to convert ARM instructions 
into x86 instructions for execution on your development PC. This adds a 
fair bit of overhead, which results in a higher-than-expected CPU 
utilization.

However, it is very difficult to project how a certain CPU utilization 
on the development PC will translate into CPU utilization on a device.

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

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: sdk 1.0 failed to correctly run code

2008-12-06 Thread cslinux

That's what i got as output from both Console and logCat
Console:
Starting activity on mina.home.com.appServer device
ActivityManager: Starting: Intent { comp={mina.home/
mina.home.com.appServer) }


DDMS LogCat:

12-06 14:24:36.167: WARN/ActivityManager(50): Activity pause timeout
for HistoryRecord{4353cdf0 {mina.home.com/mina.home.com.appServer}}

12-06 14:24:44.948: WARN/ActivityManager(50): Launch timeout has
expired, giving up wake lock!
12-06 14:24:45.066: WARN/ActivityManager(50): Activity idle timeout
for HistoryRecord{4353cdf0 {mina.home.com/mina.home.com.appServer}}
12-06 14:24:46.311: WARN/ActivityManager(50): Activity idle timeout
for HistoryRecord{4353e8c0 {mina.home.com/mina.home.com.appServer}}
12-06 14:24:51.677: DEBUG/dalvikvm(91): GC freed 72 objects / 3000
bytes in 316ms
12-06 14:26:10.728: DEBUG/dalvikvm(204): GC freed 7036 objects /
481800 bytes in 281ms
12-06 14:26:13.258: DEBUG/dalvikvm(204): GC freed 7904 objects /
551656 bytes in 255ms
12-06 14:26:15.838: DEBUG/dalvikvm(204): GC freed 10194 objects /
515472 bytes in 300ms
12-06 14:26:33.887: WARN/WindowManager(50): Key dispatching timed out
sending to 
12-06 14:26:34.127: INFO/ActivityManager(50): ANR (application not
responding) in process: mina.home.com
12-06 14:26:34.127: INFO/ActivityManager(50): Annotation:
keyDispatchingTimedOut
12-06 14:26:34.127: INFO/ActivityManager(50): CPU usage:
12-06 14:26:34.127: INFO/ActivityManager(50): Load: 0.26 / 0.47 / 0.42
12-06 14:26:34.127: INFO/ActivityManager(50): CPU usage from 34066ms
to 201ms ago:
12-06 14:26:34.127: INFO/ActivityManager(50):   com.android.browser:
29% = 27% user + 1% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   system_server: 2% = 1%
user + 1% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   com.android.phone: 1%
= 0% user + 0% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   mina.home.com: 0% = 0%
user + 0% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   adbd: 0% = 0% user +
0% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   events/0: 0% = 0% user
+ 0% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   rild: 0% = 0% user +
0% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   logcat: 0% = 0% user +
0% kernel
12-06 14:26:34.127: INFO/ActivityManager(50):   qemud: 0% = 0% user +
0% kernel
12-06 14:26:34.127: INFO/ActivityManager(50): TOTAL: 33% = 30% user +
3% kernel + 0% irq + 0% softirq
12-06 14:26:34.127: INFO/ActivityManager(50): /proc/meminfo:
12-06 14:26:34.127: INFO/ActivityManager(50): MemTotal:94572
kB
12-06 14:26:34.127: INFO/ActivityManager(50): MemFree:  2868
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Buffers: 0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Cached:  48036
kB
12-06 14:26:34.127: INFO/ActivityManager(50): SwapCached:  0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Active:  52644
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Inactive:30924
kB
12-06 14:26:34.127: INFO/ActivityManager(50): SwapTotal:   0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): SwapFree:0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Dirty:   0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Writeback:   0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): AnonPages:   35536
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Mapped:  23620
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Slab: 2828
kB
12-06 14:26:34.127: INFO/ActivityManager(50): SReclaimable:  632
kB
12-06 14:26:34.127: INFO/ActivityManager(50): SUnreclaim:   2196
kB
12-06 14:26:34.127: INFO/ActivityManager(50): PageTables:   2672
kB
12-06 14:26:34.127: INFO/ActivityManager(50): NFS_Unstable:0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Bounce:  0
kB
12-06 14:26:34.127: INFO/ActivityManager(50): CommitLimit: 47284
kB
12-06 14:26:34.127: INFO/ActivityManager(50): Committed_AS:   949436
kB
12-06 14:26:34.127: INFO/ActivityManager(50): VmallocTotal:   876544
kB
12-06 14:26:34.127: INFO/ActivityManager(50): VmallocUsed: 11464
kB
12-06 14:26:34.127: INFO/ActivityManager(50): VmallocChunk:   852988
kB
12-06 14:26:34.148: INFO/ActivityManager(50): Removing old ANR trace
file from /data/anr/traces.txt
12-06 14:26:34.167: INFO/Process(50): Sending signal. PID: 191 SIG: 3
12-06 14:26:34.191: INFO/dalvikvm(191): threadid=7: reacting to signal
3
12-06 14:26:34.209: INFO/Process(50): Sending signal. PID: 91 SIG: 3
12-06 14:26:34.209: INFO/Process(50): Sending signal. PID: 204 SIG: 3
12-06 14:26:34.209: INFO/dalvikvm(204): threadid=7: reacting to signal
3
12-06 14:26:34.218: INFO/dalvikvm(91): threadid=7: reacting to signal
3
12-06 14:26:34.218: INFO/Process(50): Sending signal. PID: 146 SIG: 3
12-06 14:26:34.218: INFO/dalvikvm(146): threadid=7: reacting to signal
3
12-06 14:26:34.228: INFO/Process(50): Sending signal. PID: 157 SIG: 3
12-06 14:26:34.228: INFO/dalvikvm(157): threadid=7: reactin

[android-developers] Can we register a callback which is called when user clicks on the play button of MediaController?

2008-12-06 Thread Nilangini

Hi,

Is it possible to register a callback which will be called when user
clicks on the play button of MediaController?

Thanking you,
Nilangini
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: New SDK Available

2008-12-06 Thread Paulo Sergio
Hi
very nice news!!!

2 questions:
whats the band frenquency of the phone? will it have 3g in europe?
from where is it shipped? if outside europe will be expensive to who live
here

ordering online is a huge help, but i'm just sad that a lot of country where
left out! it's online, why do this??



thanks,
paulo

On Sat, Dec 6, 2008 at 9:52 AM, Al Sutton <[EMAIL PROTECTED]> wrote:

>
> The development phones are an excellent and much needed help (especially
> since they are available in markets where the G1 currently isn't).
>
> And I'd personally like to give a BIG hug to whoever fixed installing
> apps via the browser from places such as AndAppStore in the new SDK
> release :) :) :).
>
> Nice work and well done all at Google.
>
> Al.
> http://andappstore.com/
>
> Dan Morrill wrote:
> > Hello, developers!  I wanted to call your attention to the new Android
> > 1.0 SDK, release 2 that we just made available.
> >
> > For full details, please see our blog post:
> >
> http://android-developers.blogspot.com/2008/12/new-resources-for-developers.html
> >
> > - 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Streaming RTSP directly by suing MediaPlayer

2008-12-06 Thread Alpesh

hi jona,
i m doing also audio streaming in android emulator but i got the error
on prepare method.
can u tell me its possible in android sdk 1.0 or not yet supported?

thnks,
Alpesh Harsoda

On Dec 6, 4:43 am, Jona <[EMAIL PROTECTED]> wrote:
> I'm not sure were or who to ask...
>
> I've been trying to create a server to communicate with MediaPlayer
> via RTSP.
>
> Now I've got this response from the MediaPlayer to my server:
>
> //
> [OPTIONS rtsp://localhost:8554/triStateBuffer1 RTSP/1.0
>
> CSeq: 0
>
> User-Agent: PVCore/05.02.00.00 PVPlayer/6.18 (Linux; Android; NJ)
>
> ClientChallenge: 9e26d33f2984236010ef6253fb1887f7
>
> PlayerStarttime: [28/03/2003:22:50:23 00:00]
>
> CompanyID: KnKV4M4I/B2FjJ1TToLycw==
>
> GUID: ----
>
> DESCRIBE rtsp://localhost:8554/triStateBuffer1 RTSP/1.0
>
> CSeq: 1
>
> User-Agent: PVCore/05.02.00.00 PVPlayer/6.18 (Linux; Android; NJ)
>
> Accept: application/sdp
>
> Accept-Encoding:
> //
>
> I know I have to reply to the MediaPlayer like
>
> "RTSP/1.0 200 OK"
> "CSeq: 1"
> "Content-Type:
> "Content-length:
> //And more details, this is what I'm not sure what to reply the Media
> Player in order to get a SETUP message back...
>
> Could someone help me?
>
> I want to send only audio... mpg
>
> Thanks!
> JOna
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Custom Style

2008-12-06 Thread Protocol-X

I have tried that.  the Issue i am encountering is if i change the
progress Drawable it does change the slider on the progress bar only.
the actual progress stays orange.  I can change the background and get
rid of the orange all together and show the progressing slider but i
want to be able to keep the actual progress and change that color as
well

On Dec 5, 11:55 pm, "Jason Parekh" <[EMAIL PROTECTED]> wrote:
> You can just use the default style of the horizontal progress bar and in
> addition set the progressDrawable to the resource for your XML file.
>
> jason
>
>
>
> On Wed, Dec 3, 2008 at 6:06 PM, Protocol-X <[EMAIL PROTECTED]> wrote:
>
> > Hello,
>
> > I am trying to implement a custom style to a progress bar.  I have the
> > style but i cannot seem to find any documentation on how to actually
> > add it since there is no style folder that can be accessed that i see
> > atleast.
>
> > Can anyone help?
>
> > http://schemas.android.com/apk/res/
> > android">
>
> >    
> >        
> >            
> >             >                    android:startColor="#ff9d9e9d"
> >                    android:centerColor="#ff5a5d5a"
> >                    android:centerY="0.75"
> >                    android:endColor="#ff747674"
> >                    android:angle="270"
> >            />
> >        
> >    
>
> >    
> >        
> >            
> >                
> >                 >                        android:startColor="#80ffd300"
> >                        android:centerColor="#80ffb600"
> >                        android:centerY="0.75"
> >                        android:endColor="#a0ffcb00"
> >                        android:angle="270"
> >                />
> >            
> >        
> >    
>
> >    
> >        
> >            
> >                
> >                 >                        android:startColor="#d300"
> >                        android:centerColor="#b600"
> >                        android:centerY="0.75"
> >                        android:endColor="#cb00"
> >                        android:angle="270"
> >                />
> >            
> >        
> >    
>
> > - 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
*"I'm a bit confused here. After making the ddms _plugin_ compile in
Eclipse, you are launching the standalone version from the sdk..."*

You mean to say no need to start DDMS separately ! ( if not cannot connect
to VM: connection refused error !)

*You probably shouldn't have copied them. btw we fixed the scripts so
running them will do the proper thing (ie make symlinks so that if you
modify them, Eclipse will build the plugin with the newer version).*

i have no errors in eclipse now, either with jar files or with compiler
compliance.

*You may want to see what native library/jar you are missing by
experiment. For information SWT comes from here:
http://archive.eclipse.org/eclipse/downloads/drops/R-3.2.2-200702121330/index.php#swt
*

i have tried SWT from there(replace- error remains same) .. may i know what
else lib/jar need to be tried?

*What are you trying to debug? an android application built with the
SDK or the ddms plugin?*

I want to debug an android application built with the SDK say (IM)..
I think my understanding also wrong (sorry for being noobish),let me
summarize the steps needed for debugging...

1.Latest source code compiled succesfully with a working emulator.
2.ddms plugin added in eclipse.
3.lauch DDMS and emulator in separate terminals !! ?
4.connect using 8700 port
(*considering my break point is in ImApp.java !!!)

Please help to correct the steps if am going in wrong direction.

Thanks in Advance
Steve

On Sat, Dec 6, 2008 at 3:48 PM, Anonymous Anonymous <
[EMAIL PROTECTED]> wrote:

> i have downlaoded 
> swt(swt-3.2.2-gtk-linux-x86.zip
> ) again and replaced  libs and jars in lib and framework folder and it seems
> the error reamins same !!!
>
>
> ---
> 13:55 E/ddms: shutting down due to uncaught exception
> 13:55 E/ddms: java.awt.AWTError: Assistive Technology not found:
> org.GNOME.Accessibility.JavaBridge
> at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788)
> at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874)
> at
> sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:131)
> at
> javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564)
> at
> javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147)
> at
> javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599)
> at javax.swing.UIManager.setLookAndFeel(UIManager.java:545)
> at javax.swing.UIManager.setLookAndFeel(UIManager.java:585)
> at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1334)
> at javax.swing.UIManager.initialize(UIManager.java:1421)
> at javax.swing.UIManager.maybeInitialize(UIManager.java:1409)
> at javax.swing.UIManager.getDefaults(UIManager.java:659)
> at javax.swing.UIManager.getColor(UIManager.java:701)
> at org.jfree.chart.JFreeChart.(JFreeChart.java:252)
> at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:826)
> at com.android.ddmuilib.HeapPanel.createChart(HeapPanel.java:599)
> at com.android.ddmuilib.HeapPanel.createControl(HeapPanel.java:371)
> at com.android.ddmuilib.Panel.createPanel(Panel.java:29)
> at com.android.ddms.UIThread.createRightPanel(UIThread.java:1227)
> at com.android.ddms.UIThread.createTopPanel(UIThread.java:982)
> at com.android.ddms.UIThread.createWidgets(UIThread.java:831)
> at com.android.ddms.UIThread.runUI(UIThread.java:377)
> at com.android.ddms.Main.main(Main.java:97)
>
> 
>
> thanks
> steve
>
>
> On Sat, Dec 6, 2008 at 11:43 AM, Anonymous Anonymous <
> [EMAIL PROTECTED]> wrote:
>
>> I am trying to debug IM application.Just to understand the current code
>> flow..
>>
>> Thanks
>> Steve
>>
>>
>> On Sat, Dec 6, 2008 at 11:28 AM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote:
>>
>>>
>>> What are you trying to debug? an android application built with the
>>> SDK or the ddms plugin?
>>>
>>> Xav
>>>
>>> On Fri, Dec 5, 2008 at 7:31 PM, Anonymous Anonymous
>>> <[EMAIL PROTECTED]> wrote:
>>> > Hi Xav,
>>> >
>>> > Sorry for the confusion let me explain once again.
>>> >
>>> > 1.using repo get full source
>>> > 2.Add project in Eclipse  say "Myandroid"
>>> > 2.Now add the ddms plugin as we discussed earlier.
>>> > (i have copied 3 jar files to /libs folder to resolve errors in
>>> eclipse)
>>> >
>>> > Now am thinking to attach ( mission debug) as per the document
>>> > (http://source.android.com/using-eclipse)
>>> > 1. Lauch ddms (/out/host/linux-x86/bin) is this not correct?
>>> > *throws exception
>>> >
>>> > *or is there any other way i can debug !!
>>> >
>>> > th

[android-developers] Re: Eclipse Error while adding ddms

2008-12-06 Thread Anonymous Anonymous
i have downlaoded
swt(swt-3.2.2-gtk-linux-x86.zip
) again and replaced  libs and jars in lib and framework folder and it seems
the error reamins same !!!

---
13:55 E/ddms: shutting down due to uncaught exception
13:55 E/ddms: java.awt.AWTError: Assistive Technology not found:
org.GNOME.Accessibility.JavaBridge
at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788)
at java.awt.Toolkit.getDefaultToolkit(Toolkit.java:874)
at
sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:131)
at
javax.swing.plaf.metal.MetalLookAndFeel.initComponentDefaults(MetalLookAndFeel.java:1564)
at
javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(BasicLookAndFeel.java:147)
at
javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(MetalLookAndFeel.java:1599)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:545)
at javax.swing.UIManager.setLookAndFeel(UIManager.java:585)
at javax.swing.UIManager.initializeDefaultLAF(UIManager.java:1334)
at javax.swing.UIManager.initialize(UIManager.java:1421)
at javax.swing.UIManager.maybeInitialize(UIManager.java:1409)
at javax.swing.UIManager.getDefaults(UIManager.java:659)
at javax.swing.UIManager.getColor(UIManager.java:701)
at org.jfree.chart.JFreeChart.(JFreeChart.java:252)
at org.jfree.chart.ChartFactory.createBarChart(ChartFactory.java:826)
at com.android.ddmuilib.HeapPanel.createChart(HeapPanel.java:599)
at com.android.ddmuilib.HeapPanel.createControl(HeapPanel.java:371)
at com.android.ddmuilib.Panel.createPanel(Panel.java:29)
at com.android.ddms.UIThread.createRightPanel(UIThread.java:1227)
at com.android.ddms.UIThread.createTopPanel(UIThread.java:982)
at com.android.ddms.UIThread.createWidgets(UIThread.java:831)
at com.android.ddms.UIThread.runUI(UIThread.java:377)
at com.android.ddms.Main.main(Main.java:97)


thanks
steve

On Sat, Dec 6, 2008 at 11:43 AM, Anonymous Anonymous <
[EMAIL PROTECTED]> wrote:

> I am trying to debug IM application.Just to understand the current code
> flow..
>
> Thanks
> Steve
>
>
> On Sat, Dec 6, 2008 at 11:28 AM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote:
>
>>
>> What are you trying to debug? an android application built with the
>> SDK or the ddms plugin?
>>
>> Xav
>>
>> On Fri, Dec 5, 2008 at 7:31 PM, Anonymous Anonymous
>> <[EMAIL PROTECTED]> wrote:
>> > Hi Xav,
>> >
>> > Sorry for the confusion let me explain once again.
>> >
>> > 1.using repo get full source
>> > 2.Add project in Eclipse  say "Myandroid"
>> > 2.Now add the ddms plugin as we discussed earlier.
>> > (i have copied 3 jar files to /libs folder to resolve errors in eclipse)
>> >
>> > Now am thinking to attach ( mission debug) as per the document
>> > (http://source.android.com/using-eclipse)
>> > 1. Lauch ddms (/out/host/linux-x86/bin) is this not correct?
>> > *throws exception
>> >
>> > *or is there any other way i can debug !!
>> >
>> > thanks
>> > steve
>> >
>> >
>> >
>> >
>> >
>> > On Sat, Dec 6, 2008 at 8:53 AM, Xavier Ducrohet <[EMAIL PROTECTED]> wrote:
>> >>
>> >> I'm a bit confused here. After making the ddms _plugin_ compile in
>> >> Eclipse, you are launching the standalone version from the sdk...
>> >>
>> >>
>> >> On Fri, Dec 5, 2008 at 7:10 PM, Anonymous Anonymous
>> >> <[EMAIL PROTECTED]> wrote:
>> >> > Hi guys,
>> >> >
>> >> > Now no erros :)
>> >> >
>> >> > btw now ddms fails to load... :(
>> >> >
>> >> > i have created com.android.ide.
>> >> >>
>> >> >> eclipse.ddms/libs/ folder and copied the required *.jar files from
>> >> >> /out/host/linux-x86/framework/ ..
>> >>
>> >> You probably shouldn't have copied them. btw we fixed the scripts so
>> >> running them will do the proper thing (ie make symlinks so that if you
>> >> modify them, Eclipse will build the plugin with the newer version).
>> >>
>> >> > 2. now goto
>> >> > /out/host/linux-x86/bin
>> >> > and ran ./ddms
>> >> >
>> >> > gettign the below exception ! am i missing something again ...
>> >> >
>> >> >
>> >> >
>> -
>> >> > (ddms:12939): Gdk-WARNING **: gdk_window_set_icon_list: icons too
>> large
>> >> > 45:45 E/ddms: shutting down due to uncaught exception
>> >> > 45:45 E/ddms: java.awt.AWTError: Assistive Technology not found:
>> >> > org.GNOME.Accessibility.JavaBridge
>> >> > at java.awt.Toolkit.loadAssistiveTechnologies(Toolkit.java:788)
>> >>
>> >> This is quite surprising.
>> >> In prebuilt/Linux/swt there is the Linux version of SWT. we
>> >> selectively take some of those file

[android-developers] Re: New SDK Available

2008-12-06 Thread Al Sutton

The development phones are an excellent and much needed help (especially 
since they are available in markets where the G1 currently isn't).

And I'd personally like to give a BIG hug to whoever fixed installing 
apps via the browser from places such as AndAppStore in the new SDK 
release :) :) :).

Nice work and well done all at Google.

Al.
http://andappstore.com/

Dan Morrill wrote:
> Hello, developers!  I wanted to call your attention to the new Android 
> 1.0 SDK, release 2 that we just made available.
>
> For full details, please see our blog post:  
> http://android-developers.blogspot.com/2008/12/new-resources-for-developers.html
>
> - 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Querys involving more than one table of Contatcs Content Provider

2008-12-06 Thread jarkman

Mark - thanks for the suggestion.

I ended up making a couple of general-purpose CursorWrapper
subclasses, one for joining two providers & one for filtering a
provider (with a callback to define the desired rows).

They certainly seem to work, and they make the calling code very tidy.
I do still have some performance issues to deal with, but I'm sure
they will respond to tweakery.

Richard



On Nov 26, 12:27 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> jarkmanwrote:
> > I'd love to make a cursor which also included the name of the person,
> > but as far as I know there is no way to do that with a single query.
>
> That's probably true.
>
> > That is, as far as I can tell, there's no way to do a join via the
> > content provider interface, and permissions prevent us from accessing
> > the contacts database directly via SQL calls. I really hope somebody
> > can prove me wrong!
>
> I will be dealing with a somewhat similar situation later this week,
> when I attempt to join data from a ContentProvider and a SQLite database.
>
> Since what I want in the end is a Cursor, the approach I am trying is to
> use a custom CursorWrapper subclass. It will get handed the Cursor from
> the ContentProvider and will fold in the data from the SQLite database
> on demand as the relevant values are requested. Caching gets a mite
> tricky (gotta remember to flush the cache on requery(), for example),
> but I see no reason it won't work.
>
> --
> Mark Murphy (a Commons Guy)http://commonsware.com
> _The Busy Coder's Guide to Android Development_ Version 1.4 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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---



[android-developers] Re: Hardware & Software question

2008-12-06 Thread whitehexagon

Well it sounds like someone reads these boards after all...

http://www.engadget.com/2008/12/05/sim-hardware-unlocked-android-dev-phone-1-surfaces-for-399/

Although I'm still more tempted by:

http://www.engadget.com/2008/12/03/kogan-intros-worlds-second-android-phone-agora-agora-pro/

But at least we are going to have some testing hardware options
soon :)

So next on the wish list... device-to-device comms.. adhoc wireless
network creation erm and web access to the market place of course :)

Well, feels like a step in the right direction anyway.

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



[android-developers] Re: G1 linux

2008-12-06 Thread David Turner
I forgot to add that accessing bluez directly is only possible from native
code, which is not officially
supported by official system images like the one on the G1.

For "normal" applications, we provide a Java Bluetooth API wrapping bluez,
but which currently covers only
a small subset of the stack. Hopefully, this should expand progressively as
time goes, though I have no ETA for
new related features.

On Sat, Dec 6, 2008 at 12:08 AM, David Turner <[EMAIL PROTECTED]> wrote:

> the Bluetooth stack used in Android is bluez, i.e. the same one than
> standard Linux distributions, if that can help.
>
> and, this just in, you may consider buying an unlocked and flashable
> Android developer device for your project.
> This is the same hardware than the G1 but will allow you to add any kind of
> native code to the system.
>
> see http://code.google.com/android/dev-devices.html
>
> hope this helps,
>
>
> On Tue, Nov 18, 2008 at 3:22 PM, Rui Freitas <[EMAIL PROTECTED]>wrote:
>
>> Hum, ok. But what i am trying to do is some kind of API to work with the
>> Bluetooth, cause i need to connect the G1 with some heart rate sensors via
>> bluetooth. So if it is linux i can do it, but if not, i don't know how to do
>> it.
>> So i don't wanna make an application. Is this possible?
>>
>>
>> On Tue, Nov 18, 2008 at 4:07 PM, Diego Torres Milano <[EMAIL 
>> PROTECTED]>wrote:
>>
>>>
>>>
>>>
>>> On Nov 18, 11:51 pm, Rui Freitas <[EMAIL PROTECTED]> wrote:
>>> > Hi,
>>> >
>>> > I wanna now if is it possible to program for the G1 like a linux
>>> > device. If so, how can i do it? Where can i find that kind of
>>> > information?
>>> Android is based on a Linux kernel but strictly speaking it's not
>>> Linux. Android has no native windowing system, no glibc support and
>>> doesn't include all of the libraries and utilities usually available
>>> in a Linux system.
>>> >
>>> > Thanks,
>>> > Rui
>>>
>>>
>>
>> >>
>>
>

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



[android-developers] Re: G1 linux

2008-12-06 Thread David Turner
the Bluetooth stack used in Android is bluez, i.e. the same one than
standard Linux distributions, if that can help.

and, this just in, you may consider buying an unlocked and flashable Android
developer device for your project.
This is the same hardware than the G1 but will allow you to add any kind of
native code to the system.

see http://code.google.com/android/dev-devices.html

hope this helps,

On Tue, Nov 18, 2008 at 3:22 PM, Rui Freitas <[EMAIL PROTECTED]> wrote:

> Hum, ok. But what i am trying to do is some kind of API to work with the
> Bluetooth, cause i need to connect the G1 with some heart rate sensors via
> bluetooth. So if it is linux i can do it, but if not, i don't know how to do
> it.
> So i don't wanna make an application. Is this possible?
>
>
> On Tue, Nov 18, 2008 at 4:07 PM, Diego Torres Milano <[EMAIL PROTECTED]>wrote:
>
>>
>>
>>
>> On Nov 18, 11:51 pm, Rui Freitas <[EMAIL PROTECTED]> wrote:
>> > Hi,
>> >
>> > I wanna now if is it possible to program for the G1 like a linux
>> > device. If so, how can i do it? Where can i find that kind of
>> > information?
>> Android is based on a Linux kernel but strictly speaking it's not
>> Linux. Android has no native windowing system, no glibc support and
>> doesn't include all of the libraries and utilities usually available
>> in a Linux system.
>> >
>> > Thanks,
>> > Rui
>>
>>
>
> >
>

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



[android-developers] Re: How to create grey menu icons?

2008-12-06 Thread benadamx

if you're asking, how do a create a menu with images, you might try
something like this:

public boolean onCreateOptionsMenu(Menu menu) {
super.onCreateOptionsMenu(menu);
menu.add(0, 1, 0, "Help!")
.setIcon(com.android.superdoodad.R.drawable.icon); //  .. or
whatever you want the menu icon to be
menu.add(0, 2, 0, "Settings")
.setIcon(com.android.superdoodad.R.drawable.icon); // get rid
of this line if you dont want an icon

return true;
}

@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {

case 1:
doSomething();  // or whatever you want the menu
action to be
return true;
case 2:
doSomethingElse"1");
return true;


}
return super.onOptionsItemSelected(item);
}


.. however, if what you're actually asking is, how do i make or use an
image, just make an image however you usually do so, save or export it
as a .png file, and put it in your project's res/drawable folder.


-br







On Dec 5, 12:09 pm, Noonien Soong <[EMAIL PROTECTED]> wrote:
> Hi,
>
> does anyone know what's the easiest way to create new menu icons for
> the gray menu that pops up when you press the menu button ? I want to
> create custom icons with the same consistent look.
>
> I mean the icons that can be found in the SDK and are all named
> "ic_menu_*.png".
>
> Is there some sort of a vector graphics template available ?
>
> Would be great to get that...
>
> Thx!
--~--~-~--~~~---~--~~
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
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~--~~~~--~~--~--~---