ListView.getCheckedItemPositions() will give you the list of all
checked items, identified by their adapter's position.
On Fri, Oct 17, 2008 at 10:05 PM, kelly <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I have a multi-select ListActivity, and I'd like to programmatically
> detect which of the items a
Hi,
I have a multi-select ListActivity, and I'd like to programmatically
detect which of the items are selected. I tried implementing
OnListItemClick(), and doing this:
if(v instanceof CheckedTextView)
{
boolean selected = ((CheckedTextView
You can use a sub-activity.
Here is WikiNotes which does interesting things to Notes.
http://code.google.com/p/apps-for-android/source/browse/trunk/#trunk/WikiNotes
- Juan T.
On Oct 17, 8:33 pm, EASimon <[EMAIL PROTECTED]> wrote:
> I found the notepad tutorial very helpful, however I'm looking
I found the notepad tutorial very helpful, however I'm looking to
stretch beyond that and was wondering if anyone had any ideas to
help. I'm trying to implement a "Delete" menu button from within a
note, and can use the functionality, the note deletes itself, I just
can't get it to return to the
Hi,
I was wondering if there is anyway in either JavaScript or CSS to
detect which way round the screen is on Android and if there's any way
of detecting orientation changes. On the iPhone it's as simple as
listening to an event - does a similar one exist on Android?
Not sure this is the right g
Oh yes i was going to try that next. Thx.
On Oct 17, 7:02 pm, "Sunit Katkar" <[EMAIL PROTECTED]> wrote:
> Being a newbie to Anroid, this might sound dumb and maybe you have tried
> it, but have you added permissions to your android manifest xml file?
> You might have to add the following line ju
Being a newbie to Anroid, this might sound dumb and maybe you have tried
it, but have you added permissions to your android manifest xml file?
You might have to add the following line just after the closing
tag
- Sunit
On Fri, Oct 17, 2008 at 2:15 PM, Pirate Blanc <[EMAIL PROTECTED]> wrote:
>
Eric Kolotyluk wrote:
> I know Android 1.0 does not come with RMI, but as a developer is there
> a way to add RMI to an Activity/Application? If so, how would one go
> about doing it? Details would be greatly appreciated.
As far as I'm concerned, you'll be better served switching to something
mo
Ok, I've seen a few threads on this subject, but everyone just dances
around the issue.
I know Android 1.0 does not come with RMI, but as a developer is there
a way to add RMI to an Activity/Application? If so, how would one go
about doing it? Details would be greatly appreciated.
Is there any p
I have this code which starts the maps application and zooms in on D.C
Intent myIntent = new Intent("android.intent.action.VIEW",
Uri.parse("geo:38.899533,-77.036476?z=16"));
startActivity(myIntent);
What do I use to search for hosp
Hi all,
I tested out networking on Android SDK. I get IOError
UnknowHostException. I am pretty sure my Servlet and Client codes are
set up correctly, wondering if there is Android setting i need to
change to enable networking.
Thx Everyone.
--~--~-~--~~~---~--~~
Y
Thanks, ya i tried out Networking yesterday. Pretty cool.
On Oct 16, 8:11 pm, Ricardo <[EMAIL PROTECTED]> wrote:
> Yes, you can use the same java.net.Socket available in the Java jdk..
>
> you just have to connnect in the socket server, get the outputstrean/
> inputstream and do some cool stuff
>
One last thought (untested):
Which permission is your app requesting: ACCESS_COARSE_LOCATION or
ACCESS_FINE_LOCATION?
Anm
On Oct 16, 9:56 pm, bryan <[EMAIL PROTECTED]> wrote:
> That was my guess. The "geo" command must be messing up the numbers.
> Certainly it has to work on the device itse
Resolution:
Eclipse stuck in
import java.awt.event.KeyEvent
rather than
import android.view.KeyEvent
So, it was failing to override the proper method. Sigh. Thanks all
for your attempts, no way you could have seen that one coming...
Michael
--~--~-~--~~~---~-
On Oct 17, 11:12 am, "Romain Guy" <[EMAIL PROTECTED]> wrote:
> Try overriding dispatchKeyEvent() instead.
Thanks. I did try that (and just retried it). The method is not being
called (verified via Log.v not being called and breakpoints in the
debugger.
OK; let me pose the question a different w
Try overriding dispatchKeyEvent() instead.
On Fri, Oct 17, 2008 at 11:10 AM, michael <[EMAIL PROTECTED]> wrote:
>
>
> On Oct 17, 3:42 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
>> michael wrote:
>> > I've got an activity subclass. To this, I added:
>>
>> > public boolean onKeyDown(int keyCode, K
michael wrote:
> To answer your question: no i have not changed any logging settings,
> but I've used Log.v() to debug stuff in the past and have no trouble
> viewing its output. It isn't outputting. Therefore, onKeyDown is NOT
> being invoked when I hit the hardware back button.
I can tell yo
On Oct 17, 3:42 am, Mark Murphy <[EMAIL PROTECTED]> wrote:
> michael wrote:
> > I've got an activity subclass. To this, I added:
>
> > public boolean onKeyDown(int keyCode, KeyEvent event) {
> > Log.v("KEYDOWN2", "BACK???");
> > return false;
> > }
>
> Did you enable verbose logging?
To answe
Thanks for replying,
I have a few more questions:
> InputStream is = ImageUploadManager.getImageFromServer(imageName);
In what format does the image comes from the "ImageUploadManager"?
> [] bb = (is.toString()).getBytes();
Second, it doesn't seems right to me to use for it seems that you're
thanks for the heads up lemms - it was beginning to get a bit annoying
wondering why that was happening. I guess they did state something
about using eclipse 3.3 and 3.4 but in my frenzy...
On Sep 23, 4:49 pm, lemms <[EMAIL PROTECTED]> wrote:
> On Sep 22, 8:18 pm, lemms <[EMAIL PROTECTED]> wrote
I'm not entirely sure what my issue is here. Basically, I have a set
of PNGs I'm simply trying to display on a page as follows, so see how
they would fit on the page:
Image - Image
Image
Image
Image
Image
All of the images are in the res/drawable with similar android:src
tags. What's s
'm not entirely sure what my issue is here. Basically, I have a set
of PNGs I'm simply trying to display on a page as follows, so see how
they would fit on the page:
Image - Image
Image
Image
Image
Image
All of the images are in the res/drawable with similar android:src
tags. What's st
Hi Everyone,
Today ArtfulBits announce a release of a second version of Android GUI
Prototyping Stencils...
More details can be found here http://www.artfulbits.com/android/stencil.aspx
Version 1.1: more controls and samples added; Added new stencil -
Android GUI Icons. Now you can use for proto
Dear all
im new to android...i ve downloaded the android
kernel-2.6.25 and ported successfully on a pxa 270 arm based platform.
Now got the android file system images (system.tar.gz and data.tar.gz)
from a link..can some body help me out to port this file system in my
arm based board..a
My application tries to open a socket to a remote (ie. out on the
internet) server but fails with an "Unknown host" exception. I've
simplified the code and plugged it into HelloAndroid as follows:
public class HelloAndroid extends Activity {
/** Called when the activity is first created. */
i think the problem is because you haven't set your usr virable PATH to a
proper jdk directory.
在2008-10-16,Easan <[EMAIL PROTECTED]> 写道:
i get the error when attempting to open the eclipse application. So, the
machine can't run eclipse.
Vista.
On Wed, Oct 15, 2008 at 10:24 PM,
My code is like
InputStream is = ImageUploadManager.*getImageFromServer*(imageName);
*
byte*[] bb = (is.toString()).getBytes();
Long returnval = sqlTable.insert(imageName,bb);
in the insert method()
{
ContentValues initialValues = *new* ContentValues();
initialValues.put(*FIELDID*, val);
ini
michael wrote:
> I've got an activity subclass. To this, I added:
>
> public boolean onKeyDown(int keyCode, KeyEvent event) {
> Log.v("KEYDOWN2", "BACK???");
> return false;
> }
Did you enable verbose logging?
> But when I hit the BACK button on my emulator, the only thing that
> shows up in
see it
http://www.anddev.org/save_image_in_database-t2984.html
may it will help u.
On Fri, Oct 17, 2008 at 1:28 PM, Hugo Veiga <[EMAIL PROTECTED]> wrote:
>
> Hi there, can you be more specific about the way you read the image
> and then store it into the database?
>
> Also it would prove quite h
Hi there, can you be more specific about the way you read the image
and then store it into the database?
Also it would prove quite helpfull to have the specific exception
you're experiencing.
Regards,
Hugo Veiga
[EMAIL PROTECTED]
On Oct 17, 2008, at 5:08 AM, Sudha <[EMAIL PROTECTED]> wrote
I am just trying to get a simple Hello World app out the door and I
cant seem to do so.
I ran the activity creator for TestAppTwo:
"sudo /android-sdk-mac_x86-1.0_r1/tools/activitycreator --out NewApp
com.example.android.NewApp"
works fine. I go in and change res/layout/main.xml - the inside of
Hi,bsnelson,I've met the same problem as yours,and I am sure that i am
using 1.0 SDK. This problem is driving me crazy. here is some
information about my enviroment.
1.0 SDK
3.4 eclipse java ee
Eclipse plugin version 0.8.0
On 9月24日, 上午10时17分, bsnelson <[EMAIL PROTECTED]> wrote:
> On Sep 23, 8:39
Me being a beginner, this is a very good example, exactly what I was
looking for as a sample. Thanks!
On Oct 15, 5:46 pm, sunitkatkar <[EMAIL PROTECTED]> wrote:
> I too was a newbie just a month ago, and I am still learning. I just
> wanted to share what I learnt with the developer community. I h
Hi all
I run Android 1.0-r1 on freescale mx31 3stack board.
Sometimes the APIDemo icon will gone, can not bring it back anymore,
only after flashing the system.img and data.img into the NAND flash
again. What happens? Lost some datas in the /data?
BTW: The kernel is ported by us based on 2.6.25
I've got an activity subclass. To this, I added:
public boolean onKeyDown(int keyCode, KeyEvent event) {
Log.v("KEYDOWN2", "BACK???");
return false;
}
But when I hit the BACK button on my emulator, the only thing that
shows up in my logs is:
10-17 01:19:00.078: WARN/KeyCharacterMap(302): No
Hi,bsnelson:
I've met the same problem as you did. but the different and wired
thing is that my SDK is 1.0. Any suggestions? This problem seems to
drive me crazy.
On 9月24日, 上午6时11分, bsnelson <[EMAIL PROTECTED]> wrote:
> I resolved (?) the build error I had in my previous post, and my
> HelloAndroi
36 matches
Mail list logo