[android-beginners] Calender(schedular) source code

2010-03-18 Thread Imran Tanveer
Hello all,
I want to make a calendar(basically a schedular) app.I am unable to find any
source code for it.Can anybody  please help me out.

Thanks in Advance

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] use Facebook in app

2010-03-18 Thread wahib haq
yes i need a login id and password. The benefit of fbconnect api is
that it does it all on its end. so no need to build screens from our
end. the api responses back and we can use the authentication to log
in the user.

On 3/19/10, Kevin Duffey  wrote:
> In order to log in to facebook, wouldn't you need a users login name and
> password for facebook login? Do you ask for that in your app, save it on
> device to use it?
>
> On Thu, Mar 18, 2010 at 10:00 PM, wahib haq  wrote:
>
>> hello dear ! I am having the same issues for past few days. I posted
>> three times on the group but no one replied. its pretty sad for me ...
>> and what you have posted about fbrocket is a new thing for me. I'll
>> check it out. by the way i tried with fbconnect api
>> [http://code.google.com/p/fbconnect-android] but i have tried it on
>> all android versions and what i only see is a blank screen when i try
>> to connect to facebook. I just need to add login functionality using
>> facebook login id and password in my app.
>>
>> help me if you get any solution to this. Thanks in advance.
>> regards,
>> wahib
>>
>> On 3/17/10, Saurabh  wrote:
>> > Hi I want to use facebook api in android app.I have seen
>> > http://www.xeomax.net/fbrocket
>> > api but It open as we bpage.But I want a way where I can customize
>> > Login Screen,Status Post Screen.but not like a web page.
>> > As it found in iPhone.
>> > If there is any way Please suggest me
>> >
>> > --
>> > You received this message because you are subscribed to the Google
>> > Groups "Android Beginners" group.
>> >
>> > NEW! Try asking and tagging your question on Stack Overflow at
>> > http://stackoverflow.com/questions/tagged/android
>> >
>> > To unsubscribe from this group, send email to
>> > android-beginners+unsubscr...@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/android-beginners?hl=en
>> >
>> > To unsubscribe from this group, send email to
>> > android-beginners+unsubscribegooglegroups.com or reply to this email
>> with
>> > the words "REMOVE ME" as the subject.
>> >
>>
>>
>> --
>> Wahib-ul-haq
>>
>> 3rd year Communications Engineering Student,
>> NUST, Pakistan.
>> Microsoft Student Partner
>> follow me on twitter @wahibhaq
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Beginners" group.
>>
>> NEW! Try asking and tagging your question on Stack Overflow at
>> http://stackoverflow.com/questions/tagged/android
>>
>> To unsubscribe from this group, send email to
>> android-beginners+unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/android-beginners?hl=en
>>
>> To unsubscribe from this group, send email to android-beginners+
>> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
>> ME" as the subject.
>>
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscribegooglegroups.com or reply to this email with
> the words "REMOVE ME" as the subject.
>


-- 
Wahib-ul-haq

3rd year Communications Engineering Student,
NUST, Pakistan.
Microsoft Student Partner
follow me on twitter @wahibhaq

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] use Facebook in app

2010-03-18 Thread Kevin Duffey
In order to log in to facebook, wouldn't you need a users login name and
password for facebook login? Do you ask for that in your app, save it on
device to use it?

On Thu, Mar 18, 2010 at 10:00 PM, wahib haq  wrote:

> hello dear ! I am having the same issues for past few days. I posted
> three times on the group but no one replied. its pretty sad for me ...
> and what you have posted about fbrocket is a new thing for me. I'll
> check it out. by the way i tried with fbconnect api
> [http://code.google.com/p/fbconnect-android] but i have tried it on
> all android versions and what i only see is a blank screen when i try
> to connect to facebook. I just need to add login functionality using
> facebook login id and password in my app.
>
> help me if you get any solution to this. Thanks in advance.
> regards,
> wahib
>
> On 3/17/10, Saurabh  wrote:
> > Hi I want to use facebook api in android app.I have seen
> > http://www.xeomax.net/fbrocket
> > api but It open as we bpage.But I want a way where I can customize
> > Login Screen,Status Post Screen.but not like a web page.
> > As it found in iPhone.
> > If there is any way Please suggest me
> >
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
> >
> > NEW! Try asking and tagging your question on Stack Overflow at
> > http://stackoverflow.com/questions/tagged/android
> >
> > To unsubscribe from this group, send email to
> > android-beginners+unsubscr...@googlegroups.com
> > For more options, visit this group at
> > http://groups.google.com/group/android-beginners?hl=en
> >
> > To unsubscribe from this group, send email to
> > android-beginners+unsubscribegooglegroups.com or reply to this email
> with
> > the words "REMOVE ME" as the subject.
> >
>
>
> --
> Wahib-ul-haq
>
> 3rd year Communications Engineering Student,
> NUST, Pakistan.
> Microsoft Student Partner
> follow me on twitter @wahibhaq
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe from this group, send email to android-beginners+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] use Facebook in app

