[android-beginners] Re: Issue with Android Debug Bridge

2009-10-28 Thread Maxood
Is there anyone to help me here? On Oct 27, 2:21 am, Maxood maqs...@salsoft.net wrote: I am using an emulator here. And on the emulator USB Debugging is enabled. Still getting the same message error: device not found. Also at times ADB runs fine in shell mode but now all of a sudden it is

[android-beginners] Detecting a Tidal Wave of Android Apps

2009-10-28 Thread Peter Farago
Hi all, Flurry, as you may know from previous emails, has been supporting Android since we launched our mobile application analytics service this January. This month, we measured the most significant spike to date of android developer activity within our system. We're very excited about the

[android-beginners] Re: Music: file names, album recognition, etc?

2009-10-28 Thread Vladimir Kelman
I found a solution on a Russian-speaking Google Wave devoted to Android! By the way, I encourage everybody to join Google Wave ASAP (no, I already used all my invitations). A solution, or should I say - a workaround? - is to use Meridian Player instead of Android's own Music Player.

[android-beginners] Android RSS Reader, Please Help

2009-10-28 Thread GreenRiver
Hix, I tried following the tutorial below: ( RSS Reader Tutorial) http://www.helloandroid.com/node/110#comment-6819 Because of the differences between the version of SDK that tutorial using (M3 - I dont' know this version, maybe too old ) and of mine ( android-sdk-windows-1.5_r2), so it appeared

[android-beginners] Re: Android RSS Reader, Please Help

2009-10-28 Thread GreenRiver
If someone has any ideas, please discuss via comments or contact me view email ( thong.dom...@gmail.com ) . Thanks in advance :) if you finish the tutorial http://www.helloandroid.com/node/110#comment-6819 , please contact me :) --~--~-~--~~~---~--~~ You received

[android-beginners] installing android 2.0 sdk on 64-bit fedora 11?

2009-10-28 Thread Robert P. J. Day
as a total beginner to the android sdk, i'm just about to try to install, from scratch, the new 2.0 sdk on a 64-bit version of fedora 11 (which will hopefully be equivalent to installing on a 64-bit fedora 12 as well). has anyone already done this? based on what i've read so far, my

[android-beginners] Re: Error

2009-10-28 Thread tneufeld
Much appreciated that fixed the problem. On Oct 26, 8:15 pm, Lance Nanek lna...@gmail.com wrote: Looks like you have to change this import: import android.content.DialogInterface.OnClickListener; To this: import android.view.View.OnClickListener; This problem often happens when an IDE

[android-beginners] Auto Create AVD (Windows)

2009-10-28 Thread yungbol
Ok, for us noobs who are new to this, you may get confused time to time. I have created an auto AVD maker for those who are confused on how to do it in the command prompt. All you need to do is enter the tools location the first time then there you go! Just input the name and target and your

[android-beginners] SDK r3 not working on Mac?

2009-10-28 Thread fern
I just did this: 1) download sdk (android-sdk_r3-mac.zip) (good so far) 2) extract sdk (unzip android-sdk_r3-mac.zip) (yup, extracts all fine and dandy) 3) add sdk to path (export ANDROID_SDK_HOME, export PATH=${PATH}:$ {ANDROID_SDK_HOME}/tools ) (ok, I can now execute any command, android,

[android-beginners] Re: Error Creating AVD

2009-10-28 Thread yungbol
On Sep 23, 11:50 pm, Sudheesh J sudhees...@gmail.com wrote: I think you don't have JDK installed (http://java.sun.com/javase/ downloads/index.jsp). Or if you have already installed it, make sure that the bin directory is in the PATH. On Sep 23, 4:35 pm, Highmastdon

[android-beginners] ListView with multiple TextView

2009-10-28 Thread Ash
Hi, I need to create a ListView with two TextView items. Please help with some example code for implementing this. Thanks, ash. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] Re: HTC Hero connection problem causes USB device ID to change from 0bb4:0c01 to 0bb4:0c02.

