Thanks to all for contributing on this thread. This discussion has been
very useful to me - and hopefully to many other developers - as it has made
a section of Google's Content Policy a bit clearer to me/us. Even though I
do not interpret (the following sentence of the Content Policy) Product
On Sat, Sep 1, 2012 at 12:16 AM, Nakul Maheshri
nakulmaheshr...@gmail.com wrote:
I want to play audio file during call (like answering machine)
i am using following code
final AudioManager am;
MediaPlayer mp=MediaPlayer.create(getApplicationContext(),R.raw.na);
Hi Justin,
I couldn't find any example from docs as per my needs and that you and
Trek are reffering to.
Yes I wanted to pass a listener to the static method for the list that
is in the Dialog. I managed to do it as follows :
As for common method :
*public AlertDialog
See the Intent documentation, but remembec that passing objects throught
Activity it will be created a new copy and it is slow if you want you can
make it public and static so can access it staticaly. Though it would
violate the property hiding but it is for a better good.
On Friday, August
I have a custom content provider for an SQLite database in my application,
but for queries from the application itself I would like to use
SQLiteDatabase directly.
The question is how to notify cursors about changes in the database. I've
come up with the solution below.
A select query and
i create a cursoradapter that will use two different layouts depending on
direction field in the cursor.
this is the code
@Override
public View newView(Context context, Cursor cursor, ViewGroup parent) {
holder = new ViewHolder();
if(cursor.getInt(cursor.getColumnIndex(direction))==0) {
Hi, thanks for the reply. Sorry, I realized that it was part of my mistake
to accidentally call the AsyncTask twice (the unintentionally one is called
by onNavigationItemsSelected listner of ActionBar - which I didn't expect
it to be called when I have actionbar.setSelectedNavigationItem) when
Make sure that you are overriding getViewTypeCount() and
getItemViewType() in your adapter.
On Sat, Sep 1, 2012 at 6:00 AM, Live Happy livehap...@gmail.com wrote:
i create a cursoradapter that will use two different layouts depending on
direction field in the cursor.
this is the code
Hi everyone,
I am trying 4 days to solve this problem. I am trying to create the
following feature:
I have a ListView that the user can select an item. When the user selects
the item the text will turn to pink. The ListView shows 6 items at once.
You have to scroll to see other 6 and go on.
You only ever setting the color to be pink. You need to set the color
to be not-pink as well, for cases where the row is recycled, was pink,
and now no longer is supposed to be pink.
On Sat, Sep 1, 2012 at 7:10 AM, LiTTle littlep...@gmail.com wrote:
Hi everyone,
I am trying 4 days to solve
I cannot believe it that is was a simple line! Thank you very much. I feel
much more relaxed now.
--
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
It is me again!!! When I select the first item and then I did everything
Mr. Mark Murphy said when I scroll down and then come back to the top, the
first item is black again instead of pink? Is there any way to store this
option (for example selected=true) and repaint the same object as pink
If you have a problem with other apps (your competitors) violating these
policies, go ahead and report them. Anybody can report an app for terms
violations.
On Saturday, September 1, 2012 2:06:29 PM UTC+8, Terry wrote:
Thanks to all for contributing on this thread. This discussion has been
On Sat, Sep 1, 2012 at 7:42 AM, LiTTle littlep...@gmail.com wrote:
It is me again!!! When I select the first item and then I did everything Mr.
Mark Murphy said when I scroll down and then come back to the top, the first
item is black again instead of pink? Is there any way to store this option
But I still wish that Google's Content Policy could have been somewhat
more explisit, and not so hard to understand.
loaded with keywords
That's not explicit enough for
you??
--
You received this message because you are
Hai...
I am writing an application something like list view with toggle
button...
Here is my source code...
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ArrayAdapterString adapter=new
Hai...
I am writing an application something like list view with toggle
button...
Here is my source code...
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ArrayAdapterString adapter=new
Hi,
I've spent a full day trying to draw a series of points using GL_POINTS. I
know i could use a texture, but i want to learn how to draw points. The
resulting image (zoomed) is shown here:
The code is written below. Any help on why are only 4 points appearing is
greatly appreciated.
You can create apdater extend BaseAdapter. And handle event OnItemClick
for ToggleButton and itemview :)
- Liem
On 9/1/12 7:41 PM, Haris wrote:
Hai...
I am writing an application something like list view with toggle
button...
Here is my source code...
public void
You can use the official ActionBarCompat example in the Android sample
projects.
Just make that into a library project. Link to it from your project and
extend your activities from ActionBarActivity, instead of Activity.
Of course you can customize the look and feel any way you want.
I hope
Typically when you are dealing with the same process it seems useless and
slow to serialize (or parcel) your ArrayList between activities.I would use
a singleton where I put the data in there and grab it from the next
Activity.
On Friday, August 31, 2012 12:59:51 PM UTC-7, Guilherme Bernardi
a quick google search found this:
http://stackoverflow.com/questions/4030115/how-to-pass-arraylist-using-putstringarraylistextra
How did you NOT find it?
On 1 September 2012 16:51, dnkoutso dnkou...@gmail.com wrote:
Typically when you are dealing with the same process it seems useless and
Filled bug below… Anyone know how to hide the title bar without using
either requestWindowFeature(Window.FEATURE_NO_TITLE) or XML
Theme.NoTitleBar to avoid this ?
https://code.google.com/p/android/issues/detail?id=36950colspec=ID%20Type%20Status%20Owner%20Summary%20Stars
tnx.
--
You received
On Sat, Sep 1, 2012 at 1:06 AM, Terry terb...@gmail.com wrote:
Even though I do not interpret (the following sentence of the Content
Policy) Product descriptions should not be misleading or loaded with
keywords in an attempt to manipulate ranking or relevancy in the Store’s
search results. as
Hello!
I'm a newbie in software development for android. In my simple program I'm
trying to add a new fragment into the main activity during run-time. And
here is the place where problems come - the fragment doesn't appear at all.
Here is the code from the main activity:
public class
Use Hierarchy View to examine your activity and see what is and is not
actually there.
On Sat, Sep 1, 2012 at 3:24 PM, dminik ndimon...@gmail.com wrote:
Hello!
I'm a newbie in software development for android. In my simple program I'm
trying to add a new fragment into the main activity during
I've read through the StorageManager docs pretty thoroughly and browsed
through mkobb, obbtool, pbkf2gen, and vold code. I'm at the point now where
I'll have to really dissect the processes both in the command line creation
and how mounting the filesystem on the device works, which I think will
Hi,
A new ACRA version is coming and is now at the Release Candidate stage
after 2 weeks of Beta:
http://code.google.com/p/acra/downloads/detail?name=acra-4.3.0RC.zip
It is planned to be promoted stable on the 8th of September.
ACRA is a free, simple, flexible and open source library enabling
Guich,
Given a number of ways how to do the same thing in OpenGL it will be quite
hard to debug.
On Sat, Sep 1, 2012 at 9:11 AM, guich guiha...@gmail.com wrote:
Hi,
I've spent a full day trying to draw a series of points using GL_POINTS. I
know i could use a texture, but i want to learn how
29 matches
Mail list logo