I have a motion listener to detect finger down, finger drag, and
finger up. I start my action at finger down and finish my action at
finger up. When the action is finished, I store it in a stack for
allowing undo. My problem is that if I don't get a finger up event, I
can't finish my action to
You should receive an ACTION_CANCEL if that happens.
On Sun, Jan 3, 2010 at 12:27 AM, scastria scastria...@gmail.com wrote:
I have a motion listener to detect finger down, finger drag, and
finger up. I start my action at finger down and finish my action at
finger up. When the action is
Answers for 1 - 7: Read the Android documentation, get a book on Android,
and learn to use Google.
Do you seriously expect someone to sit down and answer all these questions
for you when you clearly have made no effort to work them out for yourself?
Thanks for the quick reply. I was mistaken in my original post. I am
indeed getting ACTION_UP events as soon as my finger leaves the screen
while I am dragging on the ADP1. Therefore, that is good enough to
solve my problem. Strange that I am not getting ACTION_CANCEL as you
said. My
Dear Android Developers,
I have been scouting around for ages, trying to find how to engage
with the mms storage of the android operating system. For my purposes
it is only necessary to know the number of mms sent; and perhaps the
size of each mms. As you are probably aware, the API for this is
Okay, so my suspicion was right!
How can I achieve passing the parent activity to it?
Does this involve Intents? Or should the CPAddressbook simply extend
the parent activity?
Thanks for your help so far,
Flo.
On 3 Jan., 02:17, Dmitri Plotnikov dplotni...@google.com wrote:
Actually, no need
Okay, so my suspicion was right!
How can I achieve passing the parent activity to it?
Does this involve Intents? Or should the CPAddressbook simply extend
the parent activity?
Thanks for your help so far,
Flo.
On 3 Jan., 02:17, Dmitri Plotnikov dplotni...@google.com wrote:
Actually, no need
ok i got it. it seems the problem is that their xercesMinimal.jar does
not work. it tried it in a non android java project and had the same
problem. with the full xerces jar i can parse my html page even it has
several errors in it. Too bad the full xerces jar is 1.2Mo :(
Seems like a bug from
As adsense for mobile is still beta, they accept only apps
with 100K views a day ( and your is certainly not yet eligible,
or you would not ask this question )
BUt good news is, that admob will accept it, and they are about to
be bought
by google - so you will make it to adsense through back
Hi,
When the android emulator is tarted with non existing avd value, it
does not start the emulator nor gives any error message. It may be
good to let the user know that avd xyz supplied did not exist.
Regards,
Raja Nagendra Kumar,
C.T.O
www.tejasoft.com
--
You received this message because
Hello.
The following code works just fine on Android 1.5/1.6. However on
2.0.1 I get an exception (see below).
ContentResolver contentResolver = getContentResolver();
Uri uri = Uri.withAppendedPath(Contacts.People.CONTENT_URI, Long
Hi,
I've three Tabs:
mTabHost = getTabHost();
mTabHost.addTab(mTabHost.newTabSpec(tab_1).setIndicator
(Name1).setContent(R.id.tab1));
mTabHost.addTab(mTabHost.newTabSpec(tab_2).setIndicator
(Name2).setContent(R.id.tab2));
mTabHost.addTab(mTabHost.newTabSpec(tab_3).setIndicator
If any one is interested, I am starting up a Linux, Android, and 2600
group in Biloxi, Ms. Come check out my group at
http://groups.google.com/group/biloxi-linux-android-2600-group . If I
get enough interest I would like to have a meeting in February.
--
You received this message because you are
Hello Devs
Any ideas regarding inline ?
On Thu, Dec 31, 2009 at 12:19 PM, Android Development
indodr...@gmail.comwrote:
Hello,
*My Cases:*
1. I have a RTP stack, using which i am receiving raw audio and video
streams from the network.
2. Similarly, I will be sending audio and
To follow up on my own question, heres how I did it.
I went from a service to an IntentService and in the onHandleIntent
(Intent intent) I handle the update requests.
To get the individual id's I put them as an extra in the intent in the
onRecieve() method in the widget, then fire them off to
Hello all,
I have a question about SD card usage in Android applications. I need
my application to store some files on the SD card. Is there any
document (conventions) about how the application should use the SD
card?
I saw applications create a directory named as the application itself
and
lol
I didn't notice that there is a comprehensive explanation in this
website
Thank You
On 1月3日, 上午11時59分, Kumar Bibek coomar@gmail.com wrote:
AsyncTask gives you more control over how you background work is done.
You get callbacks for , progress, completion of action, etc.
You would
Well as you have seen from your own experience there doesn't seem to
be any real convention. I would do whatever you find the most
convenient as a user. I personally like it when they make a folder
with the app name not the package name.
On Jan 3, 10:18 am, Andriy Zakharchuk
No official conventions exist as far as I know. It would be very anti-
social to store your files in the sd card root because of the clutter
it would cause (and I'm surprised that there are apps that do it). If
you're confident that your application's name will be unique, you
could just create
Hi all,
I'm trying to use HttpPost to send data from an android device to a
server.
It works great with a Wifi connection, but I get the IOException The
target server failed to respond with a Mobile connection (3G, Edge,
etc.). It doesn't seem to be a timeout problem (I set it to 90s).
The use of
Dear Rohit.
When you have found your answers, please come back here and post them
so we can all share in your new found knowledge.
Thanx in advance... ;-)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
According to me sales and business increase by marketing.So market
place need to be clean and powerful.Take a step for clear business.
place ad @ http://www.adplacebd.com your trustful partner.visit
http://www.adplacebd.com
--
You received this message because you are subscribed to the Google
Market place in the important think of merketing. So increase your
sales, be a great business man.place an ad. please visti
http://www.adplacebd.com
- advance classified of bangladesh.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
With so many packages and add-ons, the possibilities are endless! Your
main objective as an Affiliate is to send http://www.adplacebd.com
traffic to our programs and we will do the rest.. For all the sales
generated by you or your sub-affiliates you will be paid, on a bi-
monthly basis, in a form
Hi Diane,
What's the definition of background in terms this scheduling mode in
Android 1.6 or later? Is it based on this document?
http://developer.android.com/intl/fr/guide/topics/fundamentals.html#proclife
The follow up question is: if a service is a foreground service (e.g.
has called
I have an EditTextPreference item in my Preference activity. I would
like the enter key signal ok rather than enter a newline. Is this
do-able via the preferences.xml file or some resources file?
In fact, ideally, I'd like to replace the enter symbol in the soft
keyboard with Done.
--
You
android:singleLine=true
On Sun, Jan 3, 2010 at 11:06 AM, Edward Falk ed.f...@gmail.com wrote:
I have an EditTextPreference item in my Preference activity. I would
like the enter key signal ok rather than enter a newline. Is this
do-able via the preferences.xml file or some resources file?
and check out these:
android:imeOptions=actionNext
android:imeOptions=actionDone
On Sun, Jan 3, 2010 at 11:13 AM, Wayne Wenthin wa...@fuligin.com wrote:
android:singleLine=true
On Sun, Jan 3, 2010 at 11:06 AM, Edward Falk ed.f...@gmail.com wrote:
I have an EditTextPreference item in my
The problem with spam these days is that you don't know if they make
typos in order to get around spam filters or if it is simply a pure
lack of education from the authors..
On Jan 3, 10:01 am, Abrahim adplac...@gmail.com wrote:
Market place in the important think of merketing. So increase your
Hello everyone,
I was wondering what solutions other android developers have adopted
to get around gc pauses. I am working on a game framework and the
creation and destruction of small objects like points and vectors are
killing my bandwidth, I googled up java pool and found this:
Hi,
There is an object pool implementation in Android, put it's private at
the moment. You can however copy its source code that you can find
here:
http://android.git.kernel.org/?p=platform/frameworks/base.git;a=tree;f=core/java/android/util;h=91ffaec4501c851cfec5d1423418177ce47e3ec9;hb=master
I'm about to tear my hair out. The authToken I was getting from
AccountManager was working fine before I went away for the holidays. I
get back home and start back into development and now the authToken I
get from the following code is no longer valid when requesting a
cookie:
AccountManager mgr
I have no idea. This can't happen on my phone.
Should I be calling create(myActivity, id) or create
(myActivity.getBaseContext(), id)?
I don't know why I ask -- neither form seems to solve the problem on
at some (not all) of these Hero phones. I am coming to really despise
Hero/Eris.
tone
On
On Sun, Jan 3, 2010 at 10:53 AM, Carter ccjerni...@gmail.com wrote:
What's the definition of background in terms this scheduling mode in
Android 1.6 or later? Is it based on this document?
http://developer.android.com/intl/fr/guide/topics/fundamentals.html#proclife
Yes, any process not in
On Tue, Dec 29, 2009 at 5:42 PM, chris harper ch393...@gmail.com wrote:
So what you are saying is that Android development doesn't really want
developers building applications that use Flash?
Only a few phones have Flash at this point so, no, I would not suggest using
it.
Longer term...
Thank you! I am using SurfaceView now in my game and it is really
f** FAST!! :-) thanks!
I found this good tutorial here:
http://www.droidnova.com/playing-with-graphics-in-android-part-i,147.html
Martin
On 2 Jan., 14:16, ko5tik kpriblo...@yahoo.com wrote:
Depending on UI event handling to
This tutorial describes the best way!! ;-)
http://www.droidnova.com/playing-with-graphics-in-android-part-i,147.html
Greetings, Martin
On 1 Jan., 19:18, Martin google-gro...@digle.de wrote:
Thank you, I will try it :-)
Martin
On 31 Dez. 2009, 16:16, skink psk...@gmail.com wrote:
On Dec
Hi,
How can we pass checked box status from one activity to the calling
activity?
For e.g., I have two activities. The first activity calls the second
activity that has a listview with checkboxed items and two buttons,
'OK' and 'CANCEL'. The second activity has to pass the names of list
items
How can we pass checked box status from one activity to the calling
activity?
For e.g., I have two activities. The first activity calls the second
activity that has a listview with checkboxed items and two buttons,
'OK' and 'CANCEL'. The second activity has to pass the names of list
items
I am developing a musical app which can allow user to insert notes and
define its sound to play. (Just like Reason or Guitar Pro)
I use soundpool to play the audio file.
I am wondering is there a way to record the audio from the
SoundPool.Play() to output the sound file (Mp3 or Wav)?
Thanks for
hi, all( happy new year~! :D)
I making an Alarm App.
In my Alarm App, if user set the alarm, the alarm Dialog will be shown
at the set alarm time.
but if device(phone) was in lock and screen off, I can't see the alarm
dialog.
I need to write code to the alarm dialog will be shown automatically
Hi!
I found the solution! I did not need to rotate the image. I just had
to rotate the canvas-object, I was using.
LunarLander has the best example. Here is some code of it:
canvas.save();
canvas.rotate((float) mHeading, (float) mX, mCanvasHeight
-
Thanks!
On Jan 1, 9:14 am, Rui Wu netiger198...@gmail.com wrote:
All member functions in AppWidgetProvider have a Context type. I think you
can call Context's getContentResolver() to get an content resolver intance.
2009/12/31 deeMurthy darshana.mur...@wipro.com
Hi
Is it possible to
No announcement there of course, but the following:
http://www.eweek.com/c/a/Cloud-Computing/Google-Has-Big-Plans-for-Google-Voice-Cloud-Computing-in-2010-552678/
has been interpreted as a hint towards VoIP over 3G under the umbrella
of Google Voice. This is really nothing terribly new - I've got
I've played with sipdroid a few months back. Like two minutes,
because, as you found, it's not much more than a static front end of a
fixed provider. Kindof useless. Basic UI aside, from memory, there
were also plenty of elements missing to make it a viable SIP client.
On Jan 2, 7:10 am, Ricardo
After some studying, i found following code segment in Brower's
source:
//
// start MASF proxy service
//
//Intent proxyServiceIntent = new Intent();
//proxyServiceIntent.setComponent
//(new ComponentName(
//com.android.masfproxyservice,
//
Post some logcat log so that it will be clearer.
Check the reponse status line. That will provide more information.
Thanks and Regards,
Kumar Bibek
http://tech-droid.blogspot.com
On Jan 3, 10:52 pm, p1erstef pierre.stef...@gmail.com wrote:
Hi all,
I'm trying to use HttpPost to send data
After you get the lat/long info, you can do Reverse GeoCoding to find
the address of the place.
From there, you can pick up the city name and use it.
http://developer.android.com/reference/android/location/Geocoder.html
From the log, it seems that, when you go to sleep, some receiver is
getting un-registered. So, when you wake up and try to use that
Receiver, you are getting this excpetion since the Receiver is now not
registered but you are still trying to use it.
A little bit of code will help us in pointing
The biggest problem for supporting SIP based VoIP on android is the
capability of the android media framework.
As for example, if you refer to this table:
http://developer.android.com/guide/appendix/media-formats.html..most of the
media encoders are not present.
There is no use for having only
From my experience, depends on the size of the application, and what other
builders you have set up.
For a very basic app (the HelloWorld examples), about 5 seconds on my
computer.
For a large gaming project, 30 seconds for a full build/install.
The machine is a 2.4ghz quad-core, with 6gb of
Hi all,
I'm trying to connect to another bluetooth device through OPP uuid,
using socket.connect(); but the connection is turning off unnoticed,
but the outputstream.write(byte[]) is happening perfectly flawless on
my side. The thing is I want to set the bluetooth packet header in my
device so
Thank you, guys, just wanted to be sure that I haven't missed
something important (the conventions document).
--
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
now open all blocked site with our proxy
now if you find any blocked site in your country you open it with this
proxy just enter this site and put your site and click browse
this is the site
http://alagmy.almslol.net
--
You received this message because you are subscribed to the Google
Groups
Hi, I was just wondering why people (including myself) have gotten all
of their text messages deleted? I just received a text message late
last night and said ill just read it in the morning. Then I woke up
and all my txts were deleted. I am using handcent, no message cap,
and I had no errors
Hi, I am new to the Android Development process and I have on
question. Is there a way to access a non local sqlLite server or do
the db's have to be kept on the phone itself? If so what would be the
best way to pull data from an external db? Write a server side app
that pulls the data from the db
Hello,
does anyone know if it is possible to implement a MP3 file send via
MMS message?
Regards Markku
--
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
Consider using the builder pattern instead of static factory methods:
http://en.wikipedia.org/wiki/Builder_pattern
On Sat, Jan 2, 2010 at 2:58 PM, jotobjects jotobje...@gmail.com wrote:
Here is a start...
Class barClass = com.example.Bar.class;
Method m = barClass.getMethod(foo, ...) // add
Salam
I have a problem with my emulator it works fine in my hostel where no proxy
setting needed
But the problem is that' emulator not working in my University where setting
the proxy..
If any one knows this plz reply me as Soon as Possible
Thanks.
--
You received this message because you are
Hi all, I am attempting to query a database and update information in
the appwidget screen based on changes to the database done while in an
activity - so that when the user exits, the changes are reflected in
the widget on the screen. The appwidget is being updated with a
broadcast from
this is what I did in the adapter class. but its not working.
public View getView(int position, View convertView, ViewGroup
parent) {
ThumbnailProfile profile = profiles.get(position);
LinearLayout thumbnailProfileView = new LinearLayout(online);
Another one you could try is HTML Cleaner (http://
htmlcleaner.sourceforge.net/).
I've made a few applications already that references this library and
it even supports XPATH to parse the HTML source
If you'd like to see some code snippets then let me know and I can
show you some.
- jwei
Hello.
I am new to Android. I just started with the layout examples and i was
wondering how to get nested TabWidgets (a TabWidget inside a tab of
another TabWidget).
I noticed that android:id=@android:id/tabs of one TabWidget might
conflict with the other... or am i missing something?
Thanks,
Hi Friends,
I am new to Android Development. Actually i am iphone developer and i
am learning android developer. I installed android and eclipse and i
run one project successfully.
Now problem is that after creating project, it doesn't appear in
eclipse. So can anyone plz tell me that how can i
Hi folks,
I'm running into some issues with input events and garbage collection,
or more precisely object allocation. I am creating a game and have
pretty much got my head around the OpenGL environment. I've digested
all the relevant material I could find regarding performance, memory
dear
I have HTC hero but it doesn't support arabic langauge , although HTC
Magic ,, do you have any idea when will HTC hero will support Arabic.
regards
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Dear android developers,
I want to create my own folder for SMS, and copy some message
to that folder. What should I do? Thanks!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
whenever I use onKeydown or View.onKeyListener
it will always be triggered as the menu pop-up but closing
(maybe because it is focusing on another view?)
another related function onOptionsMenuClosed(Menu menu) seems not
working neither...
(it is called whenever the options menu is being closed
Wanted Internet job workers.
You can earn $750- $1000 daily.
These are genuine Internet jobs.
Only serious enquires please.
For more details visit : https://time2rich.com/jayavithya
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Hi Friends,
I am new to Android Development. Actually i am iphone developer and i
am learning android developer. I installed android and eclipse and i
run one project successfully.
Now problem is that after creating project, it doesn't appear in
eclipse. So can anyone plz tell me that how can i
code working very smoothly on SDK 2.0.1
Intent i = new Intent(Intent.ACTION_VIEW,
Uri.parse(google.navigation:q=New+York+NY));
startActivity(i);
Thanks Declan .
On Dec 18 2009, 1:39 am, Declan Shanaghy dec...@350nice.com wrote:
Sorry but that's just a web URL, not the Navigation App.
I
I am currently trying to split a string of a mathematical function,
which I am currently respresenting as:
4x2+3x4 (which means 4x^2 + 3x^4)
and I need to split it into the individual terms, 4x2 and 3x4. Using a
string.split(+) method I get the error:
Syntax Error: U_REGEX_RULE_SYNTAX near
So ive just begun to start on my android development learning journey
and got this book Profession Android Application Development, but I
cant get this certain sample code to run and im so new to the sdk I
cant spot the problem. Well obviously eclipse tells me why it wont
compile ive gotten it
This site has a complete example on using google maps including geocoding -
getting the address of a location from the latitude and longitude.
http://mobiforge.com/developing/story/using-google-maps-android
On Sat, Jan 2, 2010 at 11:25 PM, star double doublestar...@gmail.comwrote:
Hi, all
I
Hello everyone,
apologies if I missed something obvious...
What I am trying to accomplish is to have clickable hyperlinks in the
message text displayed by an AlertDialog. While the AlertDialog
implementation happily underlines and colors any hyperlinks (defined
using a href=... in the string
Hi Declan ,
Thanks for your code . it's working very well But only with SDK 2.0.1.
Thanks
kautilya
--
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
Hi guys,
I can get notification of outgoing call using PhoneStateListener. But
is there any api in android which will notify my application about
outgoing text/sms being sent.
Thanks in advance
Sunny
--
You received this message because you are subscribed to the Google
Groups Android
Hi everyone,
I have a media recorder, and want to record a media from mic and get
it's amplitude sample.
I want to try to get the correct and current amplitude instantaneously
when calling some API.
But there is just one API in MediaRecorde for getting amplitude:
getMaxAmplitude, and it is used to
Hi everyone,
I have a media recorder, and want to record a media from mic and get
it's amplitude sample.
I want to try to get the correct and current amplitude instantaneously
when calling some API.
But there is just one API in MediaRecorde for getting amplitude:
getMaxAmplitude, and it is used to
you can set the android:autoLink=all or whatever attribute you need in
place of all
Respectfully,
Tommy Hartz | DBA
WEBPRO
the web people ™
Savannah GA. - 912.988.3065 | Charlotte NC. - 704.814.7277 | Toll
888.999.4887
Why don't you invoke some web service from the client which in turn talks to
your EJB ?
On Thu, Dec 3, 2009 at 6:33 AM, Bruce Xia bruce.xi...@gmail.com wrote:
What I was trying to do is really to have an app client who can talk to EJB
on server side. This is simply done by adding @EJB
I've developed a GPS app in which i record the user roots and show it
on the map...but
Panning around on the map when reviewing my route is painfully slow,
it takes at least 4 or 5 seconds for the map to respond the finger
swipes..
I've overridden the onDraw() method and drawing the
Il giorno dom, 03/01/2010 alle 08.18 -0800, Andriy Zakharchuk ha
scritto:
I have a question about SD card usage in Android applications. I need
my application to store some files on the SD card. Is there any
document (conventions) about how the application should use the SD
card?
Please also
Hi,
You db has to be on the phone. You can of course access an online DB
server from your phone, but in such a case, you would have to write a
server side app as you have mentioned.
This depends. If your app uses data that changes dynamically, you will
have to use the server side app, else, you
What about Quattro Wireless?
I'm generally satisfied with AdMob, but it would be nice to hear from
someone working with other advertisers.
On Jan 3, 3:25 pm, ko5tik kpriblo...@yahoo.com wrote:
As adsense for mobile is still beta, they accept only apps
with 100K views a day ( and your is
85 matches
Mail list logo