2009-10-28 Thread savant.d
Hello. I had this problem. it solves with info from https://bugs.launchpad.net/ubuntu/+source/hal/+bug/316215 . Best regards savant.d On Sep 14, 11:11 pm, Chris Dew cms...@googlemail.com wrote: I just wanted to post this, it took me three hours to get adb to list my phone...

[android-beginners] Including 3rd party jars in Android App

2009-10-28 Thread sundancebleu
I'm hoping someone can help, when I try including a custom jar file I built in another java project through eclipse (in my build path), I get a could not find method error when I try to run. When I put a uses-library in the manifest.xml, I get an INSTALL_FAILED_MISSING_SHARED_LIBRARY error when

[android-beginners] showDialog() fails to show anything

2009-10-28 Thread Greg Donald
I'm having problems getting showDialog() to show anything. I have this for my onCreateDialog() callback: private static final int ID_DIALOG_X = 1; protected Dialog onCreateDialog(int id) { if (id == ID_DIALOG_X) { ProgressDialog pg = new ProgressDialog(this); pg.setMessage(Loading..);

[android-beginners] Re: new'ing an Intent

2009-10-28 Thread Mark Murphy
btw, I have class called RootGameScreen in my workspace, namespace         button.setOnClickListener(new View.OnClickListener()         {             public void onClick(View v)             {                 Intent startGameIntent = new Intent(this, RootGameScreen.class); In Java,

[android-beginners] Re: How to begin with android

2009-10-28 Thread android beginner
dont worryinstall the sdkit took some 1 hour...after that install the things with eclipse plug in.then started to run it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners group. To post to

[android-beginners] Re: Android RSS Reader, Please Help

2009-10-28 Thread GreenRiver
no one help me :( --~--~-~--~~~---~--~~ 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] taking a screenshot...of whatever is drawn on the view

2009-10-28 Thread Samuh
I am trying to take a screen shot of whatever is drawn on my custom view's canvas. I use the following lines for the same: //enable drawing cache this.setDrawingCacheEnabled(true); // use the drawing on the cache to create a Bitmap Object Bitmap screenshot =

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-28 Thread Maxood
I am getting the following messages after Done. Nothing was installed. Downloading SDK Platform Android 2.0, API 5, revision 1 SSL peer shut down incorrectly Whats the solution? On Oct 27, 11:16 am, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: new and updated tools. regardless of the

[android-beginners] Re: SDK Setup on Windows

2009-10-28 Thread Matt Raffel
maybe try deleting/uninstalling the old sdks first? mellery451 wrote: I'm refreshing my android SDKs as I had some very old versions on my Windows XP machine. I grabbed the latest package for the windows tools - specifically:

[android-beginners] Re: new'ing an Intent

2009-10-28 Thread Matt Raffel
Mark Murphy wrote: btw, I have class called RootGameScreen in my workspace, namespace button.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { Intent startGameIntent = new Intent(this,

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-28 Thread Alexey Tarasov
Probably firewall issue, cause emulator is connected via TCP connection. Try 'netstat -ab' and see its output for emulator image, e.g. is it listening ports 5554, and so on. If yes, then switch firewall off and try again 'adb devices' I'm not using Windows, so I don't know which other

[android-beginners] Re: ListView with multiple TextView

2009-10-28 Thread jbrohan
The Notepad example does this. On Oct 27, 6:37 pm, Ash ashly@gmail.com wrote: Hi, I need to create a ListView with two TextView items. Please help with some example code for implementing this. Thanks, ash. --~--~-~--~~~---~--~~ You received this

[android-beginners] Re: taking a screenshot...of whatever is drawn on the view

2009-10-28 Thread Samuh
Also, sometimes getDrawingCache() returns a Bitmap that returns true for isRecycled() test.. --~--~-~--~~~---~--~~ 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] TabWidget causing null pointer

2009-10-28 Thread tatman
I'm trying to figure out how to use the TabHost. I am following this example here: http://developer.android.com/guide/tutorials/views/hello-tabwidget.html The TabWidget control is causing a null pointer exception. If I take it out, then I do not have the exception. From what I can see, I've

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-28 Thread Dori
Exactly the same problem here, any suggestions? On Oct 28, 10:32 am, Maxood maqs...@salsoft.net wrote: I am getting the following messages after Done. Nothing was installed. Downloading SDK Platform Android 2.0, API 5, revision 1 SSL peer shut down incorrectly Whats the solution? On Oct

[android-beginners] Re: I have a great idea for an app and have tried my best but cant get anything to work!! Help please!!

2009-10-28 Thread pulsarman325
Thank you to all of you for your help, I have realised that this is miles above my head If anyone is interseted in the map i created which is essex, uk not usa, the link is http://maps.google.co.uk/maps/ms?ie=UTF8hl=enmsa=0msid=117183460661217565520.000476db0142a6ac232aft=hz=9 Let me know

[android-beginners] G729 for mjsip

2009-10-28 Thread Azhar
Hi Any on have developed the java classes for the G729 codec to be used in the mjsip srack 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] Re: How to begin with android

2009-10-28 Thread Niamathullah sharief
Its not a hard thing to do. You have to do this. If you feel this is hard? Then you cant handle the developing things. On Wed, Oct 28, 2009 at 11:02 AM, android beginner mirra07aurobin...@gmail.com wrote: dont worryinstall the sdkit took some 1 hour...after that install the things

[android-beginners] Re: Auto Create AVD (Windows)

2009-10-28 Thread niko20
Hi, Thanks for your hard work, but the latest SDK contains an AVD creator built in. In Eclipse you go to Tools-Android SDK and AVD manager, and you can create new AVD's from there real quick. -niko On Oct 27, 5:09 pm, yungbol chris...@gmail.com wrote: Ok, for us noobs who are new to this, you

[android-beginners] Re: Android 2.0 SDK is here!

2009-10-28 Thread Wayne Wenthin
Keep trying. I had to select the components individually and it finally made it. I think it is related to a big rush to get the components. I had no problem at home during the evening hours. On Wed, Oct 28, 2009 at 5:31 AM, Dori dorian.cus...@googlemail.com wrote: Exactly the same

[android-beginners] Re: Android 2.0 on Dev Phone

2009-10-28 Thread okubax
probably not On Oct 28, 3:49 pm, Vinicius Carvalho viniciusccarva...@gmail.com wrote: Hello there! Does anyone knows when will it be available the images to install on the dev phone 1? I'm really excited about the new features: Maps Navigation rules :)

[android-beginners] Re: Android 2.0 on Dev Phone

2009-10-28 Thread Vinicius Carvalho
Probably not what? ... On Oct 28, 1:54 pm, okubax oku...@gmail.com wrote: probably not On Oct 28, 3:49 pm, Vinicius Carvalho viniciusccarva...@gmail.com wrote: Hello there! Does anyone knows when will it be available the images to install on the dev phone 1? I'm really excited about the

[android-beginners] Some layout advice please!

2009-10-28 Thread Dori
Hello everyone, I am posting as I would like some advice, this being my first exploration of the android platform I'm a little confused. I want one of my activity's to be a menu, which looks like a common old ListView, with an icon and two lines of text in each. I only have 5 items but each

[android-beginners] Re: Some layout advice please!

2009-10-28 Thread Dori
I ment to say posting also on the anddev forum! On Oct 28, 4:06 pm, Dori dorian.cus...@googlemail.com wrote: Hello everyone, I am posting as I would like some advice, this being my first exploration of the android platform I'm a little confused. I want one of my activity's to be a menu,

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-28 Thread Maxood
Turned off the firewall. Issue is still pending. Again getting the same error message on running adb shell: Device Not Found On adb devices, i get an empty list with the following messages: * daemon not running. starting it now* * daemon started successfully * List of devices attached On Oct

[android-beginners] listen for when my app is installed

2009-10-28 Thread Jeffrey Blattman
i would like to copy some files from assets to the SD card when my app is installed. i see the PACKAGE* intents, but i'm unclear which one (or set) i should be listening for. i am sure this is a common pattern, can someone point me to a page that describe the proper way to do this? thanks.

[android-beginners] Re: Including 3rd party jars in Android App

2009-10-28 Thread Xavier Ducrohet
uses-library is for shared library which you cannot add yourself. You should simply have to put the jar file in your project folder and, from Eclipse, do a right click on it from the Package Explorer and choose Add to build path Xav On Tue, Oct 27, 2009 at 5:15 PM, sundancebleu

[android-beginners] Re: listen for when my app is installed

2009-10-28 Thread Sean Hodges
On Wed, Oct 28, 2009 at 4:45 PM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: i would like to copy some files from assets to the SD card when my app is installed. i see the PACKAGE* intents, but i'm unclear which one (or set) i should be listening for. i am sure this is a common

[android-beginners] Re: SDK r3 not working on Mac?

2009-10-28 Thread Xavier Ducrohet
This really shouldn't be necessary. Can you check the access rights on the files you extracted? Xav On Tue, Oct 27, 2009 at 3:20 PM, fern f...@happyfern.com wrote: I just did this: 1) download sdk (android-sdk_r3-mac.zip)  (good so far) 2) extract sdk (unzip android-sdk_r3-mac.zip)  

[android-beginners] Re: Android 2.0 on Dev Phone

2009-10-28 Thread wonglik
I am also very curious about that. But I am a bit confused. Some sources claim it will run on G1 some that it will not. HTC site now does not offer 2.0 image at the moment. On Oct 28, 6:06 pm, Vinicius Carvalho viniciusccarva...@gmail.com wrote: Probably not what? ... On Oct 28, 1:54 pm,

[android-beginners] Re: listen for when my app is installed

2009-10-28 Thread Jeffrey Blattman
thanks yes that's a good point about being dependent on the SD card. On 10/28/09 10:19 AM, Sean Hodges wrote: On Wed, Oct 28, 2009 at 4:45 PM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: i would like to copy some files from assets to the SD card when my app is installed. i

[android-beginners] Re: SDK Setup on Windows

2009-10-28 Thread Raphael
All SDK Setup does is execute tools\android.bat for you. Please help me understand what's going on by doing the following: - open a command prompt - cd to the android-sdk-windows folder - execute tools\android.bat from here - give me the output please :-) Also, an important question: Do you have

[android-beginners] Re: Taking Screenshots from Phone using Windows 7?

2009-10-28 Thread Justin Anderson
Had you by chance connected your phone to your computer once before having it set up to debug? There is a known issue on Windows when this is the case. If this is your problem, try following these steps: Try this link:

[android-beginners] Re: rega

2009-10-28 Thread Justin Anderson
http://developer.android.com/reference/android/os/Bundle.html It is simply a class that holds data in key-value pairs. In onCreate is most often used to save state in your class for when the OS stops and restarts your package... i.e. when the screen rotates, or if the OS decides to shut down

[android-beginners] What does the Home button do?

2009-10-28 Thread jbrohan
I'm running into a problem that when I press Home in say the settings page of my app, it finishes OK but the next time I start it's back in settings. I'd really prefer it to start at the beginning! It looks from the trace that the calling activity is not itself returned to and stopped Thanks John

[android-beginners] Re: What does the Home button do?

2009-10-28 Thread RichardC
It's a little to much to explain here, have a read of: http://developer.android.com/guide/practices/ui_guidelines/activity_task_design.html and http://developer.android.com/guide/topics/fundamentals.html But basically pressing [home] puts your task into the background, it does NOT finish it

[android-beginners] Re: Android 2.0 on Dev Phone

2009-10-28 Thread otto888
There is a very unstable Android 2 rom out for G1/ADP1. I'm running it right now seeing what works. Works: Calls Data Doesn't work: Wifi, Bluetooth, sound(in-call sound works :\),and its slow. Link for the brave: http://forum.xda-developers.com/showthread.php?t=577291 On Oct 28, 12:39 pm,

[android-beginners] Dynamic linking error in MacOS 10.4.11?

2009-10-28 Thread Eno
Im trying to run aapt and Im seeing this error: dyld: Symbol not found: _open$UNIX2003 Referenced from: /Users/test/Desktop/Android/android-sdk/platforms/ android-1.5/tools/aapt Expected in: /usr/lib/libSystem.B.dylib Just wondering if I need to upgrade my OS or some component in my install

[android-beginners] Re: Android RSS Reader, Please Help

2009-10-28 Thread Raphael
I don't think posting up up every 2 hours is going to help any... M3 is a seriously obsolete release, which dates before Android had any kind of stable API in place. If you really want help porting your code, you might as well start by listing the compilation errors you get. I also noticed you

[android-beginners] Re: listen for when my app is installed

2009-10-28 Thread Raphael
Out of curiosity, why do you want to copy your assets on the sdcard anyway? They are already nicely zipped in your APK. R/ On Wed, Oct 28, 2009 at 9:45 AM, Jeffrey Blattman jeffrey.blatt...@gmail.com wrote: i would like to copy some files from assets to the SD card when my app is installed.

[android-beginners] Re: Issue with Android Debug Bridge

2009-10-28 Thread Raphael
So you're trying to see an emulator, right, not a physical device? Can you tell us a bit more: - the version of adb: adb version - the version of your emulator: emulator -version (give the full first line, including build_id) - is the emulator fully booted when you try to see it in adb? does it

[android-beginners] Re: taking a screenshot...of whatever is drawn on the view

2009-10-28 Thread Raphael
I don't know about the DrawingCache. However if all you want is to draw your view to a bitmap, that's pretty easy: create a new bitmap, wrap it in a new Canvas(theBitmap) and call your view.onDraw with this canvas. R/ On Wed, Oct 28, 2009 at 3:04 AM, Samuh samuh.va...@gmail.com wrote: I am

[android-beginners] Re: listen for when my app is installed

2009-10-28 Thread Jeffrey Blattman
ehhh ... they are sample files that the user is allowed to edit. i was trying to keep track of things, like when the user edits an asset file, copy it to the sdcard and ignore the asset file from then on ... and doing something like when the user removes the file, mark it removed by adding a

[android-beginners] How to add a dialog in a AppWidget

2009-10-28 Thread Carl
Hi all, I am trying to add a dialog to a widget I made, in where when you press it, it displays two options, YES and NO. If the user presses YES, it will start an Activity. I tried to use android.app.Dialog but it looks like it only works with Activities. Is there any way of achieving this?

[android-beginners] Re: What does the Home button do?

2009-10-28 Thread jbrohan
Thanks RicharDC This explains a lot. Why the MyTracks is always there using up my battery, and more to the point why my application that uses a Camera fails sometimes. I think I'm sure I want to go right back to OFF when the user presses Home or Back. Do regular users understand this or am I

[android-beginners] Re: TabWidget causing null pointer

2009-10-28 Thread tatman
I got the debugger attached and in the debugger I see the exception RuntimeException, Your content must have a TabHost whose id attribute is 'android.R.id.tabhost' I have set the id of my tabhost element to tabhost. I've also set it in pretty much every other control. I've looked at a number

[android-beginners] Re: Error early in development

2009-10-28 Thread hawksd20
Did you just use the installation directions given on the website and also in the hello android tutorial because I have gone through those directions several times trying to figure out if I am doing something wrong but I am almost positive I have followed the directions correctly and I don't know

[android-beginners] Any suggestions on how to save and XML DOM back to a file?

2009-10-28 Thread launchpadtt
Hello, I have this app that's reading in an xml file into a document object. usually with code like this. Java: InputStream in=openFileInput(file.xml); DocumentBuilder builder=DocumentBuilderFactory.newInstance ().newDocumentBuilder(); Document doc=builder.parse(in, null);