[android-developers] Andorid.mk file

2014-08-11 Thread praveen m
Dear All 

I am very new to android. 

My requirement is : I have exapmle1.c, example2.c and corresponding 
exapmle1.h, example2.h files.

example2.c is called in example1.c. 

Can any one help me to create Android.mk.

I created jni and libs folder. and i put all *.c files into jni folder and 
*.h files into jni/lib folder.

Please anyone give me an example Android.mk file.


-- 

*M.Praveen*
*9952864495*

-- 
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...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Andorid.mk file

2014-08-11 Thread Nikolay Elenkov
On Mon, Aug 11, 2014 at 5:43 PM, praveen m bsmprav...@gmail.com wrote:


 I created jni and libs folder. and i put all *.c files into jni folder and 
 *.h files into jni/lib folder.

 Please anyone give me an example Android.mk file.


Check the samples that come with the NDK.

-- 
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...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Re: Pressing Menu button with ActionBar shows an dark overlay

2014-08-11 Thread 'RLScott' via Android Developers
New information:  I just realized that I am unable to demonstrate this 
behavior on anything other than the Eclipse simulator.  That's because I 
don't have any real Android devices that are both Android 3.0 or above and 
have a separate hardware menu button.  The more modern ways of getting at 
the menu function (long press the app switcher button, or tap ActionBar 
overflow icon) all hide themselves when there is no menu to display.  But I 
constructed an Android virtual device in Eclipse by specifying both Android 
3.2 and the hardware menu button.  So maybe this is a non-problem. I don't 
have to worry about Android 3.0 because my app requires 3.0 for other 
reasons.  As long as there are no Android devices with both 3.0 and above 
and a hardware menu key, I think I am OK.

-- 
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...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-developers] Re: Pressing Menu button with ActionBar shows an dark overlay

2014-08-11 Thread Kostya Vasilyev
Might be a bug in the 3.* emulator -- you way want to try a 4.1+ emulator
image instead.

And as far as setting your minSdk -- you might set it to 4.0 or better yet,
4.0.3 (API 15).

Android 3.* is virtually non-existent in the wild now, same goes for
4.0.1 - 4.0.2.

-- K



2014-08-11 23:06 GMT+04:00 'RLScott' via Android Developers 
android-developers@googlegroups.com:

 New information:  I just realized that I am unable to demonstrate this
 behavior on anything other than the Eclipse simulator.  That's because I
 don't have any real Android devices that are both Android 3.0 or above and
 have a separate hardware menu button.  The more modern ways of getting at
 the menu function (long press the app switcher button, or tap ActionBar
 overflow icon) all hide themselves when there is no menu to display.  But I
 constructed an Android virtual device in Eclipse by specifying both Android
 3.2 and the hardware menu button.  So maybe this is a non-problem. I don't
 have to worry about Android 3.0 because my app requires 3.0 for other
 reasons.  As long as there are no Android devices with both 3.0 and above
 and a hardware menu key, I think I am OK.

 --
 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...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/android-developers?hl=en
 ---
 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 android-developers+unsubscr...@googlegroups.com.
 For more options, visit https://groups.google.com/d/optout.


-- 
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...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-developers] Determining ActionBar overflow or not

2014-08-11 Thread 'RLScott' via Android Developers
I have several ActionBar items that each display a popup menu.  When these 
items are visible in the ActionBar there is no problem.  The user taps on 
the item in the ActionBar and immediately the appropriate popup menu 
appears.  But sometimes, on some devices, one or more of my ActionBar items 
may be in the overflow.  When that happens, the user taps the overflow 
button and an overflow menu is presented from which the user can choose 
which popup menu he would like to see.  Then he sees the popup menu, and 
that is also working OK, but it takes one extra tap.

I would like to streamline the user interaction just a little.  On the 
occasion that there is only one of my ActionBar items in the overflow (if 
that is even possible - I don't know), I would like to skip the 
intermediate choice and go straight to the one popup menu whose button was 
in the overflow.  Is that possible?  Or is it even necessary?  Can there be 
only one item in the ActionBar overflow?  So far I have simulated this 
situation by temporarily setting android:showAsAction=never for one of 
the ActionBar items.  In production I will use always, but I don't know 
if there are situations where the Android system will not honor my always 
request.

-- 
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...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.