[android-beginners] Re: Problem sending variable to java activity.

2010-08-03 Thread Justin
The error I get is The Application has stopped unexpectedly. Please try again, but it only happens as if I use tthe following 2 lines: Intent intent = getIntent(); int position = intent.getIntExtra(ImagePosition, -1); If I create the variable in this activity and blank

Re: [android-beginners] Re: Problem sending variable to java activity.

2010-08-03 Thread Mark Murphy
On Tue, Aug 3, 2010 at 6:00 AM, Justin justinbrett1...@gmail.com wrote: The error I get is The Application has stopped unexpectedly. Please try again, but it only happens as if I use tthe following 2 lines:            Intent intent = getIntent();            int position =

[android-beginners] Re: problem with r,java

2010-07-26 Thread DanH
R.java should be in the gen directory of your project, and further nested (if you observe it in the file system) by the directories of your project path. If you installed the Android add-on for Eclipse R.java should be automatically created, but I don't recall if it's created immediately after

Re: [android-beginners] Re: problem with r,java

2010-07-26 Thread Shaista Naaz
Hi Ganesh, When we make the project first time, it takes some sequence of build, clean, switching build automatically on and off and run, if you run this sequence some two or three times your R.java should be created and in the console of your eclipse you will see something like loading your

[android-beginners] Re: problem with r,java

2010-07-26 Thread Walach
Click right on your project, and refresh (or F5). then go to Project menu , and click on Build All if you can't click, first uncheck Build automaticlyin the same menu (Project). -- You received this message because you are subscribed to the Google Groups Android Beginners group. NEW! Try asking

Re: [android-beginners] Re: Problem with IDE.

2010-07-21 Thread Shaista Naaz
Hey hi, I am also having the exactly same problem as, the error message says gen [in HelloAndroid] does not exist. But actually it is there. as I can see it. Please kindly suggest what should I do to get rid of this problem. Thanks in Advance, Shaista On Mon, May 10, 2010 at 10:16 PM,

[android-beginners] Re: Problem Using Geocoder

2010-06-30 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Fri, Jun 25, 2010 at 8:23 AM, Jake Colman col...@ppllc.com wrote: Can anyone tell me what this means? As an aside, I wonder if this could be related to why Google Maps cannot show me my location and the Browser says location

Re: [android-beginners] Re: Problem Using Geocoder

2010-06-30 Thread TreKing
On Wed, Jun 30, 2010 at 8:44 AM, Jake Colman col...@ppllc.com wrote: Yes, I am using the emulator and, yes, the emulator was created with a GPS. Did you use DDMS to send the emulator a position? -

[android-beginners] Re: Problem Using Geocoder

2010-06-30 Thread Jake Colman
T == TreKing treking...@gmail.com writes: T On Wed, Jun 30, 2010 at 8:44 AM, Jake Colman col...@ppllc.com wrote: Yes, I am using the emulator and, yes, the emulator was created with a GPS. T Did you use DDMS to send the emulator a position? Yes. And a simple program that a

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
Kostya, Thanks. That worked like a charm. I noticed in sample AppWidget code that does not use a service, that it iterates the appWidgetIds array so that it updates all instances of the widget. However, in sample code that uses a Service, that iteration is not done. Is that because it is not

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, onUpdate is passed an explicit list of just the widget ids that need to be updated. Supposedly, there could be widgets that belong to this provider but don't need updating (e.g. on a scrolled-off home screen portion). Pushing a RemoveViews object to a paricular widget is done by

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
Kostya, That makes perfect sense. It seems like a service-based update is really the right way to go. It avoids any potential timeout issue and is allows updating of all widgets at once. Thanks for your help. ...Jake KV == Kostya Vasilyev kmans...@gmail.com writes: KV Jake, KV

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM If it helps, here is a complete app widget example: MM http://github.com/commonsguy/cw-advandroid/tree/master/AppWidget/Microblog/ MM It assumes you have an identi.ca account you can use. Indeed it does and indeed I do. I am

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Kostya Vasilyev
Jake, Using a service for a widget that's not doing anything lengthy to prepare updates seems like a bit of an overkill. Certainly it works, but probably not necessary. On the other hand, using a service is definitely the way to go for widgets that fetch data from the Internet or some other