2010-03-18 Thread wahib haq
hello dear ! I am having the same issues for past few days. I posted
three times on the group but no one replied. its pretty sad for me ...
and what you have posted about fbrocket is a new thing for me. I'll
check it out. by the way i tried with fbconnect api
[http://code.google.com/p/fbconnect-android] but i have tried it on
all android versions and what i only see is a blank screen when i try
to connect to facebook. I just need to add login functionality using
facebook login id and password in my app.

help me if you get any solution to this. Thanks in advance.
regards,
wahib

On 3/17/10, Saurabh  wrote:
> Hi I want to use facebook api in android app.I have seen
> http://www.xeomax.net/fbrocket
> api but It open as we bpage.But I want a way where I can customize
> Login Screen,Status Post Screen.but not like a web page.
> As it found in iPhone.
> If there is any way Please suggest me
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscribegooglegroups.com or reply to this email with
> the words "REMOVE ME" as the subject.
>


-- 
Wahib-ul-haq

3rd year Communications Engineering Student,
NUST, Pakistan.
Microsoft Student Partner
follow me on twitter @wahibhaq

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Android tutorial sites

2010-03-18 Thread Gethin Dawson
Tutorial sites are very important for beginners, check out the list of
really good tutorial sites that I found http://bit.ly/aDxGrG

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Can u give some idea

2010-03-18 Thread Mr. sakthi
hello guys,
  Can u give some idea to complete this program

The program will...
1.1 Read from ContractContacts, select the first three contacts with phone
numbers and call each one simultaneously
1.2 The program will determine if the contact; (a) does not answer after a
predefined time, (b) the call goes to voice mail or (c) is answered, (d)
answers and hangs up.
1.3 Program will override the dial intent and provide its own interface for
display status of multiple active calls.
1.4 If the call is answered the program will listen for a numeric tone (the
contact presses numeric response)
1.5 The program will scrape the tone and call a server side via https with
the contact number, name and the tone pressed

Steps 1.1 through 1.3 must be it's own object, named DroidStatus


Thank you.

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Error: An SDK Target must be specified.

2010-03-18 Thread Ray Tayek

At 11:19 PM 3/17/2010, you wrote:

...
I entered the project name.
step 2:
Then the new project window highlighting the error "An SDK 
Target must be specified". But i can't enable the "Build SDK" Group Box.


How to over come this this problem. I hope u can solve this 
problem.plz point out me to the simple error.

   Thank you...


you need to make a target first under window|Android SDK and AVD 
Manager. click on virtual devices and make one.


then you can create a new android project.

thanks

---
co-chair http://ocjug.org/

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.


Re: [android-beginners] Is there any book on rails?

2010-03-18 Thread Kevin Duffey
Why do you need to learn Rails for Android? Curious...

On Thu, Mar 18, 2010 at 2:51 PM, Greg Donald  wrote:

> On Wed, Mar 17, 2010 at 7:43 AM, Gordons  wrote:
> > Hello everyone!
> > I just joined the group. I am very new to Android and i am looking for
> > any ebook that can help me in my learning Ruby and as well Rails.
>
> http://ruby-doc.org/docs/ProgrammingRuby/
>
>
> http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition
>
>
> --
> Greg Donald
> destiney.com | gregdonald.com
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe from this group, send email to android-beginners+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Your feedback on Samples/Tutorials/Articles

2010-03-18 Thread Megha Joshi
Hi everyone,

As many of you might have noticed by now, we have added a new
Resourcestab under
developer.android.com. It contains samples, tutorials and technical
articles. We want your feedback to add more samples and tutorials to
it.. Please add/vote topics for new samples and tutorials at the link
here.
Please be very specific (like mentioning API or package or feature or tool
names) when you submit a suggestion.

Thanks for your feedback in helping us improve our Android developer
resources.

-Megha

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Passing ArrayList of objects to a ListView?

2010-03-18 Thread TreKing
On Thu, Mar 18, 2010 at 1:32 PM, Mark Freeman
wrote:

> I'm having
> trouble determining the best way (or any way for that matter) for me
> to pass the ArrayList of Customers to a new Activity
>

Have you Customer class implement Parcelable, define the methods to convert
the class to / from a Parcel, and when you start your activity put your list
of contacts in the intent that you use to start the activity.

-
TreKing - Chicago transit tracking app for Android-powered devices
http://sites.google.com/site/rezmobileapps/treking

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Is there any book on rails?

2010-03-18 Thread Greg Donald
On Wed, Mar 17, 2010 at 7:43 AM, Gordons  wrote:
> Hello everyone!
> I just joined the group. I am very new to Android and i am looking for
> any ebook that can help me in my learning Ruby and as well Rails.

http://ruby-doc.org/docs/ProgrammingRuby/

http://www.pragprog.com/titles/rails3/agile-web-development-with-rails-third-edition


-- 
Greg Donald
destiney.com | gregdonald.com

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Can't dispatch DDM chunk error

2010-03-18 Thread Xavier Ducrohet
First, you can ignore "DDM dispatch reg wait timeout", it's a benign error.

What's more problematic is the line
ActivityManager: java.lang.NullPointerException

It looks like the activity Manager fails to launch your app's
activity. Can you check the logcat output, there's probably the full
exception stack with more info.

Xav

On Wed, Mar 17, 2010 at 1:38 AM, anu cm  wrote:
> Hi, I am new to the Android.   When i am trying to run my first
> android project, HelloAndroid  i find some problems such as..
>
>
> ActivityManager: DDM dispatch reg wait timeout
> [2010-03-17 11:38:44 - HelloAndroid] ActivityManager: Can't dispatch
> DDM chunk 52454151: no handler defined
> [2010-03-17 11:38:44 - HelloAndroid] ActivityManager: Can't dispatch
> DDM chunk 48454c4f: no handler defined
> [2010-03-17 11:38:45 - HelloAndroid] ActivityManager: Can't dispatch
> DDM chunk 46454154: no handler defined
> [2010-03-17 11:38:45 - HelloAndroid] ActivityManager: Can't dispatch
> DDM chunk 4d505251: no handler defined
> [2010-03-17 11:40:33 - HelloAndroid] ActivityManager: Starting: Intent
> { act=android.intent.action.MAIN
> cat=[android.intent.category.LAUNCHER]
> cmp=com.example.helloandroid/.HelloAndroid }
> [2010-03-17 11:40:43 - HelloAndroid] ActivityManager:
> java.lang.NullPointerException
>
>
> Now what can i do ?
> Can someone help me to solve this??
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe from this group, send email to 
> android-beginners+unsubscribegooglegroups.com or reply to this email with the 
> words "REMOVE ME" as the subject.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Error: An SDK Target must be specified.

2010-03-18 Thread Xavier Ducrohet
What do you mean you cannot enable the box? I don't think it's ever disabled.

On Wed, Mar 17, 2010 at 11:19 PM, Mr. sakthi  wrote:
> Hello guys,
>   I'm a android beginner. And I'm using the latest vertsion of the
> Android SDK with Eclipse.the problem is While creating the new android
> project,
>
> step 1:
>     I entered the project name.
> step 2:
>     Then the new project window highlighting the error "An SDK Target
> must be specified". But i can't enable the "Build SDK" Group Box.
>
> How to over come this this problem. I hope u can solve this problem.plz
> point out me to the simple error.
>    Thank you...
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscribegooglegroups.com or reply to this email with
> the words "REMOVE ME" as the subject.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] No resource found that matches the given name (at 'entries' with value '@arrays/items').

