Android : Building Several Apps From One Code Base

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!

Android : Building several apps from one code base


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 View Related

Android :: Code Base Sync With ADP2

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

Android :: Release Several Droid Applications With Same Code Base?

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

Android :: Reuse Main Code Base Without Having To Copy Whole Droid Project Each Time?

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

Android :: Error While Building Code Using Make

Jul 16, 2009

I have downloaded the code successfully using "repo sync" on my linux system and now I want to buld it using make but it fails and telling that

"frameworks/policies/base/PolicyConfig.mk:22:*** No module defined for the given PRODUCT_POLICY (android.policy_phone) . stop. "

View 9 Replies View Related

Android : Layouts For Base Apps

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

Android :: Building Contact Source Code (eclair Version) On Eclipse

Aug 27, 2010

I am having the contact source code which i want to build on eclipse & test on emulator,but the contact application uses some of the hidden APIs of base code which is not present in default android.jar because of that i am getting lot of error in my code. I am trying to generate my own android.jar using "Android sdk - Including hidden APIs." option in android.mk of framework directory, but still the hidden APIs not getting exposed in android.jar. how to customize the android.jar in order to make all hidden APIs exposed to application.

View 2 Replies View Related

Android :: Accessing Contact Data Base For Adding / Deleting / Updating Contact Using Native Code

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

Android :: Does Android Eclair Code Base Support Plugins In Android Browser?

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

Android :: What Should Know Before Building Cellphone Apps?

Aug 6, 2010

I want to start making cellphone apps with Android as first choice but not the only one. I have 10 years of experience with Java, C#, C++ in commercial applications and I know that many things and practices for this applications are not valid for cellphones. Where do I start reading? How do I adapt my way of thinking to this new environment as quickly as posible? I plan to make some money with it sometime in the future as an extra income or a career change maybe, who know.

View 6 Replies View Related

HTC Hero : Building Android Apps

Dec 23, 2009

I'm going to start building some apps for android in the new year and i was wondering if people would like to suggest any apps they would like to see developed for their HEROS.Any suggestions welcome - the more unique the better.

View 34 Replies View Related

Android : Building APPS That Require An Online Database

Dec 16, 2009

I am looking for a free SAAS provider that I could use to accomplish the following. a. CRUD data using webservices or someother compatible mechanism. Any ideas would be great.

View 2 Replies View Related

Android :: Change Existing Apps Code Of G1 - Calendar And Camera Code

Feb 19, 2009

I wanna to add some code in Camera Apps code , so that it will invoke my Application and do the thing as per my desier. Is it possible to change the Application code? If any one already tried this then plz let me know, how to proceed and build if i change some code. How to integrate my application with camera apps.

View 2 Replies View Related

General :: How To Start Building Apps From Source

Nov 8, 2013

I really want to be a android app developer. How I can start developing apps and building apps from source.

View 1 Replies View Related

Android :: How To Compile G1 Apps Code

Feb 19, 2009

I wanna to compile the apps code, has any one tried it earlier, if so lemme know. How to compile the camera and calender code.

View 11 Replies View Related

Android : Sharing Apps By QR Code?

Dec 22, 2009

Fred meets Bob at the pub and shows off the latest app he's installed.Bob likes it and wants to have it on his phone, too. Q: What's the best way for Fred to help Bob install an application? Hint: On a Palm, Fred would just 'beam' the app to Bob's pda (we're assuming that it's a freely downloadable app, not requiring payment or registration). On an Android phone, can Fred somehow share it over Bluetooth, or display a QR Code for the app so that Bob can use his Barcode Scanner to get it from the Market (or slimeme.org, or wherever)? As far as I know, no file manager has a "display barcode" function (like Contacts does when you have Barcode Scanner installed), so I'm forced to describe the app, or go into the application list and dig out its "com.vendor.app" name. This seems decidedly un-slick.

View 3 Replies View Related

Android :: How To Write Apps For Droid In C Code?

Nov 24, 2010

We all know that Android runs Dalvik VM programs. Normally developers write programs in Java and they compile it to Dalvik bytecode. I wonder if it would be possible to create a compiler that can take C# code and compile it into Dalvik bytecode.

View 1 Replies View Related

Android :: Where To Get Source Code For Apps On Emulator?

Mar 22, 2010

I have two question to put forward:

I was very interested, even intrigued by the Maps application on the android emulator. Where can I get the source code for it?

There is a Maps Editor on the Android Market, it cannot be downloaded to the emulator. But again, where can I find the source code to that?

View 2 Replies View Related

Android : MP3 Player App / With Adjustable Base

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

Android :: Code Of Starting Other Apps / Ebooks On Intents

Nov 12, 2010

I saw the code of starting other apps from my app.but i understood little bit ..i need some detailed ebooks on intents and start activity ON ANDROID...

View 1 Replies View Related

Android :: Google Apps For Phone Code Samples?

Jun 1, 2010

I once got pointed in the direction of this great set of examples:

http://code.google.com/p/apps-for-android/

These samples look like they're in some way connected with this forum. Is that the case?

There's one app in particular which I would like to discuss with the developers, the 'SpriteMethodTest' app, as I have adapted this for my own use and have some issues.

Anyone know anything about these apps?

View 5 Replies View Related

Android :: Get Base Station Information In Droid?

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

Android :: How To Restrict Droid Users To Launch Some Apps / Code To Do This

Jul 15, 2010

We want to develop an application which should be the only one our users should use. So we need to PREVENT them using other applications. (Mainly to make the maintenance support possible - we plan to buy at about 1000 phones, so the maintenance is tough task!) Is there any way to restrict the users?
For instance, is ADW Launcher able to do such things? Or is it possible to achieve this by coding our specific replacement of Home Launcher? And what about using some ASE scripts?
I am a beginner to Android OS, please do not assume any specific knowledge in your possible answers.

View 1 Replies View Related

Android :: OpenGL ES Render Textures Of Non Base 2 Dimensions

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

Android :: Framework Base Interfaces Not Find On Target

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

Android :: Access Base Directory Assets From Another Application?

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

Android :: Application For Doppler Radar / Base Velocity?

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

Android :: Inflate - Frameworks/base/core/res/res/layout/simple_dropdown_item_2line.xml

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

Android :: Base Adapter - Trying To Populate List On Activity Screen

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







Copyrights 2005-15 www.BigResource.com, All rights reserved