Re: [android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Mark Murphy
On Wed, Jun 23, 2010 at 12:36 PM, Kostya Vasilyev kmans...@gmail.com wrote: On the other hand, using a service is definitely the way to go for widgets that fetch data from the Internet or some other way that can take a long time. There are (at least) three costs to doing work in the app widget

[android-beginners] Re: Problem with AppWidget Using a Service

2010-06-23 Thread Jake Colman
MM == Mark Murphy mmur...@commonsware.com writes: MM If it helps, here is a complete app widget example: MM http://github.com/commonsguy/cw-advandroid/tree/master/AppWidget/Microblog/ MM It assumes you have an identi.ca account you can use. Mark, Although it says Microblog, the

[android-beginners] Re: Problem with cursors

2010-06-17 Thread beka
I always use this method, so far it never crash yet Cursor c; ... //check if there is any cursor if (c.getCount() 0) { //move to the first cursor c.moveToFirst(); do { //retrieve the cursor data here . } while (cur.moveToNext()); //check if next cursor is still valid

[android-beginners] Re: Problem with cursors

2010-06-17 Thread beka
sorry, last line should be while (c.moveToNext()); //check if next cursor is still valid not cur.moveToNext() :p ... On Jun 18, 10:03 am, beka id.b...@gmail.com wrote: I always use this method, so far it never crash yet Cursor c; ... //check if there is any cursor if (c.getCount() 0) {  

[android-beginners] Re: Problem getting a linearlayout to be scrollable

2010-05-25 Thread Mike Topper
Ok It looks like the problem isn't anything to do with the scrollbar, since when I add another element, the scroll appears. the problem is that it seems like the last element is somewhat hidden behind the other linearlayout buttonbar in landscape mode. any idea how I can have it so that the

[android-beginners] Re: Problem with IDE.

2010-05-10 Thread Indicator Veritatis
He is already using Eclipse. The problem is that when he relies on Eclipse to create the folder, it fails. He has to recreate it manually everytime he executes ProjectClean Project. It sounds like something is wrong with the Ant script Eclipse has built for the project, but based on the evidence

[android-beginners] Re: Problem - How to copy .apk to /system/app ???

2010-04-29 Thread sridevi
Hey all, I am not trying to install a 3rd party app. I want to install a .apk(developed my me) file mounted on the sdcard onto the android x-86. I am not able to locate the sdk folder also once I boot up in the android OS. to be more specific,this is want I did: I have used vmware to install the

Re: [android-beginners] Re: Problem - How to copy .apk to /system/app ???

2010-04-29 Thread Rubén González
You should download a file manager to browse the SDCard and install the APK or (since it's on VMWare) install an Apache server on your host machine and use it to install any APK through Android's Internet Browser. On Thu, Apr 29, 2010 at 8:13 AM, sridevi sridevi@gmail.com wrote: Hey all,

[android-beginners] Re: Problem when writing a file that was deleted in meantime or not enough space left on SDCARD

2010-04-28 Thread vanesa
I close the stream when download is finished. There is now exception. try{ while( (c = in.read(chunk, 0, 2)) != -1) { out.write(chunk, 0, c); } } catch(IOException ex) { Log.d(ex,ex); } try{ if(dos != null) {

[android-beginners] Re: Problem - How to copy .apk to /system/app ???

2010-04-27 Thread Chih-Wei
Please send your question of Android-x86 to android-x86 discussion group. You can't modify /system of android-x86, since it's absolutely read-only. But you can install apk to android-x86 like an android phone. See AppHowto in android-x86 website. For the adb issue, it's in the Android SDK. On

[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

[android-beginners] Re: problem in android.process.acore

2010-03-30 Thread Kitzy
Are youglooking at the concel output or the LogCat? When you first run your program in the emulator, it will check if it is already installed, if not, it will install it. -Kitzy On Mar 26, 1:43 pm, Farhan bil2...@googlemail.com wrote: Hi developers When i want to run a program the output

[android-beginners] Re: problem in switching two activities

2010-03-30 Thread a2ronus
You also might want to take a look at: http://www.warriorpoint.com/blog/2009/05/24/android-how-to-switch-between-activities/ On 23 mrt, 13:30, Ramji ch.cha...@gmail.com wrote: Hi, I just started programmind an application using Eclipse for Android. I am creating 2 screens. 1st screen: Has a

[android-beginners] Re: Problem running TCPDUMP on Android Device..

2010-02-04 Thread Alok Kulkarni
Got the solution.Need to get the device rooted. Thanks, Alok. On Thu, Feb 4, 2010 at 12:44 PM, Alok Kulkarni kulsu...@gmail.com wrote: Hi, I am trying to install the tcp dump on my purchaced device.When i try to do adb push tcpdump /system/bin it says read only file system.So it seems that i

[android-beginners] Re: Problem running my Projects on Ubuntu 9.10

2010-01-17 Thread csaunders
Install the beta version of Eclipse. ADT works in it. On Jan 8, 8:53 am, Dave Feltenberger dave.feltenber...@gmail.com wrote: You installed the beta version of what -- Eclipse or Android?  I'm having the same issue when I try to run my projects in Ubuntu 9.10 (64 bit) using Eclipse 3.5.1 and

Re: [android-beginners] Re: Problem with Custom Dialog

2010-01-13 Thread IMED BEN ABDALLAH
rejoigne ce groupe pour une tres bonne formation a Android: http://www.facebook.com/group.php?v=wallgid=268882243055 2010/1/5 TreKing treking...@gmail.com: Another (simpler) option: - Add a click listener to you dialog - When it fires, get the EditText from the dialog (it's passed in as a

[android-beginners] Re: Problem running my Projects on Ubuntu 9.10

2010-01-13 Thread Dave Feltenberger
You installed the beta version of what -- Eclipse or Android? I'm having the same issue when I try to run my projects in Ubuntu 9.10 (64 bit) using Eclipse 3.5.1 and JDK 1.6.0_07. On Jan 5, 6:11 pm, Christopher Saunders c.saunders...@gmail.com wrote: I was having an issue with Eclipse on Ubuntu

Re: [android-beginners] Re: Problem with Custom Dialog

2010-01-08 Thread TreKing
The view you're trying to get the text from resides in the dialog, not the activity layout. In your click listener, call findViewByID on the dialog you get in the arguments, not the activity itself. Something like this. // ... snip ... public void onClick(DialogInterface dialog, int whichButton)

[android-beginners] Re: Problem with Custom Dialog

2010-01-08 Thread schwiz
I just give my custom dialogs a reference to my main activity so they can access its data. Just cast the Context to your activity name. On Jan 8, 8:18 am, TreKing treking...@gmail.com wrote: The view you're trying to get the text from resides in the dialog, not the activity layout. In your

[android-beginners] Re: Problem with Custom Dialog

2010-01-08 Thread mapper
Thanks again, It's working now. On Jan 8, 7:18 pm, TreKing treking...@gmail.com wrote: The view you're trying to get the text from resides in the dialog, not the activity layout. In your click listener, call findViewByID on the dialog you get in the arguments, not the activity itself.

[android-beginners] Re: problem with adb

2010-01-07 Thread Rc3375
1. Windows7 2. Eclipse android were installed in C;\dirname of software pkg. 3. Got it to fire up, but the emulator does not pick up the pkg I'm trying to debug. And if you just right click on that pkg and say run/debug, that's when that error comes up. But if you go 2 preferences and click on

[android-beginners] Re: problem with adb

2010-01-06 Thread Indicator Veritatis
A number of questions come to mind: 1) what operating system are you on? 2) how did you do the install of Eclipse? 3) how did you install the Android Plugin? 4) how did you install the Android SDK? On Jan 5, 5:00 pm, Rc3375 rcobb3...@gmail.com wrote: Had to do a reinstall of Eclipse.  All

Re: [android-beginners] Re: Problem with Custom Dialog

2010-01-05 Thread TreKing
Another (simpler) option: - Add a click listener to you dialog - When it fires, get the EditText from the dialog (it's passed in as a parameter to the listener) - Get the text from the EditText object and pass it to the TextView (which I assume you have / can get a reference to) since it's in the

[android-beginners] Re: Problem with Custom Dialog

2010-01-04 Thread Lenea
I've got it done. I just created a new class and set the Theme to @android:style/Theme.Dialog, then i created an intent and called startActivityForResult() and passed the parameters through Bundle. hope this helps others with the same problem as me Cheers, Lenea On Jan 5, 8:48 am, Kevin Duffey

[android-beginners] Re: Problem running latest ADT in Eclipse on Mac 10.6?

2009-12-10 Thread Like The Color
Yes, cocoa. The downloaded file is: 96247809 Nov 26 07:34 eclipse-java-galileo-SR1-macosx-cocoa.tar.gz On Dec 2, 8:43 pm, phirstube phirst...@gmail.com wrote: Which version Dan?  Cocca?  There are so many versions of Eclipse it is a bit ridiculous. On Dec 2, 1:50 pm, Like The Color

[android-beginners] Re: Problem running latest ADT in Eclipse on Mac 10.6?

2009-12-06 Thread phirstube
Which version Dan? Cocca? There are so many versions of Eclipse it is a bit ridiculous. On Dec 2, 1:50 pm, Like The Color danimal.br...@gmail.com wrote: Yes, I am using eclipse on OSX (10.6.2).  I had to get the 32-bit version of eclipse though to get things working. Best of luck, Dan On

[android-beginners] Re: Problem running latest ADT in Eclipse on Mac 10.6?

2009-12-02 Thread Like The Color
Yes, I am using eclipse on OSX (10.6.2). I had to get the 32-bit version of eclipse though to get things working. Best of luck, Dan On Nov 29, 1:26 pm, phirstube phirst...@gmail.com wrote: Has anyone had any luck getting this to work?  My thought is that there is a bug that will not allow the

[android-beginners] Re: problem in running very first app

2009-12-01 Thread seb
On 27 Nov., 10:07, Kalpana Kumari kalpana.kumar...@gmail.com wrote: anyone can help me in running my very first application. however Emulator is launched but nothing happened .. On the console following msgs came Maybe you are not waiting long enough? Check this one:

Re: [android-beginners] Re: Problem transitioning to TabActivity

2009-11-14 Thread Mehdi Achour
Hi, This is no bug. The error messages reads : Your content must have a TabHost whose id attribute is 'android.R.id.tabhost' Here's a sample : ?xml version=1.0 encoding=utf-8? TabHost android:id=@android:id/tabhost android:layout_width=fill_parent

[android-beginners] Re: Problem transitioning to TabActivity

2009-11-13 Thread Justin Grammens
I wish I had an answer for you. I have seen coding with tabs using Intents to be very flakey. It will work, then not work. I'll restart the emulator and then it will work again. Very frustrating. I think there is a bug somewhere in Android, but I can't prove it. Did you ever get you issue worked

Re: [android-beginners] Re: Problem: connection to Internet

2009-11-12 Thread Vaikunth Parmar
Thanks, It works fine now. On Wed, Nov 11, 2009 at 9:10 PM, jbrohan jbro...@gmail.com wrote: ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=com.example.johnprog android:versionCode=1 android:versionName=1.0

[android-beginners] Re: problem creating new android project

2009-11-11 Thread Bertrand
Hi everyone I have the same problem than you, and I find a little trick the see the list of build targets: just move down and change the size of the window New Android Project to the up. It's not a real answer to the problem but it's just made me able to start a new project ^^ I hope it's going

[android-beginners] Re: Problem with installing the Composite ADB interface

2009-11-11 Thread Julie
Did you get any help with this? I had the same issue trying to connect my phone to the computer. I've done so many different things. I have a white rooted Tmobile G1, Windows Vista SP2. On Oct 24, 7:13 pm, Jay leongchie...@gmail.com wrote: I am trying to install contacts2sim_pro.apk to my

[android-beginners] Re: problem creating new android project

2009-11-11 Thread gangcai
Try move the focus to the Build Target with Tab key. Then press blank key twice to select the target. You can change the build target with down/up arrow key. After you fill out the Package name, you need to select the target again(with Tab/blank/arrow key), that happened on my desktop(ubuntu

[android-beginners] Re: problem creating new android project

2009-11-05 Thread Songmak
I am experiencing the same problem in Ubuntu 9.10 and Eclipse 3.5. I can see the target list when I select the Test Android project but when I try to create an 'Android' project the target cannot be selected. Because of this I am sure it is not an Android SDK install issue. Any suggestions

[android-beginners] Re: problem creating new android project

2009-11-04 Thread Den1s
I have the same problem on Samsung R418 with Ubuntu 9.10 installed. I tried different Eclipse's but result is the same as on mugdha's screenshot. Is there any way to fix it? On Oct 8, 5:32 pm, bmalbert22 bmalber...@gmail.com wrote: Do you have the Android ADK installed. If you do, you ought to

[android-beginners] Re: problem creating new android project

2009-11-04 Thread Den1s
I have the same problem on Samsung R418 with Ubuntu 9.10 installed. I tried different Eclipse's but result is the same as on mugdha's screenshot. Is there any way to fix it? On Oct 8, 5:32 pm, bmalbert22 bmalber...@gmail.com wrote: Do you have the Android ADK installed. If you do, you ought to

[android-beginners] Re: problem creating new android project

2009-11-04 Thread Den1s
I have exactly the same problem on my Samsung R418 with Ubuntu 9.10 installed. Any thoughts how to fix it? On Oct 8, 5:32 pm, bmalbert22 bmalber...@gmail.com wrote: Do you have the Android ADK installed. If you do, you ought to be able to select it in the build target box which will make the

[android-beginners] Re: Problem with ADT plugin in Eclipse Galileo

2009-11-02 Thread Rainer
Guys, did you find a solution already? I have the same kind of problem: Running Ubuntu 9.04 + Eclipse 3.5 Galileo. I installed the Google App Engine Java SDK 1.2.6 plugin, the Google Plugin for Eclipse 3.5, and the Google Web Toolkit SDK 1.71 plugin. The installation went ok, and the plugins

[android-beginners] Re: Problem with Ubuntu 9.10? Please read!

2009-11-02 Thread Songmak
Hi Xavier, This workaround worked for me to get SDK up an running on Ubuntu 9.10 but now when I try to create an Android Project in Eclipse a Target cannot be selected. It appears to be a UI issue since I am able to see the very top of the header line. Not being able to select a target does not

[android-beginners] Re: Problem with Cursor Adapter not updating

2009-10-29 Thread skataben
Bump. I have the same question. Right now, I'm using the code below. There's got to be a simpler way. private void updateListview() { // Close the old Cursor if(mCursorAdapter != null) { Cursor c = mCursorAdapter.getCursor();

[android-beginners] Re: Problem with Cursor Adapter not updating

2009-10-29 Thread Mark Murphy
skataben wrote: Bump. I have the same question. Right now, I'm using the code below. There's got to be a simpler way. private void updateListview() { // Close the old Cursor if(mCursorAdapter != null) { Cursor c =

[android-beginners] Re: problem related to submit the data

2009-10-24 Thread Justin Anderson
Ummm... What? -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Oct 21, 2009 at 4:31 AM, pinkee

[android-beginners] Re: Problem Utilizing Already Existing Code

2009-10-12 Thread Raphael
What are your errors? R/ On Oct 11, 2009 11:48 AM, benjamin.grant.du benjamin.grant...@gmail.com wrote: http://code.google.com/p/jjil/source/checkout I want to use this code(the face detect part) in the emulator utilizing eclipse. I import the code as a new android project and get hundreds of

[android-beginners] Re: problem creating new android project

2009-10-08 Thread bmalbert22
Do you have the Android ADK installed. If you do, you ought to be able to select it in the build target box which will make the error that is appearing at the top about specifying the SDK. Try following the install directions here: http://developer.android.com/sdk/1.6_r1/installing.html and see

[android-beginners] Re: Problem involving emulators and networking.

2009-10-06 Thread Craig Panton
Hey thanks for the reply. I understand a bit better what I need to do now but still having a lot of bother on actually finding devices via the ip address and connecting through this. are there any tutorials or sample code on how to do this anywhere? On Oct 5, 2009 9:30 PM, Roman ( T-Mobile USA)

[android-beginners] Re: problem in services

2009-10-06 Thread Balwinder Kaur (T-Mobile USA)
Service is a faceless UI-less application component. You need a trigger to start it, either from an Activity which then may go away or in response to a broadcast intent from a BroadcastReceiver that may call the Service's startService method. (Note, you can't bind to the service from a broadcast

[android-beginners] Re: problem creating new android project

2009-10-05 Thread Roman ( T-Mobile USA)
You might want to fill out the rest -- 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 Oct 3,

[android-beginners] Re: Problem involving emulators and networking.

2009-10-05 Thread Roman ( T-Mobile USA)
You can directly communicate on Wifi from emulator to another phone if you are in the same LAN. There would be no server required. Only thing what you have to think about is, how do you get the IP address of your destination (discovery protocol on Wifi)? -- Roman Baumgaertner Sr. SW

[android-beginners] Re: Problem with ADT plugin in Eclipse Galileo

2009-10-02 Thread sbruno74
On Sep 29, 2:35 am, Andre Wichmann andre.wichm...@gmx.de wrote: What operating system are you using? I use Windows Vista 64-bit (Ultimate) Stéphane --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Beginners

[android-beginners] Re: Problem with ADT plugin in Eclipse Galileo

2009-09-29 Thread Andre Wichmann
Hi, On Sep 27, 9:11 pm, Stéphane Bruno sbrun...@gmail.com wrote: It is as if the ADT plugin and the Google plugins cannot coexist in Eclipse The same is true for the subclipse and subversion plugins - as soon as either one of them is installed, the ADT plugin stops working, at least when

[android-beginners] Re: problem installing a .apk file

2009-09-29 Thread wahib haq
yes exactly i see this error message. what does it mean ??? On 9/29/09, Jack Ha jack...@t-mobile.com wrote: Run adb logcat and you should see the error message: W/PackageParser( 582): /data/app/vmdl43410.tmp (at Binary XML file line #10): provider does not specify android:name -- Jack

[android-beginners] Re: problem installing a .apk file

2009-09-29 Thread Sean Hodges
It means that there is a content provider specified in the apps AndroidManifest.xml file that has not been given an android:name attribute. As described in the docs (http://developer.android.com/guide/topics/manifest/provider-element.html) the android:name attribute is mandatory. My guess is that

[android-beginners] Re: Problem with ADT plugin in Eclipse Galileo

2009-09-28 Thread Stéphane Bruno
Updating the issue. I just verified: I deleted the .eclipse folder in my home folder and I went through the installation of the ADT plugin again from scratch. But, after installing the Google plugins for eclipse (for appengine and web toolkit), all Android references disappear and am unable to

[android-beginners] Re: problem installing a .apk file

2009-09-28 Thread Jack Ha
Run adb logcat and you should see the error message: W/PackageParser( 582): /data/app/vmdl43410.tmp (at Binary XML file line #10): provider does not specify android:name -- Jack Ha Open Source Development Center ・T・ ・ ・Mobile・ stick together The coverage you need at the price you want The

[android-beginners] Re: Problem displaying notifications

2009-09-16 Thread Tikoze
I got the notification working! For anyone else who is having a similar problem, I have pasted the code below. For me, it is in the onCreate method of a service class. public void onCreate() { Intent launchIntent = new Intent(this, ActivityListView.class); CharSequence

[android-beginners] Re: problem in

2009-09-09 Thread Yusuf Saib (T-Mobile USA)
One problem is this mailing list doesn't display your red line. Could you perhaps indicate it with a ? Yusuf Saib Android ·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

[android-beginners] Re: problem with Hello, Gallery R.styleable not resolve

2009-09-01 Thread Justin Anderson
Thanks for catching the typo! I should have just done a copy/paste... :) Glad I could help somewhat. Thanks, Justin -- There are only 10 types of people in the world... Those who know binary and those who don't.

[android-beginners] Re: problem with Hello, Gallery R.styleable not resolve

2009-08-31 Thread Bui Quang Hao(Johny.Bui)
There is a mistake here in resources.xml file but I corrected it. The correct one is as follow: ?xml version=1.0 encoding=utf-8? resources declare-styleable name=Gallery1 attr name=android:galleryItemBackground / /declare-styleable /resources Thanks Justin. Your post is really

[android-beginners] Re: problem with service

2009-08-28 Thread Lutz Schönemann
A service is not running in it's own thread by default. It uses the main thread (same thread as your activity). It is a little confusing if you look at the lifecycles of a service and an activity so you might think that it is running in the background by default. What you should do is

[android-beginners] Re: problem with service

2009-08-28 Thread Teal
Thanks for the useful explanation, Lutz. This might be a newbie question, but if you're spawning a new thread anyway, why run it in a Service? Why not just spawn from Activity? Thanks. On Aug 28, 6:25 am, Lutz Schönemann lutz.schoenem...@sit.fraunhofer.de wrote: A service is not running in

[android-beginners] Re: Problem with Ecplise android plugin install

2009-08-28 Thread yodaa
Hello, I've uninstalled the repository version of Eclipse and get installed the Eclipse IDE for Java EE Developers version from official website: http://www.eclipse.org/downloads/ I've set up the Android Plugin using Software Updates, installation dependencies were installed. Plus I've set

[android-beginners] Re: Problem with Ecplise android plugin install

2009-08-27 Thread yodaa
Hi, Thanks for your answer. Seems like problem could be Eclipse specific... I tried to add an local atchived site to use Android plugin. 1 ) Downloaded the .zip file from : http://dl-ssl.google.com/android/ADT-0.9.1.zip to my local directory home/username/workspace/android-plugin/ 2 ) In

[android-beginners] Re: problem with service

2009-08-27 Thread Justin Anderson
Some source code might help... -- There are only 10 types of people in the world... Those who know binary and those who don't. -- On Wed, Aug 26, 2009 at 4:56

[android-beginners] Re: Problem with Ecplise android plugin install

2009-08-24 Thread Tony Su
Congrats for at least covering the likely SuSE specific issues and finally arriving at what might be a more generic problem with the Eclipse Plugin which ironically might be much easier to find the solution... If you're looking at what I think is your problem, the common solution is to

[android-beginners] Re: Problem in opening the Stream

2009-08-22 Thread Justin Anderson
Your code isn't using OpenStream() anywhere. Is that called by one of the methods you are using in the code you provided? If so, a posting of the logcat info would be helpful to get more information about what is causing the problem. Thanks, Justin

[android-beginners] Re: problem runnin Hello World Programme

2009-08-19 Thread Jack Ha
It seems like you are running your program as Android JUnit Test as opposed to Android Application. -- Jack Ha 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

[android-beginners] Re: Problem with istallation Android on Eclipse

2009-08-13 Thread Balwinder Kaur (T-Mobile USA)
Try Window-Open Perspective-Java Browsing. 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

[android-beginners] Re: Problem with tutorials.

2009-07-30 Thread vivekm
To alleviate the errors in Eclipse, you simply have to include Android1.5 in the project's buld path: 1. Click on Project Properties 2. Select Java Build Path Order and Export. 3. Make sure that the checkbox against Android 1.5 is checked and click on OK. Rebuilding the project should not show

[android-beginners] Re: Problem: connect to a server

2009-07-29 Thread Michael Leung
javadoc for permission: http://developer.android.com/reference/android/Manifest.permission.html security doc for android: http://developer.android.com/guide/topics/security/security.html On Wed, Jul 29, 2009 at 7:41 AM, Lorenz lorenzoteod...@gmail.com wrote: It works thanks Ash! where can I

[android-beginners] Re: Problem: connect to a server

2009-07-29 Thread Michael Leung
and i think ACCESS_FINE_LOCATION is the key On Wed, Jul 29, 2009 at 10:28 PM, Michael Leung michaelchi...@gmail.comwrote: javadoc for permission: http://developer.android.com/reference/android/Manifest.permission.html security doc for android:

[android-beginners] Re: Problem: connect to a server

2009-07-28 Thread Misra Ashish-QNK648
Hi Did you add uses-permission android:name=android.permission.INTERNET / To your manifest file. Try it works Cheers Ash -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Lorenz Sent: 28 July 2009 18:15 To: Android

[android-beginners] Re: Problem: connect to a server

2009-07-28 Thread Lorenz
It works thanks Ash! where can I have a look for permissions(like android.permission.INTERNET ) regarding receving GPS coordinates?Or do you know some tutorials? On 28 Lug, 21:29, Misra Ashish-QNK648 ash.mi...@motorola.com wrote: Hi Did you add uses-permission

[android-beginners] Re: Problem connecting G1 to Ubuntu 9.0.4

2009-07-24 Thread Radim Kubacki
Make sure that your phone is configured to support debugging. Go to settings and check Applications | Development | USB debugging. -Radim On Thu, Jul 16, 2009 at 12:14 PM, Mark Murphymmur...@commonsware.com wrote: rch wrote: Mark: No luck so far I tried couple of combinations You think

[android-beginners] Re: problem with getId()

2009-07-20 Thread kartheek karthikeya
may be you forgot to setclickble(true) to that image view On Sun, Jul 19, 2009 at 5:49 PM, Mark Murphy mmur...@commonsware.comwrote: arin wrote: Hi Everyone, I have the following code Java: imageView.setImageResource(mThumbIds[position]);

[android-beginners] Re: problem with getId()

2009-07-20 Thread arin
Thanks for ur interest kartheek. I solved it. I was doing a mistake, I sould've call gridview.setItemOnClick() instead! happy coding On Jul 20, 1:22 pm, kartheek karthikeya kartheek@gmail.com wrote: may be you forgot to setclickble(true)  to that image view On Sun, Jul 19, 2009 at 5:49

[android-beginners] Re: problem with getId()

2009-07-19 Thread Mark Murphy
arin wrote: Hi Everyone, I have the following code Java: imageView.setImageResource(mThumbIds[position]); imageView.setOnClickListener(new OnClickListener(){ @Override public void onClick(View

[android-beginners] Re: Problem connecting G1 to Ubuntu 9.0.4

2009-07-16 Thread rch
Mark: No luck so far I tried couple of combinations You think the format is ok ? SUBSYSTEM==usb, SYSFSHigh Tech Computer Corp.==0bb4, MODE=0666 Does it need to be {High Tech Computer Corp.}? Thanks On Jul 15, 7:52 pm, Mark Murphy mmur...@commonsware.com wrote: rch wrote: Step 2 I added

[android-beginners] Re: Problem connecting G1 to Ubuntu 9.0.4

2009-07-16 Thread Mark Murphy
rch wrote: Mark: No luck so far I tried couple of combinations You think the format is ok ? SUBSYSTEM==usb, SYSFSHigh Tech Computer Corp.==0bb4, MODE=0666 Does it need to be {High Tech Computer Corp.}? On my machine, it is {idVendor}. I mean that literally. -- Mark Murphy (a

[android-beginners] Re: Problem connecting G1 to Ubuntu 9.0.4

2009-07-15 Thread Mark Murphy
rch wrote: Step 2 I added a file /etc/udev/rules.d/51-android.rules The contents of 51-android.rules is SUBSYSTEM==usb, SYSFSHigh Tech Computer Corp.==0bb4, MODE=0666 I have the following as 50-android.rules SUBSYSTEM==usb, SYSFS{idVendor}==0bb4, MODE=0666 Step 3: I modified permsisions

[android-beginners] Re: problem starting emulator from command line

2009-07-07 Thread lu XIN
hello, i am a beginner too,and I have the same anonying problem as you .my enviroment is 32-vista and android sdk 1.5 r1. if you get some solution,please inform me .thank you very much . 2009/7/6 greg sep...@eduneer.com The reason the android emulator starting from within Eclipse did not

[android-beginners] Re: problem starting emulator from command line

2009-07-07 Thread greg
The reason I was having a problem (re)starting the emulator from the command line was that I did not first kill an already running emulator (by clicking on the 'x' in the top right of the emulator window). I'm able to reliably start the emulator now. On Jul 7, 8:25 am, lu XIN

[android-beginners] Re: Problem with Displaying Web Server's Response (Text) in Android

2009-07-07 Thread Mark Murphy
Persona wrote: Hello, the following code uses POST method to communicate with the Web Server, and the response is displayed in the console (not parsed in a Servlet, etc). When compiled as a java application, the program works as expected returning the response as html text. My aim is to

[android-beginners] Re: problem starting emulator from command line

2009-07-06 Thread greg
The reason the android emulator starting from within Eclipse did not appear to have some emulator options available is that I did not fully extend the window shown in response to the Eclipse Run/Run Configurations/Target menu item. Vertically extending that window revealed the Additional

[android-beginners] Re: problem starting emulator from command line

2009-07-06 Thread David Turner
that's pretty weird. Can you tell us what is the output of emulator -avd my_avd -debug-all before the crash? On Mon, Jul 6, 2009 at 5:18 PM, greg sep...@eduneer.com wrote: Although I can reliably start the android emulator from within Eclipse (version 3.4.2), I would like to use some emulator

[android-beginners] Re: problem starting emulator from command line

2009-07-06 Thread greg
Hi David, Thanks for suggesting the -debug-all emulator option. The last line of the -debug-all output was emulator: ERROR: the user data image is used by another emulator. aborting. After closing the existing emulator, the command line emulator -avd my_avd correctly starts the emulator.

  1   2   3   >