I have the exact same problem and error message. Can someone describe
the difference between STATIC and SHARED library? Please help!
On Sep 24, 11:00 pm, mmj may.mari...@gmail.com wrote:
Anyone who knows the reason please help.It is very urgent.
Please be kind enough to share your insights!!!
I would take into consideration that onDestroy() might not get called
always. Usually onPause() is the best place to store/cache data before
you are done because it is guaranteed to get called. Keep in mind not
to do expensive or time consuming operations onPause() because the
other activity that
Wow thank you, I've been finally waiting for some clarification
regarding how safe it is when updating the instance of the Activity in
a task.
This should be well documented and perhaps an example should be
provided.
On Sep 10, 10:13 am, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Sep
Yes, look for CipherOutputStream and CipherInputStream for writing and
reading the file safely. I would use a symmetric encryption algorithm
such as AES unless the XML is coming from a web service.
On Oct 5, 9:18 am, Kostya Vasilyev kmans...@gmail.com wrote:
05.10.2010 19:59, DanH пишет:
If
When you say other applications can use the service do you mean that
they will remotely bind to it (using AIDL?). I cant think of another
way.
If so, the calling app can pass a flag to android (I think it is
BIND_AUTO_CREATE) that will create the service if it is not running.
On Oct 6, 6:49 pm,
The context class is abstract. When you say context do you mean an
Activity context? I suggest you look at the Application class (see
getApplicationContext()) and pass that instead. It is much much safer
from memory leaks rather than passing the Activity around.
Try to also override the
Agreed. For UI related cases that you might want to use that Context,
the application one is not suited.
Use depending on what you are trying to do :)
On Oct 11, 11:13 am, Mark Murphy mmur...@commonsware.com wrote:
On Mon, Oct 11, 2010 at 2:01 PM, Dimitris dnkou...@gmail.com wrote
Look up parcelable interface in Android.
On Oct 11, 2:26 pm, Jim Cortez j...@jimcortez.com wrote:
Nevermind.
I just realized that the java Class object implements Serializable. I
can now use a bundle and call putSerializable
Jim
On 10/11/10 2:23 PM, Jim Cortez wrote:
Hello all,
I have a custom title bar that I would like to apply to all my
activities. I have searched online and found a few ways of doing that
however I have ran into a problem.
It seems that despite the fact I have a TextView in my titlebar with
id @android:id/title, Android will not use the value defined
layout to it?
On Wed, Oct 13, 2010 at 12:13 AM, Dimitris dnkou...@gmail.com wrote:
I have a custom title bar that I would like to apply to all my
activities. I have searched online and found a few ways of doing that
however I have ran into a problem.
It seems that despite the fact I
that the title bar would always
contain a texview with this id.
So, the best bet I would suggest is go for a theme with no default title,
and add a custom view which looks like a title. You will then have full
control over it.
On Wed, Oct 13, 2010 at 1:23 AM, Dimitris dnkou...@gmail.com wrote:
I
that without having to pick up the value from the
manifest and setting it to the title. Once you mention that you are using a
custom title, the default things don't work. It thinks that you will set a
custom title yourself, so it doesn't do it.
On Wed, Oct 13, 2010 at 1:54 AM, Dimitris dnkou
up the value from the
manifest and setting it to the title. Once you mention that you are using a
custom title, the default things don't work. It thinks that you will set a
custom title yourself, so it doesn't do it.
On Wed, Oct 13, 2010 at 1:54 AM, Dimitris dnkou...@gmail.com wrote
I think you might have to call setMovementMethod() on your textview.
See:
http://developer.android.com/resources/samples/ApiDemos/src/com/example/android/apis/text/Link.html
On Oct 11, 11:09 am, Marco Rocco mr8...@gmail.com wrote:
I would make a textview linkable, and i have tried with this
Hey all,
I am looking for some help regarding a memory issue. I make multiple
POST requests on a REST server to receive data based on the user
action.
Everything seems to work fine with no problem but on my login screen
the user enters his credentials to login. The credentials are checked
I too get the same problem on emulator 1.5. After multiple test
sessions suddenly the connection to the emulator hangs. I cannot use
view my apps heap, threads or access any URI from the emulator. I have
to restart the emulator to fix this.
Hopefully this does not happen on my ADP1 coming here
Check your project dependencies, go to Window - Properties - Android
- Build and put it on Verbose.
Then use the console to see (make sure Console view is Android instead
of DDMS) and see if there is an error there.
On Dec 15, 10:51 pm, sumanth ag.suma...@gmail.com wrote:
Hi Christopher,
I
I believe it means that the MediaPlayer is currently buffering and the
progress of buffering is indicated by the 'progress' variable.
If it reaches 100 it means the MediaPlayer has buffered enough and it can
continue playing...
--
You received this message because you are subscribed to the
Read and study how MP3s work and how to read them. There is an MP3
header which consists of info about the song (like IDv3 etc) and it is
followed by a bunch of MP3 frames.
That should give u a good start.
On Oct 20, 7:17 pm, zamesking zames.k...@gmail.com wrote:
Hi,
I am just getting into
Encrypt your data when writing to DB and decrypt when you read. Might
make ur app a tiny bit slower but you might be better off.
On Oct 27, 6:25 pm, Byron Penner bapenner...@gmail.com wrote:
In cases where u absolutly need to maintain secure data obfusticate
the data before sasving to the db.
Hey guys,
I have a base abstract class that all my asynctasks extend from. I have
built in error handling for network errors where I display a dialog to the
user telling them they can retry their request (after all it was a network
error...).
I am having a bit of a problem retrying my
Yes it is necessary. The base abstract class provides all the plumbing for
posting an HTTP request and handling exceptions while allowing subclasses to
do their actual work. I would hate for each asynctask to write network error
handling.
The problem is, I cant find a proper way to
Could you please elaborate more and make an example?
As for the Harmony HTTP API, yes it does have automatic retrying but at the
end it will fail if a network error occurred (UnknownHostException,
SocketTimeoutException etc...). I would need the user to initiate a retry
then.
Thank you!
--
I cant seem to find an Edit post button.
I basically want to ensure my dialog is automatically managed but also be
able to pass along information either onPrepareDialog or onCreateDialog.
I've seen on Android 2.2 you can pass a Bundle but I am building my app
based on 2.1 and this method is
Hi all,
I recent ran across this
questionhttp://stackoverflow.com/questions/3170308/dialog-show-vs-activity-showdialog
on
StackOverflow which has no real valid response or perhaps best practice. I
am pasting the question below for your convenience:
As far as I can tell, there are two ways to
I would read an image slowly using a buffer if you want to avoid
this.
If you are trying to display the image use BitmapFactory.Options and
increase the sample size to reduce the quality of the image but gain
in memory.
Also, whenever you are done using a bitmap and you know it is not
needed
I believe there is a conn.disconnect() and as you mentioned it is
always good to close() the inputstream.
I assume this operation occurs in another thread instead of the UI
thread. Take a look at the asynctask class offered with 1.5. You can
call cancel on the thread and raise the onCancelled()
?
Thanks,
Dimitris
--~--~-~--~~~---~--~~
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
android
Anyone?
On Jul 13, 11:30 am, Dimitris dnkou...@gmail.com wrote:
Hey all,
I have an expandable list with a custom adapter. Everything works
great but there are two problems.
First whenever a group or child has a custom background color set the
orange selector does not show up. If I
Why is noone ever responding here?
On Jul 13, 10:42 pm, Dimitris dnkou...@gmail.com wrote:
Anyone?
On Jul 13, 11:30 am, Dimitris dnkou...@gmail.com wrote:
Hey all,
I have an expandable list with a custom adapter. Everything works
great but there are two problems.
First
,
Dimitris
On Jul 15, 4:50 am, Mark Murphy mmur...@commonsware.com wrote:
Dimitris wrote:
Why is noone ever responding here?
Thousands of messages appear on this list every week. Not all get answered.
In some cases, those who read the question may not know the answer. For
example, I have no idea
to draw a
rectangle. But how can I make this rectangle moving according to
azimuth value?
Can anyone help me?
Hi,
we are looking for something like this with my friends in order to use it in
our hiking routes.
Have you solve your problem?
Could you give us some solutions?
Thanks,
Dimitris
Hi!
I would like to create an android application, where users will be
able to see the position of the other users on the map. This may sound
awkward but I have something on my mind. My question is how to make
that possible? How to put a mark of my users on Google Maps and how to
show this to the
Hello! I have a strange problem. The GUI of the Android Studio is broken
and I don't know what's wrong.
--
You received this message because you are subscribed to the Google Groups
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
34 matches
Mail list logo