[android-beginners] Re: Question regarding Contact Application [Android SDK 2.1]

2010-04-06 Thread AJ
Any clue please.

- AJ

On Apr 3, 10:17 pm, AJ ajeet.invinci...@gmail.com wrote:
 Hi Group,

 I want to launch Contact application with some fields filled with data
 I have passed from my application.

 I am able to pass Name, Phone number and Emails. But the problem is :-

 1- I am not able to pass more that 3 phone number. How Can I do that?
 2- I am not able to pass Fields in the more section, which is an
 expandabale list. How can I pass to the fields which are present in
 more section
 3- I am also ot able to pass Postal Address and Organization.

 Can anybody please tell me the correct Intent for those?

 My code is as follows :-

 
 Intent i = new Intent(Intent.ACTION_INSERT,People.CONTENT_URI);

 i.putExtra(ContactsContract.Intents.Insert.NAME, Android);
 i.putExtra(ContactsContract.Intents.Insert.PHONE,  11);

 i.putExtra(ContactsContract.Intents.Insert.PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_MOBILE);

 i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE,
 22);

 i.putExtra(ContactsContract.Intents.Insert.SECONDARY_PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_HOME);

 i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE,  33);

 i.putExtra(ContactsContract.Intents.Insert.TERTIARY_PHONE_TYPE,ContactsContract.CommonDataKinds.Phone.TYPE_WORK);

 

 Thanks,
 AJ

-- 
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, reply using remove me as the subject.


[android-beginners] Re: Problem in implementing OnClickListener of a button inside linearlayout

2010-04-06 Thread a2ronus
Did you add the other Activity to the AndroidManifest.xml?


On 2 apr, 04:39, Sebastián Treu sebastian.t...@gmail.com wrote:
 On Thu, Apr 1, 2010 at 12:35 PM, Akiduki xyy1...@gmail.com wrote:

 Intent intent = new Intent(RatingPlayer.this.getApplication(),Inplayer.class);

 Sure this line is correct?

 --
 If you want freedom, compile the source. Get gentoo.

 Sebastián Treuhttp://labombiya.com.ar

-- 
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: Real beginner stuff

2010-04-06 Thread Alan Gauld

Thanks for the help folks.
No doubt I'll have plenty more questions as I dig into
this thing and start writing code. :-)

Alan G.


Justin Anderson janderson@gmail.com wrote in message 
news:i2ld3860c2f100405x167841d8wa88cb0e05ad3a...@mail.gmail.com...
The firmware version is the version of Android on your phone... so it 
sounds

like you are running the latest and greatest.  I wish the G1 would get
updated!
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
--


On Mon, Apr 5, 2010 at 4:14 PM, wahib haq wahib.t...@gmail.com wrote:


hi !

This might be helpful for u --
http://developer.android.com/guide/developing/device.html

On 4/6/10, wahib haq wahib.t...@gmail.com wrote:
 hey alan,

 I dont thing there is any user's forum. People do ask questions here
 regarding phone usage issues and features. I dont have 1 yet so nvr
 asked one :) well i searched for reviews on samsung galaxy S and on
 this -

http://twittown.com/mobile/android/android-blog/samsung-builds-killer-android-smartphone-samsung-galaxy-s

 its clearly written that phone comes up with android 2.1 OS which is
 the latest version. If firmware version shows 2.1 then it must be the
 OS version. and yeah its linux version and in the build option as u
 mentioned, word eclair is version name for android 2.0 sdk. sm1 else
 must comment  explain.

 Have a nice time with ur android !! :)

 regards,
 wahib

 On 4/6/10, Alan Gauld alan.ga...@btinternet.com wrote:
 Just got my Android phone today.
 I have several questions but this looks like primarily a programmers
 forum?
 If so I'll have some questions later, I downloaded the SDK and 
 Eclipse

 ADT yesterday... :-)

 But first, where do I find a users forum?

 Specifically I have read in a review that my Samsung Galaxy Portal
 (GT15700)
 is stuck on Android 1.5 - is that true - how can I check the Android
 version?
 I looked in the settings for the phone and it mentions:

 firmware version - 2.1 update 1  - is this the android version?
 kernel - 2.6.29 - I assume this relates to the Linux kernel version?
 build - ECLAIRXXJCD  - no idea what this signifies!

 Hope you can help,

 --
 Alan Gauld
 Author of the Learn to Program web site
 http://www.alan-g.me.uk/




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

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

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

 To unsubscribe, reply using remove me as the subject.



 --
 Wahib-ul-haq

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



--
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.comandroid-beginners%2bunsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en



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

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

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




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

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

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


