please refer the sdk example Bluetooth chat ,i think that example is
partially suit for your question
On Mon, Jun 25, 2012 at 5:13 PM, Giuseppe porcelli.giuse...@gmail.comwrote:
In my app, I would like to add the function to receive files directly into
it via Bluetooth. I know that I can use
Please explain clearly what you did and what did not work for you so that
others can help you. The details you provided is not sufficient.
On Tue, Jun 26, 2012 at 11:58 AM, Rahul Vijay rahul.vija...@gmail.comwrote:
Hello sir,
I have face few problem in a device to display a dynamic table. In
Hi Rahul, what problem are you getting in displaying tablelayout contents
dynamically.
Please specify it clearly.
--
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
In a last message,
I have display a table in a dynamic way. table header like Name, score and
time and table row are Ram ,5, 2:15 and again print a another row in
similar way. Yes it is display in a emulator. But it can not display in a
device.
I check it data can show logcat when I run
Hi.
First, thank you for your advice.
* Then,
*I suppose about problem that
probably the problem came from ADT plugin or Eclipse.
The reason why is that
sometime Android screaming ClassNotFound error when just launched an blank
activyty in debugger about even usual normal start activity
Any advice? Especially...Google people, no advice?
On Saturday, June 23, 2012 12:41:17 AM UTC+9, Build Account wrote:
Hello.
I have started bit aggressive subject
since I believe payment issue is very important.
Some of app (Like Glu mobile's games)
which already apply this Subscription
I have a ListView, and a custom adapter.
I have setup listeners for click, and long-click.
The problem:: I can scroll, but the moment I take my finger off the screen,
it scrolls back to the top of the list view.
How can I fix this problem?
--
You received this message because you are
I found that OpenStreetMap has a tight restriction on using its tile
servers based on:
http://wiki.openstreetmap.org/wiki/Tile_usage_policy#Requirements
And I am interested to use third party library to implement OSM in my app,
for example, OSMdroid and Routeme. However, I am curious, does third
Recording video in Android should be relatively simple. Or so I thought.
But after having wasted several days on trying to get it working, I would
like to see if anybody can understand what is wrong with my code.
This is the essential part of the relevant code (requiring Android 2.2 or
later):
Hi,
Does this plugin work if the appengine portion is hosted on googleplex and
not on appspot? I am able to use it successfully on appspot, but not on
googleplex. I am logging in into the app using a google.com account only.
Arun.
On Wed, Jan 11, 2012 at 12:32 PM, Sriram Saroop
Thanks Mag.
On Monday, June 25, 2012 11:54:08 PM UTC+5:30, MagouyaWare wrote:
I stand by my previous answer: This has nothing to do with Android.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Sat, Jun 23, 2012 at 12:55 AM, RAJESH
Android do not support gif , that is truth .
If what you want is make images active , you may be able to use a
frame animation to achieve it
在 2012年6月22日星期五UTC+8下午8时55分01秒,RAJESH写道:
Hi all ,
Anyone here can advice me , How to convert the multiple images into the
Single GIF format. ??
Hi All,
I am trying to load google chart api in webView. But doesn't show graphical
image. I also allowed internet permission in manifest.
For your reference i mention the my code below
?xml version=1.0 encoding=utf-8?
LinearLayout xmlns:android=http://schemas.android.com/apk/res/android;
On Tue, Jun 26, 2012 at 1:06 AM, VP ims.proje...@gmail.com wrote:
I want to execute a javascript on already loaded webpage in Webview.
loadUrl(javascript:...), where ... is your JavaScript source, just
like a bookmarklet.
--
Mark Murphy (a Commons Guy)
http://commonsware.com |
Their app and your device each have bugs, apparently.
For technical support regarding the app, contact the app's authors.
For technical support regarding your device, contact the device
manufacturer, retailer, or carrier.
On Tue, Jun 26, 2012 at 1:17 AM, Manoj manojkumar.m...@gmail.com wrote:
As Dianne already guessed, my intentions are semi-misguided. I am a
researcher in the field of mobile malware, which is why I asked (and
nope, this ain't my real name ;) ). Just to be sure I wanted some
confirmation for my guesses.
If all goes well, the result of my current work will be some
Hi there,
I have a function to write scores in an SQL database table. Here is the
code:
public void setScores(int scores[]) {
int len = (scores.length 10) ? 10 : scores.length;
SQLiteDatabase db = this.getWritableDatabase();
db.beginTransaction();
Hi,
Can some one give me some idea on how to create a seat selection layout in
a movie theater?
Regards,
Murali
--
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
Hi,
I am using PackageManager API to disable some component.
ComponentName name = new ComponentName(context, className);
className == the class object of the class i wanted to disable.
This class is my Home category with higher priority than Homescreen app.
Now while disabling the class i
I answer to myself: there seems that there is nothing wrong with the
function itself, but with some other code inherited from previous
version where a file was used to store scores, that cleans the array and
it is saved in the database through other function used to import old
data from files to
Hi all,
I want to know if it is possible to detect an application launch, through
its package name.
Suppose, I have created a test app, in which I want to get some information
about a specific app,
For eg. Contact app of the devicelike how many times it has opened or
closed, in a specific
Hi folks could anyone tell me the way to store the downloaded application
from google play in my application
--
ThanksRegards
*Sandeep MNVVB*
*
*
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Seeing a weird issue on my Galaxy Nexus with official 4.0.4
I have a service that uses startForeground to keep the process in memory,
and, as required by the API, supplies a notification with an icon.
Occasionally (about one every 5-10 calls to startForeground), the service's
notification icon
Hi,
Some guys was talking yesterday or the day before about getting CPU
usage of running processes on a question about how to control battery
use by apps that cannot be done directly. Make some search on the forum,
I think it may be useful for you.
Best regards,
On 26/06/12 14:04, Narendra
Hi Android developers, i m working on NFC hunter game on android, can any
one tel me What kind of nfc tag is used in android how i should deploy in
android. Brief description about that and if possible any samples for it..
Thank u
--
You received this message because you are subscribed to the
Hi all,
How to resolve the java.lang.OutOfMemoryError while calling
BitmapFactory.decodeStream(stream).
Thanks,
vijay.k
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I guess, I need to use BroadcastReceiver for this. What do you say?
I would say that there isn't a broadcast event for when apps are
launched (that aren't your app), however you can kind of fake the
behavior by doing what Francisco says and polling the logs.
kris
--
You received this message
Hi,
I have found the link, published by Nobu the day before yesterday:
http://www.javachartingandroid.com/2011/04/android-get-application-process-cpu-usage-and-memory-usage/
Best regards,
On 26/06/12 14:04, Narendra Singh Rathore wrote:
Hi all,
I want to know if it is possible to detect
Suggest me differences between remote and local data base
--
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
Thanks or your reply.
On Tuesday, June 26, 2012 3:15:13 PM UTC+5:30, CuGBabyBeaR wrote:
Android do not support gif , that is truth .
If what you want is make images active , you may be able to use a
frame animation to achieve it
在 2012年6月22日星期五UTC+8下午8时55分01秒,RAJESH写道:
Hi all ,
Suggest me differences between remote and local data base
Well... a local database is available locally on the device. A remote
database is not... it is, well, remote.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 7:14 AM,
Use this version of the method:
http://developer.android.com/reference/android/graphics/BitmapFactory.html#decodeStream%28java.io.InputStream,%20android.graphics.Rect,%20android.graphics.BitmapFactory.Options%29
Pass in a BitmapFactory.Options that has an inSampleSize 1:
http://lmgtfy.com/?q=android+nfc+tutorial
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 6:53 AM, iconapp 2010 iconapp2...@gmail.com wrote:
Hi Android developers, i m working on NFC hunter game on android, can any
one tel me
What?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 6:12 AM, Sandeep Venkat
sand...@believecreative.inwrote:
Hi folks could anyone tell me the way to store the downloaded application
from google play in my application
--
My guess, though I very well may be wrong, is that it is because the
enabled/disabled state in the manifest file of the upgrade app overwrites
the enabled/disabled state of the component.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012
This topic has come up before, typically in the context of a
stumbleupon like service for apps., the answer is basically that you
can't.
kris
On Tue, Jun 26, 2012 at 8:12 AM, Sandeep Venkat
sand...@believecreative.in wrote:
Hi folks could anyone tell me the way to store the downloaded
GridLayout, RelativeLayout, TableLayout, nested LinearLayouts... You have
many options. Choose the one that fits your needs best.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 5:33 AM, Reddy devireddy@gmail.com wrote:
Hi,
Greetings,
I have had a lot of those.
You can reduce the sampling as told by Justin, and also use less bits
per pixel: default is ARGB_, but you have also ARGB_ and
ARGB_565. You should now anyway that use of ARGB_ is discouraged
because it may generate a really bad quality output in
Are you doing anything funky like programatically setting a selected item
in the listview? What does your code look like?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 2:00 AM, Put_tiMe putt...@gmail.com wrote:
I have a
What does your code/xml look like?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 1:08 AM, Rahul Vijay rahul.vija...@gmail.comwrote:
In a last message,
I have display a table in a dynamic way. table header like Name, score
this error occurs when i read the stream for the second time
On Tue, Jun 26, 2012 at 8:15 PM, Francisco M. Marzoa Alonso
fmmar...@gmail.com wrote:
Greetings,
I have had a lot of those.
You can reduce the sampling as told by Justin, and also use less bits
per pixel: default is ARGB_,
Thanks for the reply
From the docs :
public static final int COMPONENT_ENABLED_STATE_DISABLED
Since: API Level 1
Flag for setApplicationEnabledSetting(String, int, int) and
setComponentEnabledSetting(ComponentName, int, int): This component or
application has been explicitly disabled,
thanks above links helpful for me
On Tue, Jun 26, 2012 at 7:30 PM, Justin Anderson magouyaw...@gmail.comwrote:
http://lmgtfy.com/?q=android+nfc+tutorial
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 6:53 AM, iconapp 2010
Inside the onDraw method I have several paths that draw a shape...
You are using several paths to draw a single shape?
what I want to know is how can I select the image that the different paths
create and move it around the screen.
You would need to determine if the user touched inside one
I'm glad they were helpful...
The point of that link was to illustrate that you didn't need to post this
question on this list. I was able to point you in the right direction with
a simple Google search...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
You need to call the recycle method on the previously decoded Bitmap.
On Tuesday, June 26, 2012 9:52:04 AM UTC-5, Vijay Krishnan wrote:
this error occurs when i read the stream for the second time
On Tue, Jun 26, 2012 at 8:15 PM, Francisco M. Marzoa Alonso
fmmar...@gmail.com wrote:
sounds like you need to build a bluetooth server similar to IP based
servers are created with one listener able to receive and process the
incoming files from any BT clients.
On Mon, Jun 25, 2012 at 11:09 PM, Rahul Radhakrishnanunnithan K
rahu...@whiteovaltechnologies.com wrote:
please refer
Flag for setApplicationEnabledSetting(String, int, int) and
setComponentEnabledSetting(ComponentName, int, int): This component or
application has been explicitly disabled, regardless of what it has
specified in its manifest.
Constant Value: 2 (0x0002)
FWIW this does not say anything
This is pretty much identical to the other question you asked (which I just
answered)... Please don't spawn multiple threads for the same question...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Mon, Jun 25, 2012 at 8:42 PM, frizzo rg...@vbrad.com
Mahmoud,
I'd be interested in pursuing this, if you are still having the problem.
Would you:
- Post the code for the anonymous onClick handler, in which the exception
is being thrown?
- Post the entire exception that is the problem
Thanks,
G. Blake Meike
Marakana
The second edition of
On Tuesday, June 26, 2012 10:40:28 AM UTC-5, MagouyaWare wrote:
There is no state mentioned in manifest for the upgraded component, it
should be in Disabled state until user enables it or Factory reset of
phone is done.
Why? I didn't read it that way. I agree that it is not well-defined,
Hello Friends,
For my Android tablet application I'm looking a customize keyboard,
customize in the sense I have many list view in my application and to
filter data in list I need keyboard with just 26 letter and 9 number,(list
will only have character or numbers)
I see many post where people
On Tue, Jun 26, 2012 at 12:21 PM, Harish hkacho...@gmail.com wrote:
I see many post where people are trying to develop entire keyboard, however
I'm looking for some solution where I can control keys of existing keyboard.
That is not possible.
I see that in numeric keyboard it's possible to
If the parent container for both the button and list view is a linear
layout, you should be able to set the list view's layout_height=0dpi and
layout_weight=1
G. Blake Meike
Marakana
The second edition of Programming Android is now on-line:
http://shop.oreilly.com/product/0636920023005.do
On
bad luck, I need solution I can write keyboard but I know it is not easy to
make it stable and that will kill my time,
any other solution ?
any idea how ime handles different input type, I mean when we give input
type to number number key board appears and when I give input type to email
keyboard
On Tue, Jun 26, 2012 at 1:03 PM, Harish Kachoria hkacho...@gmail.com wrote:
bad luck, I need solution I can write keyboard but I know it is not easy to
make it stable and that will kill my time,
any other solution ?
Embed a bunch of buttons in your activity or fragment by some means.
any
Thank you
Da: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] Per conto di mike digioia
Inviato: martedì 26 giugno 2012 17:36
A: android-developers@googlegroups.com
Oggetto: Re: [android-developers] How to receive files via Bluetooth?
sounds like you need
Can someone help me understand why this feature did not show up until API
Level 10?
public BluetoothServerSocket listenUsingInsecureRfcommWithServiceRecord
(String name, UUID uuid)
Is this making use of some new feature that is not widely supported? I'm
trying to program a desktop to talk to
I am designing an app the is a intended to be a regulated medical device.
The architecture we have setup is:
1) An .apk that contains the regulated software and
2) A second .apk that is not regulated (contains a more complex UI).
Ideally we would like to be able to distribute these two apps
Are you changing the state of a component sometimes ?
If so, probably this:
http://code.google.com/p/android/issues/detail?id=21635
Pent
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
2012/6/26 Pent supp...@apps.dinglisch.net
Are you changing the state of a component sometimes ?
Yes, of a different component.
If so, probably this:
Looks like that's it. Thanks.
-- K
http://code.google.com/p/android/issues/detail?id=21635
Pent
--
You received this message
On Tue, Jun 26, 2012 at 1:27 PM, miwrig...@gmail.com
miwrig...@gmail.com wrote:
I am designing an app the is a intended to be a regulated medical device.
The architecture we have setup is:
1) An .apk that contains the regulated software and
2) A second .apk that is not regulated (contains
Thanks Mark!
This method would require install from unknown sources?
On Tuesday, June 26, 2012 10:27:21 AM UTC-7, miwr...@gmail.com wrote:
I am designing an app the is a intended to be a regulated medical device.
The architecture we have setup is:
1) An .apk that contains the regulated
Hi Kristopher,
I want to execute javascript after their page is loaded. I want to extract
the relevant content and images from the pages just like
Readabilityhttp://www.readability.com/bookmarklet does on the
browser. How could I execute javascript in that
case?
Thanks,
On Mon, Jun 25, 2012 at
No it should not be the case because when you buy a new android phone
Google Google Setup Wizard package runs which has a Home category
activity(com.google.android.setupwizard/.SetupWizardActivity having
higher priority than home screen) which activates the phone, ask for
setting up google account
On Tue, Jun 26, 2012 at 1:54 PM, Matt Wright miwrig...@gmail.com wrote:
This method would require install from unknown sources?
Yes.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android
No it should not be the case because when you buy a new android phone
Google Google Setup Wizard package runs which has a Home category
activity(com.google.android.
setupwizard/.SetupWizardActivity having
higher priority than home screen) which activates the phone, ask for
setting up google
Why can't we find the solution could anyone tell me briefly
On 6/26/12, Kristopher Micinski krismicin...@gmail.com wrote:
This topic has come up before, typically in the context of a
stumbleupon like service for apps., the answer is basically that you
can't.
kris
On Tue, Jun 26, 2012 at
Why can't we find the solution could anyone tell me briefly
We did... there is no solution. What you are trying to do is not possible.
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 12:40 PM, Sandeep Venkat
How about you explain in more detail what you are trying to accomplish...
What are you wanting your app to do?
There may be another way to go about it that will work for your needs...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at
Event handler that call the AsyncTask
OnClickListener processOnClickListener = new OnClickListener() {
public void onClick(View v) {
try {
createProgressDialog();
pd.show();
new Segement(PreviewActivity.this, pd).execute(path);
Hi,
I have been using the MediaPlayer for years without issues, controlling the
volume via setVolume directly rather than setting the stream volume to
allow for much finer control. Recently, I get reports that the volume
always plays at 100% for MP3 files while OGG files are unaffected.
The
Hi justin Let me explain you my app
I want to download few applications from google play. the applications
those were downloaded from the google play must be display in a grid
format in my application..
Can we?
On 6/27/12, Justin Anderson magouyaw...@gmail.com wrote:
How about you explain in
Instead empty view will be display for us as far as we download and
install any new app that app must be display in my app..
--
ThanksRegards
*Sandeep MNVVB*
*
**Mobile Application Developer
Believe Creative
**sand...@believecreative.in
*
M: 0091 8019585636
W: www.believecreative.in
First
I have 5 content views in view flipper, here i use to see all 5 content
through viewflipperinstance.showNext() and
viewflipperinstance.showPrevious().
Here my problem is both next and previous buttons click, it show all 5
content and again start 1st.
I need whenever user click next it will up to
Hi All,
I'm using MediaPlayer to stream an .mp3 radio broadcast. This stream is a
live stream and therefore has no duration. I'm debugging it on my phone in
eclipse and every few seconds I'm getting info/warnings that the buffering
is starting and stopping. Sometimes the buffering lasts longer
Are you trying to make a launcher? Or a list of applications installed? Or
something else entirely?
Thanks
On Wed, Jun 27, 2012 at 12:30 AM, Sandeep Venkat sand...@believecreative.in
wrote:
Instead empty view will be display for us as far as we download and
install any new app that app must
The other app can't run inside your app because of the security
constraints of the platform. In general it is impossible to run other
app's code inside of your app, for security reasons. There are always
ways to emulate this, but you can't share the screen with another
app.
kris
On Tue, Jun
ok can we implement it in any other platforms like ios
On 6/27/12, Kristopher Micinski krismicin...@gmail.com wrote:
The other app can't run inside your app because of the security
constraints of the platform. In general it is impossible to run other
app's code inside of your app, for
hi ragava i want to install other app's downloaded and installed to be
displayed in my app
--
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
Hi everyone!
I have an application with an activity named SplashActivity which has the
following intent-filters defined.
activity android:name=.SplashActivity
android:configChanges=keyboardHidden|orientation
android:launchMode=singleTop
android:screenOrientation=portrait
No, I have seen developers with apps that have even fewer downloads than my
apps, that have Top Developer. It seems completely arbitrary.
Also, I've been a dev since April of 2009. So over 3 years. And my paid app
has over 62000 downloads currently with a 4.5 rating. And I'm still not a
Top
On Tue, Jun 26, 2012 at 3:19 PM, Sandeep Venkat
sand...@believecreative.in wrote:
hi ragava i want to install other app's downloaded and installed to be
displayed in my app
I don't know about iOS, but I would assume you also can't do it there...
In Android it's a definite no, just because of
Not sure I understand... The showNext() and showPrevious() methods only
flip by one view...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 1:06 PM, chandur mani chandur.ind...@gmail.comwrote:
I have 5 content views in view
How many times are you calling CreateProgressDialog()? It is called in
your onClick() method and in onPreExecute()
Also, what does the Segement class do?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 12:48 PM, mahmoud emam
*no each call in different places and the Segment class its my own class
that i use it to do extract Numbers from an image
I can send you the whole code if you want
*
On Tue, Jun 26, 2012 at 10:15 PM, Justin Anderson magouyaw...@gmail.comwrote:
How many times are you calling
I know that the UI elements (View hierarchy) may only be manipulated
from the UI thread. For a background operation, the AsyncTask can be
used, which offers event handers to reach the UI thread.
To be brief, is it allowed to instantiate a View (tied to
getApplicationContext()) in a non-UI thread?
Hi guys,
I need to know the current rotation of the screen from its natural
orientation.
fortunately enough there's an API for exactly that at
Display.getOrientation()
this works well on most devices i tested it on, but for some reason,
GT-P1000 device, returns the wrong value
i've used adb shell
Generally sending the whole code won't be beneficial... How about posting
the code for your activity?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 2:25 PM, mahmoud emam mahmude...@gmail.com wrote:
*no each call in different
I'm not sure, but I doubt it... Have you tried it? Did it work?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 2:27 PM, Tamás Kovács
falcon.firebre...@gmail.comwrote:
I know that the UI elements (View hierarchy) may only be
Have you checked if there are any available updates for your Galaxy Tab? I
have heard reports of some Samsung devices having this issue, and an update
from Samsung fixed it...
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
On Tue, Jun 26, 2012 at 2:35
It works seamlessly like a charm. It would be nice to know if this is
supported/acceptable generally.
I hope we'll get an answer from the Android guys/ladies.
On Jun 26, 10:53 pm, Justin Anderson magouyaw...@gmail.com wrote:
I'm not sure, but I doubt it... Have you tried it? Did it work?
public class PreviewActivity extends Activity {
private ImageView previewIV;
private final int CAPTURE_IMAGE_ACTIVITY_REQUEST_CODE = 100;
private String path;
private boolean crop = true;
private boolean resample = true;
private ProgressDialog pd;
OnClickListener
The app I work on has 600,000+ installs, 14,000+ ratings, and a 4.5
average. The app has a higher average than others in our category from Top
Developers so I'm not sure what it takes. I'm mostly just curious. I'm not
sure it would generate more downloads or anything like that.
On Tue, Jun 26,
I'm having nothing but trouble with something that seems pretty basic.
So I have a notification set up so that it launches to my main activity
with SINGLE_TOP and CLEAR_TOP. All this works well and I act accordingly
to the notification. But what happens is that in the recent app list (if
you
OK I made additional research and source code exploring:
only *ViewGroup* and its descendants check the Thread, the *View*
class does not. It does not even STORE the thread which created it.
Based on this, it should be safe to create Views (but never
Viewgroups) in different threads. It would be
No, it is not safe. Don't do this.
The documentation is very clear about this:
http://developer.android.com/reference/android/view/View.html
Note: The entire view tree is single threaded. You must always be on the
UI thread when calling any method on any view.
This wasn't written to mislead
It is not safe, and definitely not guaranteed to even work.
On Tue, Jun 26, 2012 at 3:04 PM, Tamás Kovács
falcon.firebre...@gmail.com wrote:
OK I made additional research and source code exploring:
only *ViewGroup* and its descendants check the Thread, the *View*
class does not. It does not
I would still advise against it, because you don't have control of the code
after you call the constructor of the View.
Creating a View should never be that expensive (i.e. time consuming) that
it could not be done on the UI thread.
If the creation of the View needs other pieces of data that
As per the current UI guidelines, a notification should either go to a
complete activity back stack (entirely replacing whatever your current task
is), or it should launch an activity that is entirely separate from your
main activity's task.
For the former, you can use things like
1 - 100 of 133 matches
Mail list logo