[android-beginners] Re: Cant run HelloAndriod
It sounds like you're selecting Run As Android JUnit Test when attempting to run your app. This will attempt to execute all the JUnit tests in your project, but your project is not properly configured as a test project. What you probably want instead is to select Run As Android Application. This will install the app on the emulator, and launch its default activity. Brett. On Fri, Aug 7, 2009 at 12:04 AM, Pugnap00shanenelso...@gmail.com wrote: So ive set up eclipse, with android SKD, and im trying to get the test HelloAndroid to run. My AVD is setup correctly, i did it through the command prompt. Whenever i go to run my app i get this error. ERROR: Application does not specify a android.test.InstrumentationTestRunner instrumentation or does not declare uses-library android.test.runner Ive configured the build path. Ive never used eclipse before so i get lost in this IDE pretty quik :P --~--~-~--~~~---~--~~ 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: Android SDK + Eclipse + Ubuntu 9.04 = strange bug
Try to reload the project. In the package explorer, right click on project and select refresh F5. On Aug 5, 3:03 pm, sunabozu tro...@gmail.com wrote: Hi. I'm trying to write a basic application. Everything goes fine and my project works. But when I'm using IOException in my code, Eclipse shows me strange message in console (when I'm saving the project, but validation in editor is ok): trouble writing output: null [2009-08-06 00:22:49 - myapp] Conversion to Dalvik format failed with error 2 I have the latest version of Eclipse, Ubuntu 9.04 and sun-jdk (update 14) from repository. Same versions of this apps works fine on Windows XP and Windows 7 with the same code. Is this a bug? --~--~-~--~~~---~--~~ 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] virtual keyboard
hi!my application have an edittext on main activity and i want as whe my application will open the virtual keyboard to be open.i tried whith requestFocus but doesn't work.you think is posible that?and an other question:is posible tu use the enter key pf virtual keyboard to submit a form or an other action? Thank you! --~--~-~--~~~---~--~~ 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 access Phone Book
Thanks. On Fri, Aug 7, 2009 at 12:20 AM, Kacper86 cpph...@gmail.com wrote: Hi, You have to read this article: http://developer.android.com/guide/topics/providers/content-providers.html If you have any questions after the reading let us now :) On 5 Sie, 21:13, eNtriZe ajazahme...@gmail.com wrote: Hi, Iam beginner with android can any body tell me how i can access contents of phones Thanks, Regards --~--~-~--~~~---~--~~ 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: Help Needed with Opening File
I eventually solved the problem with help of following dicussion http://www.anddev.org/viewtopic.php?p=25297#25297 my solution is:- public void CopyfiletoMemory(String filename){ FileOutputStream fos; DataOutputStream out; try{ FileInputStream in = new FileInputStream(/ sdcard/+filename); boolean success = new File(/data/data/com.example.test2/ data).mkdir(); if (!success) System.out.println( no success); File file = new File(/data/data/com.example.test2/ data/+filename); file.createNewFile(); if(!file.exists()){ file.createNewFile(); System.out.println( File created...); } fos = new FileOutputStream(file); out=new DataOutputStream(fos); // Transfer bytes from in to out byte[] buf = new byte[1024]; int len; while ((len = in.read(buf)) 0) { out.write(buf, 0, len); } out.flush(); in.close(); out.close(); listfiles(); System.out.println(File Copied); } catch (Exception e){ System.err.println(File input error); } } private void listfiles(){ FilenameFilter fil=null; String destination = /data/data/com.example.test2/data/; File fileCon[] = new File(destination).listFiles(fil); for (int n=0;nfileCon.length;n++) System.out.println(File +fileCon[n]); } public void Openfile(String filename){ try { listfiles(); fstream = new RandomAccessFile(/data/data/ com.example.test2/data/+filename,rw); .. Hope this helps other newbies who can't figure out file creation. Steve --~--~-~--~~~---~--~~ 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: Developer hardware
I have one htc hero..it is very fast when you will want to test your app on it..you must wait 10seconds till your app will runing..you will like the interface..it is inovative and really nice..but the processor is a bit slow when you have a lot of apps installed.after you will install driver,eclipse will recognize it and is more,more fast then simulator.hope i helped you..sorry for my english... On Aug 7, 2009 7:52 PM, mvdb m.vandenbran...@gmail.com wrote: Hi everyone, I would like to get a HTC Hero for Android development. I could not find anything to indicate this would be a bad idea, i.e. I think I should be able to debug applications from Eclipse? I just wanted to make sure before I go ahead and buy one Any answers much appreciated Martijn --~--~-~--~~~---~--~~ 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]
plz send me example of startActivityForResult in android --~--~-~--~~~---~--~~ 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: examples for Saurabh sinha, seema sharma, jyoti gupta
Do we have mods for this group? Is it possible to boot someone out for spamming? On Fri, Aug 7, 2009 at 1:15 PM, Julie tearse...@yahoo.com wrote: Saurabh Sinha - is that you? You really need to stop spamming the channel (and the smart regulars!!) begging and demanding for someone to do YOUR work for you - no matter how many names you use and email accounts you can set up! From: seema sharma seema.sharma...@gmail.com To: android-beginners@googlegroups.com Sent: Thursday, August 6, 2009 1:35:11 PM Subject: [android-beginners] hello I need a notification example in android plz send to me = From: jyoti gupta guptajyot...@gmail.com To: android-beginners@googlegroups.com Sent: Thursday, August 6, 2009 1:14:21 PM Subject: [android-beginners] I need notification example in android plz send to me == From: saurabh sinha saurso...@gmail.com To: android-beginners@googlegroups.com; jack...@t-mobile.com; b.indraneel banglore b.indran...@gmail.com Sent: Thursday, August 6, 2009 2:59:54 AM Subject: [android-beginners] hello I am android beginner. I need a notification example and how to call servlet in android send me these 2 example -- Abhiram Alamuru --~--~-~--~~~---~--~~ 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] Simulate a tap
Is posible to simulate a tap over an edittext?thank you --~--~-~--~~~---~--~~ 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] Pictures and EXIF data
I was wondering what needs to be done if you would like a picture taken by your G1 phone to be geotagged? I am designing an app that will allow you to take a picture with the camera and geotag it. Are there any code examples one might recommend for taking a picture with your app (calling the camera library?) and the geotagging the picture and put it as part of the EXIF data? Also, is there any good info on how to form your own EXIF data? Thanks! -- :-) P Please don't print this e-mail unless you really need to. http://www.crossloop.com/Teenah --~--~-~--~~~---~--~~ 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: Pictures and EXIF data
tinyang wrote: I was wondering what needs to be done if you would like a picture taken by your G1 phone to be geotagged? I am designing an app that will allow you to take a picture with the camera and geotag it. Are there any code examples one might recommend for taking a picture with your app (calling the camera library?) and the geotagging the picture and put it as part of the EXIF data? Also, is there any good info on how to form your own EXIF data? Thanks! Somebody inquired about this a month or two ago. There are open source Java libraries for manipulating EXIF tags, such as Sanselan: http://incubator.apache.org/sanselan/site/index.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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: Pictures and EXIF data
Thanks Mark, looks good! Is it possible to incorporate purely java/non-android libraries into an android app? Does the G1 not have a built-in option for geotagging a picture taken with the camera already? Also, Are there any code examples one might recommend for taking a picture with your app/calling the camera library? -Original Message- From: android-beginners@googlegroups.com [mailto:android-beginn...@googlegroups.com] On Behalf Of Mark Murphy Sent: Saturday, August 08, 2009 4:18 PM To: android-beginners@googlegroups.com Subject: [android-beginners] Re: Pictures and EXIF data tinyang wrote: I was wondering what needs to be done if you would like a picture taken by your G1 phone to be geotagged? I am designing an app that will allow you to take a picture with the camera and geotag it. Are there any code examples one might recommend for taking a picture with your app (calling the camera library?) and the geotagging the picture and put it as part of the EXIF data? Also, is there any good info on how to form your own EXIF data? Thanks! Somebody inquired about this a month or two ago. There are open source Java libraries for manipulating EXIF tags, such as Sanselan: http://incubator.apache.org/sanselan/site/index.html -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year No virus found in this incoming message. Checked by AVG - http://www.avg.com Version: 8.0.169 / Virus Database: 270.13.24/2255 - Release Date: 8/7/2009 6:37 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: Pictures and EXIF data
tinyang wrote: Thanks Mark, looks good! Is it possible to incorporate purely java/non-android libraries into an android app? Possible, yes. Not all libraries will compile, because they require APIs not available on Android. Does the G1 not have a built-in option for geotagging a picture taken with the camera already? I have not seen one; then again, I have not really looked. Also, Are there any code examples one might recommend for taking a picture with your app/calling the camera library? The SDK ships with some camera examples. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Warescription: Three Android Books, Plus Updates, $35/Year --~--~-~--~~~---~--~~ 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: Question Regarding the Background Menu
Anyone?I really appreciate any helps. --~--~-~--~~~---~--~~ 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 -~--~~~~--~~--~--~---