2010-03-18 Thread anushree
main.xml

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




This is returning the following error...
error: Error: No resource found that matches the given name (at
'entries' with value '@arrays/items').

please help me cuz i am trying to design this ui for my project.. and
i can't really do anything more untill this is solved
thank you

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] how can i write a Broadcast Receiver that will be invoked when user clicks on any application icon.

2010-03-18 Thread mike
hai every one,

i have a query.
how can i write a Broadcast Receiver that will be invoked when user
clicks on any application icon.

i tried by writing





but it is not called.


i tried,
by using Packagemanager i will get ApplicationInfo from that i can
know all the application starting activity name and package names. i
thought i can use them to registerReceiver
and my receiver will listen by its launching activity and package
name.
but i strucked.. i am unable to do that.. i think i lost the way..
please guide me...

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Android Resources for Application development

2010-03-18 Thread Fred Grott(Android Developer, http://mobilebytes.wordpress.com)
I completed a Google Knol article on Android Resources for Application
Development:

http://knol.google.com/k/fred-grott/android-resources-for-application/166jfml0mowlh/12#


Hopefully, it is useful

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Passing ArrayList of objects to a ListView?

2010-03-18 Thread Mark Freeman
Hi everyone. Please bare with me as I am very new to Android. I've
looked around and seem to only find hard to understand and conflicting
answers to this question.

I have a program reading a web service and creating an ArrayList of
'Customers', each of which contain a nested ArrayList of 'Contacts'.
There is data associated with each customer as well as each of the
customer contacts.  I need to pass the entire customers ArrayList to a
listview, that I then will want to pass contacts out from. I'm having
trouble determining the best way (or any way for that matter) for me
to pass the ArrayList of Customers to a new Activity (the ListView).
Any hints you all can offer would be appreciated!

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: Serial Data Transfer via Bluetooth

2010-03-18 Thread Lovers v. Haters
I agree-- Amarino is pretty useful.  I'm doing a project that uses
Amarino to transmit strings of data over XMPP.  (Google put the kibosh
on making your own jabber client, but I found a useful JAR to get
around it.)  Put Amarino together with XMPP and your device becomes a
great transmitter for broadcasting microcontroler status anywhere
instantly.

If you're interested in going that route, check out (in addition to
Amarino)
1) Asmack (Jabber hack for 1.5 and 1.6-- not sure about 2.0)
http://github.com/rtreffer/asmack
2) ChatStar (which I wrote cobbling Amarino and Asmack together)
http://github.com/harlo/ChatStarr/

Thanks,
Harlo/Lovers v. Haters