[android-beginners] Re: How to connect to a robot.

2010-04-06 Thread Alan Gauld


cellurl gpscru...@gmail.com wrote


I want to control something external using Android.

Q3: Are there any other interfaces I might be missing? GPIO pins or
something? Android robot groups??


Wireless using IP/SSL or Bluetooth?

Just a thought.


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/



--
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, reply using remove me as the subject.


Re: [android-beginners] Re: Remember Password

2010-04-06 Thread Chirayu Dalwadi
I want to store it on handheld

-- 
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, reply using remove me as the subject.


[android-beginners] Re: By when onActivityResult is called??

2010-04-06 Thread DroidBy
Dear Both,

To make a simple example,
activity A will startActivityForResult for activity B. In activity B,
I call setResult() before I call finish(). However this
onActivityResult(..) in activity A is not called once after I call
finish() on activity B. I notice in some extend, this
onActivityResult(..) will be called if user press Back key.

Weird.






On Apr 5, 8:11 pm, Bilal handsomebi...@gmail.com wrote:
  do like this

                                 Bundle bundle = new Bundle();
 bundle.putInt(Close, 1);
  i = new Intent();
 i.putExtras(bundle);
 setResult(RESULT_OK, i);
  finish();

 @Override
  protected void onActivityResult(int requestCode, int resultCode,
             Intent i){

 try{
  if(i!=null){
  Bundle bd = i.getExtras();
  if(bd.getInt(Close) == 1);

  bd.putInt(Close, 1);
  i.putExtras(bd);
  setResult(RESULT_OK, i);

  finish();
   super.onActivityResult(requestCode, resultCode, i);
    }

  }catch(Exception e)
  {
  Toast.makeText(this, e.toString(), Toast.LENGTH_SHORT).show();
  }

  }





 On Mon, Apr 5, 2010 at 3:19 AM, skink psk...@gmail.com wrote:

  DroidBy wrote:
   When onActivityResult(int, int, Intent)  will be called?

   I notice this is not called when I call finish(); on the activity that
   I start with startActivityForResult (Intent intent, int requestCode).

   Does it means the activity is not exit even I call finish() on it?

  did you call setResult(int) in your child Activity?

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

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

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

  To unsubscribe, reply using remove me as the subject.

 --
 Bilal

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

 - Show quoted text -

-- 
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: Registering a reciever for the BOOT_COMPLETE and android:exported attribute

2010-04-06 Thread a2ronus
On 3 apr, 18:47, alexk-il alexk.il.subscripti...@gmail.com wrote:
 On Apr 3, 7:46 pm, alexk-il alexk.il.subscripti...@gmail.com wrote:

  Hi,

  I am trying to understand how the  android:exported=[true,false]
  forks

 Ooops, should be works :)

Maybe those examples use intent filters?

The default value (of android:exported) depends on whether the
broadcast receiver contains intent filters. The absence of any filters
means that it can be invoked only by Intent objects that specify its
exact class name. This implies that the receiver is intended only for
application-internal use (since others would not normally know the
class name). So in this case, the default value is false. On the
other hand, the presence of at least one filter implies that the
broadcast receiver is intended to receive intents broadcast by the
system or other applications, so the default value is true.

-- 
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, reply using remove me as the subject.


[android-beginners] About Android and Java?

2010-04-06 Thread tomy
I am new to Android, and I heard that Android does not cover J2ME, so
that the adoption of Android can avoid the Sun JVM authorization.
Although android replaces traditional JVM with dalvik VM, it still
uses Java language. Does this imply that vendors can use Java language
without payment if they don't use JVM?

I am also curious about in what situations a vendor needs to pay for
using Java technology.


Thanks,
tomy

-- 
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, reply using remove me as the subject.


[android-beginners] Re: Having some trouble with ADT

2010-04-06 Thread g1
It looks to me like Eclipse is not downloading/installing everything
it needs for ADT. It states that there are no new updates for ADT
(after having installed ADT and Android DDMS) however there is no
mention of Android amongst any of the preference settings (which to me
would suggest that ADT is not installed).

I had a go at installing Android SDK and ADT for eclipse on another
compter I have (Ubuntu). Also didn't work but for a different reason.
Installed the Android SDK no problem. Added the repository http://dl-
ssl.google.com/android/eclipse/ to eclipse. It suggested that I
installed Android Dalvik Debug Monitor Service and Android
Developer Tools. I checked both. Clicked on next and eclipse seems to
freeze.

IMO configuring IDE's is often more complicated than actually writing
an app

