Android :: Cup Cake Code Base
Feb 19, 2009
I have heard a lot about this code base, but have seen nothing.The possabilities are amazing, why are we so limited. If the sceen is multitouch capable, why not use it? When will we see a fix for the issue with the talk button on the headset, or the ability to run apps from the sd card, or the ability to stop running apps. This android os is linux based, yet these issues are holding us back? I am invested in this platform, and I really believe this is important. I hope to see more functionality. We have a platform that can truely compete with the iphone, but we must work hard to perserve our image.
View 2 Replies
Dec 22, 2009
I'm trying to develop some middle layer application based on the source tree from android.git.kernel.org. I'm using the libmedia.so to link my code and has no problem. I also tried to link my code using the other libmedia.so which I pulled from HTC ADP2 (I ordered last week) and found that my code have many undefined references to some functions (or method).
This make me think that source code I gitted from android.git.kernel.org (two weeks ago) does not sync which the code in the HTC ADP2 Android device.
How do I sync my source tree with the HTC ADP2 ?
View 1 Replies
View Related
Apr 15, 2010
I need to build several slightly different apps from one code base, where only the styling and some variables are different in each app.Right now I use an awful "Constants" class where I comment in/out the correct values for each app, in addition to copying the correct graphic resources to the res/drawable/ folder.One way to make this less painful would be to refer to a Java static Constants#appVariant from styles.xml and splash.xml, e.g like this pseudo-entry:
<style name="Artwork"> <item name="android:background">@drawable/ border_{Constants.appVariant}</item> </style>
Is this possible?And I guess there are better ways of solving this.All hints are appreciated!
View 2 Replies
View Related
Aug 22, 2010
I want to release multiple applications to android marketplace which are all very slightly customized based on a code base. I can't just change the package indentifier in the AndroidManifest.xml file because several other things dependet on this like action identifiers and so on.
What is the best approach to release several apps based on one eclipse project with the same code base?
View 1 Replies
View Related
Nov 15, 2010
I have an Android code base which uses APIs with settings to get different data for several apps. All apps use the same code base but with one or two design tweaks. So how do I re-use the main code base without having to copy the whole Android project each time?
iPhone uses multiple targets in the same project which works well. If android cant do this do I need to compile binaries of the code base in one project and then import into each new app project? If so how? I'm using Eclipse and am an intermediate Java developer.
View 2 Replies
View Related
Dec 15, 2009
I want to add,delete,update android Contact Database using native c code. please tell me how to do if any one have done it.
View 3 Replies
View Related
Jan 11, 2010
1- Does Android Browser (Éclair code base) support the "plug-in" or not?
2- Why "Google Gears" support is removed from the clair code base?
I searched the forum and came to know that earlier version of the Android does not support it at all? Here is the link for that, but this query asked in Dec'2008.
View 2 Replies
View Related
Apr 27, 2009
I've upgraded my ADP1 to cupcake through the official roms: http://www.htc.com/ www/ support /android/adp.html#s3 However, the official roms equiped ONLY English locale now. Will the official ADP1 roms equip other locales (e.g., Chinese) in the future?
View 2 Replies
View Related
Jan 21, 2009
I am using a windows system. Can anyone send me steps on how to checkout the cupcake branch?
View 3 Replies
View Related
Apr 3, 2009
Do we have more information about the availability of the Android SDK cupcake version? A first phone running on Cupcake should be available this month in France and it should be great to have a SDK exactly the same
View 2 Replies
View Related
Apr 5, 2009
I've compiled up the Linux & Mac OS X Intel SDKs from the public git repository and have put them up for download (If anyone can get instructions on building a Windows SDK I will do what I can to create a Windows SDK as well). *PLEASE NOTE* In order to ensure that I don't end up with a massive bandwidth bill you will need to log into AndAppStore to download the SDKs, and, if things get silly, download limits may be introduced. You are, of course, free to pass on the SDK to as many people as you want after you've downloaded, but please do not pass around links to direct downloads without logins at AndAppStore because I'd like to continue to update them but if a bandwidth cost issue comes up then I won't. Anyway, once you've logged into AndAppStore the link to the Cupcake SDKs is in the Developers Area menu on the right of the page. * Written an Android App? - List it at http://andappstore.com/ * Funky Android Limited is registered in England & Wales with the company number 6741909. The registered head office is Kemp House, 152-160 City Road, London, EC1V 2NX, UK. The views expressed in this email are those of the author and not necessarily those of Funky Android Limited, it's associates, or it's subsidiaries.
View 24 Replies
View Related
Aug 27, 2010
Can anybody tell me if there is any animation emotions to send on this phone,, birthday cake etc?
View 5 Replies
View Related
Dec 31, 2009
I notice the default doesn't have any form of graphic equalizer!Also, Tunewiki seems cr*p at finding the correct album art, is there any alternative please?
View 1 Replies
View Related
Aug 27, 2009
Where in the source are the layouts for the built-in UI's?I would like to reuse (copy) a couple of the contact UI's rather than recreate the wheel.
View 4 Replies
View Related
May 19, 2010
Is there anyway to get the base station and/or cell Id information of the subscriber in Android?
View 1 Replies
View Related
Sep 18, 2010
Question before I dive deeper into converting my current rendering system to openGL. I heard that textures needed to be in base2 sizes in order to be stored for rendering. Is this true?
My application is very tight on memory, but most of the bitmaps are not a perfect square. Does storing non-base 2 textures waste extra memory?
View 3 Replies
View Related
Jul 22, 2010
i have created an application XYZApp and put it in package/ apps directory of eclair source code and i have added one directory name XYZFrame in framework/base and XYZFrame dir have native code, jni and interfaces. These interface define in framework/base/XYZFrame/ Interfaces/ directory are imported and implemented in class of package/app/XYZApp. The XYZFrame is added in build/core/pathmap.mk and compiled. The compilation is done and apk for XYZApp is created. I installed the XYZApp.apk in to galaxy phone using adb. Now when i execute the XYZApp. apk on galaxy phone, i m getting an error (interfaces not found and fail to link). These interfaces are defined in framework/base/XYZFrame/Interfaces/. i think that framwork/base/XYZFrame/Interfaces are not available on phone Or problem is some thing else.
View 3 Replies
View Related
Mar 16, 2010
I get a lot of requests in my application to allow for custom icons packs from BetterCut / Open Home. The way it seems to work is you install BetterCut or Open Home, then you can install tons of these free icon packs from the market. Once installed both those apps (and other apps) will poll for those icon packs and use the icons. I want to know how to poll the install applications for the asset folders that are available. I have opened up a few of the icon packs and verified that there is an assets folder in there and they are full of all the icon png files. I've searched on here, other code sites, google, etc., but haven't found any leads.
From the answer below I have written some code to try and list a file from my own projects assets directory but it does not seem to work.
Resources r = this.getResources();
AssetManager a = r.getAssets();
String[] list = a.list("/");
Log.d("test", "Length of / is "+list.length);
for (String s : list) { Log.d("test", s); }
Log.d("test", "Length of /assets is "+a.list("/assets").length);
Log.d("test", "Length of /assets/ is "+a.list("/assets/").length);
Log.d("test", "Length of /assets/ is "+a.list("/assets/").length);
Log.d("test", "Length of ./assets/ is "+a.list("./assets/").length);
Log.d("test", "Length of ./assets is "+a.list("./assets").length);
This is the output:
03-16 12:25:04.591: DEBUG/test(13526): Length of / is 6
03-16 12:25:04.591: DEBUG/test(13526): AndroidManifest.xml
03-16 12:25:04.591: DEBUG/test(13526): META-INF
03-16 12:25:04.591: DEBUG/test(13526): assets
03-16 12:25:04.591: DEBUG/test(13526): classes.dex
03-16 12:25:04.591: DEBUG/test(13526): res
03-16 12:25:04.591: DEBUG/test(13526): resources.arsc
03-16 12:25:04.614: DEBUG/test(13526): Length of /assets is 0
03-16 12:25:04.637: DEBUG/test(13526): Length of /assets/ is 0
03-16 12:25:04.661: DEBUG/test(13526): Length of /assets/ is 0
03-16 12:25:04.692: DEBUG/test(13526): Length of ./assets/ is 0
03-16 12:25:04.716: DEBUG/test(13526): Length of ./assets is 0
I figured out that you can read from the assets directory without actually using the folder name:
InputStream is = assetManager.open("test.png");
I also tried this with an asset in Appliction 2 from Application 1, where the folder path is /asset/icon/image.png:
InputStream is = assetManager.open("icon/image.png");
Next I figured out that you can list a directory inside assets:
String[] list = assetManager.list("icons");
That also works great. The only thing failing right now is how to list the base directory assets.
View 3 Replies
View Related
Jun 3, 2010
Does anybody know if there is an application for Doppler radar or base velocity? I know stuff like weatherbug have radar but it doesn't have base velocity...anybody know of anything?
View 8 Replies
View Related
Nov 6, 2009
There is this xml file under frameworks/base.
/frameworks/base/core/res/res/layout/simple_dropdown_item_2line.xml
How can I inflate that in my own android application?
View 2 Replies
View Related
May 29, 2010
I am extending BaseAdapter and trying to populate the List Screen on my Activity Screen. NotifyDataSetChanged is not working as expected. Please find the below snippet of code.
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState); initialize();
context = this; config = Config.getInstance();
searchText = new EditText(this); handler = new Handler() {
@Override public void handleMessage(Message msg) {
msgQueueAdapter.notifyDataSetChanged();
context.msgQueueAdapter.notifyDataSetChanged();
msgQueueAdapter.notifyDataSetInvalidated(); } };
View 6 Replies
View Related
Mar 16, 2010
I am now reading contentProvider.java( under the base/core/java/android/content)
Ln 127 looks following:
CODE:..........
I'm really confused about that contentProvider invoke this.query()
CODE:.................
where is it implement? How can i find it? anyone can tell me?
View 3 Replies
View Related
Aug 18, 2010
How can I configure Eclipse to use the entire Android source code?
I'm working on the file settings.apk using eclipse...but with the editor, for example, I can't import
"android.os.SystemProperties" (error: 'cannot be resolved').
there's a guide to configure eclipse to work on system app??
View 3 Replies
View Related
Jul 23, 2009
Currently I am working on IM, and I am facing problem during implementations. I am implementing this messenger using XMPP client and using smack API for implementing all features like contacts list, online offline status, and chat also. Prblem which I am facing:
Its my list view where I am showing contacts list
public class ContactsList extends ListActivity implements OnClickListener{
@Override protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
ContactsManager manager = new ContactsManager(this); setListAdapter(manager);
} public class ContactsManager extends BaseAdapter{
private LayoutInflater mInflater; private Bitmap mainListIcons[];
private static ContactsInfo contactsInfo; public ContactsManager(Context context) {
mInflater = LayoutInflater.from(context); mainListIcons= new Bitmap[3];
mainListIcons[0] = BitmapFactory.decodeResource (context.getResources(), R.drawable.online);
mainListIcons[1] = BitmapFactory.decodeResource (context.getResources(), R.drawable.offline);
} @Override public int getCount() { return Global.contacts.size();//
contacts is vector where I am saving my contacts
} public Object getItem(int position) { return position;
} public long getItemId(int position) { return position;
} public View getView(int position, View convertView, ViewGroup parent) {
ViewHolder holder; if (convertView == null) {
convertView = mInflater.inflate (R.layout.main_settings_lists_icon_text, null);
holder = new ViewHolder(); holder.mainListDisplayText = (TextView) convertView.findViewById(R.id.main_settings_lists_text);
holder.mainListDisplayIcon = (ImageView) convertView.findViewById(R.id.main_settings_lists_icon);
convertView.setTag(holder);}else{ holder = (ViewHolder) convertView.getTag();
} contactsInfo = (ContactsInfo)Global.contacts.elementAt (position);
String username = contactsInfo.getUsername(); String status = contactsInfo.getUserstatus();
if(status.equalsIgnoreCase("unavailable")) { older.mainListDisplayIcon.setImageBitmap(mainListIcons[1]);
}else{ holder.mainListDisplayIcon.setImageBitmap(mainListIcons[0]);
} holder.mainListDisplayText.setText(username); return convertView;
} static class ViewHolder { TextView mainListDisplayText;
ImageView mainListDisplayIcon;}
public class ContactsHandler implements RosterListener {
@Override public void entriesAdded(Collection<String> c) {
for(String s:c) { Log.i("ADDED Contacts",s);
} } @Override public void presenceChanged(Presence p) {
Log.i("PRESENCE",p.getFrom()); Log.i("IS Available",""+p.isAvailable());
Log.i("UserStatus",""+p.getStatus()); if(p.getFrom().contains("@") && p.isAvailable())
{ ChatManager chatmanager = Connection.getVopConnection getXMPPConnection().getChatManager();
Chat newChat = chatmanager.createChat("gulfam@imran-mehmood", new ChatHandler());
} } }
View 2 Replies
View Related
Jun 20, 2010
first post, so sorry if theres anything similar. had a look about but couldn't find much.anyone any idea when there may be a custom ROM released which is based on the official 2.1 release for hero?my reason in asking is, i cant upload the HTC updates as im running a custom 1.5 ROM (had to get rid of the stock orange ROM, as it drove me mad).id love to get my phone upto date and on to 2.1, but cant find any roms online which arent based on 1.5.
View 2 Replies
View Related
Feb 6, 2009
When i added a media file to the sdcard an update in the MediaProvider database is not happening. When i bootup the emulator it happens. Is this the expected behaviour?
View 2 Replies
View Related
Nov 17, 2013
how to make themes and using as a base the Android 4.4 KitKat Theme by Global Sense (in Google Play). I wanted to start by making simple changes, like the notification_header_bg. First I made the image in Gimp and saved it to res/drawable-xhdpi (even if my device is HDPI). Then, I added this code
Code:
<item name="drawable/notification_header_bg">@drawable/notification_header_bg</item>
And then I had the problem. It's like the image is overlapping itself, and, even if it's not transparent, it's looking brighter on one side
View 1 Replies
View Related
Nov 13, 2010
If you have a 3.29.651.5 build and you flash a custom ROM that says it has a base of 3.30.651.2, does that mean that it will update your phone to that particular base build? Or does it mean you need to have that particular build for it to work on your phone?
View 2 Replies
View Related
Jul 18, 2010
This route is about 4 years old. Using my window 7 laptop, able to access the internet.
Network connection detail of the window 7 laptop:
DHCP Enabled: Yes
View 5 Replies
View Related
Mar 6, 2010
As soon as I saw that AD had released ESE53, I made a post about it in BD's U5.5 thread over at Droid Forums.His complaint? That he was getting no sleep last night.The result? Ultimate Droid 6.0 (ESE53 Base) - Droid Forum - Verizon Droid & the Motorola Droid Forum.He says the new launcher in ESE53 is sick, so I am gonna check it out right now.
View 10 Replies
View Related