I have problems detecting whether a (virtual) sd card is installed in
the emulator
I have created a virtual sd card using mksdcard, and now I start the
emulator with the option
-sdcard path
This seems ok, but when I run the following code
String state =
Hi
I am having some problems with the LocationListener class...
I use it to get my location, and it works fine, but the problem is
that is called too often, freezing the application...
the following code is (in theory, if I understood it right) to request
the location update every 5 minutes, or
Hi everyone
I am about to publish my app, and what I want to do is offer a demo
version with just a little less functionality
In the demo version, I would like to show a button that links with the
full version in the android market
how can I do this?
I guess I have to publish first the full
Hi everybody
I am trying to install apk's in my new htc magic
I had before a G1 and I didn't found any problem, just doing adb
install myapp.apk and that's it
now, when I do the same with my htc, it says error: device not found
Also, I noticed that if I type adb devices, I dont get any device
Hi
does anybody knows how to implement a treeView in android?
I am reading about ExpandableListView and it's not exactly what I
need, as it seems it has only 2 levels...
I need a proper treeView that I can add items to in runtime
any ideas?
Thanks
Hi
I am trying to test my app on a G1 (it works on the emulator), but it
crashes straight away
I am trying to debug it, but all I see on the G1 screen is a message
saying Waiting For Debugger, and it takes forever...
I also put:
android:debuggable=true
on the xml, and still not working...
any
Hi
I am finally testing my application on a G1 and even though it works
fine on the emulator, it crashes on the G1
it crashes when it does:
setContentView(R.layout.mylayout);
the xml is fairly simple:
com.google.android.myproject.myView
Hi everybody
I am having a little issue with the WebView package:
I am able to load and show pages, but the scroll does not work
this is my xml:
RelativeLayout
android:id=@+id/helplayout
android:layout_width=fill_parent
android:layout_height=fill_parent
Hi
Does anybody knows how can I put a Bitmap on top of a button, but
without taking the whole surface?
at the moment, what I am doing is:
BitmapDrawable bd=new BitmapDrawable(myBitmap);
Button myButton.setBackgroundDrawable(bd);
and the picture occupies the whole button... is there any way
Hi
I know this is more a java question, but I have been in many java
forums, and the theory seems to contradict the real thing...
I have a very simple function that creates memory, do something with
it, and returns:
static void test(int k)
{
byte [] buff = new byte[k];
//do
Hi everybody
I am having a problem with the BitmapFactory:
this is my function, that reads a stream, and returns a bitmap:
static Bitmap getBitmap(InputStream is) throws IOException
{
Bitmap bmp=null;
//do some stuff...
Hi everyone
I am trying to parse some data (wrapped in a String), that has xml
format
following is the code that I am using, with no much succes so far :(
private void parseXml(String str)
{
XMLReader myReader=null;
System.setProperty
Hi all
I am using opengl for drawing 3d stuff, but so far I've been unable to
use transparent textures...
this is what I do... does anybody knows what I am missing?
Thanks a lot!
void initGL()
{
gl.glEnable(GL10.GL_CULL_FACE);
gl.glColor4f(1.0f, 1.0f, 1.0f, 1.0f);
Hi
I am writing an application that uses both 2D and 3D.
For the 3D part I use OpenGL, and for the 2D part, I do: Drawable.draw
(myCanvas);
There is a desynchronization between them
I have heard that you can create a Canvas based on OpenGL, and then
when I draw into that canvas, it is
Hi
I am writing an application that involves downloading and uploading
data over the net
I am using the Jakarta library to do that, but my problem is how to
know when the connection is down. Right now I am assuming that the
connection is always ok, so when is not and I'm trying to download/
Hi there
is it possible to change the position (or size) of a layout, defined
in the xml file as:
android:layout_width=378px
android:layout_height=62px
android:layout_marginLeft=7px
android:layout_marginTop=44px
in runtime, this is, using java
Hi all
does anybody know what am I doing wrong?
I managed (after a lot of problems) to put 2D graphics on top of 3D.
But the 2D graphics are flickering...
this is the main loop:
public void drawFrame(GL10 gl, my3DObject world, Canvas myCanvas)
{
gl.glClear(GL10.GL_COLOR_BUFFER_BIT |
Hi
I am porting an application based on the sdk 3.0, and I am having
countless problems...
now, I am struggling trying to put 2D graphics on top of a 3D scene...
After a lot of headache, I managed to create a opengl context, which
now works, but when I try to put 2D graphics on top of it, this
hi
if what you need is upload/download files to and from a server, I
recommend you jakarta:
http://jakarta.apache.org/commons
On Nov 19, 10:03 pm, Phubeone [EMAIL PROTECTED] wrote:
Is anyone out there working on a FTP client for Android or does anyone
know if one is already available? I have
Hi
could you give me more information about this program epocrates?
I am not a med, therefore I am not sure whether the information that I
found on the internet about it, is right or wrong
Thanks for the information anyway... I'll see if I can do that program
as soon as I finished one that I'm
Hi people!
I am having problems drawing things with opengl...
I have two functions, one that sets up all the environment (initOGL),
and other that actually draws something using that environment
(onDraw)
in order to make it easy to understand, at the moment I am just trying
to paint the screen
Hi mate
yes, I did implement the surfaceHolder.callback thing.
I am actually getting the message when the surface is created, but
even though I keep getting the blank screen
and yes, I based my example on the GLSurfaceView...
thanks anyway
On Nov 7, 6:09 pm, DSmith [EMAIL PROTECTED] wrote:
Hi people
I am trying to migrate an opengl sample that it used to work under the
old (3) version of the sdk, and so far, I am not having much
success...
this is my function for setting up the opengl environment:
boolean initOpenGL()
{
egl = (EGL10) EGLContext.getEGL();
Hi there
I used to use the following sentence:
OpenGLContext mGLContext = new OpenGLContext(0);
in the old (3) sdk.
Now, with the new one, it seems that this function is not there
anymore...
does anybody knows an easy way of getting an opengl context?
Thanks a lot!
Hi Everybody
I am writing an application that involves using a server for
uploading / downloading data...
I am using the Jakarta Commons FTP, well, to be more precise, a
wrapper around it, found at:
www.nsftools.com
well, my question is that my code used to work with the android sdk
version 3,
Hey man!
Thanks a lot! it works
you saved me a lot of time, now I can go to sleep...
Thanks again
On Nov 3, 1:06 am, Mark Murphy [EMAIL PROTECTED] wrote:
petunio wrote:
Hi Everybody
I am writing an application that involves using a server for
uploading / downloading data...
I am
, and sorry if it doesn't make sense...
On Oct 31, 2:31 am, hackbod [EMAIL PROTECTED] wrote:
View constructor:
http://code.google.com/android/reference/android/view/View.html#View(...)
On Oct 30, 4:56 pm, petunio [EMAIL PROTECTED] wrote:
Hi all
I did an application for the android developer
Hi all
I did an application for the android developer challenge, and since
the deadline for uploading the entries (back in april I think), I
haven't played with it
Well, I have downloaded the new sdk (x86-1.0_r1) and obviously I got a
lot of errors with my old code...
I have managed to fix all
28 matches
Mail list logo