hi,
i am having two categories
within these 2 categories there are three subcategories.
like__
1.audio
1a. track
1b album
1c artist
2.video
2a. track
3b album
2c artist
I have made one class that handles the click event for track,album and
artist.but how can i know the
04.05.2011 16:41, Jake Colman ?:
So it*is* correct always set up the onClickPendingIntent every time I
build and push update. I thought maybe I had missed something and was
making a colossal error.
Not pushing a complete update can lead to errors later on.
I guess I will recode my
You can use a GestureDetector to listen to motion events one of them
being onLongPress(MotionEvent e).
In that method you decide whether you want to show the context menu or
not. If you decide to show it call activity.openContextMenu(myView);
(registerForContextMenu (View view) needs to be called
I'm making a app which got it's data from parsing a website, and I
have to download around 100 webpages.
This is a time consuming task, so I created a AsyncTask for
downloading the data, so I can show a Loading message on the UI
Thread.
Only problem is, that the 100 webpages are now downloaded
On Wed, 4 May 2011 07:12:16 -0400, Dianne Hackborn
hack...@android.com wrote:
This group is for working with the SDK, so if you don't want to write any
Java this is about the last place to look. If you feel like you need to
avoid the NDK, you should look on groups like android-porting which are
An AsyncTask may be doing its work with a single worker thread. You
may want to download the sourcecode of AsyncTask and alter it so that
a pool of threads can do the work to speed up.
This is just thinking aloud.
Or write your own handler that spawns multple threads and have the
handler report
I am newbie and this is very basic question..
I want to store image from my application to some internal
device location(not external SD card).
Can anyone please let me know which location(any shared directory for
all apps) on internal storage is this?
thanks you
mack
--
You received this
I already am using a GestureDetector... For some reason I couldn't get it to
not show the context menu on long press... But I was using
setOnCreateContextMenuListener().
I'll go ahead and give what you suggest a try. I wasn't sure it would work
because registerForContextMenu() says it sets the
This newsgroup is about developing third party applications using the
Android SDK. The Android SDK is purely a Java-language SDK. If you don't
want to touch Java, you should be running screaming from here.
On Wed, May 4, 2011 at 10:18 AM, maf...@yahoo.co.uk wrote:
On Wed, 4 May 2011 07:12:16
This sounds a little bit diffecult to I'm not very experienced in
writing my own ASyncTask, or creating a custum handler.
Isn't it possible to create a new thread withing the asynchtask. So
the big task is plitted up in several smaller tasks.
On 4 mei, 16:27, Satya Komatineni
On Wed, May 4, 2011 at 9:03 AM, Stefan stefankru...@hotmail.com wrote:
Only problem is, that the 100 webpages are now downloaded after each other.
Is there a way to download the webpages at the same time?
First question: what is the purpose of doing them all at once?
There is not a shared directory for all apps on internal storage. The
shared directory for all apps is the directory you get for external storage
from Environment. (Which these days may not be external any more, but is
still the shared directory.)
On Wed, May 4, 2011 at 10:38 AM, mack2978
The problem at this moment with the app is that the retrieval of the
html code from the website takes a lot of time.
When you start the app at this moment, you'ill have to wait 3 minutes
for loading the website.
That's not very user friendly, and I guess that downloading just a
little bit html
This isn't really an Android-specific question -- you will probably get good
answers just looking for ways in Java to do concurrent HTTP requests.
On Wed, May 4, 2011 at 11:22 AM, Stefan stefankru...@hotmail.com wrote:
The problem at this moment with the app is that the retrieval of the
html
To do concurrent HTTP request I guess threads are the way to do that?
Creating a thread within a thread results here in an Can't create
handler inside thread that has not called Looper.prepare()error.
And I cannot find another way without multiple threads.
On 4 mei, 17:27, Dianne Hackborn
I have a situation where I have a perfect job for Tabs, but want the tab
container to actually control the view of v4 fragments instead...
However the TabHost build-out requires the container inside the same layout.
Has anyone built a component that works like tabs but can handle fragments?
-
AsyncTasks are not threads.
They are chunks of work (like getting a web-document) that are executed on a
pool of (background) threads.
Read the documentation of AsyncTask carefully. Figure out a way to have a
pool of more than one background threads (happens 'automatically' for
Android OS
Dears,
I am facing OutOfMemory problem and when analysing the memory I see
that my program keep two instances of my MapActivity.
If I use the HelloMap program, I see the same result.
1- Do I miss something ? How do a good use of the mapActivity ?
2- I have three mapActivities differents. I
On Wed, May 4, 2011 at 11:18 AM, olivier olivier.stev...@treebux.fr wrote:
1- Do I miss something ? How do a good use of the mapActivity ?
http://code.google.com/android/add-ons/google-apis/reference/com/google/android/maps/MapActivity.html
Hi
I have 2 apps; need to stay communicated with each other and make sure
battery is not affected.
I know I can open TCP socket between them and get notified if for some
reason the other app stops working.
I thought TCP sockets might be expensive to maintain and perhaps drain
battery?
Is there
On Tue, May 3, 2011 at 2:42 PM, bluewolf darkmoonst...@gmail.com wrote:
I have added an action to the intent filter in
packages/apps/Phone/src/ com/android/phone/PhoneApp.java
This is not the forum for modifying the source code. Check the documentation
for a more appropriate forum.
On Tue, May 3, 2011 at 4:13 AM, Tek911 felix.simm...@gmail.com wrote:
Any links to anything on the android developers website or sample code
elsewhere is appreciated in advance.
I believe keyboards take their cue from the input type associated with the
control (EditText) they're manipulating:
Thanks for that info Dianne. It looks like I need the
android:protectionLevel=signature configuration, however I can't get it
working.
Here is my manifest containing my content provider:
manifest xmlns:android=http://schemas.android.com/apk/res/android;
package=com.cpexample
permission
On Tue, May 3, 2011 at 5:06 AM, Madhu brisk...@gmail.com wrote:
unfortunately my username and password typed on the same textbox.
Well, yeah, you called solo.enterText() twice with two different values. I
have no idea what solo is but you'd need a second box to put text into.
hello I tried to send a sms encrypted, but the problem is no
exception, but the SMS does not start
code
public void onClick(View arg0) {
sendFeedback(ok);
r=DES.crypting(r+r, TELEPHONY_SERVICE);
EnvoiSms envoisms = new
I am writing an app that will use the P2P part of the NFC package, and I
would like no other android app possibly handel the intent generated from my
tag being pushed. I want to prevent the Application Chooser from being
launched. But if a user has an app that attempts to catch all tags (like a
I've had similar issues.
I removed away from the absolute black box testing and started targeting
View by their id's (com.yourcomp.yourproject.R.id.someViewId) instead.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
most likely your encrypted string violates the style guidelines for SMS. You
will have to base64 encode it before sending.
Also, it may just be too long.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
and once you have done all that you may notice no performance gain at all
because all along the bottleneck was you phone's data connection speed...
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I myself doubt on this line r=DES.crypting(r+r, TELEPHONY_SERVICE);
--
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 to
On Tue, May 3, 2011 at 3:02 AM, Michele Galli ing.michelega...@gmail.comwrote:
Hey i have a problem! when i try to set the price of my app to 0.79 euro
the developer console set it to 79 euro!!
i have never had this problem! i can't re-publish my app if i don't solve
this issue!
For testing purposes I used setOnCreateContextMenuListener and the
context menu still doesn't show.
The reason for that is that I'm also catching
View.onTouchEvent(MotionEvent event).
The documentation for the GestureDetector says: In the
onTouchEvent(MotionEvent) method ensure you call
Hi,
I am getting starange issue on surfaceview but when used view it
worked fine.
1.) when using view and drawing image using
canvas.drawBitmap(mBitmap[CntcurrentImage], 0, 0, null); works
perfectly and draws image fully fitting in the screen.
2.) But when using surfaceview and doing the same
I lean towards auto as well. I tried preferExternal at first and
several users reported errors, so I switched to auto, and the
complaints went away.
On May 4, 5:15 am, Droid rod...@gmail.com wrote:
Yes, maybe 'auto' better, I read somewhere that a few models will fail
to install at all if
A lot may depend on the detail that you are working with.
From what you wrote it appears to me that your data/object/xml model
may be (I am guessing your intentions)
audio track= album= artist= /
audio track= album= artist= /
video track= album= artist= /
video track= album= artist= /
In
Hi I'm trying to figure out whats happens when a phone call gets
recieved um basically want to know what happens programming wise
because my app always seems to freeze the phone when a caller is
calling the phone i know its cause of some thread i want to shut down
so does anyone know where the
Hi ,
Can someone tell me difference between this and
getApplicationContext.
Try this in case of ProgressDialog ... in case of
getApplicationContext it shows run time error.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this
I would guess that the most important callback in this case is your
activity's onPause and onStop.
-- Kostya
04.05.2011 22:06, kiros88 пишет:
Hi I'm trying to figure out whats happens when a phone call gets
recieved um basically want to know what happens programming wise
because my app always
Is there anyway to figure out if the the new intent is going to be the
incoming call?
On May 4, 12:31 pm, Kostya Vasilyev kmans...@gmail.com wrote:
I would guess that the most important callback in this case is your
activity's onPause and onStop.
-- Kostya
04.05.2011 22:06, kiros88 пишет:
'this' in an Activity refers to the Context, because an Activity is a
Context (Activity extends Context).
this.getApplicationContext() returns an Application. An Application is a
Context as well.
But the ProgressDialog really likes an Activity, not just a Context. As you
discovered, not just
Is there a possibility to determine if the device your App / Game is running
has only soft-keys available ?
(Like Back, Home, Menu,..)
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Probably not, but your code should not really care.
What happens when you press the home key in your application?
-- Kostya
04.05.2011 23:46, kiros88 пишет:
Is there anyway to figure out if the the new intent is going to be the
incoming call?
On May 4, 12:31 pm, Kostya
On Tue, May 3, 2011 at 11:05 PM, tushar sahni tusharsahn...@gmail.comwrote:
I am sending u my latest Resume for the post of Android Application
Developer
This is priceless.
I am looking for a position / job where I can explore myself fully
...
Strengths :Hard Work, endurance
Sounds
Yea it freezes too so i have to figure that out but i think what were
really trying to do is a get a demo working version up so when we
present i just know if a phone call comes in it freezes the phone.
On May 4, 1:20 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Probably not, but your code
05.05.2011 0:38, kiros88 пишет:
Yea it freezes too
That should be easier / faster / cheaper to debug than incoming phone calls.
so i have to figure that out but i think what were
really trying to do is a get a demo working version up so when we
present i just know if a phone call comes in it
Um well the bug i know is that i have a thread going after i like back
of my app so normally i close the thread when i do the back button but
i dont know how else to close the thread when im not on my app and
like on the home screen
On May 4, 1:41 pm, Kostya Vasilyev kmans...@gmail.com wrote:
Actually sorry I do have a plan for the home bug um so thats y i
needed only a solution for the call bug and the home bug is something
that i can test later but yea I had a different scenario for that one
On May 4, 1:47 pm, kiros88 ghui...@gmail.com wrote:
Um well the bug i know is that i have a
Hi,
I can't add frames to the video_stream. Value of index always change
but index of video_st never changes. So I think I can't add frames but
I can't find why.. Can anyone help me.. Thank you..
Here is some parts of my code
static void write_video_frame(AVFormatContext *oc,AVFrame *pFrame,int
Implement the onPause (or onStop) of your Activity. Pause your thread there
(i.e. have your thread check for a value/semaphore that indicates when to
pause a thread). In the onResume (or onStart), resume your thread.
Implement the onDestroy of your Acivity. Stop your thread there (i.e. exit
Hi,
I can't add frames to the video_stream. Value of index always change
but index of video_st never changes. So I think I can't add frames but
I can't find why.. Can anyone help me.. Thank you..
Here is some parts of my code
static void write_video_frame(AVFormatContext *oc,AVFrame *pFrame,int
Hi,
I can't add frames to the video_stream. Value of index always change
but index of video_st never changes. So I think I can't add frames but
I can't find why.. Can anyone help me.. Thank you..
Here is some parts of my code
static void write_video_frame(AVFormatContext *oc,AVFrame *pFrame,int
Hi,
I've got some NFC tags and have written some data into them using the
NXP Tag Writer app available from marketplace.
After writing some data in the tag, I'd like to remove write-access to
it so people can't overwrite the tag data. Using the Tag Writer app, I
get a message stating that write
Hi everybody!
This is my first message since I've just joined your mail list. So first of
all hi to everybody.
I am now developing for android and having some issues so I will directly
publish the problem:
I have developed one application which uses the bluetooth and transfers data
through a 3g
Hi Folks!
For my recent android project, I want achieve following things:
1. Merge two video
2. Edit the video - like Add Title, Subtitle, Numbers at some part of
video (Not throughout)
3. Change Audio of the Video file.
So, my question over here is
Which is the best approach to achieve these
Hi all,
I am developing a facebook application but I cannot sign in to
facebook. Even I couldn't connect to the facebook page from browser.
Even I replaced the /system/etc/hosts file, but I still couldn't open
the facebook web page in browser or sign in. I tried to use a proxy
but couldn't find an
Hi,
I want to make blackbox for car.
So, I use sensor, camera and gps.
I can use each activity.
but how can I make thread to use sensor, camera and GPS?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi All,
I noticed that the connection created (using IsoDep) is not stable.
For example, when I perform a signing(digital signature) and
verification of signature via APDU, the NFC service will die or
connection to tag will be lost even if I set the timeout to 20sec. It
happen quite often.
Is it
respected sir,
I want to access the android phone book contacts
through my application and also select multiple contact(as per my
choice) from phone book...please help me to find out a suitable way...
--
You received this message because you are subscribed to the Google
101 - 158 of 158 matches
Mail list logo