So these google samples set up location updates in an Activity but can this
logic be moved to an IntentService? I have been searching but can't find
any examples of managing location updates in a Service, including checking
to see if Location Settings is on for the device.
So this video from #DevBytes https://plus.google.com/s/%23DevBytes SMS
APIs KITKAT http://www.youtube.com/watch?v=mdq0R2WQssQ explains the
recent changes to the SMS APIs in KitKat. They also provide a link with a
sample project. http://goo.gl/uQ3Nih
They suggest that you handle the receive
Originally posted
HERE
http://stackoverflow.com/questions/21748209/receive-mms-messages-in-android-kitkat
--
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
This was originally posted HERE -
http://stackoverflow.com/questions/18808114/picasso-loading-of-image-spawned-inside-asynctask
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
So I am trying to use the a
href=http://square.github.io/picasso/;Picasso Library/a for image
downloading and caching. In order to get the contactUri to pass to
`Picasso` I need to make a query to the Contacts `Content Provider`. Since
I don't want to block the main UI thread to get the
I tried setting the Theme in the AndroidManifest.xml file as well as tried
to set the theme in the onCreate() method of my Activity, before the
super.onCreate(savedInstanceState) method was called but am having no luck
with overriding the style attribute.
--
--
You received this message
After reading through References To Theme
Attributeshttp://developer.android.com/guide/topics/resources/accessing-resources.html#ReferencesToThemeAttributes
I
am trying to reference the value of an attribute in the my custom theme
that I have set.
I am applying a user-defined style to a
Originally posted HERE -
http://stackoverflow.com/questions/17103894/overriding-referenced-style-attributes
--
--
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
Still no clear cut way to send and receive MMS. How are other apps
implementing this?
--
--
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
I am trying to figure out how the emoji (emoticon) selections are
implemented on the Facebook app and the Google Hangouts app. I looked into
the SoftKeyboard Demo app in the Android API Samples but the display of
these emoji views does not look like a SoftKeyboard. It looks and behaves
more
This was originally posted HERE!!!
http://stackoverflow.com/questions/16768930/implementations-of-emoji-emoticon-view-keyboard-layouts
--
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hey Kostya,
Thanks. The getTag() and setTag() methods of a View are exactly what i
needed.
-Etienne
--
--
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
Hey Kostya,
Thanks. The getTag() and setTag() methods of a View are exactly what i
needed.
-Etienne
--
--
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
So my ExpandableListView has group rows that are defined like :
*group_row.xml*
?xml version=1.0 encoding=utf-8?RelativeLayout
xmlns:android=http://schemas.android.com/apk/res/android;
android:layout_width=match_parent
android:layout_height=match_parent
TextView
This was originally posted HERE
http://stackoverflow.com/questions/16621070/get-context-of-popupmenu-like-contextmenu
--
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Unfortunately this questions still remains unanswered and is now up to 7100
views :
http://stackoverflow.com/questions/14452808/sending-and-receiving-sms-and-mms-in-android
Anyone have any ideas?
--
--
You received this message because you are subscribed to the Google
Groups Android
This now has a 200 Reputation Bounty !!!
http://stackoverflow.com/questions/14452808/sending-and-receiving-sms-and-mms-in-android
--
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
*Receiving MMS*
So after doing more research I saw some suggestions of registering a
ContentObserver. That way you can detect when there are any changes to the
content://mms-sms/conversations Content Provider, consequently allowing you
to detect incoming MMS. Here is the closest example to
Originally Posted here :
http://stackoverflow.com/questions/14452808/sending-and-receiving-sms-mms-in-android
--
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
This doesnt work in my case. The setSelection() method seems to have no
effect. My EditText view contains ImageSpans. Is there some other kind of
workaround?
On Thursday, February 28, 2008 6:43:29 PM UTC-8, Megha Joshi wrote:
Hi,
This request has been made before and a method for handling
Originally Posted :
http://stackoverflow.com/questions/14048913/autocompletetextview-behaves-differently-in-different-versions-of-android
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
This doesnt work in my case. The setSelection() method seems to have no
effect. My EditText view contains ImageSpans. Is there some other kind of
workaround?
On Tuesday, February 16, 2010 7:22:40 PM UTC-8, Kevin Park wrote:
You can do it like this.
EditText eidtText = new
I am not clear whether this is an issue with different versions of Android,
or different screen sizes, but I am getting some unpredictable behavior.
I am testing the UI of the dropdown of a MultiAutoCompleteTextView on a Nexus
S which is onAndroid v4.1.2 and I am testing on a Nexus 4 which is
[image: enter image description here]
I am trying to figure out how the UI was designed for the Android Alarm
Clock app. This appears to be using the Holo Dark Theme.
The screenshot included is the Create/Edit Alarm Activity screen. It looks
similar to Android
Originally posted here :
http://stackoverflow.com/questions/13523350/android-alarm-clock-ui/13523970#comment18608151_13523970
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
? Was it tried
before?
Etienne
--
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-developers+unsubscr
This has been solved HERE
http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader-for-expandablelistview
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Actually it should be:
Loader loader = getLoaderManager().getLoader(-1);
if (loader != null !loader.isReset()) {
getLoaderManager().restartLoader(-1, null, this);
} else {
getLoaderManager().initLoader(-1, null, this);
}
You should only restart the loader if the loader
This question was first asked HERE -
http://stackoverflow.com/questions/11556633/parse-application-smil-mms-mime-type-on-android
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
This has been solved HERE
http://stackoverflow.com/questions/10812316/contact-bubble-edittext/10815184#10815184
--
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
Question first asked HERE
http://stackoverflow.com/questions/10812316/contact-bubble-edittext/10815184#10815184
--
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
I am trying to create contact bubbles in the MultiAutoCompleteTextView
similiar to how it is implemented in the Google+ app. Below is a screen
shot:
[image: Google+ Compose Post Screenshot] .
I have tried to extend the DynamicDrawableSpan class in order to get a
spannable drawable in the
I am thinking there is a problem with how the group/child CursorLoaders
are instantiated in onCreateLoader(). For the group CursorLoader i just
want all groups in my phone. The child cursorLoader should contain all
contacts within a group. Does anyone have any ideas what could be the
Is there an issue with how the group/child CursorLoaders are instantiated
in onCreateLoader()?
--
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
I am doing something similar HERE
http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader
On Tuesday, July 12, 2011 8:01:06 AM UTC-7, jjoe64 wrote:
Hello.
For honeycomb I'm refectoring my app to use the new Loader classes
introduced here:
I am doing something similar HERE
http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader
On Tuesday, July 12, 2011 8:01:06 AM UTC-7, jjoe64 wrote:
Hello.
For honeycomb I'm refectoring my app to use the new Loader classes
introduced here:
I am doing something similar HERE
http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader
On Monday, March 5, 2012 5:04:30 PM UTC-8, OldSkoolMark wrote:
I note that unlike SimpleCursorAdapter, SimpleCursorTreeAdapter
doesn't have static library support defined in
I am doing something similar HERE
http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader
On Wednesday, February 22, 2012 7:19:08 AM UTC-8, Hank wrote:
I have seen sample code on how to implement both a CursorLoader and a
AsyncQueryHandler. If I wanted to use
I am doing something similar HERE
http://stackoverflow.com/questions/10611927/simplecursortreeadapter-and-cursorloader
On Monday, February 21, 2011 12:45:22 AM UTC-8, Richard Marsh wrote:
I'm just a little stumped on this. I would like to implement some sort of
filter or search functionality
I now got this to work. The solution is here
http://stackoverflow.com/questions/10224233/alphabetindexer-with-custom-adapter-managed-by-loadermanager
On Wednesday, April 25, 2012 9:30:36 PM UTC-7, Etienne wrote:
Here is the stack trace:
04-25 01:37:23.280: E/AndroidRuntime(711): FATAL
25.04.2012 11:02, Etienne написал:
And if I comment the setFastScrollEnabled() call, then it does not
error out, but I do not see the AlphabetIndexer working. Does anyone
have suggestions about how to make this all work?
--
Kostya Vasilyev
--
You received this message because you
Here is the my subclass of Application
public class MyApp extends Application {
private HashMapString, Boolean selectedContacts = null;
public HashMapString, Boolean getSelectedContacts() {
return this.selectedContacts;
}
public void setSelectedContacts(HashMapString, Boolean sc) {
The HashMap is valid when i put it in the Intent, and when I get it back it
is also valid.
UPDATE:
So I fixed this issue. In my onActivityResult, I was iterating through the
HashMap like so:
IteratorEntryString, Boolean it = sc.entrySet().iterator();
while (it.hasNext()) {
HashMap.Entry
I am using the application object to maintain global application state.
What are the disadvantages of sub-classing the Application class? And what
advantages do SharedPreferences have over my solution?
--
You received this message because you are subscribed to the Google
Groups
So I am trying extend the base android.app.Application class and add member
variables to create global variables like in this first solution of the
link below.
Android global
variablehttp://stackoverflow.com/questions/1944656/android-global-variable
This works if the member variable is a
appropriately.
However when i access the HashMap variable its value is set to '{}', an
empty HashMap. Is there some kind of Serialization that needs to happen
with a complex data type?
On Saturday, April 7, 2012 7:13:09 PM UTC-7, Etienne wrote:
So I am trying extend the base android.app.Application class
.
However when i access the HashMap variable its value is set to '{}', an
empty HashMap. Is there some kind of Serialization that needs to happen
with a complex data type?
On Saturday, April 7, 2012 7:13:09 PM UTC-7, Etienne wrote:
So I am trying extend the base android.app.Application class
In fact, I am now setting three member variables in onActivityResult() (a
boolean, a String, and a HashMap), and i am trying to access these member
variables in the onClick() method of a button's onClickListener. When i
access the string and boolean variables their values are set appropriately.
I have also added an ArrayListBoolean as a member variable and when i
accessed this variable in the onclick() method it was set correctly.
Possibly HashMaps must be set differently. I'm not too sure are this
point.
--
You received this message because you are subscribed to the
To reload an app without restarting emulator, just uninstall the app on the
emulator, then in Eclipse choose to run the application. This will
reinstall the application and run the latest version of your app on the
current emulator. This is the fastest process of reloading an app that I
have
Hello,
I develop an application which use camera...but I want an overlay. I
want draw a circle which allows a person to place his head properly
for face recognition. What are method to implement that?
--
You received this message because you are subscribed to the Google
Groups Android
So when you say:
In general, you test the result of a method by creating the
object with all the dependencies set to known values (the fixture),
preferably by injection. Then you call the method with pre-determined
values. Based on the dependencies as the values, you should be able to
predict
I have created an app that sends intents among multiple activities.
After doing some research i have found that the ActivityUnitTestCase
class is designed for unit testing while the
ActivityInstrumentationTestCase2 is designed for functional testing. I
understand the use of methods such as
Hello, so i am creating an android app. I have followed the tutorial
and example on the admob website. I requestFreshAd() in test mode and
then setTestDevices(). This works most of the time but not all the
time. I understand that requestFreshAd() is making a request for an ad
and needs internet
The documentation for the method TextView.setError() says that the
method:
Sets the right-hand compound drawable of the TextView to the error
icon and sets an error message that will be displayed in a popup when
the TextView has focus. The icon and error message will be reset to
null when any key
);
return false;
}
});
Now the setError behavior works fine. Issue Resolved.
On Dec 9, 2:07 am, Etienne lawloretie...@gmail.com wrote:
The documentation for the method TextView.setError() says that the
method:
Sets the right-hand compound drawable of the TextView to the error
icon
Yes i was looking at the latest docs for Gingerbread (2.3).
On Thu, Dec 9, 2010 at 10:08 AM, A. Elk lancaster.dambust...@gmail.comwrote:
Are you looking at the latest docs for Gingerbread (2.3)?
On Dec 8, 5:32 pm, Etienne Lawlor lawloretie...@gmail.com wrote:
Thanks for the clarification
On the developer.android.com website there is a guide to testing
android that says:
You can create a test project anywhere in your file system, but the
best approach is to add the test project so that its root directory
tests/ is at the same level as the src/ directory of the main
application's
Yes i am using Eclipse. I did all of your steps up to the point where you
said
So, if you used /home/etienne/workspace/MyProject as the location for
your app project, use the location /home/etienne/workspace/MyProject/
tests as the location for your test project.
When i click finish, then i get
as an andrdoid instrumentation.
On Dec 8, 2010 11:51 AM, Etienne Lawlor lawloretie...@gmail.com wrote:
Yes i am using Eclipse. I did all of your steps up to the point where you
said
So, if you used /home/etienne/workspace/MyProject as the location for
your app project, use the location
pre-associated with an
application project. That is, you'd like a single button associated
with your application that runs the tests for the application. It's
certainly possible to do this in Ant, by setting up the proper target.
It's an interesting idea.
A. Elk.
On Dec 8, 2:45 pm, Etienne
I have created an app that sends intents among multiple activities.
After doing some research i have found that the ActivityUnitTestCase
class is designed for unit testing while the
ActivityInstrumentationTestCase2
is designed for functional testing. I understand the use of methods
such
as
62 matches
Mail list logo