On Mar 17, 5:14 pm, DonFrench  wrote:
> Then we are out of my comfort zone.  You might check this site 
> though,http://www.amarino-toolkit.net/documentation.html.  According to
> Bonifaz Kaufmann, the developer of Amarino, they are communicating via
> Bluetooth SPP with   the following devices, all pre 2.0.
>
>     * HTC Dream (aka T-Mobile G1, firmware 1.1, 1.5 and 1.6)
>     * HTC Magic (firmware 1.5 and 1.6)
>     * HTC Tattoo (firmware 1.6)
>     * Huawei U8220 (aka T-Mobile Pulse, firmware 1.5)
>     * (partially tested) Samsung Galaxy (firmware 1.5)
>
> You can find the entire source code of Amarino 
> here:http://code.google.com/p/amarino/
> and it includes all the Bluetooth related stuff as well.  Good luck.
>
> On Mar 17, 12:05 pm, BobG  wrote:
>
> > Hi Don. I think you need 2.0 or higher to run the bluetooth chat
> > example.. wish it wasnt so... I have a dev phone 2 (Google Ion? Does
> > it have other names? HTC something? TI something?) with 1.6. Someone
> > know how to use the bt backport examples? What dir do I put the jar
> > file in?
>
>

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Re: Audio Processing

2010-03-18 Thread Jon 'maddog' Hall
Bob,

>I consider myself an Expert doing digital signal acquisition and
>processing on microcontrollers an PCs in c. Last few weeks I've found
>out that non of that helps me learn java. Zilch. Zero. Nada. I bet
>they used c in phones 10 years ago. Whose idea was it to switch
>everything to java?!?

I can speak about why people would use JAVA at the system level, since
at the system level you know what the OS is and what the hardware
architecture is.

But anything that you have to download to zillions of phones running
different OSes on different hardware architectures, JAVA is probably a
fair choice of language.

They used "C" in phones ten years ago because memory was too expensive
and processors were too slow for JAVA.

md

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] using java classes

2010-03-18 Thread Niaz Habib
Android does like Java classes. Android is implemented in Java. Assuming you
have learned Java (or any other typed language), You just have to specify a
type when you declare a variable. So rewrite the line as:

Date date = new Date();

Also, make sure you import the class as

import java.util.Date;



On Wed, Mar 17, 2010 at 4:14 PM, Alex Hall  wrote:

> Hi all,
> As an exercise, I am trying to add a date field to the database in
> notepadv2 (the tutorial), and methods to sort or reverse sort notes by
> date modified. However, I am not getting anywhere after trying to add
> the Date and DateFormat objects to my application. I have imported
> java.util.* and java.text.DateFormat, but I get an error that, for
> example:
> date=new Date();
> cannot find variable date
>
> Does android not like java classes? Thanks.
>
> --
> Have a great day,
> Alex (msg sent from GMail website)
> mehg...@gmail.com; http://www.facebook.com/mehgcap
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Method called when hilighting a ListView item

2010-03-18 Thread Gérald Gounot
Hello there,

I implemented an activity by extending ListActivity. In this class, I
overrided onListItemClick() in order to perform some actions when the
user clicks on list items. There is no problem about that.
Nevertheless, I'd like to perform actions when the user only focus an
item. In fact, my goal is to enlarge the new focused item.

I tried onItemSelected() from the AdapterView.OnItemSelectedListener
interface and onFocusChanged() from AbsListView() but both don't seem
to be called.

After many searches, I was not able to find the solution. I thought it
would be straightforward...

Can you help me about that?

Many thanks!

--
Gérald Gounot

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] setting prioritys on buttons

2010-03-18 Thread jony
Hello Android Developers,

I am trying to figure out how to set priorities on imagebutton.  I
want to have a layout with a bunch of Icon or buttons that can be
selected either by touch, radio, or checked box.  As these images are
selected they are set on queue to be displayed in order of
Precedence.
(that is to be pre-determined). The images are displayed once the
main
action button is touched.


Any help will be greatly appreciated.


Thank you,

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Is there any book on rails?

2010-03-18 Thread Gordons
Hello everyone!
I just joined the group. I am very new to Android and i am looking for
any ebook that can help me in my learning Ruby and as well Rails.
Thanks Everyone.

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: Audio Processing

2010-03-18 Thread dario
DSP in Java has been available for over 10 years, it's just quite
different with embedded and mobile devices for obvious performance and
power reasons (vs in C).

But don't despair, with the JNI API (also available for as long) you
can reuse your C expertise and call C code from Java.  Check out
Google's NDK (available from the same place as the SDK). And although
it doesn't allow access to the media library yet (officially that is)
you can pass the data back and forth to Java after processing in C.

hope that helps,
Dario

On Mar 17, 2:59 pm, BobG  wrote:
> I consider myself an Expert doing digital signal acquisition and
> processing on microcontrollers an PCs in c. Last few weeks I've found
> out that non of that helps me learn java. Zilch. Zero. Nada. I bet
> they used c in phones 10 years ago. Whose idea was it to switch
> everything to java?!?

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Re: Prevent uninstallation of app?

2010-03-18 Thread Jon 'maddog' Hall
>In theory... how many users use a single cell phone?  Even if I let
>someone else use my phone, I don't have a way to let my phone know
>that it should currently be in "different-user-mode".

Ahhh, theory and practice.

In theory, in a lot of emerging economies there are "phone companies"
made up of a single person who has a cellular phone, receives a call,
then carries it to the house of the call recipient.  The call recipient
then pays the "phone company" for the service.

If a person wants to make a call, they go to the home of the "phone
company", and pay a small amount of money to make the call.

In the world of micro-loans and micro-business this model is well known.

In theory, there is also the concept of having "loaner phones" with
multiple SIMS.  You buy the SIM and put it in, renting the phone itself.

