[android-beginners] Re: auto-enable GPS

2009-09-22 Thread Lance Nanek

On Sep 21, 2:54 pm, jotobjects jotobje...@gmail.com wrote:
 Is there a way to detect if GPS is turned on?

http://developer.android.com/reference/android/location/LocationManager.html#isProviderEnabled(java.lang.String)

 and then ask the user if they want to turn it on?

http://developer.android.com/guide/topics/ui/dialogs.html

 and then send them to the settings application to turn it on if they
 want to?

http://developer.android.com/reference/android/provider/Settings.html#ACTION_LOCATION_SOURCE_SETTINGS
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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 does one change androids default language

2009-09-22 Thread sharath
 I am a new bee to the android. can any body tell me how change the android
default language into Indian regional languages?..

On Sat, Sep 19, 2009 at 6:07 PM, cellurl gpscru...@gmail.com wrote:


 menu-settings-Locale  text-Japanese
 



-- 
cheers
sharath

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: launch app from an app

2009-09-22 Thread Justin Anderson
Are you trying to launch an activity that you created, or an arbitrary third
party app?

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


On Fri, Sep 18, 2009 at 7:46 AM, Abhi abhishek.r.sha...@gmail.com wrote:


 Hi,

 After searching through some online and the package manager methods, I
 came across ApplicationInfo and a way to open an app activity using
 this as below:

 ApplicationInfo ai
 PackageManager pm = getPackageManager();
 try {
Intent i = pm.getLaunchIntentForPackage(ai.packageName);
startActivity(i);
}
 catch (Exception e) {
Toast t = Toast.makeText(this, Couldn't launch the application.,
 Toast.LENGTH_SHORT);
t.show();
 }

 However, I need to have the application info in 'ai' to make the above
 code work... I don't seem to understand how ApplicationInfo works on a
 particular app. Help please!!!

 Abhi

 On Sep 18, 8:25 am, Mark Murphy mmur...@commonsware.com wrote:
  Abhi wrote:
   Thanks Mark.
 
   Can you give an example for launching the Youtube app from within my
   app? I have tried startActivity() to open up Gallery this way:
 
   Intent intent2 = new Intent();
   intent2.setClassName(com.android.camera,
   com.android.camera.GalleryPicker);
   intent2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
   startActivity(intent2)
 
   Couldn't understand how to do it with other apps.
 
  You will need to use methods on PackageManager to determine an
  appropriate activity to use for that package.
  getLaunchIntentForPackage() is probably worth trying.
 
  --
  Mark Murphy (a Commons Guy)http://commonsware.com|
 http://twitter.com/commonsguy
 
  Android 1.5 Programming Books:http://commonsware.com/books.html
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] No classfiles specified on even hello after installing SDK 1.5

2009-09-22 Thread bboyes

Hi folks

So I've had no trouble running under SDK 1.0 and 1.1. Then I flashed
my dev phone from 1.0 to 1.5 and all is well. Many useful new
features. I installed SDK 1.5 and now I can't even build Hello World.
I always get
[2009-09-22 01:02:41 - Hello 1.5] no classfiles specified
[2009-09-22 01:02:41 - Hello 1.5] Conversion to Dalvik format failed
with error 1

There are many other posts with this error but no clear solution.
Closing and restarting Eclipse does not help.

What is the real explanation here?

My Android progress has completely stopped.

With verbose compile on there's nothing obviously helpful. Compilation
proceeds and appears normal until:

[2009-09-22 01:02:41 - Hello 1.5] Checking for deleted files
[2009-09-22 01:02:41 - Hello 1.5] Done!
[2009-09-22 01:02:41 - Hello 1.5] ignored resource P:\javanet\android
\Hello1.5\bin\.\resources.ap_
[2009-09-22 01:02:41 - Hello 1.5] no classfiles specified
[2009-09-22 01:02:41 - Hello 1.5] Conversion to Dalvik format failed
with error 1

How can I fix this?

Thanks for any help...

Bruce
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] XercesParser for Android

2009-09-22 Thread Satish Kota
Hi All,

Just wanted to check if anyone has integrated XercesParser for Android...  I
need to integrate for one of my systems... I  think its not available...

Thanks and Regards
Satish N Kota

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Making UPNP (Universal Plug and Play) Protocol work for Android

