Android :: Modify The RecentTasks List
Dec 6, 2009
I know I can get recent tasks list by using ActivityManager - public List<RecentTaskInfo> getRecentTasks(int maxNum, int flags);
but can I modfiy it?
I also check the source code to find out the storage of recent tasks. but I cannot understand it. Where the recent tasks from? I want to add a method setRecentTasks to ActivityManagerNative.java
CODE:.....................
View 4 Replies
Sep 24, 2010
One thing driving me crazy in Android is if you start typing say in a search box (like in market, maps, etc.) and you see a choice that is almost what you want, you cannot select it and modify it.For example, I accidentally type pinboll in market.It finds nothing.I start to type pin again, there is pinboll. There seems to be no way to select that and be able to change the one letter. I have to retype the whole thing. Am I missing something?
View 3 Replies
View Related
Mar 18, 2009
I have a simple ListActivity midlet. It populates the list using a String array which is passed to the setListAdapter method. code...
However my question is, how is it possible to modify the properties of the list so if I know "etc" and "dev" are directories and I want to change the text colour to reflect that it is a directory how can I do this ?
Can anyone point me to any API's ?
View 2 Replies
View Related
Sep 2, 2012
What I want to ask is not related to decompiling and recompiling APKs, but modifying them.So, for example. I've a Settings.apk that I want to modify deleting an item from principal list. How can I remove or modify the 'LAUNCHER' item from the list?At the moment, this item, when you click it, open Launcher (TouchWiz) Settings, but if I want to open another launcher settings?!
View 1 Replies
View Related
Jun 1, 2010
is it even possible to modify .apk, by adding additional class to .dex and re-packing with modified manifest.xml?I know there are tools such as baksmali / smali to disassemble / re-assemble given classes.dex from .apk, but not sure limitation what could be modified from there on? I'm trying to add additional activity, to modify starting launcher activity (may be from androidmanifest.xml) from original apk, then re-pack and sign to make complete single .apk all need to be done out of build time, no raw source or build structure visible, only .apk as input.
View 1 Replies
View Related
Feb 20, 2012
Im want to modify and run an OCR app on android.As per my research i found that the OCR engine needs an NDK access.
Hence i've started with trying basic ndk samples.But im unable to compile/run those samples too.
Im working on windows 7 64-bit.
My question is whether i need to use Cygwin to run the above ?
View 1 Replies
View Related
Jun 10, 2009
I frequently encounter this message when I try to update a table (to enter a proxy) in the database using adb shell. $ adb shell #sqlite3 / data/ data/ com. android.providers. settings/databases/ settings.db sqlite> SELECT * FROM secure; SQL error: not an error sqlite>
View 3 Replies
View Related
Apr 12, 2009
How to modify the call log? What permissions do i need and is it possible to get some basic code to show how? just a few lines not whole classes or anything.
View 4 Replies
View Related
Jul 2, 2009
Is there a simple way to modify value in AttributeSet?
All i want to do is something like this: in Button.java public Button(Context context, AttributeSet attrs, int defStyle) { /** In origional XML, I have android:textSize="20sp". Then do something to make textSize attr. value + 2sp. The effect of this will make all button textSize bigger than original setting. **/ super(context, attrs, defStyle);}
View 4 Replies
View Related
Jun 29, 2010
I am coding an Android client that talks to some web services via XML packets.
A typical packet looks like this..
<Packet service="login">
<username></username>
<password></password>
</Packet>
I have about 20 of these packets and would like to store them in my resources maybe in res/xml or res/raw
I want to store these 'empty' packets and load them using XML DOM and then fill in the content between the tags or attributes but am unsure how to do this.
Once the DOM packet has been filled in I want to get that back as a String so that I can send the packet to the server.
So to summarize my questions are..
(1) How do I load an XML resource using DOM?
(2) How do I convert the DOM object to a String?
View 2 Replies
View Related
Aug 18, 2010
I would like to hack around the Android default Settings app for prototyping purposes. What is the correct procedure for building and installing the "customized" app?
After I modify the Settings source in the platform source tree, how to I build it? After I build it, can I install Settings by itself, or do I rebuild and reinstall the entire Android platform image?
View 1 Replies
View Related
Aug 24, 2010
I'm trying to find out if it is possible to modify the notification of another app (the calendar app from Samsung) from my own app. Specifically I'd like to change the alarm for a calendar event from a one-time sound (which is silent, if the phone is set to vibrate) to a repeating vibrate.
Can I even modify the notifications belonging to a differnt app?
If I can't, could my app get notified about all notifications and just rethrow my own, modified notifications?
View 1 Replies
View Related
Aug 21, 2009
My prob is the following: My android application has the class TestActivity (entrypoint) -my app uses "library.jar" wich contains J2ME classes, used as library -library.jar also includes "UIActivity" [can spawn several dialogs] wich is called by a (j2me) class of library.jar -I only have the .class files of the j2me-lib stuff, so I cant modify them, but I can do so on Android-classes
so... the short form:
CODE:.............
finally I get the error:
CODE:.............
Do I have to use Services instead of Activities? But afaik I have to give a reference of an activity to spawn dialogs.
View 3 Replies
View Related
Sep 3, 2013
I would like to ask whether there is an app to modify apks on your phone or not I'm asking because I don't get to use the computer that much.
View 1 Replies
View Related
Dec 3, 2009
Is it possible to modify the voice data before it's sent to the radio?
View 2 Replies
View Related
Oct 15, 2009
How I can access and modify the system preferences (the options you see on system 'Settings' application)?
Cheersss, Armond
View 2 Replies
View Related
Apr 21, 2010
I want to implement a "Settings" section in my application, and I want that when the user selects whatever, one of the strings from string.xml will change its value according to the user selection. Is this possible at all? any ideas on how to implement it?
View 4 Replies
View Related
Sep 27, 2010
I want to change my apk file name on every compilation of my build.
For example, I have my build name currently, android.apk
Now I want it to be on every compilation as, android_v0_0_1.apk android_v0_0_2.apk android_v0_0_3.apk . . . . And so on.
How do I achieve these results.
View 4 Replies
View Related
Oct 25, 2009
I have a gridView generated using BaseAdaptor. (and implementing methods getView() , getCount() ,...) My problem is that i want to specify a drwable image for each ImageView created using BaseAdaptor.
i tried this line: myBaseAdapterInstance.getView(i, null, gridview).setImageDrawable(R.drawable.myimage);
where i is the position of the ImageView that i want.
But myImage isnt displayed on the gridView.
View 2 Replies
View Related
Jul 8, 2009
I would like to build my own launcher application. Beside modify the Launcher.apk in the SDK, is there any other method to replace my own application as the home menu?
View 5 Replies
View Related
Jun 23, 2010
Can I modify the the height of status bar? if yes,how? 'notification bar'
View 1 Replies
View Related
Sep 24, 2009
I wish to customize the button images, but after I opened the png file, changed the color, reimported back into the draw9patch editor, the compiler spew out errors. how can I modify the 9 patch image of the default button?
View 2 Replies
View Related
Mar 27, 2010
If I can modify the checkbox preference in order to inverse the direction from left to right to right to left.
View 2 Replies
View Related
Oct 13, 2010
I've been looking around and have been wondering is there any way to modify the SMS header before sending it out?
View 2 Replies
View Related
Oct 30, 2010
I'm running a .net aspx application. I'll need my android app to access and modify/insert information into the ms sql database. is there any api ?
View 2 Replies
View Related
Apr 4, 2010
I want to modify a text file using Android program . I searched about that and i found that I have to copy whole content of file and than Modify it and save it to other file and than Delete Original file and rename the Modified one. I tried file.delete() method But i am getting error of permission denied to delete that file. So can anyone help me As Soon As possible.
View 4 Replies
View Related
Jul 19, 2009
Would you please give me some tips to disable the Android enter into sleep state? If so, it will be very available for me to debug it.
View 2 Replies
View Related
Aug 11, 2010
In my application, on click of a button, I start an intent to send email. I have set the "To" list, "Subject" and attachment in my coding. Now my problem is that when the email screen is shown, user should not be able modify the email contents nor should he be allowed to remove the attachment. Only he should be able to click on "Send" button.
View 1 Replies
View Related
Oct 16, 2010
Is there any apps to modify or reduce the resolution of camera images?Even on the lowest resolution the images taken from my EVO 4G are rejected from a Blackberry phone when sending as MMS.
View 1 Replies
View Related
May 26, 2010
ActivityManager am = (
CODE:.........
Exception
CODE:..................
View 4 Replies
View Related