[android-developers] Re: generating keypress

2010-04-28 Thread Mihai Fonoage
You have to use start() to execute instrumentation in its own thread. This new thread will call onStart() where you can call your sendKeyDownUpSync(int) method. If you are using this for testing purposes only, you can create a separate test class that extends

[android-developers] Re: Issue with MediaPLayer

2010-04-28 Thread Mihai Fonoage
What error do you get? On Apr 26, 7:26 pm, arberb beqi...@gmail.com wrote: This is my script: public class MainActivity extends Activity {     @Override     public void onCreate(Bundle icicle) {         super.onCreate(icicle);         this.setContentView(R.layout.main);         Button

Re: [android-developers] Re: Issue with MediaPLayer

2010-04-28 Thread Mihai Fonoage
On Apr 28, 2:59 pm, Mihai Fonoage fonoag...@gmail.com wrote: What error do you get? On Apr 26, 7:26 pm, arberb beqi...@gmail.com wrote: This is my script: public class MainActivity extends Activity { @Override public void onCreate(Bundle icicle

[android-developers] Re: J2ME converting/translation to Android

2010-04-27 Thread Mihai Fonoage
Hmm, do you have a link to those tools? On Apr 27, 6:56 am, dillirao malipeddi dillir...@arijasoft.com wrote: motorola is giving tools for free to convert j2me to android... enjoy On Mon, Apr 26, 2010 at 1:25 AM, ricardocunha ricardocu...@gmail.comwrote: Hi, I want to know if

[android-developers] Re: J2ME converting/translation to Android

2010-04-26 Thread Mihai Fonoage
There is a tool called J2Android by Myriad which converts MIDlet apps to .dex bytecode files. Search a little on Google about this tool to find more info. On Apr 25, 3:55 pm, ricardocunha ricardocu...@gmail.com wrote: Hi, I want to know if exists a converter for a j2me source-code to android.

[android-developers] Re: what's the best 2d engine and what's the tools I need to create a game?

2010-03-30 Thread Mihai Fonoage
From http://knol.google.com/k/fred-grott/android-resources-for-application/166jfml0mowlh/12#Android_Development_Libraries: Angle, Rokon2D, Cocos2D, AGE, Cloak, JuicyGames On Mar 30, 3:24 am, jProg bk.1...@gmail.com wrote: Hi, I'm a newbie to android and I want to develop my first 2d game..:)

[android-developers] Re: what's the best 2d engine and what's the tools I need to create a game?

2010-03-30 Thread Mihai Fonoage
From http://knol.google.com/k/fred-grott/android-resources-for-application/166jfml0mowlh/12#Android_Development_Libraries Angle, Rokon2D, Cocos2D, AGE, Cloak, JuicyGames On Mar 30, 3:24 am, jProg bk.1...@gmail.com wrote: Hi, I'm a newbie to android and I want to develop my first 2d game..:) I

[android-developers] Re: help

2010-03-12 Thread Mihai Fonoage
http://developer.android.com/guide/appendix/faq/commontasks.html#localhostalias On Mar 11, 4:04 am, subrat kumar panda evergreen.sub...@gmail.com wrote: hello all, subrat here.im struggling with android soap which not getting any respone from axis server.currently i want 2 authenticate the

Re: [android-developers] Re: When to use TestCase, InstrumentationTestCase or AndroidTestCase

2010-03-03 Thread Mihai Fonoage
to include my test case in CTS package and then compile the whole package..if you have any idea regarding the same..please do reply. Thanks. Navin. On Mar 2, 11:39 pm, Mihai Fonoage fonoag...@gmail.com wrote: Hi navin, From what I know, for functional testing your entire activity, one

[android-developers] Re: When to use TestCase, InstrumentationTestCase or AndroidTestCase

2010-03-02 Thread Mihai Fonoage
-in-android.html Mihai Fonoage On Mar 2, 7:44 am, navin celebna...@gmail.com wrote: hi, I am trying to figure out while writing a test case for android most of the classes extend either of these.. 1. AndroidTestCase 2. InstrumentationTestCase 3. ActivityInstrumementationTestCase2 4. TestCase

[android-developers] Re: Testing problem with ActivityInstrumentationTestCase2T -- Error when trying to access Activity under testing

2010-02-24 Thread Mihai Fonoage
Hi Vladimir, Maybe this example will help: http://mihaifonoage.blogspot.com/2010/01/unit-and-functional-testing-in-android.html On Feb 24, 10:00 am, vladimir kroz vladimir.k...@gmail.com wrote: I wrote a simplest test based on android.test.ActivityInstrumentationTestCase2. [sourcecode

[android-developers] Re: Android 2.0 battery level

2010-02-17 Thread Mihai Fonoage
Take a look at http://developer.android.com/reference/android/os/BatteryManager.html#EXTRA_VOLTAGE. Mihai Fonoage On Feb 15, 7:49 am, Maxood maqs...@salsoft.net wrote: Hi Mark! I want to display Batter level stats in my app as shown in the following link: http://itunes.apple.com/us/app/app

[android-developers] Re: UI Testing

2010-02-08 Thread Mihai Fonoage
Hi Andrew, Maybe you'll find this helpful as well: http://mihaifonoage.blogspot.com/2010/01/unit-and-functional-testing-in-android.html. Mihai Fonoage On Feb 8, 12:42 am, andrew_prunicki andrew.pruni...@gmail.com wrote: Of course right after I wrote this, I noticed the classes in android.test

[android-developers] Re: Bug? Invalidate causing unnecessary redraws.

2010-02-02 Thread Mihai Fonoage
This is similar to the issue I had a while back: http://groups.google.com/group/android-developers/browse_thread/thread/efcd7416c2cbd78/8848e1d87cdec74a Mihai Fonoage On Feb 2, 3:47 pm, Keean Schupke keean.schu...@googlemail.com wrote: When I have two views directly next to each other

[android-developers] Re: Android Programming Class

2010-01-31 Thread Mihai Fonoage
Hi Josh, We are teaching undergrad and grad students Android at FAU. Our end goal is to get high school students interested in Android. I salute your efforts and I donated for these efforts! Mihai Fonoage On Jan 30, 6:20 pm, joshbeck josh.beck2...@gmail.com wrote: Hello everyone: I teach

Re: [android-developers] Re: UI Design Book

2010-01-15 Thread Mihai Fonoage
Thanks Sam for the useful info! Mihai Fonoage On Fri, Jan 15, 2010 at 7:13 AM, Sam Dutton sam.dut...@gmail.com wrote: Not sure what your background is, and neither of these is oriented specifically to mobile UI design, but both are good (I think the first is by far the most useful usability

[android-developers] UI Design Book

2010-01-14 Thread Mihai Fonoage
? Thank you! Mihai Fonoage -- 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

Re: [android-developers] UI Design Book

2010-01-14 Thread Mihai Fonoage
Thanks Romain, great resources! I also found The Visual Display of Quantitative Information by Edward Tufte. Mihai Fonoage On Thu, Jan 14, 2010 at 8:42 PM, Romain Guy romain...@android.com wrote: Here are a few very good reads: GUI Bloopers by Jeff Johnson About Face 3.0 by Alan Cooper

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
with the above code. I remember getting the same behavior on the emulator once, but I deleted the AVD, created a new one, and could not reproduce it afterwards. By the way, what phone are you using, and what version of the SDK do you have on it? Mihai Fonoage On Nov 22, 1:38 pm, JasonMP hyperje

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
No, you can take that line out (I updated the code with this change). Thanks for noticing that. Mihai Fonoage On Nov 23, 10:04 am, Jason Mallet-Prevost hyperje...@gmail.com wrote: Do I need to be including any other classes for this to run?  What is a PuzzleView?  Is that something in Android

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
Happy it does. I posted a very brief description of the code at the beginning of the blog; that, together with code comments should help a bit. Let me know if you have any questions. Mihai Fonoage On Nov 23, 10:52 am, Jason Mallet-Prevost hyperje...@gmail.com wrote: Mihai, It works!  Like

[android-developers] Re: MediaStore returning loop of images and not entire directory

2009-11-23 Thread Mihai Fonoage
image on the sdcard? On Nov 23, 11:23 am, Mihai Fonoage fonoag...@gmail.com wrote: Happy it does. I posted a very brief description of the code at the beginning of the blog; that, together with code comments should help a bit. Let me know if you have any questions. Mihai Fonoage On Nov

[android-developers] Re: schemas.android.com site down?

2009-11-11 Thread Mihai Fonoage
A similar discussion: http://groups.google.com/group/android-developers/browse_thread/thread/454642e27ef741c4/21aeaf195f2f4b8c Mihai Fonoage On Nov 10, 1:24 pm, Guy Resh guyr...@gmail.com wrote: Am I missing something or didhttp://schemas.android.com/apk/res/android just go away today? (11/10

[android-developers] Re: How can I partecipate to an Android project?

2009-11-10 Thread Mihai Fonoage
a chance. Mihai Fonoage On Nov 7, 2:11 pm, Joey Ramone ivan.laso...@gmail.com wrote: Hi everybody. I'm a student in computer science. I know Java, I don't know Android framework and the design patterns but I wish I learn them. Where can I find an Android project which I might partecipate? I'm

[android-developers] Re: java.lang.OutOfMemoryError after orientation changed

2009-11-03 Thread Mihai Fonoage
the issue. Mihai Fonoage On Nov 3, 4:45 pm, fadden fad...@android.com wrote: On Oct 30, 12:23 pm, Sekar shake...@yahoo.com wrote: 10-30 14:59:50.841: INFO/dalvikvm-heap(23490): Forcing collection of SoftReferences for 134217760-byte allocation Curiously, 134217760 is 0x0820.  Something went

[android-developers] Question regarding com.google.android.photostream.GridLayout

2009-11-03 Thread Mihai Fonoage
used the GridLayout class successfully with scrolling capabilities, or know how to implement them? Many thanks, Mihai Fonoage -- 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

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mihai Fonoage
Any help on this issue is greatly appreciated. Mihai Fonoage On Oct 29, 3:44 pm, Mihai Fonoage fonoag...@gmail.com wrote: Hello everyone, I have two views, one of which is a Chronometer. Whenever the Chronometer gets updated (every second, automatically, after its start () method has been

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mihai Fonoage
changed anything in my second view, it should not be re-drawn. The problem is that this is out of my control. There is nothing I can do to stop the second view of being re-drawn. Mihai Fonoage On Oct 30, 8:35 am, Mark Murphy mmur...@commonsware.com wrote: Mihai Fonoage wrote: Any help on this issue

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mihai Fonoage
feeling is that it might be another (though similar) problem. Mihai Fonoage On Oct 30, 11:22 am, String sterling.ud...@googlemail.com wrote: On Oct 29, 7:44 pm, Mihai Fonoage fonoag...@gmail.com wrote: I have two views, one of which is a Chronometer. Whenever the Chronometer gets updated

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mihai Fonoage
. Beside all this, I do find it unnecessary; characters representing numbers from 0 to 9 have the same height, so the layout height (which is set to wrap_content) should not change. Mihai Fonoage On Oct 30, 12:25 pm, skink psk...@gmail.com wrote: On Oct 30, 5:15 pm, skink psk...@gmail.com wrote

[android-developers] Re: Updating one view also causes another view to update

2009-10-30 Thread Mihai Fonoage
Mark Murphy mmur...@commonsware.com wrote: Mihai Fonoage wrote: and I need to deal with this case specifically, which complicates my application logic a little (here though it is probably my fault - not a perfect design). Your View should not care about how many times it is drawn

[android-developers] Updating one view also causes another view to update

2009-10-29 Thread Mihai Fonoage
Hello everyone, I have two views, one of which is a Chronometer. Whenever the Chronometer gets updated (every second, automatically, after its start () method has been called), the onDraw method of my second view is called. Any way I can stop this from happening? Thank you! Mihai Fonoage

[android-developers] Strange behavior when loading images from SDCard

2009-10-16 Thread Mihai Fonoage
(); imageAdapter = new ImageAdapter(getApplicationContext()); sdcardImages.setAdapter(imageAdapter); [/code] Thank you, Mihai Fonoage --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Android Developers group. To post to this group

[android-developers] Re: Strange behavior when loading images from SDCard

2009-10-16 Thread Mihai Fonoage
Actually, the behavior is not strange at all; there are no thumbnail images on the sd card. When loading the images for the first time, Android creates thumbnails for those images. Mihai Fonoage On Oct 16, 2:01 pm, Mihai Fonoage fonoag...@gmail.com wrote: Hi, I have an activity that loads

[android-developers] Android XML Schema Location

2009-09-28 Thread Mihai Fonoage
where is it located? Thank you, Mihai Fonoage --~--~-~--~~~---~--~~ 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

[android-developers] Re: Android XML Schema Location

2009-09-28 Thread Mihai Fonoage
), but this does not explain why it will not work with a value of http://mihai/fonoage; for example. Thank you, Mihai Fonoage On Sep 28, 7:09 pm, Romain Guy romain...@google.com wrote: There is no schema, this is just an identifier for the namespace. On Mon, Sep 28, 2009 at 4:04 PM, Mihai Fonoage

[android-developers] Re: Android XML Schema Location

2009-09-28 Thread Mihai Fonoage
Thanks both for your explanations! Mihai Fonoage On Sep 28, 8:19 pm, Dianne Hackborn hack...@android.com wrote: It's the namespace that the android framework resources live in.  It's just a namespace, but if you change the namespace, you totally change the meaning of the XML file because

[android-developers] Manifest Editor - Application tab shows empty page

2009-01-14 Thread Mihai Fonoage
for the Application tab? Thanks, Mihai Fonoage --~--~-~--~~~---~--~~ 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

[android-developers] Re: ProgressDialog's dismiss() method throwing IllegalArgumentException

2008-05-13 Thread Mihai Fonoage
Hi goro, I didn't solve the problem. I do believe this is a bug (or feature) of the m5 version of the sdk. Mihai Fonoage On May 12, 1:33 pm, goro [EMAIL PROTECTED] wrote: Hi, I am experiencing exactly the same issue as Mihai Fonoage. Have you solved it? On 20 Mrz., 13:57, vitvikt [EMAIL

[android-developers] Re: Displaying already existing activities

2008-04-09 Thread Mihai Fonoage
Any other comments are welcome! Mihai On Apr 8, 3:12 pm, Mihai Fonoage [EMAIL PROTECTED] wrote: The solution you mentioned was also the one I found on this forum, and which requires the task id for the activity to be passed in the moveTaskToFront method call. Unfortunately, every activity I

[android-developers] Displaying already existing activities

2008-04-08 Thread Mihai Fonoage
Hello everyone, I am trying to display activities that were already created but are currently in the background. The problem is that I use startActivity or startSubActivity from the current activity to display them, which will create a new instance of the background activity. When calling finish

[android-developers] Re: Displaying already existing activities

2008-04-08 Thread Mihai Fonoage
The solution you mentioned was also the one I found on this forum, and which requires the task id for the activity to be passed in the moveTaskToFront method call. Unfortunately, every activity I create has the same task id. This would not be the case if the activity would be created with