Hi All,
I am new on android and I am trying to use map on my application.
I am facing some problem on refreshing the overlay image.
Whenever I redraw the overlay Image, I clear the previous overlay images and
redraw the new items on it.
But the overlay images are not refresh on the spot. It
I am working on a distributed application which consists of a server
(which is a Java application), and the client is an Android
application. I would like to somehow remotely call server's methods
from my Android client application.
So, I have two questions:
1) Since java.rmi.* package is not
Thanks for your reply.
I try to use invalidate method. But I have one more problem when I use
invalidate.
If I invalidate the map, my location overlay image is gone, and it takes few
seconds to fix my location overlay Image.
So I want is not to clear the my location overlay image. when i clear the
On Wed, Jul 14, 2010 at 7:58 AM, Bhaban N and...@gmail.com wrote:
I try to use invalidate method. But I have one more problem when I use
invalidate.
If I invalidate the map, my location overlay image is gone, and it takes few
seconds to fix my location overlay Image.
So I want is not to clear
Super - but then if you are already running an app how do you stop it
to reload new
code? I noticed that if I move to the Menu the app is still running in
the background.
Is there a kill process equivalent in Android?
Thanks
On Jul 13, 1:56 pm, Mark Murphy mmur...@commonsware.com wrote:
On
just install the new apk and it will kill the running process.
adb install -r /path/to/new.apk
On Wed, Jul 14, 2010 at 11:07 AM, kypriakos demet...@ece.neu.edu wrote:
Super - but then if you are already running an app how do you stop it
to reload new
code? I noticed that if I move to the
Got it - thanks Mark. I would like to ideally change them to the Log
class
but they are a bit too many so it will be a long process.
On Jul 13, 1:59 pm, Mark Murphy mmur...@commonsware.com wrote:
On Tue, Jul 13, 2010 at 1:48 PM, kypriakos demet...@ece.neu.edu wrote:
The applications I am
Is it possible to write and read files on Android? I know it
sounds a bit silly to ask this but I found out that writing
a file in the same directory as where the app is executing
stall my process. Where in the dir hierarch do Android apps
execute and if I was to write or read a file do I need to
I noticed that using the standard Java to create the new file stalls:
File UIDfile = new File(/data/local/tmp/myUID.txt);
UIDfile.createNewFile();
Is this something that should not be used in Android? Anyone
else faced this issue before? Should I convert these to:
FileOutputStream fos =
On Wed, Jul 14, 2010 at 2:59 PM, kypriakos demet...@ece.neu.edu wrote:
I noticed that using the standard Java to create the new file stalls:
File UIDfile = new File(/data/local/tmp/myUID.txt);
UIDfile.createNewFile();
Is this something that should not be used in Android?
You cannot write to
That's what I figured - thanks Mark. I think it makes more sense now.
Regarding the emulator's storage, if I wanted to manually add a file
let's say
into the sdcard dir, is this possible (in other words is this a real
file system
dir or a simulated entity?).
Thanks again
On Jul 14, 3:03 pm,
The Environment.getExternalFilesDir() does return /sdcard and although
empty it still stalls on writing the file out. What package carries
the getFilesDir()?
On Jul 14, 3:09 pm, kypriakos demet...@ece.neu.edu wrote:
That's what I figured - thanks Mark. I think it makes more sense now.
On Wed, Jul 14, 2010 at 3:20 PM, kypriakos demet...@ece.neu.edu wrote:
The Environment.getExternalFilesDir() does return /sdcard and although
empty it still stalls on writing the file out.
I have no idea what stalls means in this context. You need an SD
card (or SD card image for the emulator),
Sorry for not being clear from the start Mark - my bad.
When the app reaches the createNewFile() method it quits (I thought
it was stalling on that method but I was wrong). I think that method
is the problem in my case.
I did use adb push to copy files to the emulator's filesystem so
that
On Wed, Jul 14, 2010 at 3:42 PM, kypriakos demet...@ece.neu.edu wrote:
When the app reaches the createNewFile() method it quits
OK, then I have no idea what quits means in this context. I am going
to guess you mean it had an unhandled exception. If so, use adb
logcat, DDMS, or the DDMS
I have an app that displays an LED notification on certain events.
Currently, the notification only plays when the screen is sleeping/off
which i know is expected behavior.
My question is: Is there any way to force the LED to flash even if the
screen is lit at the time?
--
//Nick Richardson
Normally I don't get into this back and forth QA loop as I know very
well
how busy most people are and what the real purpose of the mailing
lists
are, so I apologize for letting it get out of hand.
You are right, most likely I should be able to find a lot of these
fundamental
concepts either on
Hi there,
I was going through the GridView example and was wondering how I could
access videos from the SD card instead of images, display them in the
GridView and when they are clicked to open an Menu. I am a bit stuck,
so if s.o. could help me out here, would be great. Thanks.
--
You received
One last thing - extending my question from the previous email -
may be this is what I should have asked to begin with and left it
at that:
Since I can compile my complete imported app as an Android project
it makes sense that the classes and methods I used in the past
(even the System.out that
If you are catching IOException, a NullPointerException will slip right
through. Happens sometimes (i.e. file open returns null, and subsequent
code tries to write to it).
Have you checked the logcat to see what goes on?
Also note, if a crash happens while debugging, you have to hit Resume
I know I know - I rudely jumped into asking questions and that is a no
no -
you want people to help you make your context clear first and the rest
will follow (to a certain reasonable extend of course ;) ) ...
That's...very strange.
Yes it is - but hey, I am sure what I learn from getting to
Hi,
I had a general UI question, I didn't find this in many applications
on Android and I was wondering if it is possible to have a text
box( For some text input) in the radio menu which pops up if one is
having a list to select from.
Any feedback would be much appreciated. In case you guys feel
public class home extends Activity {
/** Called when the activity is first created. */
@Override
public void onCreate(Bundle icicle) {
super.onCreate(icicle);
setContentView(R.layout.main);
Button word=(Button)findViewById(R.id.button1);
}
}
i have this
You presumably do not have a res/layout/main.xml file in your project.
Either that, or Eclipse is having problems otherwise processing your
resources -- check your console for errors.
On Wed, Jul 14, 2010 at 5:29 PM, Raul Martinez raul5...@gmail.com wrote:
public class home extends Activity {
alright im sure i do have the directory and the file, but i'll check the
console
On Wed, Jul 14, 2010 at 4:33 PM, Mark Murphy mmur...@commonsware.comwrote:
You presumably do not have a res/layout/main.xml file in your project.
Either that, or Eclipse is having problems otherwise processing
Hi guys ---
to put closure to this thread as well - I compile the changes in the
Resource perspective
in Eclipse, and with the emulator open I re-launch the app either in
debug or standard
mode and watch it in DDMS. I can see the apk file being loaded in the
emulator's file system
(I can see the
On Wed, Jul 14, 2010 at 4:17 PM, Varun Khanduja varunkhand...@gmail.comwrote:
I was wondering if it is possible to have a text box( For some text input)
in the radio menu which pops up if one is having a list to select from.
If you're talking about the Context Menu, then no, I don't think so.
Hello all!!
I'm new on android development and i'm looking for tutorials, texts, help
files, anything that can help me study and understand more about android
development.
Tks a lot
--
You received this message because you are subscribed to the Google
Groups Android Beginners group.
NEW!
i want to replace a button with an image, and i tried doing it through xml
with android:src=@drawable/icon but its not working what should i do, or
is there another way of replacing a button with an image
--
You received this message because you are subscribed to the Google
Groups Android
I have a ListActivity that selects a cursor from an SQLite table in
order to build the list. The cursor is created inside
ListActivity.onCreate and closed inside ListActivity.onDestroy. I also
call startManagingCursor right after I generate the cursor, which I
thought would take care of the cursor
Use ImageButton.
On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com wrote:
i want to replace a button with an image, and i tried doing it through xml
with android:src=@drawable/icon but its not working what should i do, or
is there another way of replacing a button with an image
Hi,
you can try using this instead.
android:background=@drawable/image_name
Thanks Regards,
Yousuf Syed
773-719-4786
On Wed, Jul 14, 2010 at 8:23 PM, Mark Murphy mmur...@commonsware.comwrote:
Use ImageButton.
On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com wrote:
i
would that get rid of the grey area around the image?
On Wed, Jul 14, 2010 at 8:01 PM, Yousuf Faheem yousuf.syed@gmail.comwrote:
Hi,
you can try using this instead.
android:background=@drawable/image_name
Thanks Regards,
Yousuf Syed
773-719-4786
On Wed, Jul 14, 2010 at 8:23
Thanks. I was thinking of a quick entry box according to the list
items, It was a one click process on I-phone. Regards,
Varun
On Jul 14, 4:13 pm, TreKing treking...@gmail.com wrote:
On Wed, Jul 14, 2010 at 4:17 PM, Varun Khanduja
varunkhand...@gmail.comwrote:
I was wondering if it is
Read the entire Dev Guide first:
http://developer.android.com/guide/index.html
--
There are only 10 types of people in the world...
Those who know binary and those who don't.
You Should use a 9 patch if you want to stretch the image to cover the whole
button irrespective of Size.
Thanks Regards,
Yousuf Syed
773-719-4786
On Wed, Jul 14, 2010 at 9:13 PM, Raul Martinez raul5...@gmail.com wrote:
would that get rid of the grey area around the image?
On Wed, Jul 14,
ok i just have one more question how do i change the color of the background
like behind the images, if you know what i mean? not the button but behind
them
On Wed, Jul 14, 2010 at 8:13 PM, Raul Martinez raul5...@gmail.com wrote:
would that get rid of the grey area around the image?
On Wed,
On Wed, Jul 14, 2010 at 8:14 PM, Varun Khanduja varunkhand...@gmail.comwrote:
Thanks. I was thinking of a quick entry box according to the list items
Well nothing is stopping you from overriding the default behavior and doing
whatever you want. A long press listener with a custom dialog should
38 matches
Mail list logo