In theory it would be nice to have the phone recognize that the person
(or SIM) that installed the application is not the one that is trying to
remove or replace it.

In practice whether there is enough market demand for something like
this might determine whether or not someone actually puts that security
into the code and distributes it.

Warmest regards,

maddog

-- 
Jon "maddog" Hall
Executive Director   Linux International(R)
email: mad...@li.org 80 Amherst St. 
Voice: +1.603.672.4557   Amherst, N.H. 03031-3032 U.S.A.
WWW: http://www.li.org

Board Member: Uniforum Association
Board Member Emeritus: USENIX Association (2000-2006)

(R)Linux is a registered trademark of Linus Torvalds in several
countries.
(R)Linux International is a registered trademark in the USA used
pursuant to a license from Linux Mark Institute, authorized licensor of
Linus
   Torvalds, owner of the Linux trademark on a worldwide basis
(R)UNIX is a registered trademark of The Open Group in the USA and other
countries.

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: How can I catch a "ring" event?

2010-03-18 Thread Andreas
Hi,

In TelephonyManager there's a method called listen. If you provide
that with a PhoneStateListener, you can use the callback method
onCallStateChanged to listen to the events CALL_STATE_IDLE,
CALL_STATE_RINGING and CALL_STATE_OFFHOOK.

Good luck!

Andreas

On Mar 12, 11:17 pm, df  wrote:
> Hi android developers!
>
> I'm clearly a newb, and I was wondering if anyone knows how I can
> detect a "ring" event on my cellphone through the android sdk?
>
> If you want to simply point me to a page in the api documents that
> would be a good answer for me, I just don't know how to start my
> research!

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] MMS

2010-03-18 Thread Chitra MCA
HI

  Using content provider("content://mms/"  "content://mms/
part") i am getting MMS details.i.e., Subject, Txt Message,
Attachment. These details are getting from SQLite database. Same like
how can getting mms sender,receiver phone number. In SQLite DB, we
have "addr" table. its containing sender, receiver phone number. But
whenever i try to access this table("content://mms/addr"), the cursor
value is null. How can getting mms sender/Receiver phone number???


Thanks,
Chitra

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: Serial Data Transfer via Bluetooth

2010-03-18 Thread Ben
I've attempted to use the unofficial Bluetooth API for 1.6, got
through finding the adapter and the remote device, but could not open
an RFCOMM socket.  You should be able to put the Jar anywhere as long
as Eclipse--if that is what you are developing on--points to it.
There are instructions on how to external libraries on the android
developer site:

http://developer.android.com/guide/appendix/faq/commontasks.html

Though google advises against using these to future proof your app.

On Mar 17, 3:05 pm, BobG  wrote:
> Hi Don. I think you need 2.0 or higher to run the bluetooth chat
> example.. wish it wasnt so... I have a dev phone 2 (Google Ion? Does
> it have other names? HTC something? TI something?) with 1.6. Someone
> know how to use the bt backport examples? What dir do I put the jar
> file in?

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] how to use touch screen on the emulator

2010-03-18 Thread mamila
Hi all,
my friend is trying to develop locale application that recognizes text
entry using a touch screen input method. unfortunately, he was unable
to figure out how to change the input method to touch screen.
can anyone give us some suggestion on how to start the touch screen
input method on the android emulator? we are currently using the 1.5
version
thanks

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: RSS feeds

2010-03-18 Thread quarkus
Hello Folks,

i am trying to implement the NewsDroid (http://www.helloandroid.com/
tutorials/newsdroid-rss-reader) but i can´t get it to work.
obviously it has been written under an older sdk Version.

anyone who has a version which works under the current sdk ?

i would really love to work with this but the app keeps on crashing
when returning values from "ResultActivities" ..

regards
markus


On 14 Mrz., 19:23, Juan Pablo Berrocal  wrote:
> Hi, maybe this links could help you
>
> http://www.ibm.com/developerworks/edu/x-dw-x-androidrss.htmlhttp://www.helloandroid.com/tutorials/newsdroid-rss-reader

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] layout-land with onConfigurationChanged

2010-03-18 Thread Ben
I'm new to this group and I've got one thing that's been bugging me.

In my application, I want to override the default reorientation from
androids for two reasons:

1) my main view is animated and the redraw routine checks for changes
in the screen height

2) It is faster to not reload everything again

3) My application allows users to decide what positions they would
like things in, and I would like the positions to be proportional to
the last position before the orientation switch, not in the default
position  I know, onSaveInstanceState, but again it is faster to just
let the refresh routine handle the changes.

Anyway, I have a bunch of custom menus that reside in both the layout
and layout-land folders.  I would like the program to take the proper
menu based on that, but it doesn't.  So I'm looking for the method
that is called somewhere between onCreate and onResume that tells the
program which xml documents to use.  I don't really want to have to
change the views programmatically, because that would create some
extra overhead.  I also do not want to work around by creating two
versions in the ./../layout folder--though this is the option I'm
looking at right now.

Any help is greatly appreciated!  and I've already searched through a
lot of the Android Docs for this to no avail.

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Can't dispatch DDM chunk error

2010-03-18 Thread anu cm
Hi, I am new to the Android.   When i am trying to run my first
android project, HelloAndroid  i find some problems such as..