2009-09-22 Thread Satish Kota

 Hi Guys,

 I am in this BIG BIG problem...getting UPNP working on my computer and for
 many reasons...it doesn't seem to be working...

 Any body has any clue on how to get it working? Are there any one who has
 any kind of code that could help me on this?

 I believe Andromote is the only person who has done it...but dunno how did
 he do it?

 Before I ask this great great help..I want to explain what all I have
 done...

 I am supposed to build an android remote to control a UPNP device... and I
 have done some research on UPNPtoolkits on Java...there were about 2 or 3
 (Clink, SBBI, libupnp, etc.,) and the one which I seem to be more
 comfortable is the CyberGarage's clink upnp toolkit (
 http://cgupnpjava.sourceforge.net/). Clink uses xerces xml
 reader/converter... I followed the pdf file he attached (
 http://sourceforge.net/projects/cgupnpjava/files/) and went through the
 samples... However looking and using them on a java app... it worked fine
 and did good too..however the similar code failed on Android..

 When I ran it on Android...I was able to do the Discover but could not get
 the devices list...and thats the one I need...

 Can someone help me do this part? I believe I just need to achieve on how
 to get the correct device from UPNP...Once I  have the UPNP, I believe I can
 always get the actions...

 CAN SOMEONE PLEASE HELP ME?

 *My  Environment:* Windows XP and Android 1.5  1.1 ( but I am working
 this on 1.1)

 Thanks and Regards
 Satish N Kota



--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: launch app from an app

2009-09-22 Thread Sean Hodges
I think he's trying to launch the Youtube app

On Sep 22, 2009 7:29 AM, Justin Anderson janderson@gmail.com wrote:

Are you trying to launch an activity that you created, or an arbitrary third
party app?

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

On Fri, Sep 18, 2009 at 7:46 AM, Abhi abhishek.r.sha...@gmail.com wrote: 
  Hi,   After se...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Connecting to Android Emulator from Local Computer

2009-09-22 Thread Timothy Ong

Ok, I see what you mean. I could forward a port on my local computer
to the android device and send my request through the local computer's
port, it'll be forwarded to the android device. Thanks for the help.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Connect to website

2009-09-22 Thread jbrohan

http://www.anddev.org/upload_files_to_web_server-t443-s60.html
This deals with uploading a file to a website and reading the
response. Hope it helps
John

On Sep 18, 12:04 am, Droid Heaven Inc. droidhea...@gmail.com
wrote:
 Please help me i been desperately searching for a tutorial to send
 info from my edit text widget to a site and to get the result in a
 list view please help!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Scroll image like a WebView

2009-09-22 Thread jsera

I have a large image, and I'd like to scroll around it like you'd
scroll around inside a WebView.

This means horizontal, and vertical scrollbars.

Since ScrollView and HorizontalScrollView only have vertical, and
horizontal  scrollbars respectively, neither of these will do what I
want. Sticking a HorizontalScrollView inside a ScrollView doesn't
work, because the horizontal scroll bar disappears when you scroll up.

WebView scrolls exactly like what I want, but I don't want to display
a web page, just an image created dynamically. There has to be some
way of doing this without writing an entirely new class.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Can we use static class that holds all the constants for the applications?

2009-09-22 Thread bennyb

Yes it is actually better to use static classes for your constants.
e.g.

class C {
public static final String PREFS_NAME = MyPrefsFile;
public static final String PREFS_FAVS = MyFavs;
public static final String PREFS_RECENT = MyRecents;
}

so can use it from any other activity as follows:

SharedPreferences settings = this.getSharedPreferences(C.PREFS_NAME,
0);
String recent = settings.getString(C.PREFS_RECENT, defaultValue);


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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 Estate SEO

2009-09-22 Thread Maxood

Culd you provide me with some ideas for SEO apps on android. Alos how
can we use Google Maps for making an app on real estate for end users/
consumers.

Maqsood
On Sep 4, 6:52 am, Jerry Schrader jerrymac...@gmail.com wrote:
 What exactly are you looking for? As far as SEO, I could help you walk
 through that, but what do you mean for other apps?



 On Thu, Sep 3, 2009 at 4:24 AM, Maxood maqs...@salsoft.net wrote:

  Could someone give me any good ideas on apps for Real Estate industry
  and SEO (Search Engine Optimization).
   Are there any apps on the app store or elsewhere on these subjects?

  Maqsood
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Can we use static class that holds all the constants for the applications?

2009-09-22 Thread Justin Anderson
In the last example given, it would be better to define strings like that in
an xml file as the Dev Guide suggests.

On Sep 22, 2009 7:10 AM, bennyb taw...@gmail.com wrote:


Yes it is actually better to use static classes for your constants.
e.g.

class C {
   public static final String PREFS_NAME = MyPrefsFile;
   public static final String PREFS_FAVS = MyFavs;
   public static final String PREFS_RECENT = MyRecents;
}

so can use it from any other activity as follows:

SharedPreferences settings = this.getSharedPreferences(C.PREFS_NAME,
0);
String recent = settings.getString(C.PREFS_RECENT, defaultValue);

--~--~-~--~~~---~--~~ You received this
message because you are su...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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 camcorder is not responding

2009-09-22 Thread Sushant

When i am running the application camcorder in android emulator 1.5
from camera .It giving me a message after sometime camcorder was not
responding.I was long stuck in these matter.Please somebody help
me.Thanks in advance
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Can i test barcode scanning task on emulator ??

2009-09-22 Thread Joe

yes i think you can install it, over the android market, just give it
a try.

yes, you then can use the intent from the google barcodescanner.

it worked for me, but i have a phone.

like this:

//wen you want the user to scan a barcode:

Intent intentScan = new Intent
(com.google.zxing.client.android.SCAN);
intentScan.putExtra(SCAN_MODE, PRODUCT_MODE);
startActivityForResult(intentScan, 0);


//when the intent is finished, this will get called

@Override
public void onActivityResult(int requestCode, int resultCode, Intent
intent) {
if (requestCode == 0) {
if (resultCode == RESULT_OK) {
// do what you want to do, when the 
barcodescanner is finished

} else if (resultCode == RESULT_CANCELED) {
//
Log.d(LOG,barcodescanner: result canceld);
}
}

thats how i did that, but if you do not have the barcodescanner
installed, the programm gets very stuffed. thats where i need help now
as well.
i would like the barcodescanner to be all within my programm, like
compare everywhere and shopsavy do it, without needing the zxing
barcodescanner app.
can anyone help?

Regards
johannes


On 19 Sep., 20:43, wahib wahib.t...@gmail.com wrote:
 Hi !! I am stuck for a long time on a simple task to scan a barcode. I
 am usingZxing. First i tried to work out reading from a stored
 barcode image in res folder but it didnt worked out. On my previous
 post some expert told me that i shud use Intents. I need to ask if any
 one has experience in this domain that i dont have a phone. so can i
 install barcode scanning app on emulator ?? and then can i use intents
 from that app in my code for barcode scanning task ??

 Plz guide me. I am a newbie to android !! :S

 Regards,
 wahib
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Xzing Barcodescanner without Intent

2009-09-22 Thread Joe

Hey everyone...

how can i integrate the barcodescanner, whithout unsing an intent?

my app, is now working with an intent, but i sort of disklile it for
many reasons (one needs to have the barcodescanner installed, i don't
want it full screen... )

i would like it similar to compare everywhere or shopsavy... but i am
totally lost...

i would very much appreciate help in any form.

Regards
johannes
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Can we take pictures without setting a camera preview?

2009-09-22 Thread Romain Vallet

Hi,
I'm writing a program that needs to take pictures with the camera, but
I don't need a preview. Everything I tried without setting a preview
display ended in errors of the type Unable to create media player.
Do the camera really need a preview display or is there a way to take
pictures without one?

Thanks,
Romain.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Bluetooth Voice Dial

2009-09-22 Thread Ryan

 any word on bluetooth being able to use voice dial? I can't find any
article. it is something android is seriously hurting on, and plam is
kicking butt in.

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: HelloAndroid app crashing

2009-09-22 Thread Jerry

java.lang.NoSuchMethodError:
com.android.ddmlib.AndroidDebugBridge.getDevices()[Lcom/android/ddmlib/
IDevice;
at
com.android.ide.eclipse.adt.internal.launch.AndroidLaunchController.launch
(Unknown Source)
at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.doLaunch
(Unknown Source)
at
com.android.ide.eclipse.adt.internal.launch.LaunchConfigDelegate.launch
(Unknown Source)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:759)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch
(LaunchConfiguration.java:608)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch
(DebugUIPlugin.java:899)
at org.eclipse.debug.internal.ui.DebugUIPlugin$7.run
(DebugUIPlugin.java:1102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)


On 9月16日, 下午7时30分, Kowshik Prakasam kows...@gmail.com wrote:
 Hi,

 I followed instructions to install Android SDK with Eclipse 3.4 (Mac OS X 
 Version 10.5.7).

 I also created an AVD as per the instructions.
 However, when I try to run the Android Hello World App, I get the following 
 error in Eclipse :

 'An internal error occurred during: Launching HelloAndroid.
 com.android.ddmlib.AndroidDebugBridge.getDevices()[Lcom/android/ddmlib/Device;'

 Screenshot attached.
 If somebody can decipher the problem, then please let me know.

 -Kowshik

  Crash.jpg
 341K查看下载

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Noob array question

2009-09-22 Thread slopes

I'm new to Android and Java and am stumped on the simplest things.

How do I create a simple array and push/clear it?

I'm used to something like
myarray = new Array()  // creates empty array
myarray.push(something)  // array now has one element at index [0]
myarray.push(something_else)  // array now has two elements
myarray = new Array() // overwrites and therefore resets array

I can't find the equivalent in android.  Can someone please enlighten
me.
You'd be amazed at how much time I've spent searching before posting.
Seriously amazed...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: launch app from an app

2009-09-22 Thread Shude Zheng
Hi,.

I have further question on this subject. I want two applications can call
each other.

I use parent application to lanuch child application by startActivity(). The
child application is shown on screen. Then use child to launch the parent.
The screen is back to parent view. When I launch the child second time in
parent it will cause crash. Because child activity is already on.

Do we have some function to resume the child activity or just show the child
view?

Shude

On Fri, Sep 18, 2009 at 6:46 AM, Abhi abhishek.r.sha...@gmail.com wrote:


 Hi,

 After searching through some online and the package manager methods, I
 came across ApplicationInfo and a way to open an app activity using
 this as below:

 ApplicationInfo ai
 PackageManager pm = getPackageManager();
 try {
Intent i = pm.getLaunchIntentForPackage(ai.packageName);
startActivity(i);
}
 catch (Exception e) {
Toast t = Toast.makeText(this, Couldn't launch the application.,
 Toast.LENGTH_SHORT);
t.show();
 }

 However, I need to have the application info in 'ai' to make the above
 code work... I don't seem to understand how ApplicationInfo works on a
 particular app. Help please!!!

 Abhi

 On Sep 18, 8:25 am, Mark Murphy mmur...@commonsware.com wrote:
  Abhi wrote:
   Thanks Mark.
 
   Can you give an example for launching the Youtube app from within my
   app? I have tried startActivity() to open up Gallery this way:
 
   Intent intent2 = new Intent();
   intent2.setClassName(com.android.camera,
   com.android.camera.GalleryPicker);
   intent2.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
   startActivity(intent2)
 
   Couldn't understand how to do it with other apps.
 
  You will need to use methods on PackageManager to determine an
  appropriate activity to use for that package.
  getLaunchIntentForPackage() is probably worth trying.
 
  --
  Mark Murphy (a Commons Guy)http://commonsware.com|
 http://twitter.com/commonsguy
 
  Android 1.5 Programming Books:http://commonsware.com/books.html
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Turkish Language support (tr-tr)

2009-09-22 Thread Aracos

Hi there,

I am developing a Multi-language application and am therefore trying
to get the emulator to switch between the diffenrent languages to test
them. I have seen the resources for the turkish language within the
SDK but I can not find the locale installation.

The Release Notes of the SDK do not mention this Language.

Now to my question,
is the Turkish language not supported yet and the resources are some
dormant fragments of locales to come or is there a way to enable this
locale?

Thanks a lot for your help,

Regards Aracos




--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] NDk c File operation

2009-09-22 Thread raghu

Hi,
o.s is Linux (ubuntu), i am having a simple .c program in NDk that
will do fopen(), fread(),
the .c file is compiling and library is getting  built, but when i run
that project using emulator the fopen is returning NULL.
what i doubt is does NDk support file operation ?
if yes please let me know how to do that .


Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Noob array question

2009-09-22 Thread Jeffrey Blattman




in java, arrays are fixed size. if you want a growable list of object,
use ArrayList or explore java.util for other alternatives.

String[] sa = new String[2];
s[0] = "hello";
s[1] = "world";

ListString sl = new ArrayListString();
sl.add("hello");
sl.add("wold");
...


  I'm new to Android and Java and am stumped on the simplest things.

How do I create a simple array and push/clear it?

I'm used to something like
myarray = new Array()  // creates empty array
myarray.push("something")  // array now has one element at index [0]
myarray.push("something_else")  // array now has two elements
myarray = new Array() // overwrites and therefore resets array

I can't find the equivalent in android.  Can someone please enlighten
me.
You'd be amazed at how much time I've spent searching before posting.
Seriously amazed...

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

  


-- 





[android-beginners] Unable to add Android Plugin to Eclipse-Ganymede 3.4.1

2009-09-22 Thread srinivas

Hi,

I am trying to install ADT for Eclipse Ganymede. I have tried both
https and http of //dl-ssl.google.com/android/eclipse/ site but
failed. Please find the error log below. I have even tried by
downloading  ADT-0.9.3.zip locally and installing them but no luck.

Can you please let me know any other way to resolve this problem.

Thanks  Regards
Srinivas


Eclipse ganymede details:
-
Eclipse SDK
Version: 3.4.1
Build id: M20080911-1700


Error log:
---
Cannot complete the request.  See the details.
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.gef/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.ui/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.sse.core/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.gef/0.0.0
Unsatisfied dependency: [com.android.ide.eclipse.adt.feature.group
0.9.3.v200909031112-12945] requiredCapability:
org.eclipse.equinox.p2.iu/org.eclipse.wst.xml.core/0.0.0

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Scroll image like a WebView

2009-09-22 Thread Balwinder Kaur (T-Mobile USA)

You are right. ScrollView only supports vertical scrolling and
HoriontalScrollView supports horizontal scrolling.

Since WebView scrolls like you want to it, why don't use it ?

WebView w = (WebView)findViewById(R.id.webkit);
w.loadUrl(http://www.android.com/goodies/android_vector.jpg;);

Use the url of the image, not a web page.

Balwinder Kaur
Open Source Development Center
·T· · ·Mobile· stick together

The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.


On Sep 22, 5:05 am, jsera gall.blad...@gmail.com wrote:
 I have a large image, and I'd like to scroll around it like you'd
 scroll around inside a WebView.

 This means horizontal, and vertical scrollbars.

 Since ScrollView and HorizontalScrollView only have vertical, and
 horizontal  scrollbars respectively, neither of these will do what I
 want. Sticking a HorizontalScrollView inside a ScrollView doesn't
 work, because the horizontal scroll bar disappears when you scroll up.

 WebView scrolls exactly like what I want, but I don't want to display
 a web page, just an image created dynamically. There has to be some
 way of doing this without writing an entirely new class.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: NDk c File operation

2009-09-22 Thread Mark Murphy

 o.s is Linux (ubuntu), i am having a simple .c program in NDk that
 will do fopen(), fread(),
 the .c file is compiling and library is getting  built, but when i run
 that project using emulator the fopen is returning NULL.
 what i doubt is does NDk support file operation ?
 if yes please let me know how to do that .

Please post NDK questions to the [android-ndk] Google Group:

http://groups.google.com/group/android-ndk

-- 
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.
To post to this group, send email to android-beginners@googlegroups.com
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: Noob array question

2009-09-22 Thread Slopester
awesome - thanks
  - Original Message - 
  From: Jeffrey Blattman 
  To: android-beginners@googlegroups.com 
  Sent: Tuesday, September 22, 2009 7:38 PM
  Subject: [android-beginners] Re: Noob array question


  in java, arrays are fixed size. if you want a growable list of object, use 
ArrayList or explore java.util for other alternatives.

  String[] sa = new String[2];
  s[0] = hello;
  s[1] = world;

  ListString sl = new ArrayListString();
  sl.add(hello);
  sl.add(wold);
  ...


I'm new to Android and Java and am stumped on the simplest things.

How do I create a simple array and push/clear it?

I'm used to something like
myarray = new Array()  // creates empty array
myarray.push(something)  // array now has one element at index [0]
myarray.push(something_else)  // array now has two elements
myarray = new Array() // overwrites and therefore resets array

I can't find the equivalent in android.  Can someone please enlighten
me.
You'd be amazed at how much time I've spent searching before posting.
Seriously amazed...


  

  -- 

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---

inline: qr-gmail.png

[android-beginners] Re: auto-enable GPS

2009-09-22 Thread jotobjects

Thanks - more details inline below...

One other question is how to detect if the device even has a GPS unit?

On Sep 21, 11:12 pm, Lance Nanek lna...@gmail.com wrote:
 On Sep 21, 2:54 pm, jotobjects jotobje...@gmail.com wrote:

  Is there a way to detect if GPS is turned on?

 http://developer.android.com/reference/android/location/LocationManag...)

LocationManager locMgr = (LocationManager)getSystemService
(Context.LOCATION_SERVICE);
boolean isGPSEnabled = locMgr.isProviderEnabled
(LocationManager.GPS_PROVIDER);
if (!isGPSEnabled)
  showDialog(DIALOG_ENABLE_GPS)


  and then ask the user if they want to turn it on?

 http://developer.android.com/guide/topics/ui/dialogs.html

new DialogInterface.OnClickListener() {
public void onClick(DialogInterface dialog, int id) {
Intent locationSettingsIntent = new Intent
(Settings.ACTION_LOCATION_SOURCE_SETTINGS);
startActivity(locationSettingsIntent);
dialog.dismiss();
}


  and then send them to the settings application to turn it on if they
  want to?

 http://developer.android.com/reference/android/provider/Settings.html...

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Xzing Barcodescanner without Intent

2009-09-22 Thread wahib haq

hi joe. I am also working on a simple barcode scanning app and being a
newbie i am stuck for a long time. Up to my research all people
preffer using intent for barcode scanning. I really need your little
help. How have u done using intents? I found the code using intents
but i am confused as i am working on emulator only. so how can i text
it using emulator only? how to install barcode scanning app on
emulator? and share link of .apk file if you have.

First i was working on decoding a stored barcode image but it wasnt
working so i just want to move on to finalizing it. Your help can just
solve my problem.

Well, to your issue i can come up to only one solution. If you just
take snap of the barcode image and store it in gallery and after it
your app read the latest added image from gallery and decode it. Dont
laugh if its a very childish solution :)

waiting for ur reply.
Regards,
wahib

On 9/22/09, Joe nisyp...@gmail.com wrote:

 Hey everyone...

 how can i integrate the barcodescanner, whithout unsing an intent?

 my app, is now working with an intent, but i sort of disklile it for
 many reasons (one needs to have the barcodescanner installed, i don't
 want it full screen... )

 i would like it similar to compare everywhere or shopsavy... but i am
 totally lost...

 i would very much appreciate help in any form.

 Regards
 johannes
 


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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 run system cam in Android Simulator in Ubuntu

2009-09-22 Thread tinyang

This is the second post I've seen from you about this, but I'm unclear as to
what you want to do.  Would this help you?

 http://www.tomgibara.com/android/camera-source

-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of Sushant
Sent: Monday, September 14, 2009 2:44 PM
To: Android Beginners
Subject: [android-beginners] How to run system cam in Android Simulator in
Ubuntu


I am not able to connect my PC camera with Android Simulator camera in
ecllipse on Ubuntu Machine.
Can somebody suggest me a solution for that.Please help me i was stuck with
these problem for long time

Sushant


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.13.71/2332 - Release Date: 9/16/2009
5:49 PM


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: launch app from an app

2009-09-22 Thread Shude Zheng
Thanks, Justin,

I have fixed the crash. But I still have some questions.

I have two my own applications, for example, Parent and Child. There is
button in Parent applicaiton to launch Child. It uses the ApplicationInfo
code get the name and activity of Child and uses startActivity() to launch
Child. Child will run. At that time the Parent is atill alive at
background. The Child Uses similar function. it will launch the Parent. But
at that time Parent is still alive. Can I use atartActivity() to let the
Parent run in front. The doc said atartActivity is for new activity.

Shude

On Tue, Sep 22, 2009 at 10:25 AM, Justin Anderson
janderson@gmail.comwrote:

 The following will get you a list of all applications on your phone as
 ApplicationInfo objects (assuming you have a Context object):

 PackageManager mgr = context.getPackageManager();
 ArrayListApplicationInfo appList =
 (ArrayListApplicationInfo)mgr.getInstalledApplications(0);

 Hope this helps,
 Justin

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


   On Tue, Sep 22, 2009 at 1:36 AM, Sean Hodges 
 seanhodge...@googlemail.com wrote:

 I think he's trying to launch the Youtube app

  On Sep 22, 2009 7:29 AM, Justin Anderson janderson@gmail.com
 wrote:

 Are you trying to launch an activity that you created, or an arbitrary
 third party app?

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

 On Fri, Sep 18, 2009 at 7:46 AM, Abhi abhishek.r.sha...@gmail.com
 wrote:Hi,   After se...





 


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



[android-beginners] Re: Unable to add Android Plugin to Eclipse-Ganymede 3.4.1

2009-09-22 Thread er...@motorola.com

What happens when you use Galileo?

-E

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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 the internet behind proxy ?

2009-09-22 Thread tinyang

Can you connect to the internet without the proxy on the emulator? 

-Original Message-
From: android-beginners@googlegroups.com
[mailto:android-beginn...@googlegroups.com] On Behalf Of rcy
Sent: Thursday, September 17, 2009 7:02 AM
To: Android Beginners
Subject: [android-beginners] How to connect to the internet behind proxy ?


Hi All,

Not recently I installed the android SDK for the first time. After playing
with the emulator I notice that I can’t log in to the internet via the
browser application.
I looked for a and found the following command : “emulator -avd em15 -
http-proxy proxy”

For the proxy I copy the prams’ from the browser (Tools à Internet Option
à Connection à Lan settings ) but still I can’t see any WebPages via the
browser.

Any suggestion ?

Thanks


No virus found in this incoming message.
Checked by AVG - http://www.avg.com
Version: 8.0.169 / Virus Database: 270.13.71/2332 - Release Date: 9/17/2009
3:55 PM


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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 the internet behind proxy ?

2009-09-22 Thread Roman ( T-Mobile USA)

Can you connect with a normal browser to the internet or do you need
already a proxy in your desktop browser?

If you have no proxy configured in your normal browser on your
desktop, there is no need to add any proxy stuff on the Android
emulator.

--
Roman Baumgaertner
Sr. SW Engineer-OSDC
·T· · ·Mobile· stick together
The views, opinions and statements in this email are those of the
author solely in their individual capacity, and do not necessarily
represent those of T-Mobile USA, Inc.

On Sep 22, 3:28 pm, tinyang tiny...@earthlink.net wrote:
 Can you connect to the internet without the proxy on the emulator?

 -Original Message-
 From: android-beginners@googlegroups.com

 [mailto:android-beginn...@googlegroups.com] On Behalf Of rcy
 Sent: Thursday, September 17, 2009 7:02 AM
 To: Android Beginners
 Subject: [android-beginners] How to connect to the internet behind proxy ?

 Hi All,

 Not recently I installed the android SDK for the first time. After playing
 with the emulator I notice that I can’t log in to the internet via the
 browser application.
 I looked for a and found the following command : “emulator -avd em15 -
 http-proxy proxy”

 For the proxy I copy the prams’ from the browser (Tools à Internet Option
 à Connection à Lan settings ) but still I can’t see any WebPages via the
 browser.

 Any suggestion ?

 Thanks

 No virus found in this incoming message.
 Checked by AVG -http://www.avg.com
 Version: 8.0.169 / Virus Database: 270.13.71/2332 - Release Date: 9/17/2009
 3:55 PM


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: launch app from an app

2009-09-22 Thread Shude Zheng
Thanks, Justin.

This is what I want to know.

Shude

On Tue, Sep 22, 2009 at 3:59 PM, Justin Anderson magouyaw...@gmail.comwrote:

 Yes you can do that.  I have a program on the market, AppSwipe!, that
 essentially does only that. The Dev Guide states:

 The general mechanism to start a new activity if its not running— or to
 bring the activity stack to the front if is already running in the
 background— is the to use the NEW_TASK_LAUNCH flag in the startActivity()
 call.

 This is found on this page:
 http://developer.android.com/guide/appendix/faq/framework.html#4

 Thanks,
 Justin

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


   On Tue, Sep 22, 2009 at 2:47 PM, Shude Zheng sh...@excelfore.comwrote:

 Thanks, Justin,

 I have fixed the crash. But I still have some questions.

 I have two my own applications, for example, Parent and Child. There is
 button in Parent applicaiton to launch Child. It uses the ApplicationInfo
 code get the name and activity of Child and uses startActivity() to launch
 Child. Child will run. At that time the Parent is atill alive at
 background. The Child Uses similar function. it will launch the Parent. But
 at that time Parent is still alive. Can I use atartActivity() to let the
 Parent run in front. The doc said atartActivity is for new activity.

 Shude

   On Tue, Sep 22, 2009 at 10:25 AM, Justin Anderson 
 janderson@gmail.com wrote:

 The following will get you a list of all applications on your phone as
 ApplicationInfo objects (assuming you have a Context object):

 PackageManager mgr = context.getPackageManager();
 ArrayListApplicationInfo appList =
 (ArrayListApplicationInfo)mgr.getInstalledApplications(0);

 Hope this helps,
 Justin

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


   On Tue, Sep 22, 2009 at 1:36 AM, Sean Hodges 
 seanhodge...@googlemail.com wrote:

 I think he's trying to launch the Youtube app

  On Sep 22, 2009 7:29 AM, Justin Anderson janderson@gmail.com
 wrote:

 Are you trying to launch an activity that you created, or an arbitrary
 third party app?

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

 On Fri, Sep 18, 2009 at 7:46 AM, Abhi abhishek.r.sha...@gmail.com
 wrote:Hi,   After se...











 


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



[android-beginners] How to Validate XML against schema in sax parser in Android

2009-09-22 Thread Harshit Mapara

Hi,

I am trying to validate XML file in sax parser against xml schema in
my android app.

I found that I can do that by using javax.xml.validatations package
(by using schemafactory class to get schema object out of schema xsd
file).

But this package is not available in android sdk.
It is built-in package in JDK but not in android sdk.

Can you please suggest a way to validate xml file against schema in
sax parser?

Thanks

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Where I wuz

2009-09-22 Thread Evan Ruff

Hey Guys,

I'm still struggling with how to pick back up.

When I hit the home key, I see that Android pauses all my activities,
but when I go back to the Launcher it only resumes my MAIN guy.

How can I get back to the last place in the Task stack and maintain
the use of the back button, as if I'd never left?

Thanks!

E

On Sep 21, 10:03 am, Evan Ruff evan.r...@gmail.com wrote:
 Hey guys,

 I've been working on my first real Android application and I seem to
 be missing something about the application state. Basically, let's say
 I'm moving through the application and I get to Activity #3. I then
 hit home, bring up the launcher, and get back to my app. I get taken
 immediately to Activity #1 that is defined with the
 android.intent.category.LAUNCHER intent.

 Is there a way to have the application pick up where it was
 automatically, or is that something I need to manage internally within
 my application logic?

 Thanks!

 Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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: Is it possible from Android device to access a local pc?

2009-09-22 Thread kevin j

Thankyou, this is helping to set me in the right direction. With
regard to the question of whether Android will provide PCM straight
from the mic - when I said I wanted to exchange audio over Wi-Fi in
real-time, I meant near real-time, so a delay of up to .5s would be
OK. With regard to the other end requires low-level hardware access
- the other end for me is a desktop application on a nearby Wi-Fi
enabled Windows PC. So I guess I want to grab the audio data ASAP,
enclose it in Wi-Fi packets aimed at my app, and send it out. Is this
different from using RTP, or do they work together? I presume that
Windows XP or Vista can receive and process this information. Do these
added details change any of the tentative conclusions about whether
this is possible?


On Sep 21, 12:30 pm, Glen Kimsey gkim...@gmail.com wrote:
 The standard way to do real-time audio over a network connection is
 using RTP (real time protocol), which is what Voice Over IP is based
 on.  While there are almost certainly RTP libraries available in Java,
 I'm not sure Android will let you get straight PCM data from the
 microphone or send PCM data straight to the speaker/headphones.

 That's your main question, Kevin.  In Linux you would do this using
 ALSA.  I'm pretty sure Android will let you wrap the PCM data (or
 unwrap it) into RTP and send it along (if not you could fake it over
 HTTP, but it'd be messy), but the other end requires low level
 hardware access.

 Two sort of answer both of your questions, if you can get that close
 to the hardware you'll most likely need root access which means it
 wouldn't be a normal Android Market app.

 On Sep 21, 12:19 am, kevin j ken...@verizon.net wrote:



  I'm interested in something similar. I would like to know if the
  following application is possible given the currently available tools
  and OS services. I want to send audio from the microphone in real-time
  over Wi-Fi to a Windows desktop application. I also want to send data
  which represents what screen icons have been tapped. I want to receive
  audio and data the same way - using Wi-Fi.

  Sincerely,

  Kevin J

  On Jul 23, 8:47 am, Sean Hodges seanhodge...@googlemail.com wrote:

   Android supports bluetooth,Wifi(local networking) and USB.

   Which one you want will depend on your requirements. For easy
   sychronisation of files between phone and PC, USB is probably a good
   choice; assuming you don't require the connection to be wireless.

   Regards,

   Sean

   On Thu, Jul 23, 2009 at 2:37 PM, Michael Leungmichaelchi...@gmail.com 
   wrote:
Hi all,
  I am new to Android. I am thinking to build an application for my 
personal
use. It has a desktop version and I will build a simple Android client.
Without using Internet, Is it possible from Android device to access a 
local
pc? so I can do a sync with data between two versions?
--
Regards,
Michael Leung
   http://www.itblogs.info
   http://www.michaelleung.info-Hidequoted text -

   - Show quoted text -- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~--~~~~--~~--~--~---



[android-beginners] Re: Unable to add Android Plugin to Eclipse-Ganymede 3.4.1

2009-09-22 Thread srinivas

Hi,

I got the similar problem  then shifted to Ganymede.

Regards
Srinivas

On Sep 23, 2:14 am, er...@motorola.com ehclonin...@gmail.com
wrote:
 What happens when you use Galileo?

 -E
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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] Enable / Disable android widgets runtime.

2009-09-22 Thread Manjunatha M
Hi All,

I am writing an widget  application for android.

I have a requirement where i need to disable the widget on some intent,
i.e., I have the remove the widget from the android home screen and remove
from menu options so that the user cannot add the widget further.

I have to enable the widget on some intent, so that, the framework
automatically adds the widget to the home screen, by calculating the empty
position available on the home screen, and the many option re-appears in
order to add the widget further.

Please let me know if this can be possible..

Regards,
Manjunatha

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups Android Beginners group.
To post to this group, send email to android-beginners@googlegroups.com
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
-~--~~~~--~~--~--~---