Android :: Extend Core Apps In The SDK
Jul 15, 2009
I know this topic has been covered a lot, so apologies if this is redundant. I would like to work in the SDK and simply extend a core app that already exists, and then override some functionality. For example, I would like to extend Contacts, but then overwrite the entire ContactsListActivity class, for my own experimental MyContacts.apk.
In this youtube video: http://www.youtube.com/watch?v=3aUjukCdPyQ
Dianne talks about the ringtone picker, did she just extend the core ringtone picker and work in the SDK?
I DO have the entire platform source code, and have made some changes to core apps there, but rebuilding takes awhile (even useing mmm, and snod), so I was hoping to speed up development by working in the SDK (where building and running the emulator seems to go faster). Not sure if this is realistic or not.
This is all just for some internal experimentation, I am not looking to contribute the the core apps.
In another post, someone had referred to ".... classes available in the SDK....". How can we see what classes we have access to, in the SDK.
View 2 Replies
Jul 30, 2010
How do I build and debug the cores apps in Android source tree, like AlarmClock and Settings, located under:
${ROOT}/packages/apps?
View 1 Replies
View Related
Feb 12, 2014
I just want to know a couple of things (NOT that I would ever try this myself but im interested in the info).
1) Is it possible to install quad core firmware on dual core tablet?
2) Is it possible to 'spoof' the android system into thinking 2 CPUs are 4?
3)If you install dual core firmware on quad core machine will 4 cores or 2 show up?
View 1 Replies
View Related
May 24, 2014
I'm having an issue with Note 3,
I wanted to change my gmail account of my phone, in order to do that I did a factory reset to start over. I was all cool until I wanted to update the apps, but Play Store "My Apps" page is blank taking forever to load.
My theory is, core apps lock themselves to first google account entered to the phone, and doesn't do that again no matter how much you reset the phone.
View 4 Replies
View Related
Oct 6, 2010
I am using the following code to play video..
View 4 Replies
View Related
Apr 10, 2009
I'm running into difficulties overriding an ArrayAdapter to be displayed in a ListActivity. The ArrayAdapter is filled asynchronously. What I'm trying to do is add a special "sentinel" object that sits at the beginning of the list to show the progress of the computation. Ultimately this may be a progress bar, but right now I am just using a TextView as a placeholder. The problem is that the sentinel seems to get inserted multiple times into the list - not just once at the beginning. It *seems* to be appearing once per "page" of list data (so if 8 list items fit on the screen, my sentinel appears as the 1st, then 9th, then the 17th, etc..), but that interpretation may not be accurate. While maybe not how ArrayAdapters were intended to be extended, I thought something like this should work by simply overriding getView() to show my custom TextView for index.
View 3 Replies
View Related
Feb 4, 2010
I'm am trying to learn how to create LayoutGroups. For a start, I created MyLinearLayout which is supposed to force all children into same width (yes, there is layout_weight, but that's beside the point.
View 2 Replies
View Related
Feb 19, 2010
I mean, is there any way to add more functionality add/remove events synchronize with other then Google calendars/formats (authorized).
View 1 Replies
View Related
Jul 27, 2010
Currently in my design I've got a base abstract class that all of my activities extend from, however I discovered recently that in order to use a MapView you need to make your activity extend MapActivity. Since Java does not have multiple inheritance I was wondering if there is any way I can use a MapView without having to recreate my design for my application.
View 1 Replies
View Related
Mar 24, 2010
I recently formatted my computer and updated to Windows 7. I backed up my keystore and tried to sign my apk with it but it gave me an error that said my certificate expires in 22yrs. which is just shy of what the market requires to upload the apk. So now I am stuck not being able to update my app... Is there a way to extend the lifetime of certificates so that I can update my app?
View 1 Replies
View Related
Jul 7, 2010
We are looking for possibility of extend C2DM to other platform such as WM. And want to check the technology or protocol behind android 2.2 Cloud to Device Messaging.
View 2 Replies
View Related
Jun 11, 2010
I have set negative paddings on my custom seekbar so that the round thumb image can go outside the bar, but the thumb isn't rendered out there, is there anyway to force the thumb to be drawn outside those bounds Sorry guys, I'm new to Android development, and have been tasked with fixing an existing application. The problem is that we have a custom rounded looking track bar, which consists of two rounded 'end cap' images and a 1 px background that is tiled to create the seekbar. As far as I can tell there was never one image that could be set as the background of a normal SeekBar, which is why a custom one was created. The thumb is a circle and needs to 'fit' into the end caps - the three pieces of the bar are in a relative layout. Right now I'm kind of unclear as to how the 1 px background png gets stretched as the seekbar bg, otherwise I would try to tack on the two endcaps onto that drawable some how?
View 1 Replies
View Related
Aug 30, 2009
Does anybody knows if (and how ) I can write a custom view/widget and then use it in resources in layout defintions?
View 5 Replies
View Related
Jun 12, 2010
I realize that it would probably require boosting antenna power and thus reduce battery life but, if I am prepared to accept that, can I programatically extend wifi range?
View 1 Replies
View Related
Dec 26, 2009
I have to add java libraries javax.xml to the my android project, while I am trying to add them it shows the error "Conversion to Dalvik format failed with error ".
View 7 Replies
View Related
Jun 15, 2009
I want to pass the build process the --core-libary option. But in ADT I don't see such an option. So in Version 1.1 --core-library could be inserted into the build.xml and build was successfull when using ant. It looked like this:
CODE:..........
In 1.5 build.xml as well as the hole build process was heavitly altered. Now even the dx.jar is gone. The build.xml works differently, and I dont see where to put --core-library. There is also no documentation for where to put it.
View 2 Replies
View Related
Nov 22, 2010
I'm installing the Android SDK on a fresh installation of Fedora 14 (Linux).
I installed eclipse, and ran the tools/android sdk tool to install all the Eclipse components for the SDK.
I was able to get DDMS to install when selecting it by itself.
And for the last component - the Android developer tools, I'm getting the ugly error message pasted below.
Now I'm Stuck in Eclipse dependency hell.
I've searched through the available packages in Fedora and I can't find the one that has the files necessary to satisfy this Eclipse dependency...
Can anybody please translate what it is that Eclipse is asking for and what Fedora package it lives in?
The error:
Cannot complete the install because one or more required items could not be found.
CODE:.................
View 1 Replies
View Related
Apr 23, 2010
I am using Eclipge Ganymede for Android. While developing a project i clicked on FIX PROJECT option by mistake. Then the whole project started showing an error. I have been displayed the following log in the console...
trouble processing "java/math/RoundingMode.class": [2010-04-23 17:24:29 - Gorinka2] Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core-library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message. [2010-04-23 17:24:29 - Gorinka2] 1 error; aborting [2010-04-23 17:24:29 - Gorinka2] Conversion to Dalvik format failed with error 1
Now i couldnt run the run. Its showing errors. So, help me out in setting my project to normal state...
View 3 Replies
View Related
May 27, 2009
I am using Android SDK 1.1 Intellij idea plugin Android_Support_6812.zip
Everything was fine. But now, error occurs during run application from idea . I am not using external libs, only android sdk. But application compliled and deployed fine using ant.
CODE:................
View 6 Replies
View Related
May 8, 2009
When i am including the jaxp jar file i am getting the error as follows
Trouble processing "javax/xml/XMLConstants.class": [2009-05-08 16:53:18 - TestProject]
Attempt to include a core VM class in something other than a core library. It is likely that you have attempted to include the core library from a desktop virtual machine into an application, which will most assuredly not work. If you really intend to build a core library -- which is only appropriate as part of creating a full virtual machine binary, as opposed to compiling an application -- then use the "--core library" option to suppress this error message. If you go ahead and use "--core-library" but are in fact building an application, then please be aware that your build will still fail at some point; you will simply be denied the pleasure of reading this helpful error message.
CODE:..............
View 4 Replies
View Related
Jul 20, 2010
I want to have a class "Utils", that will have several methods used all over my code. For example, I have a top bar with a textview and two ImageButtons that must display different texts and icons on different activities.I created the class Util, but it doesn't extend Activity. The problem is that if it doesn't, findViewById isn't there, can't find stuff etc.
View 1 Replies
View Related
Nov 16, 2009
I want to encrypt individual contacts stored by the Contacts application on Android based on user's preference. So, I am thinking I'll have to hook/extend the Contacts application before the it stores data into the database and decrypt it when the user wants to view it. Also, I am assuming I will have to store the key for encryption in a file.
View 1 Replies
View Related
Jul 21, 2010
I want to add tabs to the layout of my activity, but I don't want the activity to extend TabActivity. The example in http://developer.android.com/resources/tutorials/views/hello-tabwidget.html only gave example of subclass of TabActivity.
Is there any way I can make it without extending TabActivity?
View 1 Replies
View Related
Aug 2, 2010
I have problem in displaying content in Linearlayout, how to extend layout height.when large number layout used for displaying content..
View 1 Replies
View Related
Oct 26, 2010
Anyone hearing any news on upcoming dual core releases. I'm eligible for upgrade on 12-1-10 but if something new is coming out I'd wait a few months. I'm with sprint and would like to stay with them, hoping they will have one of the new dual core releases.
View 6 Replies
View Related
Dec 12, 2009
We ran core tests by the command "/development/testrunner/runtest.py - v --coverage core" and got coverage report successfully. But the reports says all are 0%. We ran apidemos and got coverage report which looks good.
Below is the console output for core tests:
CODE:.............
So I wonder why core tests's coverage report says 0% and how can I make the report make sense.
View 2 Replies
View Related
May 26, 2009
I will be soon working on porting Android OS to some custom hardware. Has any one in the group done this before? If yes, what are typical guidelines, roadblocks to watch out for?
View 2 Replies
View Related
Apr 23, 2010
I am loading a listview dynamically. I have set a .9.png image as row background image. The main purpose of using .9.png image was to extend the height of the image dynamically according to the contents of the listview. But, the image is not getting extended. The contents which can be displayed within the height of the row are being displayed and the rest are being cut.
View 3 Replies
View Related
Apr 21, 2010
How would I extend TextView to allow the drawing of text with a gradient effect?
View 2 Replies
View Related
Mar 18, 2010
What is the difference when a class extend from Handler and Thread?
As described in developer.android.com
...
Each Handler instance is associated with a single thread and that thread's message queue.
...
Does the thread has no message queue ?
Any benefit for a class extend from Handler?
View 2 Replies
View Related