Hi All,
Please could you please help me getting this problem solved.
Can we run the j2me.jar file which use to run on n75 nokia phones will this
same j2me.jar file will run on android without any modifications. Please
reply me urgently..
Note:j2me.jar file is game jar file.
War regards,
Kevin J. Brooks wrote:
Is there a way to set the Entries of a ListView through the program
code? Something like ListView.setEntries(R.layout.stringarray);
If by entries you mean the rows that appear in the list, you use
setAdapter().
http://wiki.andmob.org/samplecode
Scroll down on that
MCON Dev wrote:
Hello All,
I need help to run my first Android Application.
I have OpenSuse 11.1. I installed
- eclipse,
- android sdk
- installed the android plugin
- setup the ADT
- created a new Android application HelloWorld, added TextView and a
setText line.
- ran the app, the
Mark,
I have included android.jar as a library on the build path. If I remove that
import android *cannot be resolved*. In place of the android.jar if I put
the external path (tools directory) import android *cannot be resolved*,
and I get a error* Cannot create linked resource
MCON Dev wrote:
Mark,
I have included android.jar as a library on the build path. If I remove
that import android _cannot be resolved_. In place of the android.jar
if I put the external path (tools directory) import android _cannot
be resolved_, and I get a error_ Cannot create linked
Yes, I just did the entire tutorial again. No luck same problem.
Siddharth
On Sat, May 9, 2009 at 4:16 PM, Mark Murphy mmur...@commonsware.com wrote:
MCON Dev wrote:
Mark,
I have included android.jar as a library on the build path. If I remove
that import android _cannot be resolved_.
So I removed android.jar and then I am not able to import java.* too. I
strongly feel its a java build path issue.
I added android.jar, JRE System Library and JUnit Library to the Java Build
Path. Now I am back to
[2009-05-09 17:05:36 - HelloWorld] Conversion to Dalvik format failed with
error 1
MCON Dev wrote:
So I removed android.jar and then I am not able to import java.* too. I
strongly feel its a java build path issue.
I added android.jar, JRE System Library and JUnit Library to the Java
Build Path. Now I am back to
[2009-05-09 17:05:36 - HelloWorld] Conversion to Dalvik
Hi guys,
I am developing an app that relies heavily on sensors.
Last night I've installed the 1.5 SDK and the app that was running
fine on 1.1 is no longer doing so. Using logcat, I could spot that the
problem is when a new sensor manager instance is to be created. From
my working app, I
Cass Surek wrote:
Any help/clue much appreciated! This is driving me insane. :)
Sensors do not work in an Android 1.5 emulator image at present, apparently.
http://code.google.com/p/android/issues/detail?id=2566
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Thanks for pointing that out, Mark.
For the moment, I should stick to 1.1 then, as there's not practical
way of developing it that way (I do not have the devel version of the
phone, only an unlocked G1).
Signed up for your books the other day - great stuff! :)
Cheers
Cass
On May 9, 2:16 pm,
Cass Surek wrote:
Thanks for pointing that out, Mark.
For the moment, I should stick to 1.1 then, as there's not practical
way of developing it that way (I do not have the devel version of the
phone, only an unlocked G1).
Yes. I am in the same situation, waiting for my G1 to get
Any chance you can check for IMEI info? You would not find that info
on the emulator (or if you do, it will be a default IMEI).
Good luck,
Cass
On May 8, 6:43 am, aa aagarwa...@gmail.com wrote:
Hi All,
I need to change urls depending on simulator v/s. real device. Do
anyone know how can I
I have an app I am trying to port to 1.5, but I can't find any good
example of using the soft keyboard, my app currrently has a view that
uses:
setOnKeyListener
To listen to keyboard input from the hardware keyboard.
My question is can a view still listen to key input from a
softkeyboard, and
Hi,
I recently upgraded from SDK 1.1 to SDK 1.5. Using code that I was
debugging in SDK 1.1 I am unable to debug the code using SDK 1.5
I am however, able to manually run the application :
Here is the LogCat output
==
I/vold
On May 8, 11:10 am, jknox jk...@trisoft.com wrote:
On May 8, 7:59 am, sssdeecee connelly.sh...@gmail.com wrote:
But I was thinking if one could run their Windows mobile apps on
an Android based phone, it would help to increase it's popularity.
Personally, I have invested a lot in
Ashish,
in the emulator, the DeviceID from the TelephonyManager is
000, i.e., 15 zeros. It is not that on a real device.
try (in an Activity for example):
TelephonyManager tm = (TelephonyManager) getSystemService
(Context.TELEPHONY_SERVICE);
// must have
sssdeecee wrote:
Perhaps a new group could be set up to discuss this?
Please do. What you are discussing is not really a topic for this list,
which is dedicated to newcomers making native Android applications using
the SDK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Hi
I would like to align an ImageView with the very bottom of the screen.
I've used android:layout_gravity=bottom, and another element with
android:layout_weight=1 to push the ImageView down to the bottom.
My XML code below works nicely in landscape - the image is flush with
the bottom of the
I thought this would work, but obviously I am doing something wrong.
setListAdapter(new ArrayAdapterString(this,
android.R.layout.simple_list_item_1,R.array.beers));
--~--~-~--~~~---~--~~
You received this message because you are
BTW the list is blank. The code is the onCreate method.
On Sat, 2009-05-09 at 12:07 -0400, Kevin J. Brooks wrote:
I thought this would work, but obviously I am doing something wrong.
setListAdapter(new ArrayAdapterString(this,
android.R.layout.simple_list_item_1,
Anna PS wrote:
I would like to align an ImageView with the very bottom of the screen.
I've used android:layout_gravity=bottom, and another element with
android:layout_weight=1 to push the ImageView down to the bottom.
If you want to stick with LinearLayout, here are two suggestions:
1. If
If you want to stick with LinearLayout, here are two suggestions:
1. If you want a spacer, use View rather than TextView. TextView has
some intrinsic size, since it expects to have some text in some font.
View has no size.
2. Try android:layout_height=0px on that spacer, rather than
OK - I know what's causing the problem, but I don't know how to fix
it. :-/
If the PNG image in the ImageView is less than 320 pixels wide (the
width of the portrait screen), it works OK - the image aligns neatly
with the bottom in both landscape and portrait mode.
But if it's 320 pixels wide
Anna PS wrote:
OK - I know what's causing the problem, but I don't know how to fix
it. :-/
If the PNG image in the ImageView is less than 320 pixels wide (the
width of the portrait screen), it works OK - the image aligns neatly
with the bottom in both landscape and portrait mode.
But if
Hi,
Is it possible to force the volume up? I have an alarm that should
wake the user even if the phone is on silent mode.. Is that possible?
Thank you,
//Kaloer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups
D'oh! Wow, can't believe I missed that... my first time using SQLite
here, in case that wasn't already obvious. :p
The database gets created now. Thank you very much! A few follow-up
questions:
- Where do these error logs you speak of live? What exactly are adb
logcat and DDMS?
- How does
AJ wrote:
D'oh! Wow, can't believe I missed that... my first time using SQLite
here, in case that wasn't already obvious. :p
It's close enough to the SQL used in other places that you sometimes
forget the idiosyncrasies.
- Where do these error logs you speak of live? What exactly are adb
Whoops, missed the notice. Thanks for the clarity.
On May 8, 8:29 pm, Disconnect dc.disconn...@gmail.com wrote:
..its had autoupdate since the rc33 release.
On Fri, May 8, 2009 at 1:11 PM, El elgui...@gmail.com wrote:
Since we have not heard about when Market will have auto-updating for
On Sat, May 9, 2009 at 12:31 PM, kaloer mkal...@gmail.com wrote:
Hi,
Is it possible to force the volume up? I have an alarm that should
wake the user even if the phone is on silent mode.. Is that possible?
AudioManager manager = (AudioManager)
One of the major new features we are introducing in Android 1.5 is
our Input Method Framework (IMF), which allows developers on-screen
input methods such as software keyboards.
http://android-developers.blogspot.com/2009/04/updating-applications-for-on-screen.html
This is a concise article that
Hello,
Many people want this functionality, so do I. This is one of my
attempts. Can anyone guide me where am I going wrong...
I need to get the image URIs of all the images clicked by the camera
when it was running.
The basic logic I apply is this:
1] Before starting the camera, store a time
Hey People,
I am at a loss. I have tried multiple ways to get this done. I have
tried setListAdapter also with the same results. The ListView is always
blank.
What am I doing wrong?
ListView lvDrinks =
(ListView)this.findViewById(android.R.id.list);
I am at a loss. I have tried multiple ways to get this done. I have
tried setListAdapter also with the same results. The ListView is always
blank.
What am I doing wrong?
When you are stuck, grab the code from an example bit of code (e.g., the
SDK samples), get it working, then slowly
Thanks Mark, I finally figured it out.
On Sat, 2009-05-09 at 19:55 -0400, Mark Murphy wrote:
I am at a loss. I have tried multiple ways to get this done. I have
tried setListAdapter also with the same results. The ListView is always
blank.
What am I doing wrong?
When you are
I am trying to pass a simple string in to a new activity. I feel a
little dense. I have looked at the samples, and I just can't seem to
get it through my thick head. What do I need in the first parameter.
public static final String DRINK_TYPE = type;
.
.
.
Intent i = new
Dude,
Use Java functions equals or compareTo, == operator won't work
Cheers,
Tej
On May 9, 11:04 pm, Kevin J. Brooks bear123434...@comcast.net
wrote:
I am trying to pass a simple string in to a new activity. I feel a
little dense. I have looked at the samples, and I just can't seem to
get
fill_parent means be as big as your parent, not take the remaining
space.
On May 9, 2009 12:11 PM, Anna PS annapowellsm...@googlemail.com wrote:
OK - I know what's causing the problem, but I don't know how to fix
it. :-/
If the PNG image in the ImageView is less than 320 pixels wide (the
width
Hi,
if you have static final String DRINK_TYPE you can use follow construct
if(className.DRINK_TYPE.equals(beer)){
}
or make new class just with constats
class IConstants
...
public static final String DRINK_TYPE = type;
public static final String BEER = beer;
public static final String LAGER
39 matches
Mail list logo