ActivityManager: DDM dispatch reg wait timeout
[2010-03-17 11:38:44 - HelloAndroid] ActivityManager: Can't dispatch
DDM chunk 52454151: no handler defined
[2010-03-17 11:38:44 - HelloAndroid] ActivityManager: Can't dispatch
DDM chunk 48454c4f: no handler defined
[2010-03-17 11:38:45 - HelloAndroid] ActivityManager: Can't dispatch
DDM chunk 46454154: no handler defined
[2010-03-17 11:38:45 - HelloAndroid] ActivityManager: Can't dispatch
DDM chunk 4d505251: no handler defined
[2010-03-17 11:40:33 - HelloAndroid] ActivityManager: Starting: Intent
{ act=android.intent.action.MAIN
cat=[android.intent.category.LAUNCHER]
cmp=com.example.helloandroid/.HelloAndroid }
[2010-03-17 11:40:43 - HelloAndroid] ActivityManager:
java.lang.NullPointerException


Now what can i do ?
Can someone help me to solve this??

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-18 Thread Andreas
Hi,

What you want to do is to open a HttpURLConnection to the URL
specified, and then open an OuputStream towards that connection. Then
you open an InputStream from the File you want to send, and transfer
the data from the File InputStream to the Http OutputStream. Easy as
π ;)

Andreas

On Mar 17, 1:45 am, KC Dev Android 06
 wrote:
> Hi, as the title says, is it possible to do so? in the examples found
> herehttp://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4
>
> It seems that HttpClient only accepts a String as its parameter? how
> do i go about sending/uploading a xml file using http?
>
> thanks in advance.

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] use Facebook in app

2010-03-18 Thread Saurabh
Hi I want to use facebook api in android app.I have seen
http://www.xeomax.net/fbrocket
api but It open as we bpage.But I want a way where I can customize
Login Screen,Status Post Screen.but not like a web page.
As it found in iPhone.
If there is any way Please suggest me

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Error: An SDK Target must be specified.

2010-03-18 Thread Mr. sakthi
Hello guys,
  I'm a android beginner. And I'm using the latest vertsion of the
Android SDK with Eclipse.the problem is While creating the new android
project,

step 1:
I entered the project name.
step 2:
Then the new project window highlighting the error "An SDK Target
must be specified". But i can't enable the "Build SDK" Group Box.

How to over come this this problem. I hope u can solve this problem.plz
point out me to the simple error.
   Thank you...

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Can I get design doc on Audio Flinger

2010-03-18 Thread MuNNa
Hi

I Want to understand the audioflinger and the audio HAL in android 25E.
16. Is there any document on this. Any suggestion is appreciated.

Thanks in advance

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Re: Terminal type text output for debugging?

2010-03-18 Thread Xavier Ducrohet
No, logcat is output to your development computer.
Either in a terminal (see
http://developer.android.com/intl/fr/guide/developing/tools/adb.html#logcat)
Or in DDMS (see:
http://developer.android.com/intl/fr/guide/developing/tools/ddms.html)
or in the eclipse plug-in (open the DDMS perspective).

xav

On Thu, Mar 18, 2010 at 12:52 PM, BobG  wrote:
> Log files are redirected to a file, right? Anyway to write to the
> screen?
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>
> To unsubscribe from this group, send email to 
> android-beginners+unsubscribegooglegroups.com or reply to this email with the 
> words "REMOVE ME" as the subject.
>



-- 
Xavier Ducrohet
Android SDK Tech Lead
Google Inc.

Please do not send me questions directly. Thanks!

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] احصل على اجدد الأ فلام والبرامج والأخبار والألعاب من هنا

2010-03-18 Thread alagmy
احصل على اجدد الأفلام والبرامج والأخبار والألعاب من هنا

سجل معنا واحصل على اجدد البرامج والألعاب والأفلام العربيه والأجنبيه
والأخبار (الحوادث - الفن والفنانين - الأخبار )حصريا

ونرحب بالأعضاء النشيطين معنا لتشارك باقى الأعضاء الردود والمواضيع
الحصريه

سجل من هنا

http://www.agd3as7ab.com/vb/register.php

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: Terminal type text output for debugging?

2010-03-18 Thread BobG
Log files are redirected to a file, right? Anyway to write to the
screen?

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


[android-beginners] Re: Android sounds

2010-03-18 Thread BobG
I get the idea from looking at the docs that tonegenerator makes it
easy to use one of the listed tones, but not so easy to just play
1khz. Didnt see any spec for starttone(freq, duration) for example
I just used cooledit to generate a wav file (it has a tone generator
function) and play it as a resirce.

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

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

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

To unsubscribe from this group, send email to 
android-beginners+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.


Re: [android-beginners] Re: Slowing down gesture builder?

2010-03-18 Thread Tim
Thanks Dave!
That's exactly what I did. I made a copy of it like you mentioned (I had to
change the name of the new project since it wouldn't let me a second
GestureBuilder) with the updated fadeOffset but that didn't work.

