I have find it out, look at this code:)
http://code.google.com/p/sharepath
On Mar 26, 5:11 pm, Wei Yongqiang <[EMAIL PROTECTED]> wrote:
> Good news.
> After your trying, tell us the result.
>
> Thanks.
> Frank
>
> On Wed, 2008-03-26 at 02:03 -0700, xingye wrote:
> > I'm trying on it. There is a
You can call setConnectTimeout() before making the connection. If
there is no internet connection, the response code should be -1. (Note
that the default timeout is 0, which means that your connection will
wait forever for a response.)
Ted Hopp
On Mar 30, 7:17 am, aTai <[EMAIL PROTECTED]> wrote
Peli,
Sorry I have taken a while to reply.
I see that you are planning to do this after the code submission date.
Please do contact me if necessary to share ideas. I am not able devote
enough time to Android to actually help you in the coding.
The benefits of something like this are
1. The user
The DOM parser has some problems. See, for instance,
http://code.google.com/p/android/issues/detail?id=225&colspec=ID%20Type%20Version%20Security%20Status%20Owner%20Summary
You might try calling normalize() on the top document element. That's
supposed to merge adjacent text elements and eliminate
Hi all,
Simple Talk, sample application using m5 sdk's GTalkService APIs, is
now uploaded. Please download from the following URL shoving through
strange characters. :D
http://www.tatsu.com/forum/viewtopic.php?showtopic=9
There's one thing I gave up to implement. Its messaging-list never
scroll
thanks for ur answer,
u means i can't use eclipse plug and android in windows to develop
JNI?
if in the other platform(Linux) , can i use JNI? und how can i do?
thanks
On 3月31日, 午前10:58, artv <[EMAIL PROTECTED]> wrote:
> 8()
>
> of course not
> dll is Windows library
> it's entirely different pla
I am running into exactly the same issue. App runs fine from eclipse
or when the resource path ( path to the downloaded file in sdcard) is
specified. But when launched from the browser, I get the exact same
stack trace. None of my activities uses listviews si I am sure the
problem lies somewhere e
Thanks for pointing this out. Then again, how persistent is this
override? Will this get reset when the onDestroy of the Activity/
Service gets called?
On 31 Mar, 11:17, hackbod <[EMAIL PROTECTED]> wrote:
>
> You are right, though, that we don't want to have a bunch of
> applications launched ev
I'm not sure I understand -- you are asking to set an alarm if the
application is not running? You can't. You need to have some piece
of your application running, so it can call on to the AlarmManager to
set the alarm. After that, you don't need to run any more if you are
delivering the alarm t
The persistence of registerReceiver() is tied to the context you are
calling it on. For an Activity, it is active until the activity's
onDestroy() method returns. For a Service, it is likewise active
until onDestroy(). For an Application, it is active for the life of
the process.
If you are wa
Thanks for the prompt reply.
Then I'll use rc14 until the next major release.
On Mar 31, 1:26 am, Digit <[EMAIL PROTECTED]> wrote:
> rc15 only contains fixes than remove some security holes that where found in
> some of the native image loading libraries we use. Apart from that, it's the
> exact
you have to add viewChild to the parent
use addView(viewChild)
parent must be inherited from ViewGroup
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to a
8()
of course not
dll is Windows library
it's entirely different platform
On Mar 31, 5:32 am, kingszhen <[EMAIL PROTECTED]> wrote:
> in Android platform ,i try to use JNI to use a function which is in
> the dll(created by VC6, language C), and use [System.LoadLibrary] to
> load this dll, but al
in Android platform ,i try to use JNI to use a function which is in
the dll(created by VC6, language C), and use [System.LoadLibrary] to
load this dll, but always err, the catched err is "can not find this
library" (i put the dll file in the sysytem32).
by the way , without Android platform, i did
Take a look at this post :
http://groups.google.com/group/android-developers/browse_thread/thread/18021dbd0dcbf1ae
--
Praline
On Mar 23, 10:56 pm, Diego Pino <[EMAIL PROTECTED]> wrote:
> If what you really want is to retrieve contact with id=1, you should
> provide an URI like "content://android
Hi all,
The problem come from the construction of the sql query retrieving
people,
there is a ambiguity on column name: _id.
I solve the problem using "people." + People._ID. It's a _dirty_
solution
but can't get the table name in a class property (or don't know
how ;)).
The query used by the SD
Hi all,
I am trying to have two animations set to 2 views running parallel
without any luck.I am getting error popup: " Application Error: ... an
error occured in width and height must be > 0."
Parallel running animation is invoked like this:
view1.startAnimation( .. );
view2.startAnimatio
Hi!
Has anybody worked on extension of the existing contact schema
available by default on Android. Basically I want to add application
specific extensions to some of the records.
Regards
Nitin
--~--~-~--~~~---~--~~
You received this message because you are subsc
You may want to file this as a bug in the android issue tracker. Include the
steps that you followed, your .data and .key files, mac os version and the
sdk version that you are using.
Thanks,
Megha
On 3/30/08, thrusty <[EMAIL PROTECTED]> wrote:
>
>
>
> Hi Megha,
>
> Yes indeed I created .data an
Hi,
I have 2 Views, viewChild and viewParent, and I want to show the
viewChild inside viewParent that is inside an Activity.
In viewChild I dont have any layout parameters.
| Activity
|
| viewParent
|
--
Not sure you need this:
String data[] = new String[] { "A", "B", "C" } ;
Spinner s2 = (Spinner)tbl.findViewById(R.id.spinner);
ArrayAdapter adapter2 = new ArrayAdapter(this,
R.layout.spinner_item, data);
adapter2.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_it
em);
s2.setAdapt
Hi!
Can anyone provide a way for populating the Spinner control using a
local array of Strings and not a Resource. Most of the examples are
either based on database adapters or resource based arrays.
Regards
Nitin
--~--~-~--~~~---~--~~
You received this message be
Hi!
Can anyone provide a way for populating the Spinner control using a
local array of Strings and not a Resource. Most of the examples are
either based on database adapters or resource based arrays.
Regards
Nitin
--~--~-~--~~~---~--~~
You received this message be
Hi!
I tried parsing an XML file which I had created through code. The file
has lines seperated by System.getProperty("line.seperator",""). The
DOM engine parses the files but when I try to access the elements, the
code crashes giving cast errors. On quick inspection of the memory
dump it seems DO
Hi; i was thinking to build a somewhat polymorphic ViewSwitcher. It
will not be limited to a single type of (or a limited set of
predefined) views, but i don't want to create a new view for every
child that will be shown and i also do not want to add all of these
and keep them (As in a ViewAnimato
To answer my own question, put the following in the AndroidManifest
description of the main activity:
On Mar 30, 2:17 pm, ScottG <[EMAIL PROTECTED]> wrote:
> When the SearchInvoke demo application executes startSearch the
> Android search window is immedia
I feel your pain, when I do a generic flood fill it's taking 10s of
seconds to walk through the array of pixels. I'm hoping memory access
time will be reduced dramatically on a real device, or if it isn't jni
is supported in some fashion.
On Mar 30, 11:10 am, saurabh <[EMAIL PROTECTED]> wrote:
>
Hi Megha,
Yes indeed I created .data and .key files and copied them to my local
machine.
When I invoke "traceview mytrace" (where mytrace.data and mytrace.key
both exist in the local directory), traceview simply fails silently as
I indicated in my original post.
Any suggestions? Thank you.
When I upgraded to the latest SDK recently, I found that when I launch
my application under the Eclipse debugger (on Mac OS X 10.5.2), the
app consistently stops at DexFile.defineClass on startup. (Clicking
"Continue" allows the app to continue launching OK, as far as I can
tell.) There is no debu
Click on Contacts and you will cycle through all the possible searches
and probably come to your own. The SearchInvoke demo application
jumps right to its own Search window but I haven't figured out how.
Cheers, Scott
On Mar 28, 4:37 pm, Andz <[EMAIL PROTECTED]> wrote:
> Does anyone have idea a
When the SearchInvoke demo application executes startSearch the
Android search window is immediately positioned at Search Demo (as
opposed to Contacts, for example). When I call startSearch the search
window is positioned at Contacts and I have to click to my search
window.
How does SearchInvoke
Hello,
I'm having a problem with either ByteBuffer.wrap().slice() or
CharsetDecoder.decode() under Android. This is from a third-party
(LGPLed) library that, in this code, should be decoding a byte array
into a Unicode string:
//arr is a parameter and is a byte[] filled with raw UTF-8
b
I want to include an alternative menu item, similar as is done in the
NotesList sample, but I want to add an icon. What would be the
appropriate place to specify the icon?
I'm adding the alternative menu through the following code:
Intent intent = new Intent(null, mListUri);
intent.addCa
On Mar 30, 7:08 pm, David Given <[EMAIL PROTECTED]> wrote:
> saurabh wrote:
>
> [...]
>
> > The getPixel
> > function seems to be taking approx 1/100 of a second. Similarly,
> > checking whether each pixel satisfies the condition and then copying
> > it to Bitmap B also takes approx 1/100 second
Maybe you could launch the browser and try to surf a web page ?
the emulator, as seen by your development machine, is just a normal
application that connects to the Internet through Winsock / BSD sockets, so
you won't know if it's properly "connected to the Internet" until you try to
make a connec
but there must be a button like "Details..." that should give you more
information about the crash. if you could paste this information here, that
would be useful to understand what's happening...
On Sun, Mar 30, 2008 at 10:00 AM, [EMAIL PROTECTED] <[EMAIL PROTECTED]>
wrote:
>
> The error message
rc15 only contains fixes than remove some security holes that where found in
some of the native image loading libraries we use. Apart from that, it's the
exact same SDK/API/environment than rc14 to develop applications...
On Sun, Mar 30, 2008 at 1:46 PM, Kosmaj <[EMAIL PROTECTED]> wrote:
>
> I'm
okkk
thanks a lot!!!
i had forgotten android: in my xml file!
i just have to look how to launch a subactivity now :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group,
Android right now (and especially the versions that you can see in the
public SDKs) is definitely not shippable on consumer devices, and that
is definitely not what is going to ship.
That's why you're not seeing devices right now: there's still some
work to do to stabilize, debug, fine-tune and o
saurabh wrote:
[...]
> The getPixel
> function seems to be taking approx 1/100 of a second. Similarly,
> checking whether each pixel satisfies the condition and then copying
> it to Bitmap B also takes approx 1/100 second. Therefore, performing
> these 2 operations for 547*450 = 246150 pixels takes
Perhaps I am missing something but that sounds like putting the cart
before the horse :)
If Android is pre-alpha, then what will you ship on the devices?
Will there be a way for the user to upgrade/flash his device to the
latest platform release?
Otherwise it may be a disaster.
On Mar 29, 11:28
How do I check whether the phone/emulator is connected to the
internet?
I'm trying to connect with a server, and I need to figure out how to
detect whether I have connectivity. Is there any way to do this on
android?
--~--~-~--~~~---~--~~
You received this message
I'm still using m5-rc14, shall I upgrade to rc15?
On some doc pages there are even references to m5-rc15b
but I couldn't find any specifics.
What's the difference?
I'd appreciate correction of existing bugs but I'm afraid
of new ones :-) at this late stage, just two weeks before
the Challenge dead
Hi,
I am working on an image processing application. The job is simple:
1. read an image into a Bitmap object A,
2. create a new Bitmap object B of the same dimensions,
3. iterate over Bitmap A examining each pixel and copying it to B if
it satisfies some conditions,
4. display Bitmap B using Im
My application responds to various system-wide intents and what it
responds to depends on the configuration of the user (e.g. the use can
set whethere it should respond to incoming SMS or not, should respond
to network tickles or not, etc).
While I could just register all the handlers/receivers u
Hi!
What is the best and reccommended scenario for creating a timed alarm
in the system if the main activity is not working?
What I want to do is to launch an alarm on a certain moment without
placing a background service? For example, how to place a notification
exactly at 9:15 AM even if my ap
Hi All,
Is there a way to make scrollbars permanent?
In other words, I would like the scrollbar on the side to always be
visible instead of only showing up when the user begins to scroll.
Thanks in advanced,
Peter
--~--~-~--~~~---~--~~
You received this message
The error message is that Emulator has stopped working.
nitin
--~--~-~--~~~---~--~~
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 uns
Hi, I'm trying to create a screen with a listview and two buttons on
it.
I tried the following combination in main.xml and it seemed to work
right (with the listview taking up ~80% of the height and the two
buttons ~10% each)
http://schemas.android.com/apk/res/
android"
android:orientation="
49 matches
Mail list logo