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
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
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
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
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.
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..:)
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
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
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
-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
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
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
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
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
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
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
?
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
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
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
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
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
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
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
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
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
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
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
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
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
.
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
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
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
();
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
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
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
), 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
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
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
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
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
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
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
42 matches
Mail list logo