Thank you. But how can I do this?
Do we have any sample on the internet?
On Oct 16, 1:39 pm, Bret Foreman bret.fore...@gmail.com wrote:
Anintentis just a set of name-value pairs. You could make it into a
JSON message and back into anIntentagain without much fuss.
--
You received this message
Hi. Thank you for your reply.
How would I do this?
Can you help me. Is there any sample program on the internet
that I could use as a reference?
On Oct 16, 12:57 pm, Kumar Bibek coomar@gmail.com wrote:
Send an SMS to the other device with a specific format, capture the SMS
Received
In my application, if I uses one thread to write a file. Can I use
another thread to read from the same file?
What would happen? will th OS locks the file when read or write?
Thanks.
Cindy
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
Hi
Is it possible to have long clicks on linkified links. The short
clicks are a little bothersome when they are many of them
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
John,
This is frustrating. The cables are all the same, that's for sure.
The update could have reset the adb debug support setting, have you
checked to make sure it's still there?
You also might try Samsung's drivers (come with Kies):
Hi Dianne,
(Also, even caring about the historical data is rare. If all you need is
the most recent positions, just ignore the historical data.)
Is the historical data device dependent? So are there any devices that
always set the amount to 0?
Historical data is mostly used for smooth
If the devices are in bluetooth range, you can send your data using
bluetooth. Otherwise you might consider sending the data through e-
mail or if you want to pay, you can use SMS as Kumar suggested. Check
the documentation, I'm sure it's easy to find our how to capture the
related events.
--
I am getting this error- Your content must have a ListView whose id
attribute is 'android.R.id.list'
my xml file is
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent
following is my logcat output
10-16 14:00:32.008: ERROR/AndroidRuntime(1123): Uncaught handler:
thread main exiting due to uncaught exception
10-16 14:00:32.048: ERROR/AndroidRuntime(1123):
java.lang.RuntimeException: Unable to start activity
No, I've just got it logging the frame time. When running
GLSurfaceView my frame period is 16ms, and 33ms when using the code
under live wallpaper (both my version and Robert Green's version). The
update code is SIMD (neon) and takes 4ms to run. When running in an
application instead of live
HI all!!
How to add multi-touch function to sample softkeyboard?
somebody help me !!!
--
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 unsubscribe from this group,
I have tried also on my device (i5500) but same problem and it's the
same also if i set ividerHeight=1 for the ListView. The problem goes
away if set dividerHeight =2, but it's not what I want.
Thanks
On 15 Ott, 23:56, Mark Murphy mmur...@commonsware.com wrote:
That may simply be a problem with
I'll be brief. I have a ListActivity that uses a custom Adapter
implementing BaseAdapter.
When I perform a click on an object, the method
ListActivity.onListItemClick() gets executed.
Is there a way to execute a different portion of code when I perform a
LONG click on an item?
Thanks,
Simone
--
When you long click on a list item, the method onItemLongClick should be
called. If you want your own listener, you cannot do that on the stock
listview. Extend and create your own list view and configure a separate
lintener for that.
On Sat, Oct 16, 2010 at 2:39 PM, Simone
Dear Goutham,
I would like to reassure you that it is technically possible and it is
practically workable to directly connect to an Oracle database from
Android.
As long as you have a mind to secure the connection. On an internal
network with Wi-Fi that is fine with WEP etc. With GPRS/3G it is
Pramod,
Looks like you are using ListActivity, which expects that the list view
has a certain predefined ID.
That id is defined inside Android, and is the android.R.id.list
mentioned in the logcat.
Either change the layout to use@id/android:list (and also change the
parameter to
Simone,
If the purpose of handling long-clicks is to display a context menu for
list items, you can use this:
yourActivity.registerForContextMenu(yourListViewReference)
If it's actually the long click you want, you can set a listener for it:
Thanks to both of you, it looks like I missed those methods.
Regards,
Simone
--
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 unsubscribe from this group, send email
On Oct 15, 11:03 pm, MG my.android.a...@gmail.com wrote:
Hi. Thank you for your reply.
How would I do this?
Can you help me. Is there any sample program on the internet
that I could use as a reference?
Sorry, you will probably have to be inventive on your own.
There are two requirements you
Hi,
all...
I have two versions of my software.
One version is named
Mortgage Refinancing PRO and is a fully paied version
and
one is named
Mortgage Refinancing PRO Trial and is a free trial version.
Can you tell me why the trial version isn't present on the market also
if it is published on my
Results are pretty good. However iPhone 4 has higher resolution (960
by 640) so in some cases it'll be harder for it to compete.
BTW Samsung Galaxy S gets Android 2.2 in Europe.
Anyway there are only 33% of Android 2.2 phones. And only few of them
are Samsung. If your game will run smooth only on
instead of extending ListActivity I had extend my class from Activity
but still problem is not solved.
On Oct 16, 2:44 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Pramod,
Looks like you are using ListActivity, which expects that the list view
has a certain predefined ID.
That id is
Passing binary data (Parcelables) from one phone to another sounds
somewhat risky, as one has to consider binary compatibility.
Take a look at Intent.toUri:
http://developer.android.com/reference/android/content/Intent.html#toUri(int)
It doesn't support each and every type and combination of
Now this line ListView list = (ListView)findViewById(R.id.list);
gives me error as R.id.list can not be resolved . My xml file is as
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
After changing xml file as
ListView
android:id=@+id/list
android:layout_width=fill_parent
android:layout_height=0px
android:layout_weight=1
/
and restarting eclipse problem is solved.
On Oct 16, 3:51 pm, pramod.deore deore.pramo...@gmail.com wrote:
Now this line ListView list =
Right, you changed the view id in the layout xml, so you need to
update how to code refers to this view:
findViewById(android.R.id.list);
-- Kostya
16.10.2010 14:51, pramod.deore пишет:
Now this line ListView list = (ListView)findViewById(R.id.list);
gives me error as R.id.list can not be
Right, if you're not using ListActivity, you can use any id for the
list view.
Just make sure to use the same id in the code and in the layout xml file.
-- Kostya
16.10.2010 15:09, pramod.deore пишет:
After changing xml file as
ListView
android:id=@+id/list
Ik, thanks Kostya for help.
On Oct 16, 4:14 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Right, if you're not using ListActivity, you can use any id for the
list view.
Just make sure to use the same id in the code and in the layout xml file.
-- Kostya
16.10.2010 15:09, pramod.deore
Hello,
Thanks you for your quick response!
I have tried to implement the workaround which is indicated as
response to question 4). However, it does not work, either. I am going
to detail my implementation, for if you would see any obvious bug that
I have not found out.
The xml view that contains
Hi,
I am trying to adjust volume. But I am not sure what type of dialog
that should be used.
In phone settings, there are media volume, ringer volume settings
which popup a dialog with a scrollable bar to adjust the volume, what
type of dialog is that? Please help, I am googling so hard and
Both are showing up on my USA ATT Nexus One. I noticed it installed
to /data/app-private/ , which means you have copy protection turned
on. Copy protection means your app will only show to a select white
list of phones models/software. The white list tends to be very poorly
updated and can miss
The scrollable bar is called SeekBar (
http://developer.android.com/reference/android/widget/SeekBar.html).
It's pretty simple to use ;)
Yuvi
On Sat, Oct 16, 2010 at 1:43 PM, kevindroid kevin.wang...@gmail.com wrote:
Hi,
I am trying to adjust volume. But I am not sure what type of dialog
Hi,
I'd like to implement a feature that monitors incoming calls and SMS, and
blocks them if necessary. But I don't know how to capture such events, could
someone tell me how to do that? Thank you very much.
Alex
--
You received this message because you are subscribed to the Google
Groups
You can add this meta tag to your page:
meta name=viewport content=initial-scale=1.0, user-scalable=no /
If you still have trouble, post back with your webview code.
-John Coryat
On Oct 15, 4:29 pm, Wendel Assis wendel.as...@gmail.com wrote:
Hi all,
I'm using webview to display local
Hello everyone
Do you know some asynch network io library for android?
Powered by Telkomsel BlackBerry®
--
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
If you like to test functionality of your broadcast receiver , you can
use mock frameworks
( I personally find jmockit most powerfull, but not easy to
understand)
On Oct 15, 10:10 am, viktor victor.scherb...@gmail.com wrote:
Any proposition how to test async calls?
On 14 öÏ×, 15:23, viktor
konstantin.pribluda[at]gmail.com
I have HTC hero with 2.1
regards,
On Oct 15, 6:19 pm, Nacho Pintos nacho.pin...@gmail.com wrote:
Hi!
I'm bedroom developer and I'm finishing my first android game, Flee,
which (hopefully) will be released in the coming weeks. I'm a bit
scared to release it
You can use Java networking (sockets), or Apache class library (for
http / https).
Java NIO is supported, but for versions before 2.2, only non-secure:
SSLEngine (necessary to use SSL with NIO) had a fatal bug, fixed in 2.2.
For background network processing, your best bet is to use a
The IntentService is the ticket for background network processing.
It's simple to use and I've found it very reliable, even for
multithreaded access like pulling down a set of documents in parallel.
On Oct 16, 7:40 am, Kostya Vasilyev kmans...@gmail.com wrote:
For background network processing,
Here is the stack:
android.database.sqlite.SQLiteException: error code 5: database is
locked
at
android.database.sqlite.SQLiteStatement.native_execute(Native Method)
at
android.database.sqlite.SQLiteStatement.execute(SQLiteStatement.java:
55)
at
Is there a good tutorial or documentation about how to use IntentService?
Powered by Telkomsel BlackBerry®
-Original Message-
From: Bret Foreman bret.fore...@gmail.com
Sender: android-developers@googlegroups.com
Date: Sat, 16 Oct 2010 08:22:32
To: Android
Is that true that we should prefer AsynchTask instead of pure Thread?
When do we use service instead if asychtask?
What kind of class would be use to connect to server and read the stream from
server asynchronously?
Powered by Telkomsel BlackBerry®
-Original Message-
From: Kostya
Hi—
I'm interested. I have a CLIQ running a 2.1 ROM.
Thanks—
Garen
On Oct 15, 9:19 am, Nacho Pintos nacho.pin...@gmail.com wrote:
Hi!
I'm bedroom developer and I'm finishing my first android game, Flee,
which (hopefully) will be released in the coming weeks. I'm a bit
scared to release it
I have an Activity with TextView that I am trying to update from
different thread. To do that i pass TextView to the updater thread
onCreate(..)
..
txtStatus = (TextView)this.findViewById(R.id.status);
// start udp server as separate thread and pass TextView to that
thread to print text messages
Pls see the documentation for the solution:
http://developer.android.com/resources/faq/commontasks.html#threading
On 16 October 2010 18:58, chcat vlyamt...@gmail.com wrote:
I have an Activity with TextView that I am trying to update from
different thread. To do that i pass TextView to the
I am writing an application which will communicate with a Google App
Engine (GAE) website, and I would like to authenticate against the
website using a user selected account in the Account Manager.
I setup the UI such that the user selects an Account object. I would
like to pass this Account
search the sdk for android.view.View.OnKeyListener, i know sometimes
its hard to find what you are looking for if you dont know your way
around the SDK.
--G
On Oct 15, 6:48 am, rokson kiranrepa...@gmail.com wrote:
Hi Friends,
I want to get EditText data when user clicks on the soft keyboard
You can only access UI objects from the main (UI) thread.
There are several ways to post UI operations to the UI thread.
This one is probably the easiest: Activity.runOnUIThread(Runnable action)
http://developer.android.com/reference/android/app/Activity.html#runOnUiThread(java.lang.Runnable)
If you are using the JEE edition of HELIOS, the assists can be speeded
up by turning off JAX-WS assist in the edit/advanced preference
(Window-Preferences-Java-Editor-Content Assist-Advanced.
It also appears that the assists cycle through a list of suggestion
sources, starting with a different
An alternate approach is to use the view object's post(Runnable r)
method. Note that Kostya's also requires a reference - but to the
Activity object.
myView.post(new Runnable() {...
On Oct 16, 12:00 pm, Kostya Vasilyev kmans...@gmail.com wrote:
You can only access UI objects from the main
thanks for the reply
I don't think it is my service the one with the problem. I am using
WAKE_LOCK, and also set setForground().
My service uses Text-to-speech service, and in the logcat output, I
can see the text-to-speech service shutting down when the phone goes
to sleep. My service then
Just to update the issue. I fixed this problem, I had a hidden
TextView, which I though would be invisible. if the TextView has
enough content
it would push out the bottom part of the layout.
Deleted the invisible TextView, problem solved.
On Sep 4, 7:06 pm, kronos jeremyvillalo...@gmail.com
Hope you aren't still eating candy bars. However, Dan is not a tech
writer and the article needs to be a bit more fleshed out. I was
stumped similarly to you yesterday until I figured out that to
actually obfuscate I had to point to the directory where the proguard
jar file was located. This
Ok, that helps, but what is Runnable action and how is it related to
thread?
On Oct 16, 3:00 pm, Kostya Vasilyev kmans...@gmail.com wrote:
You can only access UI objects from the main (UI) thread.
There are several ways to post UI operations to the UI thread.
This one is probably the
Runnable is a Java interface that defines one method: run. You can
think of it as a method packaged as an object.
Define a class that implements Runnable, and pass it to m_view.update()
or runOnUIThread().
Once you've done that, the runnable object's run() method will be called
I do not see how it can work - my thread is asynchronous task blocked
on receive method
The thread must initiate update of textview
i had a look at the AsyncTask but what parameters should be passed to
it?
Thanks again,
-V
On Oct 16, 5:03 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Runnable
This is more of an Eclipse error than an Android or Ant error. My
Eclipse project won't build because when it sees the build.xml created
from the Android command, it starts looking for the debug and release
commands. Well, since they are dynamically generated from the setup
task, they don't
thanks for the help, that was the problem.
On Oct 16, 2:12 pm, Lance Nanek lna...@gmail.com wrote:
Both are showing up on my USA ATT Nexus One. I noticed it installed
to /data/app-private/ , which means you have copy protection turned
on. Copy protection means your app will only show to a
Apparently this is an age old problem:
http://groups.google.com/group/android-developers/browse_thread/thread/317ce95facb10435
And annoyingly, it has not been solved with any satisfaction. This
has got to be solved
On Oct 16, 3:28 pm, Anm andrew.n.marsh...@gmail.com wrote:
This is more of
One solution, albeit a bit overreaching, is to disable all buildfile
errors.
Under Preferences - Ant - Editor, in the tab Problems, check Ignore
all buildfile problems.
From:
http://stackoverflow.com/questions/3941177/skip-eclipse-validation-of-build-xml
On Oct 16, 3:43 pm, Anm
A couple comments --
You can profile any process with the adb shell am command. Run the
command without arguments to get its help text.
There is nothing about live wallpapers that intrinsically limits their
speed. They get their own surface that they draw directly into like any
other window,
On Sat, Oct 16, 2010 at 1:08 AM, webmonkey webmonke...@gmail.com wrote:
Is the historical data device dependent? So are there any devices that
always set the amount to 0?
Er. Not sure what you mean. It is just any data that has occurred since
the last motion event and the most recent
On Sat, Oct 16, 2010 at 12:17 PM, kronos jeremyvillalo...@gmail.com wrote:
My service uses Text-to-speech service, and in the logcat output, I
can see the text-to-speech service shutting down when the phone goes
to sleep. My service then enters a state where it uses up cpu but
does nothing.
Hi all!
Is it possible to get a list/cursor of all images taken by the
camera? I would like to somehow be notified when the camera takes a
picture, ie when the database of images changes.
Currently I can use a contentobserver with the
MediaStore.Images.Media.External_Content_URI, but that fires
Purchased the Sony Blue-ray Google TV today. The user agent string
for Google TV (at least on SONY) is
: Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML,
like Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/
162671
Optimized http://www.vpiketv.com for Google TV.
There was an extra character (:) in the user agent string in the
previous post...
Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like
Gecko) Chrome/5.0.375.127 Large Screen Safari/533.4 GoogleTV/ 162671
On Oct 16, 10:04 pm, InfoSports a...@infosports.com wrote:
Purchased
I'd like to have a sqlite table with rows of 4 entries: a row id, a string and
2 integers and possibly more data later. I want the string to be unique. What's
the easiest way to write an adapter that insert new rows with automatically
replacing if the string already exists? Does
67 matches
Mail list logo