[android-developers] App closes when clicking using MonkeyRunner + Genymotion

2014-05-26 Thread Jeremy Dagorn
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:

Re: [android-developers] Landscape Portrait and more... advanced question

2012-06-15 Thread Jeremy Dagorn
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

[android-developers] Re: how to resolve this promblem

2012-01-20 Thread Jeremy Dagorn
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)

[android-developers] Re: Using an adapter from another class/activity

2012-01-13 Thread Jeremy Dagorn
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

[android-developers] Re: write files

2011-12-01 Thread Jeremy Dagorn
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.

[android-developers] Re: How to Capture a Photo with my CustomCameraView class?

2011-11-14 Thread Jeremy Dagorn
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

[android-developers] Re: Laying imageViews in a Grid

2011-11-05 Thread Jeremy Dagorn
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

[android-developers] Re: problem:FingerPaint using surfaceview

2011-10-31 Thread Jeremy Dagorn
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

[android-developers] Re: Including SWF file in my android project

2011-10-28 Thread Jeremy Dagorn
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

[android-developers] Re: speech recording

2011-10-25 Thread Jeremy Dagorn
=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

[android-developers] Re: speech recording

2011-10-25 Thread Jeremy Dagorn
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

[android-developers] Re: speech recording

2011-10-25 Thread Jeremy Dagorn
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

[android-developers] Re: Check whether media player is playing media or not

2011-10-24 Thread Jeremy Dagorn
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?

[android-developers] Re: speech recording

2011-10-24 Thread Jeremy Dagorn
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

[android-developers] Re: copy from internal storage

2011-10-21 Thread Jeremy Dagorn
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

[android-developers] Re: error: device not found suddenly...

2011-10-20 Thread Jeremy Dagorn
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

[android-developers] Re: How to add buttons on the top in relative layout

2011-10-15 Thread Jeremy Dagorn
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,

[android-developers] Re: how to insert image into listview and text also in list view

2011-10-14 Thread Jeremy Dagorn
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

[android-developers] Re: How to detect nearby devices

2011-10-07 Thread Jeremy Dagorn
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:

[android-developers] Re: socketException

2011-10-04 Thread Jeremy Dagorn
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

[android-developers] Re: changing background color of listview, and text inside

2011-10-04 Thread Jeremy Dagorn
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,

[android-developers] Re: How do I navigate to the SD card?

2011-09-29 Thread Jeremy Dagorn
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

[android-developers] Re: trying to start-activity from alertdiaog --please advice

2011-09-28 Thread Jeremy Dagorn
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

[android-developers] Re: Problem with MediaPlayer while playing sequence (or) Multiple Files

2011-09-26 Thread Jeremy Dagorn
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

[android-developers] Re: how to get LatLng from GPS (java code)?

2011-09-12 Thread Jeremy Dagorn
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

[android-developers] Re: Can i download directly a thumbnail of a picture in android

2011-09-12 Thread Jeremy Dagorn
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();

[android-developers] Re: Webview android

2011-09-09 Thread Jeremy Dagorn
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

[android-developers] Re: signature recording

2011-09-09 Thread Jeremy Dagorn
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 :

[android-developers] Re: Filenot found exception

2011-09-08 Thread Jeremy Dagorn
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

[android-developers] Re: disable horizontal scrolling on a WebView

2011-09-08 Thread Jeremy Dagorn
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

[android-developers] Re: Pause MediaRecorder

2011-09-05 Thread Jeremy Dagorn
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

[android-developers] Re: how to insert image background of button

2011-09-05 Thread Jeremy Dagorn
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?

[android-developers] Re: image won't show

2011-08-24 Thread Jeremy Dagorn
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?

[android-developers] Re: text color of a ListView

2011-08-17 Thread Jeremy Dagorn
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] Re: Location(longitude and latitude) not Displayed in the phone

2011-08-10 Thread Jeremy Dagorn
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

[android-developers] Problems with Canvas, containing Button, and with onClick method too..

2011-08-04 Thread Jeremy Dagorn
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()

[android-developers] Handwriting application

2011-07-21 Thread Jeremy Dagorn
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

[android-developers] Re: Handwriting application

2011-07-21 Thread Jeremy Dagorn
, 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

[android-developers] Re: Error with button clicklistener

2011-07-19 Thread Jeremy Dagorn
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] Re: What is programming

2011-07-15 Thread Jeremy Dagorn
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

[android-developers] Re: Eclipse - Android - can't connect my device to Eclipse

2011-07-15 Thread Jeremy Dagorn
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