To get an idea of what I'm doing.
I was writing a chinese character that had 5 strokes.
I took my finger off after the first stroke and the image disappeared.
I quickly wrote the first stroke again and as fast as I could I wrote the
2nd stroke.
Both strokes now stayed on the screen.
I paused for a second and wrote a 3rd stroke. The first 2 disappeared and
only the 3rd was visible now.
Even if I tried to do all 3 strokes really quickly it didn't work.
So messing with the fadeOffset I set that to 5seconds which should have been
plenty of time.
But the same thing happened again.
Tonight when I get home, I'll change the app_name (I'm not sure why I didn't
do that earlier) just to make sure that it is actually running my new config
but that's the behavior that I was seeing.

On Sat, Mar 13, 2010 at 9:22 PM, davemac  wrote:

> I can't tell from your description exactly how you're trying to set
> the option, but here's what worked for me:
>
> If you’re having trouble getting Gestures Builder in the emulator to
> accept a multi-stroke
> gesture, you can create your own version of Gestures Builder and
> modify the default
> value of FadeOffset. GestureBuilder is provided as a sample
> application under your
> Android SDK directory, in platforms/android-2.0/samples/
> GestureBuilder. You can
> create a new Android project in Eclipse using the “Create project from
> existing sample”
> option and choosing GestureBuilder from the drop-down menu. Then go
> into the
> project’s /res/layout/create_gesture.xml file and add the attribute
> android:fadeOffset="1000" to the GestureOverlayView element. This will
> extend
> FadeOffset to 1 second (1000 milliseconds). You are free to choose a
> different value if
> you wish.
>
> - dave
> www.androidbook.com
>
> On Mar 9, 12:45 am, Tim  wrote:
> > Is there a way to slow down gesture builder?
> > I tried overriding the fadeXXX options of GestureOverlayView but no luck.
> > My problem right now is that I'm trying to input a gesture with a lot of
> > strokes.
> > But the timeout is too short to get them all inputed.
> > If I'm quick enough I can get 2 strokes in but as soon as I try a 3rd,
> the
> > first 2 will disappear.
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en
>

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

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

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

[android-beginners] Re: possible to send an xml file via HttpClient?

2010-03-18 Thread KC Dev Android 06
Hi, i have managed to figure out how to send an xml file using
httpPost.

my next question is how do i do the reverse i.e download a file but
this time using HttpGet.

So far am i on the right track in doing this?

httpclient = new DefaultHttpClient();

// Prepare a request object
get = new HttpGet(url);

// Execute the request
HttpResponse response;