On Apr 5, 8:44 pm, g1 jeff.l.dav...@gmail.com wrote:
 Hi,

 the ebook says I can set the sdk path by selecting Window 
 Preferences  Android. However if I select Window  Preferences
 there is no option for android.

 On Apr 5, 7:16 pm, jarnaud jark...@gmail.com wrote:

  Hi,

  Go in Preferences and make sure that the SDK location is correct.

  --
  JA, android code snippets for android developpers:http://www.devandro.com

  On Apr 5, 4:10 am, g1 jeff.l.dav...@gmail.com wrote:

   Hi,

   I'm following the instructions on installing the Android SDK and ADT
   from the ebook Hello, Android by Ed Burnette. Everything seems to
   have gone fine up until the point where I select File - New -
   Project.

   My impression is that everything is installed correctly.

   Android SDK packages 
   installed:http://androidforums.com/attachments/developer-101/2688d1270221524-ha...

   Help - Install new software in 
   eclipse:http://androidforums.com/attachments/developer-101/2689d1270221524-ha...

   What is already installed from the previous 
   window:http://androidforums.com/attachments/developer-101/2690d1270221524-ha...

   If I reload Eclipse now and select File - New - Project android
   doesn't appear amongst the options. Also if I go to Window -
   Preferences there is no mention of android.

   To add to the above, the instructions from the ebook are essentially
   the same as:http://developer.android.com/sdk/eclipse-adt.html#installing

   I'm using Eclipse 3.5 (Galileo)

   Any assistance would be great. I'm normally a notepad / gedit coder,
   so I don't have too much experience with eclipse but it shouldn't be
   this hard to get started.

   Thanks,
   g1

-- 
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, reply using remove me as the subject.


[android-beginners] Binding data to a list view and retrieving contact information

2010-04-06 Thread Timothy Passaro
Hey guys, I have a few questions concerning listView and cursors.
First, I know theres a method called bindView(), and I was wondering
if this implies that you can tie extra data to each list item. My
objective is to putExtras() to another activity after a contacts name
is clicked on. I figured that it would be very easy to accomplish if
the data was already in the listview object (or something to that
extent). I am not sure how to go about doing something like this!
Also, concerning cursors and retrieving data. I have code that
actually works to get the contacts of the phone, but I am not sure
exactly what it does, and I do not understand the parameters that
query on a ContentResolver are (ie Projection and such). Anyone have a
nice explanation on how this works? Thanks for any help!

public class MainPage extends ListActivity {

private ListAdapter adapter;
private Cursor c;
private ArrayListString names;


@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
ContentResolver cr = getContentResolver();
c = cr.query(ContactsContract.Contacts.CONTENT_URI, null,
null, null,null);

 names = new ArrayListString();

 while(c.moveToNext()){
 String name =
c.getString(c.getColumnIndex(ContactsContract.Contacts.DISPLAY_NAME));
 String number =
c.getString(c.getColumnIndex(ContactsContract.Contacts.HAS_PHONE_NUMBER));
 if(number.equals(0)) continue;
 names.add(name);
 }

adapter = new ArrayAdapterString(this,
 android.R.layout.simple_list_item_1, names);
setListAdapter(adapter);
getListView().setTextFilterEnabled(true);


}
@Override
public void onListItemClick(ListView l, View v, int position, long id)
{
 super.onListItemClick(l, v, position, id);
 Intent newIntent = new Intent(Intent.ACTION_MAIN);
 newIntent.setClass(this, Summary.class);
 newIntent.putExtra(com.grey.gui.MainPage, banana);
 startActivity(newIntent);
}

}

-- 
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, reply using remove me as the subject.


[android-beginners] Ellipsize not working

2010-04-06 Thread Aviral
Hi. I am facing an issue.
I created the notification that should work for any application(e.g.
bluetooth, SMS etc)
In the layout, the code is thus
android:singleLine=true
android:ellipsize=end

The text that is received is ticker as well.

When any notification is received, instead of ellipsizing it, the part
that does not fit in one line is truncated.
i.e. if the line is There are a lot of good things in universe, it
will show as There are lot of 
instead of There are lot of ...

Do Ticker text and ellipsize contradict each other?


Thanks a lot

-- 
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, reply using remove me as the subject.


Re: [android-beginners] Ellipsize not working

2010-04-06 Thread Mark Murphy

 Hi. I am facing an issue.
 I created the notification that should work for any application(e.g.
 bluetooth, SMS etc)
 In the layout, the code is thus
 android:singleLine=true
 android:ellipsize=end

 The text that is received is ticker as well.

 When any notification is received, instead of ellipsizing it, the part
 that does not fit in one line is truncated.
 i.e. if the line is There are a lot of good things in universe, it
 will show as There are lot of 
 instead of There are lot of ...

 Do Ticker text and ellipsize contradict each other?

