[android-developers] App closes when clicking using MonkeyRunner + Genymotion
Hi, I am trying to use MonkeyRunner to login on my virtual device with my gmail address. The issue is that the app closes when clicking on the New button in the google store app. I am using Genymotion as an emulator. Here is my script: https://gist.github.com/jrm2k6/1b7596379c76203c9ff3/aed6bd3221f6f69b63eb915caf6db7c0fceae9f0 I have also a logcat, but I didn't see anything really helpful in it: https://gist.github.com/jrm2k6/b95e4bbb353c314bb186 I don't really know where to look. I have several ideas: - could it be because I am trying to monkey test an app which is not mine? but a google app? - could it be Genymotion handling incorrectly clicks? (typing seems to be ok, it is when it tries to go to the next intent that it fails) Thanks! Jeremy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups Android Developers group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [android-developers] Landscape Portrait and more... advanced question
You got many snippets of code. Have you tried it ou? Also, check on the Android documentation, there is a part called FingerPaint. Here is the link : http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html By modifying a few this snippet you could be easily able to do what you weant without any effort. :) On Thursday, June 14, 2012 8:21:00 AM UTC+2, Sadhna Upadhyay wrote: Hi everyone, I am making an app in which i have to to draw circle with the help of finger(on touch listener) in android , can anyone help me Thanks and Regard sadhana On Thursday, June 14, 2012 8:21:00 AM UTC+2, Sadhna Upadhyay wrote: Hi everyone, I am making an app in which i have to to draw circle with the help of finger(on touch listener) in android , can anyone help me Thanks and Regard sadhana On Thursday, June 14, 2012 8:21:00 AM UTC+2, Sadhna Upadhyay wrote: Hi everyone, I am making an app in which i have to to draw circle with the help of finger(on touch listener) in android , can anyone help me Thanks and Regard sadhana On Thursday, June 14, 2012 8:21:00 AM UTC+2, Sadhna Upadhyay wrote: Hi everyone, I am making an app in which i have to to draw circle with the help of finger(on touch listener) in android , can anyone help me Thanks and Regard sadhana -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to resolve this promblem
As it said : add implements view.onClickListener at first line of your activty. Implements th onClick method from the onclicklistener interface to manage click evrnts. best, On Jan 20, 7:05 am, Pradeep predeeps...@gmail.com wrote: Multiple markers at this line - The method onClick(View) of type new View.OnClickListener(){} must override a superclass method - implements android.view.View.OnClickListener.onClick -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Using an adapter from another class/activity
Why you don't create an external adapter, saying that I mean, an adapter not created/instantiated as an inner adapter of your activity? On Jan 13, 1:55 am, galapogos gois...@gmail.com wrote: Thanks. How would I use this model for ArrayAdapters across several activities? Currently, I define my ArrayAdapter class in 1 .java file, declare/ initialize it in my main activity's onCreate() method, generate the list that binds to the adapter in a background thread in my main activity (this takes up to half a minute), and starts a Runnable in the UI thread to call notifyDataSetchanged() to update the adapter once the list generation has completed. Meanwhile, the other activities run their own background threads that wait for the main activity's background thread to notify them of list generation completion, then in the UI thread filters the adapter to get specific subsets of the full list and displays them in their activities. I've some problems with this approach: 1. It seems too complicated - I'm creating 1 thread for each activity, which then starts a Runnable in the UI thread to access the adapter (accessing the adapter from the background threads lead to runtime errors). 2. I get occasional force closes with the following error message in logcat: The content of the adapter has changed but ListView did not receive a notification. Make sure the content of your adapter is not modified from a background thread, but only from the UI thread. On Jan 12, 10:55 am, Kristopher Micinski krismicin...@gmail.com wrote: On Wed, Jan 11, 2012 at 9:46 PM,galapogosgois...@gmail.com wrote: Hi, I'm not aware of the singleton model. Are there any guides for it? Thanks. the singleton model refers to a so called design pattern ..., You can google it to find good examples: http://en.wikipedia.org/wiki/Singleton_pattern -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: write files
Hi, You could create a folder in the external storage and store your file in it no? You wont need any special authorization as far as I remember. Best On Nov 30, 4:31 am, DaltonGR arisdoxa...@gmail.com wrote: Hello, i have an application that gets a file(doc or pdf) from a .NET web service. Were can i save the file, it will be permanently be saved, so i can open it from within my application. I save it on /data/ data/package/files, but when i open it from an intent it says permission denied. thanks again -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to Capture a Photo with my CustomCameraView class?
Hi, you have to implement the onTakenPicture() to make it works. you should look at the android documentation it is pretty well explained. On Nov 14, 7:12 am, saex elpablos...@gmail.com wrote: I have a CustomCameraView, and i need to add a function that when i call it, the cameraview must capture a photo into a bitmap and into a file. The photo must be taken with default cuality, because this app must be executed on different Android phones with different cameras and so versions. Code examples/tutorials will be apreciated. I didn't find a easy working way to do it after hours of searching on google. This is my customCameraView: public class CustomCameraView extends SurfaceView { SurfaceHolder previewHolder; Camera camera; public CustomCameraView(Context ctx) { super(ctx); previewHolder = this.getHolder(); previewHolder.setType(SurfaceHolder.SURFACE_TYPE_PUSH_BUFFERS); previewHolder.addCallback(surfaceHolderListener); } SurfaceHolder.Callback surfaceHolderListener = new SurfaceHolder.Callback() { public void surfaceCreated(SurfaceHolder holder) { camera=Camera.open(); try { camera.setPreviewDisplay(previewHolder); }catch (Exception E ){ } } public void surfaceDestroyed(SurfaceHolder arg0) { camera.stopPreview(); camera.release(); } public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { Parameters params = camera.getParameters(); params.setPreviewSize(width, height); params.setPictureFormat(PixelFormat.JPEG); camera.setParameters(params); camera.startPreview(); } }; } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Laying imageViews in a Grid
Hi, Have you tried to play with different values available for android:layout_width et layout_height? Jeremy On Nov 4, 2:15 pm, quizit jamesfrain2...@googlemail.com wrote: I want to have a grid type layout of image views so I wanted to see if I could get this using simple buttons. This is easy enough but the problem arises when I try to use an imageView instead of a button. Is there an easy way to force android to fit the imageView in the exact same space a button fits in. Image view seems to ignore the width weight? I don't mind if the aspect ratio of the pic gets distorted but ideally it would keep this ratio and just shrink the image till it fits exactly. What is the best way to get this working? Here is my current xml... ?xml version=1.0 encoding=utf-8? LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:id=@+id/LinearLayout1 android:layout_width=fill_parent android:layout_height=fill_parent android:orientation=vertical android:weightSum=4 LinearLayout android:id=@+id/linearLayout3 android:layout_width=fill_parent android:layout_height=wrap_content android:layout_weight=1 ImageView android:id=@+id/imageView1 android:layout_width=wrap_content android:layout_height=wrap_content android:layout_weight=1 android:src=@drawable/chicken / Button android:id=@+id/button2 android:layout_width=wrap_content android:layout_height=fill_parent android:layout_weight=1 android:text=Button / /LinearLayout LinearLayout android:id=@+id/linearLayout3 android:layout_width=fill_parent android:layout_height=wrap_content android:layout_weight=1 Button android:id=@+id/button1 android:layout_width=wrap_content android:layout_height=fill_parent android:layout_weight=1 android:text=Button / Button android:id=@+id/button2 android:layout_width=wrap_content android:layout_height=fill_parent android:layout_weight=1 android:text=Button / /LinearLayout /LinearLayout -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: problem:FingerPaint using surfaceview
Hi, I've done a project using FingerPaint. You could look at it : https://github.com/jrm2k6/ElectronicCalendar Best, On Oct 31, 9:56 pm, Hassy hasith@gmail.com wrote: Hello, I'm trying to create a finger paint application using surfaceview. I have tried and able to paint on the screen using view but when I use surfaceview ,I can't draw on the screen. can anybody tell me how to solve this problem. CODE Main Activity public class MainAct extends Activity { DrawView drawView; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Set full screen view getWindow().setFlags(WindowManager.LayoutParams.FLAG_FULLSCREEN, WindowManager.LayoutParams.FLAG_FULLSCREEN); requestWindowFeature(Window.FEATURE_NO_TITLE); drawView = new DrawView(this); setContentView(drawView); drawView.requestFocus(); } } DrawView.class public class DrawView extends SurfaceView implements SurfaceHolder.Callback{ private static final String TAG = DrawView; ListPoint points = new ArrayListPoint(); Paint paint = new Paint(); Thread mainLoop = null; public DrawView(Context context) { super(context); getHolder().addCallback(this); setFocusable(true); setFocusableInTouchMode(true); paint.setAntiAlias(true); paint.setColor(Color.WHITE); paint.setAntiAlias(true); } public void doDraw(){ Canvas canvas = getHolder().lockCanvas(); canvas.drawColor(Color.BLACK); canvas.drawCircle(50, 50, 50, paint); for (Point point : points) { canvas.drawCircle(point.x, point.y, 25, paint); // Log.d(TAG, Painting: +point); } getHolder().unlockCanvasAndPost(canvas); } @Override public void surfaceChanged(SurfaceHolder holder, int format, int width, int height) { // TODO Auto-generated method stub } @Override public void surfaceCreated(SurfaceHolder holder) { // TODO Auto-generated method stub Log.d(getClass().getName(), surfaceCreated); doDraw(); } @Override public void surfaceDestroyed(SurfaceHolder holder) { // TODO Auto-generated method stub } @Override public boolean onTouchEvent(MotionEvent event) { // if(event.getAction() != MotionEvent.ACTION_DOWN) //return super.onTouchEvent(event); Point point = new Point(); point.x = event.getX(); point.y = event.getY(); points.add(point); Log.d(TAG, point: + point); return super.onTouchEvent(event); } } class Point { float x, y; @Override public String toString() { return x + , + y; } } Thank you Hassy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Including SWF file in my android project
And? What do you want to do exactly? If you want to play the file, you have to opened it in a webview I guess, or maybe just open it (if there is a flash player on your phone it will play it without issues probably..). You could stored it in the assets' folder of your application. Could you be more precise about what you want to do? Regards, On Oct 27, 9:59 am, Fari faris...@gmail.com wrote: hello, i want to include a swf file in my android project, Thanks Faris M.S +91-9746271800 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: speech recording
And what about the error? Logcat? On Oct 24, 6:41 pm, Asım Turgut SOMUNCUOĞLU asimturgut.somuncu...@gmail.com wrote: hi jeremy, my code is ; import java.io.IOException; import android.app.Activity; import android.media.MediaRecorder; import android.os.Bundle; import android.view.View; import android.widget.Button; public class SesdenemeActivity extends Activity { /** Called when the activity is first created. */ @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); final MediaRecorder MRX = new MediaRecorder(); MRX.setAudioSource(MediaRecorder.AudioSource.MIC); MRX.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); MRX.setAudioEncoder(MediaRecorder.AudioEncoder.AMR_NB); MRX.setOutputFile(C:/Users/PC/Desktop/android/sesdeneme); try { MRX.prepare();} catch (IllegalStateException e) { // TODO Auto-generated catch block e.printStackTrace();} catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } Button kaydet= (Button) findViewById(R.id.button1); kaydet.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub MRX.start(); } }); Button dur= (Button) findViewById(R.id.button2); dur.setOnClickListener(new View.OnClickListener() { public void onClick(View v) { // TODO Auto-generated method stub MRX.stop(); MRX.release(); } }); } } manifest.xml file; ?xml version=1.0 encoding=utf-8? manifest xmlns:android=http://schemas.android.com/apk/res/android; package=Uygulamalarim.Sesdeneme android:versionCode=1 android:versionName=1.0 uses-sdk android:minSdkVersion=10 / application android:icon=@drawable/icon android:label=@string/app_name activity android:name=.SesdenemeActivity android:label=@string/app_name intent-filter action android:name=android.intent.action.MAIN / category android:name=android.intent.category.LAUNCHER / /intent-filter /activity /application uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/uses-permission uses-permission android:name=android.permission.RECORD_AUDIO/uses-permission uses-permission android:name=android.permission.MODIFY_AUDIO_SETTINGS/uses-permission uses-permission android:name=android.permission.WAKE_LOCK/uses-permission uses-permission android:name=android.permission.READ_PHONE_STATE/uses-permission uses-permission android:name=android.permission.INTERNET/uses-permission /manifest thank u for interesting 2011/10/24 Jeremy Dagorn jeremy.dag...@gmail.com Hi, Could you give some code and raised error(s)? Jeremy On Oct 21, 8:36 pm, ktuluceng asimturgut.somuncu...@gmail.com wrote: how to make speech recording application for android please help me my cod is true but ı dont understand application has stopped erorr :S ı folllow this linkhttp:// www.brighthub.com/mobile/google-android/articles/40737.aspx and apply my application but take a error please help me !!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: speech recording
Ok, so if you are on Eclipse, you should go in the LogCat tab. And give us the part where the error is printed. It will be in red font. (I presume you don't use the logcat to debug that's why I'm explaining. If so, sorry to tell you such a simple thing). Without the error it is not easy to find what's wrong.. On Oct 25, 3:45 pm, ktuluceng asimturgut.somuncu...@gmail.com wrote: ý dont know :S normally this code runing nonerror but clik the record button this program said that . . . . application has been stopped where there is -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: speech recording
By the way, look at your setOutputFile. I guess you want to store your recording on the sdcard, not in your C:/ folder because it is not existing :) On Oct 25, 3:45 pm, ktuluceng asimturgut.somuncu...@gmail.com wrote: ý dont know :S normally this code runing nonerror but clik the record button this program said that . . . . application has been stopped -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Check whether media player is playing media or not
Hi, http://developer.android.com/reference/android/media/MediaPlayer.html#isPlaying%28%29 MediaPlayer.isPlaying()? On Oct 24, 9:23 am, Sunil Mishra suniljmis...@gmail.com wrote: Hi, Is there any api through which we can figure out whether media player is currently playing any media or not? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: speech recording
Hi, Could you give some code and raised error(s)? Jeremy On Oct 21, 8:36 pm, ktuluceng asimturgut.somuncu...@gmail.com wrote: how to make speech recording application for android please help me my cod is true but ı dont understand application has stopped erorr :S ı folllow this linkhttp://www.brighthub.com/mobile/google-android/articles/40737.aspx and apply my application but take a error please help me !!! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: copy from internal storage
Try dir.mkdirs() instead of dir.mkdir(), because you have a path with \ in it. Best, On Oct 20, 6:13 pm, Ab Caballero a...@mac.com wrote: let me make this more readable. The stack trace isn't printing because no exception is being thrown. Its as if it works perfectly. The logcat output looks like this: 10-20 14:54:52.798: INFO/LoginActivity(8925): This is the input stream /data/data/com.drayagerecorder/databases/LOGGERDB 10-20 14:54:52.838: INFO/LoginActivity(8925): External Storage Avaliable:true 10-20 14:54:52.838: INFO/LoginActivity(8925): External Storage Writable:true 10-20 14:54:52.878: INFO/LoginActivity(8925): Directory Created 10-20 14:54:52.938: INFO/LoginActivity(8925): This is the ouput stream 10-20 14:54:52.978: INFO/LoginActivity(8925): Bytes transfered 10-20 14:54:52.978: INFO/LoginActivity(8925): flushed 10-20 14:54:52.988: INFO/LoginActivity(8925): output close 10-20 14:54:53.000: INFO/LoginActivity(8925): input close There. On Oct 20, 3:06 pm, Ab Caballero a...@mac.com wrote: The stack trace isn't printing because no exception is being thrown. Its as if it works perfectly. The logcat output looks like this: 10-20 14:54:52.798: INFO/LoginActivity(8925): This is the input stream /data/data/com.drayagerecorder/databases/DB 10-20 14:54:52.838: INFO/LoginActivity(8925): ExternalStorage Avaliable:true 10-20 14:54:52.838: INFO/LoginActivity(8925): ExternalStorage Writable:true 10-20 14:54:52.878: INFO/LoginActivity(8925): Directory Created 10-20 14:54:52.938: INFO/LoginActivity(8925): This is the ouput stream 10-20 14:54:52.978: INFO/LoginActivity(8925): Bytes transfered 10-20 14:54:52.978: INFO/LoginActivity(8925): flushed 10-20 14:54:52.988: INFO/LoginActivity(8925): output close 10-20 14:54:53.000: INFO/LoginActivity(8925): input close 10-20 14:54:53.168: DEBUG/LoginActivity(8925): ?xml version=1.0 encoding=UTF-8? 10-20 14:54:53.168: DEBUG/LoginActivity(8925): kml xmlns=http://www.opengis.net/kml/2.2; 10-20 14:54:53.168: DEBUG/LoginActivity(8925): Document 10-20 14:54:53.168: DEBUG/LoginActivity(8925): Style id=truck 10-20 14:54:53.168: DEBUG/LoginActivity(8925): IconStyle 10-20 14:54:53.168: DEBUG/LoginActivity(8925): colorff11fdfa/color 10-20 14:54:53.168: DEBUG/LoginActivity(8925): scale1.1/scale 10-20 14:54:53.168: DEBUG/LoginActivity(8925): Icon 10-20 14:54:53.168: DEBUG/LoginActivity(8925):http://maps.google.com/mapfiles/kml/shapes/truck.png 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /Icon 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /IconStyle 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /Style 10-20 14:54:53.168: DEBUG/LoginActivity(8925): namedel/name 10-20 14:54:53.168: DEBUG/LoginActivity(8925): Style id=yellowLineGreenPoly 10-20 14:54:53.168: DEBUG/LoginActivity(8925): LineStyle 10-20 14:54:53.168: DEBUG/LoginActivity(8925): color7f00/color 10-20 14:54:53.168: DEBUG/LoginActivity(8925): width4/ width 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /LineStyle 10-20 14:54:53.168: DEBUG/LoginActivity(8925): PolyStyle 10-20 14:54:53.168: DEBUG/LoginActivity(8925): color7f00ff00/color 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /PolyStyle 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /Style 10-20 14:54:53.168: DEBUG/LoginActivity(8925): extrude0/ extrude 10-20 14:54:53.168: DEBUG/LoginActivity(8925): tessellate1/ tessellate 10-20 14:54:53.168: DEBUG/LoginActivity(8925): altitudeModeclampToGround/altitudeMode 10-20 14:54:53.168: DEBUG/LoginActivity(8925): Placemark 10-20 14:54:53.168: DEBUG/LoginActivity(8925): TimeStamp 10-20 14:54:53.168: DEBUG/LoginActivity(8925): when2011-10-20T21:53:55Z/when 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /TimeStamp 10-20 14:54:53.168: DEBUG/LoginActivity(8925): styleUrl #Truck/ styleUrl Point 10-20 14:54:53.168: DEBUG/LoginActivity(8925): coordinates-0.73926,51.3329783/coordinates 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /Point 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /Placemark 10-20 14:54:53.168: DEBUG/LoginActivity(8925): Placemark 10-20 14:54:53.168: DEBUG/LoginActivity(8925): TimeStamp 10-20 14:54:53.168: DEBUG/LoginActivity(8925): when2011-10-20T21:53:55Z/when 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /TimeStamp 10-20 14:54:53.168: DEBUG/LoginActivity(8925): styleUrl #Truck/ styleUrl Point 10-20 14:54:53.168: DEBUG/LoginActivity(8925): coordinates-0.7385883,51.3335983/coordinates 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /Point 10-20 14:54:53.168: DEBUG/LoginActivity(8925): /Placemark 10-20 14:54:53.168: DEBUG/LoginActivity(8925): Placemark 10-20 14:54:53.168: DEBUG/LoginActivity(8925): TimeStamp 10-20 14:54:53.168: DEBUG/LoginActivity(8925):
[android-developers] Re: error: device not found suddenly...
You could restart the adb server, and try to make it recognize the device again. In command line, go to: cd sdk-folder/platform-tools/ sudo ./adb kill-server disable and enable debugging usb on your phone sudo ./adb start-server ./adb devices It should appear as detected. Close Eclipse to be sure. Hope it will work! Jeremy On Oct 18, 9:36 pm, Eric jude...@gmail.com wrote: I meet the same issue, it is work properly at emulator, however, mobile phone always offline at Mac OS 10.6 -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to add buttons on the top in relative layout
As Studio LFP said, you try to put buttons in the wrong place. The layout you have shown in your message represents only one row of your listview. Try to add a layout above your listview (ListView component) with your buttons in it. On Oct 15, 2:03 am, Windy sbrishta...@gmail.com wrote: Hi, I am using relative layout to show a list with checkboxes in each row. Now I want to add 3 buttons on the top of this list. how can I do so? when I tried to add a button in this layout,the button appeared in all the rows of the list. here is my .xml file : ?xml version=1.0 encoding=utf-8? RelativeLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=wrap_content TextView android:text=@+id/label android:layout_width=wrap_content android:layout_height=wrap_content android:id=@+id/label android:textSize=30px/TextView CheckBox android:id=@+id/check android:layout_width=wrap_content android:layout_height=wrap_content android:layout_marginLeft=4px android:layout_marginRight=10px android:layout_alignParentRight=true /CheckBox /RelativeLayout Please help me quickly. -thanks -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to insert image into listview and text also in list view
Hi, Look at this : http://developer.android.com/reference/android/widget/ListView.html So the process is simple, create a layout containing your list view element. Create another layout called listview_raw for example, which will contain an imageView and a textView. You have to create an Adapter, (ArrayAdapter, CustomAdapter, as you want), in charge put the line with your image and text in the listView. For that, you have to implement the getView method of your adapter, and set your adapter on your listView. Here is the reference for all these components : http://developer.android.com/reference/android/widget/ListView.html http://developer.android.com/reference/android/widget/Adapter.html Have fun, Jeremy Jérémy On Oct 13, 12:41 pm, shital suryawanshi shital.andr...@gmail.com wrote: hi if any one have information about that pls send me thanks shital -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How to detect nearby devices
Hi, And what about sending a broadcast request on the current wifi network? The answer could be the GPS location of the responder? Just saying because I was wondering if it could work. If my idea was stupid just say nothing :) Best, On Oct 7, 10:40 am, Studio LFP studio@gmail.com wrote: The only way I know people have done this is a simple GPS location update to a server. The server then checks for others that have reported back and returns those that are under a specified range. I think that may be your only option. Steven Studio LFPhttp://www.studio-lfp.com -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: socketException
Could you give more information about your code? For example : http://stackoverflow.com/questions/4939237/android-app-address-family-not-supported-by-protocol Best, On Oct 4, 12:50 am, arun kumar arun.kata...@gmail.com wrote: while am trying to get the response from the server am getting the this exception 10-04 09:46:48.454: DEBUG/SntpClient(59): request time failed: java.net.SocketException: Address family not supported by protocol Thanks in advance -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: changing background color of listview, and text inside
Hi, Do the setContentView before the findViewById of your different elements. What is the error message/ error exception raised? NullPointerException? I don't know why you talk about listview in the title of your message because it seems you don't have any listview in your layout. On Oct 4, 11:59 am, ravi sharma rs22...@gmail.com wrote: my layout is LinearLayout xmlns:android=http://schemas.android.com/apk/res/ android android:layout_width=fill_parent android:layout_height=wrap_content android:orientation=horizontal android:id=@+id/country_List TextView android:id=@+id/year android:layout_width=wrap_content android:layout_height=wrap_content android:textColor=#ff99 android:background=#ff80 android:padding=10dp android:textSize=16sp android:text=1964/ TextView android:id=@+id/country android:layout_width=fill_parent android:layout_height=fill_parent android:textColor=#ff80 android:background=#ff99 android:padding=10dp android:textSize=16sp android:text=Sweden/ /LinearLayout and i want to change the color dynamically but applicaiton always crashes down public View mainListLayout; private TextView txtcountry ; private TextView txtyear ; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); txtcountry = (TextView)findViewById(R.id.country); txtyear = (TextView)findViewById(R.id.year); mainListLayout = findViewById(R.id.country_List); System.out.println(COlors are + colStr); mainListLayout.setBackgroundColor(Color.BLUE); txtcountry.setTextColor(-16711936); txtyear.setTextColor(0xff00ff00); Typeface ty = Typeface.create(fontStr, 0); txtcountry.setTypeface(ty); txtyear.setTypeface(ty); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: How do I navigate to the SD card?
Hi, I don't really understand what is your problem.. could explain more? I don't see the link between the fact you don't have a data plan and running the .apk from your sd card.. On Sep 29, 2:20 pm, cellurl gpscru...@gmail.com wrote: I want to run a non-market .apk located on SD card. Q: How do I navigate to it? I don't have a data plan, so I can't put it on a website, or can I use wifi to do this somehow?? Thanks for any leads! cellurl -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: trying to start-activity from alertdiaog --please advice
Hi, Activity well-placed in the Manifest? Context when you create your intent is right? On Sep 24, 2:03 pm, Manas Shah shahmana...@gmail.com wrote: Hi, I would like to launch new activity from the PositiveButton of alert dialog but it throws error. here is code i m using... final AlertDialog alertDialog = new AlertDialog.Builder(placeorder.this).create(); alertDialog.setMessage(Are you sure you want place order?); alertDialog.setCancelable(false); alertDialog.setButton(DialogInterface.BUTTON_POSITIVE, Yes,new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { Intent newintent1 = new Intent(placeorder.this,finalpage.class); alertDialog.cancel(); startActivity(newintent1); } }); alertDialog.setButton(DialogInterface.BUTTON_NEGATIVE, No,new DialogInterface.OnClickListener() { public void onClick(DialogInterface dialog, int id) { dialog.cancel(); } }); Please advice. -Regards, Manas Shah. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Problem with MediaPlayer while playing sequence (or) Multiple Files
Hi, So with the link describing someone with the same issue, there is a kind of solution by calling different methods in the catch for the IllegalStateException. Did you try it? On Sep 26, 3:58 am, julious raj julious...@gmail.com wrote: Hello developers, I am facing one big issue with my application. AFAIK the mediaplayer datasource should be Uri(or) FileDescriptor(or) Path. I have loaded my Files to assets. So i used FileDescriptor as datasource for my player. My problem is whenever i try to play any file the first file from assets played. It doesnot respond to the input i've given. I am new to Android development.I am googling it but does not find a better answer. I also faced the issue in the below link.http://code.google.com/p/android/issues/detail?id=957 Thanks in advance for Spending your valuable time. My code is Below: player = new MediaPlayer(); playnext = (Button)findViewById(R.id.button2); seekplay = (SeekBar)findViewById(R.id.seekBar1); button = (Button)findViewById(R.id.button1); button.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { AssetFileDescriptor afd; try { if(player.isPlaying()) { player.stop(); player.release(); player = new MediaPlayer(); } afd = assetManager.openFd(edho.mp3); playFile(afd.getFileDescriptor()); } catch (IOException e) { Log.e(Play File, e.toString()); e.printStackTrace(); } } }); playnext.setOnClickListener(new OnClickListener() { @Override public void onClick(View arg0) { AssetFileDescriptor afd; try { if(player.isPlaying()) { player.stop(); player.release(); player = new MediaPlayer(); } afd = assetManager.openFd(jugg.mp3); playFile(afd.getFileDescriptor()); } catch (IOException e) { Log.e(Play Next File, e.toString()); e.printStackTrace(); } } }); } void playFile(FileDescriptor name) { // if(player ==null) // player = new MediaPlayer(); try { player.reset(); player.setAudioStreamType(AudioManager.STREAM_MUSIC); player.setDataSource(name); player.prepare(); player.setOnPreparedListener(new OnPreparedListener() { @Override public void onPrepared(final MediaPlayer mp) { seekplay.setMax(mp.getDuration()); new Thread(new Runnable() { @Override public void run() { while(mp.getCurrentPosition()mp.getDuration()) { seekplay.setProgress(mp.getCurrentPosition()); } } }).start(); player.start(); } }); } catch (IllegalArgumentException e) { Log.e(IllegalAArgumentException, e.toString()); } catch (IllegalStateException e) { Log.e(IllegalStateException, e.toString()); } catch (IOException e) { Log.e(IOException, e.toString()); } } -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to
[android-developers] Re: how to get LatLng from GPS (java code)?
Hi, Step 1 : Open your favorite browser Step 2 : Write how to get latitude and longitude in android on Google Step 3 : Click on the first link Step 4 : You have your answer On Sep 10, 12:06 pm, Vey nuthsoch...@gmail.com wrote: Dear All, I try to find a java code to get LatLng from GPS on andoid phone. if someone known, please post a sample code. thank Cheth -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Can i download directly a thumbnail of a picture in android
Hi, To display a thumbnail version of your picture you could use the following : public Bitmap makeThumbnail(Bitmap bmp){ int newWidth = 100; int newHeight = 100; int width = bmp.getWidth(); int height = bmp.getHeight(); float scaleWidth = ((float)newWidth)/width; float scaleHeight = ((float)newHeight)/height; Matrix matrix = new Matrix(); matrix.postScale(scaleWidth, scaleHeight); Bitmap bmpResized = Bitmap.createBitmap(bmp, 0, 0, width, height, matrix, true); return bmpResized; } Best, On Sep 12, 8:47 am, Ratheesh Valamchuzhy android...@gmail.com wrote: Hi All This may help http://www.anddev.org/image_web_remote_url_urlconnection_bitmapfactor...http://stackoverflow.com/questions/3032729/android-view-web-pictures-...http://vikaskanani.wordpress.com/2011/01/22/android-web-image-gallery/ thanks Ratheesh -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Webview android
Hi, Look at the documentation, there is a simple example about how to load an URL from a WebView! http://developer.android.com/resources/tutorials/views/hello-webview.html Best, On Sep 9, 11:53 am, Christian Bianchini max...@gmail.com wrote: I have a problem with webview, I tried to use thehttp://raphaeljs.com/ library but was working only on my computer. I tried to use the browser and doesn't work as well. I tried to download Firefox on my phone and it's work! Anyone can suggest me any idea? I would like to use a webview of Firefox but I haven't any idea how to do it. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: signature recording
Hi, Yes, it is possible by using different things : Canvas, Paint, Path, and you could store the signature as a picture in your external storage, or directly as a file of your application. You should look at the following URL : http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/graphics/FingerPaint.html If you need more information, just let me know! Best, On Sep 8, 4:39 pm, markmcg tinyw...@gmail.com wrote: Hi, Is it possible to record a user's signature if they use a stylus and write onto screen? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Filenot found exception
Hi, It is better to access sdcard by doing the following : File SDCardFolder = new File(Environment.getExternalStorageDir()+/ yourfolder); // test it : if (SDCardFolder.exists()) String[] contentFolder = SDCardFolder.list(); Check also if your permissions are well located in your manifest file, sometimes you could write them in a wrong location, and they are not recorded by the app.. On Sep 8, 6:12 am, vani reddy vani.reddy.bl...@gmail.com wrote: Hi friends, I am getting the below exception java.io.FileNotFoundException: /mnt/sdcard/ (Permission denied) Also i have set the below permissions in the manifest uses-permission android:name=android.permission.WRITE_EXTERNAL_STORAGE/uses-permission android:name=android.permission.READ_EXTERNAL_STORAGE/ How to gain access to sdcard ? Please reply its too urgent -- Regards, Vani Reddy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: disable horizontal scrolling on a WebView
Hi, myWebView.setHorizontalScrollBarEnabled(false);? best, On Sep 8, 1:43 pm, bob b...@coolgroups.com wrote: Anyone know how to disable horizontal scrolling on a WebView? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Pause MediaRecorder
Hi, By pause, you want to stop the recording for a while, and continue it after that's it? What about, MediaRecord.stop()? http://developer.android.com/reference/android/media/MediaRecorder.html#stop%28%29 Regards, Jeremy On Sep 5, 9:50 am, Akhilesh Mani coffeewitha...@gmail.com wrote: Hi, Is there any way to pause MediaRecorder while recording. Or any alternate for doing that. Regards Mani. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: how to insert image background of button
Hi, What about myButton.setBackgroundResource(R.drawable.myimage); with your picture stored in the drawable project directory? Best On Sep 5, 9:17 am, Duygu Kahraman duygu.kahram...@gmail.com wrote: What does it mean? Do you want to insert image to background and then insert button? 2011/9/5 Shital Suryawanshi shital.myl...@gmail.com i am not able to insert image background of button.i already done img.apk file. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: image won't show
Hi, Why you don't do something like that : String imageUrl = file:///android_asset/smiley.png; WebView wv = new WebView(this); // or findViewById in your case wv.loadUrl(imageUrl); On Aug 23, 9:49 pm, bob b...@coolgroups.com wrote: Anyone know why this image won't show? WebView wv = (WebView) findViewById(R.id.widget30); String html = htmlbodyimg src=\file:///android_asset/smiley.png \/body/html; wv.loadData(html, text/html, utf-8); -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: text color of a ListView
Hi, In your xml layout file : ListView ... android:textColor=#FF /ListView Best, On Aug 17, 11:29 am, bob b...@coolgroups.com wrote: Anyone know an easy way to change the text color of a ListView on Android? -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Location(longitude and latitude) not Displayed in the phone
Hi, Have you only tried to test that inside or did you tried outside too? On Aug 9, 7:06 pm, zx su suzp1...@gmail.com wrote: the real devices need times to search satellites and calculate ites location. a article: a deep dive into location by Reto Meierhttp://feedproxy.google.com/~r/blogspot/hsDu/~3/OqaFGBKFvhE/deep-dive... 2011/8/9 TreKing treking...@gmail.com On Tue, Aug 9, 2011 at 2:26 AM, Ratheesh Valamchuzhy android...@gmail.com wrote: Emulater but not working in Real device Define not working. - TreKing http://sites.google.com/site/rezmobileapps/treking - Chicago transit tracking app for Android-powered devices -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Problems with Canvas, containing Button, and with onClick method too..
Hi all, So I have an activity which is a Canvas. I wanted to put a button on it. I'm able to do that, but several problems happened : 1) When I want to do button.setText(name); - there is a force close of the app, with the following error : NullPointer exception on the line calling the setText() method. BUT if I just do : button.setEnabled(false); there is no problem.. 2) When I tried to implements the click on the button, nothing happened and I don't really understand why.. Here is the code I've done : public class MyView extends View implements View.OnClickListener{ @Override protected void onDraw(Canvas canvas) { canvas.drawColor(Color.WHITE); canvas.drawBitmap(mBitmap, 0, 0, mBitmapPaint); canvas.drawPath(mPath, mPaint); undo_Btn.draw(canvas); undo_Btn.setOnClickListener(this); invalidate(); } .. @Override public void onClick(View v) { // TODO Auto-generated method stub switch(v.getId()){ case 1 : Toast.makeText(this.getContext(), Click, Toast.LENGTH_SHORT).show(); break; } } ..} This View is an inner class of my activity displaying a dialog interface given the ability to paint things with finger. So, I need your help to know why I can't change the name of the button, although it is an existing button, and why the click is not detected. I tried to create a new view extending GroupView, to put my button below the Canvas, but it is not really working. I think it could be a lot better if I have my view containing only the canvas, and a button below that view, with all these components in a relative view, but all my attempts failed. Hope I'm clear with my problem. Thank you, -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Handwriting application
Hi all, Do you know if there is existent library, or if there is some native methods in charge of handwriting for an application? I have googled it but I don't find any efficient sources/indications so if someone is aware of this kind of library, to give the opportunity to the user to write with a stylus on the screen, and not the keyboard, let me know! Thank you, Jérémy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Handwriting application
I just need to find something to integrate in my application allowing the user to write not with the keyboard but with hand, and store the thing he writes as a picture in a database. So, I need to have some component to give this option, and some methods to get written things to store them. Graffiti is an entire application, I need something more like an API.. but I really don't know if something like that exists.. On Jul 21, 3:02 pm, Mark Murphy mmur...@commonsware.com wrote: If you are seeking an input method editor that supports writing-style input, there's Graffiti, and perhaps others, on the Market. I am not aware of any open source ones. Those are also things that end users install, rather than something you integrate into your app. Or are you looking for signature capture, handwriting recognition, or something else? On Thu, Jul 21, 2011 at 5:55 PM, Jeremy Dagorn jeremy.dag...@gmail.com wrote: Hi all, Do you know if there is existent library, or if there is some native methods in charge of handwriting for an application? I have googled it but I don't find any efficient sources/indications so if someone is aware of this kind of library, to give the opportunity to the user to write with a stylus on the screen, and not the keyboard, let me know! Thank you, Jérémy -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -- Mark Murphy (a Commons Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy _Android Programming Tutorials_ Version 3.5 Available! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Error with button clicklistener
Can we see your code? On Jul 16, 4:12 pm, est2000 systemtar...@gmail.com wrote: when i try to set two button with two diffrent View.clicklistener ,the app doesn't work i didn't find what is the reason of this -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: What is programming
http://en.wikipedia.org/wiki/Computer_programming On Jul 12, 11:54 pm, BrightestSirius kyawth.soe.k...@gmail.com wrote: What is programming. I just want to know. Please reply me. -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en
[android-developers] Re: Eclipse - Android - can't connect my device to Eclipse
On Ubuntu, try to go in sdk-android/platform-tools/ in command line : ./adb kill-server Turn off debugging on your phone Turn on debugging on your phone ./adb start-server ./adb devices You have to close Eclipse before that. Hope it helped! -- You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en