try {
response = httpclient.execute(get);

Log.d(TAG, "Response code = " +
response.getStatusLine().toString());

HttpEntity entity = response.getEntity();

InputStream is = entity.getContent();

FileOutputStream fOut = 
context.openFileOutput(fileName,
context.MODE_WORLD_READABLE);


As you can see, i have stored the contents of the entity in a
inputstream and i plan to read it byte by byte and transfer the bytes
into the file output stream object i created just above. is this the
way to do it?

Is their an easier way of simply downloading the whole file and just
specify the destination?


On Mar 17, 3:24 pm, KC Dev Android 06
 wrote:
> damm i just reported one of your posts as spam  by accident. mods
> ignore that request!
>
> On Mar 17, 3:22 pm, KC Dev Android 06
>
>  wrote:
> > i dont know specificaly from the server guys but they said most likely
> > all i need from them is a http url. They have not indicated how they
> > will export the xml stuff but tbh why should i know such things? my
> > task is to simply send them data in a specific format and that format
> > is a xml file customized xml tags that will later be designed.
>
> > All im expecting from them is maybe some call back saying that the
> > data i sent to them is fine. thats all i am expecting and i therefore
> > dont see the need to know exactly what they will do with that xml
> > data.
>
> > i should only be concerned on What data and what format they want from
> > the android device.
>
> > I will check out the above links and see how far that goes for me. i
> > just wanted to know really if its possible to send an xml file via
> > http. If not then i may need to do it via socket connection.
>
> > On Mar 17, 3:03 pm, Chris Ross  wrote:
>
> > >   But, do you know exactly what sort of HTTP operation is expected by the 
> > > server, and how it expects the "xml file" to be encoded and transmitted?  
> > > If you do not know these answers, very precisely, you won't know how to 
> > > code you client.
>
> > >   As for HTTP and your second question, 
> > > seehttp://www.w3.org/Protocols/rfc2616/rfc2616.htmlandaquick google 
> > > findshttp://www.jmarshall.com/easy/http/whichmightbe at least as valuable.
>
> > >                - Chris
>
> > > On Mar 17, 2010, at 10:50 AM, KC Dev Android 06 wrote:
>
> > > > The server basically expects the contacts stored on a android device
> > > > in an xml file.
>
> > > > So in a HTTP get operation i can send any parameters i want be in a
> > > > xml file, string, int etc?
>
> > > > On Mar 17, 2:44 pm, Chris Ross  wrote:
> > > >>   You can send parameters encoded in the url of an HTTP GET operation, 
> > > >> but I wouldn't suggest using anything long.  I would suggest using an 
> > > >> HTTP POST operation, or if you actually want to treat it as a file, 
> > > >> rather than a "blob of XML data", an HTTP PUT.  Most any web server 
> > > >> software will know how to handle an HTTP POST, for sure.
>
> > > >>   The question is, what does the server expect?  This is much more an 
> > > >> HTTP question than an android question.
>
> > > >>                           - Chris
>
> > > >> On Mar 17, 2010, at 10:38 AM, KC Dev Android 06 wrote:
>
> > > >>> What im trying to do is simply send a xml file that i have created
> > > >>> into a http server. The way i understand http is that the request and
> > > >>> any kind of data ie a name value pair such as a username can be added
> > > >>> and included in the actual url string.
>
> > > >>> my question is, how do you go about constructing a url connection with
> > > >>> an xml file added to it?
>
> > > >>> On Mar 17, 2:23 pm, Chris Ross  wrote:
> > >    You probably want to look at HttpPost or HttpPut, which implement 
> > >  HttpRequest, which is an available parameter to the execute() method 
> > >  in the HttpClient interface.
>
> > >    Not 100% sure what you're trying to do, but that's the path of 
> > >  investigation I'd suggest.
>
> > >                         - Chris
>
> > >  On Mar 17, 2010, at 5:14 AM, KC Dev Android 06 wrote:
>
> > > > Any suggestions?
>
> > > > On Mar 16, 4:45 pm, KC Dev Android 06
> > > >  wrote:
> > > >> Hi, as the title says, is it possible to do so? in the examples 
> > > >> found
> > > >> herehttp://svn.apache.org/repos/asf/httpcomponents/httpclient/branches/4

Re: [android-beginners] Android sounds

2010-03-18 Thread Mark Murphy
Traveler wrote:
> Is there any example code that shows how to create beep sounds of
> variable tone and duration? Thanks for any advice

There is the ToneGenerator class:

http://developer.android.com/reference/android/media/ToneGenerator.html

You can find some places in the Android source code that uses it. Use
Google Code Search and search on:

package:android ToneGenerator

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

_Android Programming Tutorials_ Version 2.0 Available!

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

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

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


[android-beginners] Android sounds

2010-03-18 Thread Traveler
Is there any example code that shows how to create beep sounds of
variable tone and duration? Thanks for any advice

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

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

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


[android-beginners] Re: setting up eclipse

2010-03-18 Thread Mauricio

On Mar 18, 2:49 am, Justin Anderson  wrote:
> First, this is an Android support group...  Have you tried the eclipse
> forums?
>
> Second, if you were a little more specific we might be able to help you...
> What supporting applications are you talking about?  The only thing I can
> think of that you need to install is the Java JRE.  However, to actually
> program for Android you will also need the JDK.
>
> What specific problems are you running into?
>

  Exactly. I would also suggest to indicate which OS you are using
and how you installed the Eclipse+Android.

> --
> There are only 10 types of people in the world...
> Those who know binary and those who don't.
> --
>
> On Wed, Mar 10, 2010 at 10:52 PM, rbyikes  wrote:
> > I wouldn't consider myself a complete novice to computers, but I can't
> > make heads or tails of the setup instructions for eclipse I can't
> > get any of the supporting application to install properly, I don't
> > even know if they have even been installed. I know this can't be that
> > difficult, but I have no idea what I am even looking at???
>
> > --
> > You received this message because you are subscribed to the Google
> > Groups "Android Beginners" group.
>
> > NEW! Try asking and tagging your question on Stack Overflow at
> >http://stackoverflow.com/questions/tagged/android
>
> > To unsubscribe from this group, send email to
> > android-beginners+unsubscr...@googlegroups.com
> > For more options, visit this group at
> >http://groups.google.com/group/android-beginners?hl=en

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

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

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


[android-beginners] Re: How to know the size of a file in adb shell prompt

2010-03-18 Thread skink


On Mar 17, 5:34 pm, rocky84 rocky84  wrote:
> *Hello all,
>
> i want to extract the size of a file in adb shell using some perl utility.
>
> this works fine for me as below in windows but does not work in adb shell
> prompt (#)
>
> i used this function in windows stat($filename);
>
> can anybody please let me know how can i get file size in #prompt?
>
> regds
> rocky
> *

ls -l filename

l is for long

pskink

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

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

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


Re: [android-beginners] Terminal type text output for debugging?

2010-03-18 Thread Erős Levente
Search for Logcat.
You can use the Log class to write output there:
http://developer.android.com/reference/android/util/Log.html

Greets,
Levente

On Thu, Mar 18, 2010 at 02:51, BobG  wrote:

> I notice when I use setText to output some text to a textview it
> defaults to the top left. What class acts like a terminal window or
> stdout? Would be useful for debugging I think. (Old c programmer
> trying to grok java)
>
> --
> You received this message because you are subscribed to the Google
> Groups "Android Beginners" group.
>
> NEW! Try asking and tagging your question on Stack Overflow at
> http://stackoverflow.com/questions/tagged/android
>
> To unsubscribe from this group, send email to
> android-beginners+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-beginners?hl=en

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

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

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

[android-beginners] Re: Email Accounts

2010-03-18 Thread Ali Asghar
What about the AccountManager in sdk 2.0?

On Mar 17, 8:12 pm, Mark Murphy  wrote:
> Ali Asghar wrote:
> > Is there any way that i can access the email accounts that are saved
> > in the default email client of android.
>
> The email applications are not part of the official SDK.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://twitter.com/commonsguy
>
> Android App Developer Books:http://commonsware.com/books

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

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

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