You do not control how the ticker text is presented. If Android does not
ellipsize it, then Android does not ellipsize it. You can file an
enhancement request for this at http://b.android.com.

You can do a rough-cut ellipsizing yourself (e.g., any message over 16
characters gets truncated at the nearest non-alphanumeric value and ...
appended to the end) if you wish.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Android App Developer Books: http://commonsware.com/books.html


-- 
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, reply using remove me as the subject.


[android-beginners] Re: How to connect to a robot.

2010-04-06 Thread DonFrench
I have an Android app in development that uses Bluetooth to control
this robotic camera mount:  http://www.thegadgetworks.com/.



On Apr 5, 7:45 pm, cellurl gpscru...@gmail.com wrote:
 I want to control something external using Android.

 Q1: Can I have two-RFCOMM channels running at the same moment? Eg,
 channel 1 for voice, channel 2 for my robot. Is that possible?

 Q2: I understand Android-USB doesn't support host mode, thus if I use
 USB, my external device becomes more expensive. Am I missing
 something?

 Q3: Are there any other interfaces I might be missing? GPIO pins or
 something? Android robot groups??

 Thanks for any replys.
 jp

-- 
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, reply using remove me as the subject.


[android-beginners] Re: How to connect to a robot.

2010-04-06 Thread cellurl
is there wifi? or just cellular...


On Apr 6, 2:39 am, Alan Gauld alan.ga...@btinternet.com wrote:
 cellurl gpscru...@gmail.com wrote

 I want to control something external using Android.

  Q3: Are there any other interfaces I might be missing? GPIO pins or
  something? Android robot groups??

 Wireless using IP/SSL or Bluetooth?

 Just a thought.

 --
 Alan Gauld
 Author of the Learn to Program web sitehttp://www.alan-g.me.uk/

-- 
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, reply using remove me as the subject.


[android-beginners] Re: How to connect to a robot.

2010-04-06 Thread cellurl
I want to create a Bluetooth channel for the robot, while the owner is
possibly already on a separate phonecall using Bluetooth.
My question is, can I create -two- separate bluetooth channels at the
same time?
-jp


On Apr 6, 9:47 am, DonFrench dcfre...@gmail.com wrote:
 I have an Android app in development that uses Bluetooth to control
 this robotic camera mount:  http://www.thegadgetworks.com/.

 On Apr 5, 7:45 pm, cellurl gpscru...@gmail.com wrote:

  I want to control something external using Android.

  Q1: Can I have two-RFCOMM channels running at the same moment? Eg,
  channel 1 for voice, channel 2 for my robot. Is that possible?

  Q2: I understand Android-USB doesn't support host mode, thus if I use
  USB, my external device becomes more expensive. Am I missing
  something?

  Q3: Are there any other interfaces I might be missing? GPIO pins or
  something? Android robot groups??

  Thanks for any replys.
  jp



-- 
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 connect to a robot.

2010-04-06 Thread DonFrench
I do not believe that is possible.  A Bluetooth device can only be
connected to one Bluetooth device at a time to the best of my
knowledge.


On Apr 6, 9:31 am, cellurl gpscru...@gmail.com wrote:
 I want to create a Bluetooth channel for the robot, while the owner is
 possibly already on a separate phonecall using Bluetooth.
 My question is, can I create -two- separate bluetooth channels at the
 same time?
 -jp

 On Apr 6, 9:47 am, DonFrench dcfre...@gmail.com wrote:

  I have an Android app in development that uses Bluetooth to control
  this robotic camera mount:  http://www.thegadgetworks.com/.

  On Apr 5, 7:45 pm, cellurl gpscru...@gmail.com wrote:

   I want to control something external using Android.

   Q1: Can I have two-RFCOMM channels running at the same moment? Eg,
   channel 1 for voice, channel 2 for my robot. Is that possible?

   Q2: I understand Android-USB doesn't support host mode, thus if I use
   USB, my external device becomes more expensive. Am I missing
   something?

   Q3: Are there any other interfaces I might be missing? GPIO pins or
   something? Android robot groups??

   Thanks for any replys.
   jp

-- 
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, reply using remove me as the subject.


Re: [android-beginners] InstrumentationTestRunner Error Help!

2010-04-06 Thread Brett Chabot
Have you also tried adding a

uses-library android:name=android.test.runner /

statement to the AndroidManifest.xml?

I recommend taking a look at the ApiDemos/tests sample code if you haven't
already.

