Hi:
I was reading the documentation of ConnectivityManager class and came
accross this action:
ACTION_BACKGROUND_DATA_SETTING_CHANGED.
Can anyone please give an example use-case that justifies the use of
this constant?
Thanks.
--
You received this message because you are subscribed to the Goog
I was reading something and came across a few statements that I failed
to understand fully:
Q1. Bitmap memory is different than heap memory.What could this
possible mean?
Q2. What is a native Bitmap?
Q3. Decoding a 64x64 .png resource will give a 64x64, 32-bit in-memory
bitmap.What is a "in-memory
Hi,
this might help:
http://android-developers.blogspot.com/2009/11/integrating-application-with-intents.html?utm_source=feedburner&utm_medium=feed&utm_campaign=Feed%3A+blogspot%2FhsDu+%28Android+Developers+Blog%29
--
You received this message because you are subscribed to the Google
Groups "And
Consult development FAQs:
http://developer.android.com/guide/appendix/faq/commontasks.html#opennewscreen
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe f
sure will, thanks Eddie!
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For
Hi,
I am working on a module that fetches RSS feed, parses it and then
displays selective data in a ListView. The problem is some of the data
received, contain HTML tags and HTML escape sequences which means I
can't display what I get as is. I need to sanitize the string of any
HTML that it might
stand.
On Nov 13, 4:19 pm, Sean Hodges wrote:
> Sorry, I missed this mail, glad to hear you got it working.
>
> On Fri, Nov 13, 2009 at 11:07 AM, Samuh wrote:
> >> The ClassCastException means that the Java Runtime does not like your
> >> request to convert a Seri
instance. "
> (http://java.sun.com/j2se/1.4.2/docs/api/)
>
> On Nov 13, 1:32 am, Samuh wrote:
>
>
>
> > I have a Hashtable, which, I need to pass to another activity. Since,
> > Hashtable is Serializable, I am doing the following:
>
> > Hashtable mHashTabl
*Correction* : the put statement is:
intent.putExtra("table",mHashTable);
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
a
I have a Hashtable, which, I need to pass to another activity. Since,
Hashtable is Serializable, I am doing the following:
Hashtable mHashTable = new Hashtable();
// load values
Intent intent = new Intent(this,SecondActivity.class);
intent.put("table",mHashTable);
startActivity(intent);
In the
ge.
> Then just save and drag it into your drawable folder in eclipse.
>
> - Original Message -
> From: "Samuh"
> To: "Android Beginners"
> Sent: Tuesday, November 10, 2009 7:23 AM
> Subject: [android-beginners] Tutorials: creating 9-patch drawab
I am new to the concept of 9-patch drawables. In fact, I happened to
stumble upon them by chance.I skimmed through the following:
http://developer.android.com/guide/developing/tools/draw9patch.html
Now, I need some tutorial that can help me understand how to use the
draw9patch tool bundled with th
>
> I have a related question. What exactly happens when the orientation
> changes? It isn't shown on the app lifecycle chart and I can't really
> find any reference to it in the documentation.
>
> Anyone?
Tim,
You might want to read the series of articles Mr. Mark Murphy posted
here:
http://www
Thank you very much! :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
a
Also, sometimes getDrawingCache() returns a Bitmap that returns true
for isRecycled() test..
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-begin
I am trying to take a screen shot of whatever is drawn on my custom
view's canvas. I use the following lines for the same:
//enable drawing cache
this.setDrawingCacheEnabled(true);
// use the drawing on the cache to create a Bitmap Object
Bitmap screenshot = Bitmap.createBitmap(this.getDrawingCac
I have a custom view which just draws a bitmap and the view is
measured as:
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec)
{
if(mBitmap != null){
setMeasuredDimension(
mBitmap.getWidth()+PADDIN
See if the following helps:
http://groups.google.com/group/android-developers/browse_thread/thread/d8587b4b2139a85
On Oct 22, 9:18 am, Hack wrote:
> Using the camera preview example as a starting point, I've managed to
> get my application displaying what my camera is focused on, but I'm
> runni
you get that error if you are sitting behind a proxy...
On Oct 22, 11:50 am, GreenRiver wrote:
> Althougt i have added " android:name="android.permission.INTERNET" /> " in AndroidManifest.xml
> file but still appears error. I got output in textview "Error: Host is
> unresolve:www.helloandroid.co
I wanted to know if I am doing this right? Or is there something that
I am missing?
I have created a custom view by extending the View class. The sole
purpose of the view is to display a Bitmap on the canvas. The Bitmap
to be displayed in View is supplied by the view-containing-activity
using a
Or is it because I am trying to pass a Bitmap object in
onRetainNonConfigurationInstance(..) and exceeding the Transaction
data limits ??
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To
I am using Sensor data in my code and I am registering for the same in
onStart(..) of my activity.
Whenever, there is an orientation change I am getting the following
exception:
10-21 18:48:30.096: DEBUG/qemud(558): fdhandler_accept_event:
accepting on fd 10
10-21 18:48:30.096: DEBUG/qemud(558):
e care has been taken to minimise the risk. Any views
> stated in this communication are those of the actual sender and not
> necessarily those ofRicstonLtd. or its subsidiaries.
>
>
>
>
>
>
> Samuh wrote:I am working on a small program that is supposed to : 1. Display
>
I am working on a small program that is supposed to :
1. Display images on the SD card
2. Get the image chosen by the User and display it on Canvas.
3. Since the image can be large, sub sample it/ scale it or something
appropriate
I got the first two parts done using the following snippets:
1. B
caveat: I dont know the answer to your question;I would like to
participate in this discussion though
Here is my guess..
You can try extending a view, put the image on the canvas and then let
the view implement horizonal and vertical scroll.
On Oct 10, 1:54 am, Lee Jarvis wrote:
> I'm writing
If I am interpreting you correctly, you can do something like(pseudo
code):
//create an instance of HttpClient class
HttpClient httpclient = new DefaultHttpClient();
// Prepare a request object
HttpGet httpget = new HttpGet(url);
// Execute the request
HttpResponse response = httpclient.execute
Maybe the following could be of some help:
http://www.androidsnippets.org/snippets/108/
On Oct 8, 5:04 am, Jeffrey Blattman
wrote:
> is there a way to read the phone's (current) phone number? i realize
> this would require a permission grant at least.
>
> thanks.
>
> --
>
> --
--~--~-~
class in the framework that can help me here?
Please help.
Thanks again!
On Oct 7, 9:34 pm, Romain Guy wrote:
> save() and restore() are just used to save the state of the Canvas
> (translate, scale, etc.) It won't help you for what you want.
>
>
>
>
>
> On Wed, Oc
I am playing with the FingerPaint application that comes bundled with the
API demos package. I was wondering if I could add an "Undo" feature to it,
which would allow the user to remove/undo his latest stroke drawing from the
canvas. I am not sure of how to achieve this though.
I was looking at t
29 matches
Mail list logo