This happens because drawable-nodpi is a more specific configuration
compared to drawable-v21.
(See
http://developer.android.com/guide/topics/resources/providing-resources.html#BestMatch
and qualifier order of precedence
in
Hi,
I was looking around (actually poking in the gradle plugin source) and
there doesn't appear a way to override the versionCode/versionName via
environment variable or command line project property.
Sadly, we override these variables for every nightly build in our CI
process. It used to
Hi all,
I am getting one strange error when my application activity is
resumed.
After looking it closely what i got is too many file descriptors
are opened in my application process.
How to know what file deascriptors are opened at any moment of
time in android?
The
Hi,
I am using fade in animation in my application.
When i try to play fade in animation it is getting played but not
displayed.
I have layout as follows.
FrameLayout
Button
android:layout_width=20dip
android:layout_height=10dip
.../
Hi,
I have defined my activity with keyboardhidden|orientation|
locale config changes and screenOrientation is sensor.
When i change orientation UI is getting changed but my
onConfigurationChanged is not getting called.
I have some widgets like buttons in my activity, even i change
Hi,
I am using ginger bread.
I have two views in my xml file based on state i am setting one
view as visible and another as gone.
One of the two views has SurfaceView. Some times while moving
between these two views the surfaceview is taking 10 seconds to be
created and displayed to
When i moving from other view to surface view,
other view is being shown on top the surface view.
On Mar 4, 5:22 pm, Pink sivareddy.j...@gmail.com wrote:
Hi,
I am using ginger bread.
I have two views in my xml file based on state i am setting one
view as visible and another as gone
Any help please.
On Mar 4, 5:34 pm, Pink sivareddy.j...@gmail.com wrote:
When i moving from other view to surface view,
other view is being shown on top the surface view.
On Mar 4, 5:22 pm, Pink sivareddy.j...@gmail.com wrote:
Hi,
I am using ginger bread.
I have two views
Hi,
I am working on ginger bread. Some times i am getting error no 32
for touch event.
I did as follows.
Started activty A.
From activity A i am trying launch activity B bad finishing A.
After B is displayed i am closing B also.
This i am repeating for multiple times and
Method)
Force finishing activity com.android.test/com.android.test.B
On Mar 1, 5:24 pm, Pink sivareddy.j...@gmail.com wrote:
Hi,
I am working on ginger bread. Some times i am getting error no 32
for touch event.
I did as follows.
Started activty A.
From activity A i am trying
Any help please.
On Mar 1, 6:25 pm, Pink sivareddy.j...@gmail.com wrote:
In activity A i have one surface view.
After EPIPE in activity it is leading to IlegalArgumentException.
3-01 17:51:01.107 W/PowerManagerService( 127): Timer 0x7-0x3|0x3
03-01 17:51:01.107 I/PowerManagerService( 127
My application is getting crashed.
But i am not getting the reasin for that crash.
Can any body tell me the reason?
On Mar 2, 11:31 am, Dianne Hackborn hack...@android.com wrote:
Um, it looks like your application crashed.
On Tue, Mar 1, 2011 at 5:25 AM, Pink sivareddy.j...@gmail.com
Hi,
I am working on ginger bread.
I am porting an application which was running properly on Foryo to
GingerBread.
While close one of my application activities i am getting RunTime
exception.
Can any body help me?
The logcat as follows.
java.lang.RuntimeException: Failed to
Hi,
I have one surface view in one activity.
I am using the surface of the srface view in my native code.
But some times while moving out of the activity i am getting
IllegalArgumentException.
By the time surface view is getting destroyed, SufaceViewHolder call
back is getting
Hi,
I am using AudioManger.setMicrophoneMute(true) to mute micro phone
in my application.
After that i am querying audio manager about latest mute state by
isMicrophoneMuted().
I am getting true for isMicrophoneMuted().
But functionality wise it is not working. Still audio packets are
I encountered the same bug, created an issue in b.android.com:
http://code.google.com/p/android/issues/detail?id=14467
On Dec 10 2010, 9:13 pm, Bret Foreman bret.fore...@gmail.com wrote:
This looks like it would be easy to package up a test case and post in
the Android bug list.
--
You
Hi,
I am trying to insert data my content provider.
But getting NullPointer exception, though every thing is seems ok.
I checked evry thing in code. But got no clue.
I have been getting irritated.
I am getting following Exception.
/AndroidRuntime( 3077): Caused by:
Hi,
I want to display a radiogroup with 4 radio buttons in a
notification.
I am using RemoteViews to specify that radioGroup, but when i fire
the notifcation i am able to see my icon in the status bar but not
the
notification in notification window.
I am not setting
but not
button pending
is raised.
Is there any thing needs to be done to listen to user actions
notification button
actions except from registering pending intents with RemoteViews?
Thanks in advance...
On Dec 20, 2:31 pm, Pink sivareddy.j...@gmail.com wrote:
Hi,
I want to display
Hi,
I have a small doubt.
I have one file handler, which is created by opening a file on SD
card.
If i listen to SD card unmount broad cast.
Can i close the file handler without my appliaction is being closed
by android system ?
Is there any grace period of time when we receive
Hi,
I have two different cursors, from two different ContentProviders ,
to return.
I am using MergeCursor to merge the two cursors into one.
But i have to give the data in sorted manner.
How can i sort MergeCursor?
Thanks in advance.
--
You received this message because you
Hi,
I have one ContentProvider in which i am trying to maintain native
CallLogs and my application calllogs.
Here i am maintaining native calllogs and my application call logs
in one table, by querying
native callog and stroing all those values in my table.
When calllog is changed i
Any help???
On Dec 6, 4:03 pm, Pink sivareddy.j...@gmail.com wrote:
Hi,
I have one ContentProvider in which i am trying to maintain native
CallLogs and my application calllogs.
Here i am maintaining native calllogs and my application call logs
in one table, by querying
native
Hi all,
I have an application with minSDKVersion as 7 and my emulator's
SDK version is 8.
When i try to install the APK on my emulator, i am getting error
as INSTALL_FAILED_OLDER_SDK.
Why am i getting this error?
Thanks in advance.
--
You received this message because you are
Here i am trying to build the apk as part of android source code.
But i am not changing any framework..
Is this causing any issue...
On Nov 30, 4:34 pm, Pink sivareddy.j...@gmail.com wrote:
Hi all,
I have an application with minSDKVersion as 7 and my emulator's
SDK version is 8
Hi,
I want to know the approach android followed for CallLog
updation,
when ever there is a change in Contact's Data.
And can any body suggest the code in which it is being handled in
Android source code?
Thanks in advance!!
--
You received this message because you
Hi,
Have you tried FrameLayout.setForeground(Drawable drawable);
FrameLayout.setForeground(Drawable drawable) to set Any foregroud
drawable for FrameLayout.
if you pass drawable as null then it means that noforeground has
been set.
Please correct me if i am wrong.
On Nov 29, 2:26
Android has two types of Views.
i. View - Widget
ii. ViewGroup - Containers
View can specify its dimension but finalized by ViewGroup.
ViewGroup specifies layout(including orientation) of its childs and
finalizes its childs dimension.
?xml version=1.0 encoding=utf-8?
LinearLayout
Hi,
I am trying to insert contact by using android's native Conact
provider.
But i am getting UnsupportedOperationException when i try to
insert a contact.
Where am i doing wrong?
Can anybody tell me what is correct way inserting a contact and
how to do it ?
Thanks in advance.
On Tue, Nov 30, 2010 at 9:47 AM, Pink sivareddy.j...@gmail.com wrote:
Hi,
I am trying to insert contact by using android's native Conact
provider.
But i am getting UnsupportedOperationException when i try to
insert a contact.
Where am i doing wrong?
Can anybody tell me what
Yes i have both read and wite permissions in my manifest file.
On Nov 30, 12:08 pm, Ali Chousein ali.chous...@gmail.com wrote:
Hi,
I assume that you set the right permission in your manifest file (e.g.
uses-permission android:name=android.permission.WRITE_CONTACTS /)
Ali Chousein
Hi folks,
I want to know how EntityDelta performs RawContact aggregations?
I am trying to anlyze the thing but i struck up at EntityDelta
class.
Can any body know about EntityDelta or core concept behind
Contact updation/insertion from EditContactActivity?
I have been trying to
authority as one of your providers, the
installation will simply fail.
MIME types are a totally different thing, used to determine the activity or
other component that can interact with a particular content: URI.
On Thu, Nov 25, 2010 at 10:45 PM, Pink sivareddy.j...@gmail.com wrote:
Hi,
Can
Any help
On Nov 26, 2:21 pm, Pink sivareddy.j...@gmail.com wrote:
Thanks for your response.
MIME types are a totally different thing, used to determine the
activity or
other component that can interact with a particular content: URI.
How does mapping done between MIME and CONTENT_URI
android needs to match MIME type to URI.
It goes through all content provider's getType and compare the
strings.
Correct me if i am wrong.
On Nov 26, 5:40 pm, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Nov 26, 2010 at 4:21 AM, Pink sivareddy.j...@gmail.com wrote:
How does mapping done
Hi,
Android native Contact application maitaining different data bases
for Contacts and CallLog.
Contact data base is having entire information about Contact.
CallLog has information all Calls.
Once CallLog Database is observed. The database is having
information about CallLog like
How can i achieve this?
Any example may help me more?
On Nov 24, 3:54 am, TreKing treking...@gmail.com wrote:
On Fri, Nov 19, 2010 at 3:08 AM, Pink sivareddy.j...@gmail.com wrote:
How to prevent these exceptions and make use one application GUI code in
another?
Sounds like you want
there is no contact exist with 'tmp'.
Still we are displaying 'tmp' as display name.
Is it not some strange thing?
Please correct me if i am wrong.
On Nov 25, 6:33 pm, Mark Murphy mmur...@commonsware.com wrote:
Because contacts can be deleted.
On Thu, Nov 25, 2010 at 6:25 AM, Pink sivareddy.j
Thanks for your replay.
On Nov 25, 6:32 pm, Mark Murphy mmur...@commonsware.com wrote:
On Thu, Nov 25, 2010 at 6:28 AM, Pink sivareddy.j...@gmail.com wrote:
How can i achieve this?
http://developer.android.com/guide/developing/other-ide.html#libraryP...http://developer.android.com/guide
Hi,
Can i override already existing content provider
by implementing another ContentProvider with same authorty?
If that is the case.
How can android system decides ContentProvider to handle data
requests?
What is typical usae of MIME type?
We maintain unique URI for each
Hi,
I have two applications with two different application package
names.
I want to use first application GUI code in the second one with
out rewriting entire code.
But my first application using resource import statements in so
many places.
Even i am able to compile it, i am
Hi,
I have an Activity A as launch mode 'singleTask'.
And i am launching B from A by using startActivityForResult().
From i am calling setResult().But onActivityResult() of A not being
called.
Is there any problem with launch mode of A?
--
You received this message because you are
Hi all,
I have started my application and did some orientation changes
and clicked back button from my application's main activity.
I went to application launcher and tried to launch my
application.
I got blank black screen and clicked menu button it gave me ANR.
And the logcat
Hi All,
While opening my application from application launcher.
some times i am getting blank screen for long time (almost 3 min).
if i perform some key events then i am getting ANR.
Log is as follows.
I/ActivityManager( 57): Starting activity: Intent
{ action=android.intent.action.MAIN
Any Help??
On Apr 6, 2:31 pm, pink 444 pnk...@gmail.com wrote:
Hi All,
While opening my application from application launcher.
some times i am getting blank screen for long time (almost 3 min).
if i perform some key events then i am getting ANR.
Log is as follows.
I/ActivityManager( 57
@gmail.com wrote:
Show some code. I guess, you are blocking the UI with a loop.
Thanks and regards,
Kumar Bibek
On Apr 6, 4:11 pm, pink 444 pnk...@gmail.com wrote:
Any Help??
On Apr 6, 2:31 pm, pink 444 pnk...@gmail.com wrote:
Hi All,
While opening my application from application launcher
...@android.com wrote:
On Mar 4, 3:28 am, pink 444 pnk...@gmail.com wrote:
Some times after installing my application and first running my
application is creating two processes as follows.
app_1 9064 34 111088 15912 afe0d3e4 S com.test
app_1 9077 9064 102764 8932 c006b6dc
Hi all,
Some times after installing my application and first running my
application is creating two processes as follows.
app_19064 34111088 15912 afe0d3e4 S com.test
app_19077 9064 102764 8932 c006b6dc afe0d3e4 S com.test
Why is it happening like that.
Any help would
Hi,
Some times at the time of application starting up two processes
are created one has default process as parent and second has first as
parent.
In this scenario neither activity nor application is coming up.But
application code is being executed.
Any idea.
Thanks,
--
You received
Hi,
I have an application,in which customized preferences are defined
by inheriting from Preference class.
In my application i have to change the preference title color
dynamically.For that i am calling
View view = Preference.getView(null,null).
And doing as follows.
((TextView)
Hi,
I have an application,in which customized preferences are defined
by inheriting from Preference class.
In my application i have to change the preference title color
dynamically.For that i am calling
View view = Preference.getView(null,null).
And doing as follows.
((TextView)
Hi,
I am starting an activity with
startActivityForResult(intent,requestcode).
And i am receiving result onActivityResult() call back .
The target acivity which gets the intent should get the request code
And based upon the request it has to do the specified operation.
How can target
Hi,
I have a listactivity in which i am displaying list of items more
than 8 items.Thus there is scroll bar eneabled.
When i click on list items some times getChildAt returing wrong
View from the list.
Why is it happening like that and how can i prevent from happening?
Thanks in
Hi,
I have to drag and drop items of listview.After a lot searching i
found one class of launcher as DragLayer.java.
How can i use DragLayer.java to drag and drop items of listview.
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups Android
Hi,
I have to drag and drop items of ListView,which typically have an
image and text.
How can i implement this.
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
In my application i have to close the application.
Hence i am using System.exit(1).
But some times it is trying to restart entire application.
What is the problem?
How can i close an application safely?
Thanks in advance.
--
You received this message because you
Thanks for your replay.
And i went through the link , which you specified.
As i understood process will be killed by android only.
But my question is Why does user has to wait till android closes
particular application, Instead why doesn't user do this?
Instead of waiting till android system
Hi all,
My application has some native code,which waits on some network
related stuff,as soon as native
code receives events from network native code is trying to broadcast a
request which will be received
by android application.
Native code is part my application and runs in same process.
Hi all,
My application has two components,one is Activity and
BroadcastReceiver.
I am using the BroadcastReceiver as inner class of my Application.
The BroadcastReceiver's onReceive method is initiating a new Thread as
Thread object,every time.
In that i am trying to update the
at the threads
in the debugger).
On Tue, Dec 15, 2009 at 10:25 PM, pink 444 pnk...@gmail.com wrote:
Hi all,
What is Heap Worker thread ?
What does it do?
In my application's HeapWorker thread is taking most of the
CPU around 80%.
How can i reduce
at dalvik.system.NativeStart.run(Native Method)
HeapWorker daemon prio=5 tid=5 VMWAIT
| group=system sCount=1 dsCount=0 s=0 obj=0x42af3e58
| sysTid=292 nice=0 sched=0/0 handle=1311408
at dalvik.system.NativeStart.run(Native Method)
On Dec 16, 1:32 pm, pink 444 pnk...@gmail.com wrote
Hi all,
What is Heap Worker thread ?
What does it do?
In my application's HeapWorker thread is taking most of the
CPU around 80%.
How can i reduce this usage Percentage?
Any help would be appreciated highly.
--
You received this message because you are
Hi all,
Why is task switcher(Which appears when we press home button
for long time) provided.
We have application launcher ,from where we can launch any
applications.
Then what is the need of the task switcher.
Even though some task are not running , still
Hi all,
Notifications are displayed in status bar.Any thing , which
appears to user in android is an activity.
Thus can i assume status bar as an activity . Because user can
see it.
In that case there are always two activities in running
mode ,one is home or any user
the window.
And one more doubt is can we update any activity's widgets status even
though that activity is not running.
On Nov 18, 7:42 pm, Mark Murphy mmur...@commonsware.com wrote:
pink 444 wrote:
Notifications are displayed in status bar.
Yes.
Any thing , which
appears to user
Hi all,
I have a task,which is created when an activity with
singleTask launch mode is activated.
I added some more activities to the task.But whenever i move
out of the task and come back to the task, activity stack is being
cleared up to root of the stack.
Why is this
Hi all,
I have two activities in my application and both have
different affinities . One activity is
launcher and another one is normal one.The normal activity has
standard launch mode .
In this scenario i am trying to activate normal activity from
launcher activity
for more
Hi all,
activities, services, and broadcast receivers — are activated
by asynchronous messages
called intents.
Like activities and the other components, services run in the
main thread of the application
process. So that they won't block other components or the user
interface,
Hi,
I have created an application and installed on the HTC mobile.
while launching the application some times it is giving the ERROR
application is not installed on your phone .
And some other times even though application is installed it is
being displayed in application launcher.
--
RichardC
On Oct 19, 1:57 pm, pink 444 pnk...@gmail.com wrote:
Hai,
In my application i wait on socket for network events.On some
events i have to bring activity into foreground(make activity as
running) if at all it is not in the foreground.
How can i do this?
Any
.
How can i implement that scenario using Notifications ?
Thanks,
-Siva.
On Oct 20, 1:24 pm, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
Can u give me a working example for letting an activity to
foreground using notifications.
On Oct 19, 6:17 pm, RichardC
be
interrupted right now? What if they are doing something more
importent than your application such as trying to phone the emergency
services.
--
RichardC
On Oct 20, 10:39 am, pink 444 pnk...@gmail.com wrote:
After studying some articles regarding notifications .I have
understood
(Intent.FLAG_ACTIVITY_BROUGHT_TO_FRONT);
Thanks
Nithin
On Oct 20, 3:20 pm, pink 444 pnk...@gmail.com wrote:
What i want to implement is i have a service which will wait on a
socket for network events.
On some network events service has to notify the application activity
to update GUI elements
of interest occurs
- update your activity's GUI from the database the next time the USER
brings it to the foreground
String
On Oct 20, 12:17 pm, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
But the thing here is if at all we click on the notification only
intent
/seamlessness.html
Regards,
Bartosz
On Tue, Oct 20, 2009 at 1:17 PM, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
But the thing here is if at all we click on the notification only
intent will bring the Activity up.
I want to bring the activity to foreground without clicking any
Hai,
I have an application ,in which i have to start a service
( in same process) automatically means without user intervention and
that service should run till it is stopped.
How can i implement service so that i t can be started
automatically?
Any help would be
/
category
android:name=android.intent.category.LAUNCHER /
/intent-filter
/activity
/application
Is there any wrong with above manifest file.
On Oct 19, 10:16 am, pink 444 pnk...@gmail.com wrote:
I am starting my service in an Activity with StartService
I wanna ask you a question.
If at all i have intent-filter for service in manifest file.Then
will Service be started automatically??
On Oct 18, 7:25 pm, Mark Murphy mmur...@commonsware.com wrote:
Jiri wrote:
If i have a service tag in my manifest, does that mean that the service
Hai,
In my application i wait on socket for network events.On some
events i have to bring activity into foreground(make activity as
running) if at all it is not in the foreground.
How can i do this?
Any suggestions would be appreciated highly.
Thanks,
-Siva
, Farproc farp...@gmail.com wrote:
You can try to code, and then post the problem you encounter.
On 10月17日, 下午1时10分, pink 444 pnk...@gmail.com wrote:
Thanks for your replay.
Can you give me a example .
On Oct 16, 2:55 pm, Farproc farp...@gmail.com wrote:
First, you do not have tostart/stop
.
Finally, Call Context.stopService() to terminate the service when it
is
not needed.
ps: Though a service runs in background, it runs in the main(UI)
thread.
On 10月16日, 下午12时38分, pink 444 pnk...@gmail.com wrote:
Hai,
My application has a background process which continuously
Hai,
My application has a background process which continuously waits
on a socket for receiving messages and it should be started only once
and at the time of application starting.Thus i want to do that
background job in a service.
The service should not be started from the activity
Hai,
I am newbie to Android ,Hence can you explain it in detail .
Thanks in Advance,
-Siva.
On Sep 10, 11:02 am, Dianne Hackborn hack...@android.com wrote:
Hi, you are more likely to get help on android-ndk.
On Wed, Sep 9, 2009 at 9:36 PM, pink 444 pnk...@gmail.com wrote:
hai
hai folks,
In Android , Native code is written as follows.
JNIEXPORT void JNICALL Java_com_android_Test_show(JNIEnv *env, jobject
obj)
{
printf(THIS IS TEST);
}
JNIEXPORT jint JNI_OnLoad(JavaVM *vm, void *reserved)
{
JNIEnv *env;
JNINativeMethod meth;
Hackborn hack...@android.com wrote:
Just make a Handler, have your thread post messages to it, and update the UI
when receiving the message. Don't run your thread/service in another
process, that adds a whole lot more complexity for nothing you need.
On Sun, Sep 6, 2009 at 9:20 PM, pink 444 pnk
of overhead.
Thanks,
-Siva.
On Sep 2, 9:49 pm, Dianne Hackborn hack...@android.com wrote:
On Wed, Sep 2, 2009 at 5:16 AM, pink 444 pnk...@gmail.com wrote:
I got one way to solve my problem and it resembels your solution.What
i did is i made my EditText as static.Whenever oncreate
are doing this, you should turn off the text view's
auto-saving of its data in the saved instance state, since you no longer
need that.)
On Tue, Sep 1, 2009 at 11:44 AM, Mark Murphy mmur...@commonsware.comwrote:
pink 444 wrote:
Hai,
I have a EditText filed in my Activity class
Hai,
I want to know how can we make use of native dialer to make
our own calls.What i want to know here is i want to get events
generated when native buttons pressed but those should be handled as
per my program.
We have TelephonyManager to get events generated when call state is
Hai,
I have a EditText filed in my Activity class,Where i need to
retain data,when orientation is changed or HOME button is pressed or
BACK(FINISH) is pressed.
Android internally maintaining EditText when orientation is
changed or HOME button is pressed .But it is not maintaining
89 matches
Mail list logo