Regards,
Brett.

On Wed, Mar 24, 2010 at 7:49 PM, jimmyv ja...@jvavrik.com wrote:

 Okay, so I'm new to Android dev, and I've been doing the tutorials and
 stuff. Yesterday, everything compiled and ran fine. Then, I decided to
 add some sound clips to my app, everything still compiled and ran
 fine.

 Today, I keep getting the following error. I also tried to make my own
 app, and I still get the same error across all my apps:

 ERROR: Application does not specify a
 android.test.InstrumentationTestRunner instrumentation or does not
 declare uses-library android.test.runner

 I tried searching for a solution, and came up with adding:

 instrumentation android:name=android.test.InstrumentationTestRunner
 android:targetPackage=com.jvavrik.socialsounds
 android:label=Sample Instrumentation 

 to the manifest, but that does nothing!

 What should I do to fix 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.comandroid-beginners%2bunsubscr...@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, reply using remove me as the subject.


[android-beginners] Run an application on server

2010-04-06 Thread Shane
Hi,
Im new to android, I have an application written in java and i would
like to run it on a server and display the results on an android
phone. The application needs to be passed a string from the android
phone, the server then runs the application which passes 2 jpegs back
to the phone to be displayed.

Could anyone suggest to me how to get started with this? is this a
java script problem or a microsoft com problem?

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, reply using remove me as the subject.


[android-beginners] Re: How to connect to a robot.

2010-04-06 Thread cellurl
Thanks for that. So I will pursue USB and use a dock I guess. USB is
probably more appropriate...


-- 
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, reply using remove me as the subject.


[android-beginners] Re: Registering a reciever for the BOOT_COMPLETE and android:exported attribute

2010-04-06 Thread alexk-il


On Apr 6, 11:24 am, a2ronus aaron.jan...@gmail.com wrote:

 Maybe those examples use intent filters?

 The default value (of android:exported) depends on whether the
 broadcast receiver contains intent filters. The absence of any filters
 means that it can be invoked only by Intent objects that specify its
...

Thanks for trying to help.

My understanding of the documentation you quote, that it is related to
the default value of the android:exported. In other words, it
describes the default value of the android:exported when it is not
explicitly specified by the Manifest.

I am not sure this explains why explicitly specified
android:exported=false works in case of the BOOT_COMPLETE. Or did I
miss it again?

Best
Alex


 exact class name. This implies that the receiver is intended only for
 application-internal use (since others would not normally know the
 class name). So in this case, the default value is false. On the
 other hand, the presence of at least one filter implies that the
 broadcast receiver is intended to receive intents broadcast by the
 system or other applications, so the default value is true.

-- 
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, reply using remove me as the subject.


[android-beginners] Foreground periodic service and Battery life

2010-04-06 Thread alexk-il
Hi,

Mark Murphy has given a great answer about different options to
execute a periodic task in Android:
http://groups.google.com/group/android-beginners/browse_thread/thread/2ce0d2034ce13cd/980c10d21bed92a7?hl=enlnk=gstq=periodic+task#980c10d21bed92a7.

But which of the options will have less overhead on CPU/Battery use
for short frequent periodic tasks?
1. postDelayed(),
2. TimerTask
3. fork  sleep
4. Async Task
5. ExecutorService

Thanks
Alex


-- 
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] problem with Android+GoogleMap+Overlay+JSON

2010-04-06 Thread Ahsan
Hi there.

I have a general query about Android programming. I have this scenario
--  I have a JSON file of some locations (longitude,langitude) I am
parsing the file and reading the values and placing a marker at each
point. There are about 150 such markers. The problem is after I place
the markers, the application seems to hang. Do you have any
suggestions ?


Thanks.

-
ahsan

-- 
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] Run an application on server

2010-04-06 Thread nubh bhargava
Just check the SensorSimulator application on Open Intents, I think it might
be useful for you.

Thanks
NUBH

-- 
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, reply using remove me as the subject.


Re: [android-beginners] About Android and Java?

2010-04-06 Thread sunskyor sunskyor
Java language is free. We needn't pay for using one language.


2010/4/6 tomy chinyang@gmail.com

 I am new to Android, and I heard that Android does not cover J2ME, so
 that the adoption of Android can avoid the Sun JVM authorization.
 Although android replaces traditional JVM with dalvik VM, it still
 uses Java language. Does this imply that vendors can use Java language
 without payment if they don't use JVM?

 I am also curious about in what situations a vendor needs to pay for
 using Java technology.


 Thanks,
 tomy

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

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

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

 To unsubscribe, reply using 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