Android :: User Defined Application Properties?
Aug 28, 2009
Where is the right place to specify general user-defined properties, like a host address or a service mail address ? The properties should be accessible from my activities.
I would like to specify such attributes within the AndroidManifest.xml, but there seems to be no elements available for user-defined properties. So the only way may be to put such properties into a resource file as strings or to hide them into the source code...
View 2 Replies
Sep 8, 2010
implicit intent with class name as action defined in intentfilter. is not working. Only it it is defined as "android.intent.action." it is picked up ? is it so ?
I have app A with the following in manifest.xml file
CODE:.............
In app B, i tried to call the activity in A using below code.
CODE:.............
This code works. But not above line.
View 2 Replies
View Related
Sep 20, 2010
I would like to use self defined Environment variables in my source code.
I use System.getenv() to do this and the code line looks like this. Log.d("MyTest","== MyEnv " + System.getenv("AP") + " ANDROID_ASSETS:" + System.getenv("ANDROID_ASSETS"));
Before I execute my code I define my AP variable with export: export AP="12345" and the this is my output of set command
ANDROID_ASSETS=/system/app
ANDROID_BOOTLOGO=1
ANDROID_DATA=/data
ANDROID_PROPERTY_WORKSPACE=9,32768
ANDROID_ROOT=/system
AP=12345
Then I execute my code and I get this line from logcat
D/MyTest( 5363): == MyEnv null ANDROID_ASSETS:/system/app
The value for my defined Environment variable is null. Any suggestions on why it didn't work?
View 1 Replies
View Related
Aug 10, 2010
I am working on an application where I am saving the state of an application in an ArrayList. Now, to save this state, I tried to use Serialization. But, somewhere in the user defined object, I am using Button, which is not letting me serialize the entire object. I wanted to know, is there any other way of saving this array list between onPause and onResume? I even tried onSaveInstanceState, but it doesn't have support for Array List.
View 1 Replies
View Related
Sep 6, 2010
I have a service that is running within the context of my application. It gets invoked at the start of the activity and then gets update when new data is inserted or deleted from the database. The problem is that everytime I start the activity , it restarts the service. As you may have guessed - not a very intuitive design. Therefore I was wondering if there is a way to determine if the service is already running before starting it. I know I can bind to the service but I do not want that since the main activity needs to exits after the database operation is completed. I know for system services, you can get the service details from the application context. How do you do it for user defined service?
View 3 Replies
View Related
Apr 7, 2009
In emulator, the items of GridView(e.g. Launcher) are in alphabetical order. Would you please point me how to implement a user-defined order in Launcher? For example, I'd like 'Browser' to be the first item in Launcher...
View 3 Replies
View Related
Apr 29, 2012
Have been a long time user of Outlook and Blackberry and store a lot of information in the User Defined Fields. Those fields seem to have been eliminated from all of the Android Contact Apps. I don't see them in Motorola Corporate Sync, Touch Down or Moxier Mail. Am I missing something, can't believe the developers of Android apps would just skip those fields. Any App that I can store and sync those fields. Google Contacts has the fields. I have just upgraded from a Blackberry Bold to a Verizon Droid Maxx. Love the big screen on the phone, struggling with the touch keyboard and really struggling with losing half of my contact information.
View 1 Replies
View Related
Oct 5, 2009
Is it possible to pass user defined Intend actions?
That is instead of using predefined Intend actions like "ACTION_MAIN" can I create my own action and use it in my code?
If so how do I do that?
I have been surfing for this detail for long but dint find anything useful. Can any of u help me regarding this?
View 2 Replies
View Related
Oct 20, 2010
I want to center the application title/label in my android app but I can't find a lot of documentation on how to set that property. I have found a couple of posts saying that I can create a custom title bar and change the theme in my manifest but I just can help think there is a simpler way to just center the title.
View 2 Replies
View Related
Apr 20, 2009
Google applications do it, and apparently it used to be part of the public API (via android.os.SystemProperties.) How are we supposed to enable/disable sync on the phone? Disabling/enabling roaming is easy, but I'm beating my head against the wall trying to find a non-hack method for disabling auto-sync (much less the granularity that would actually be nice.) Is this intentional by the framework team? Is it a whoopsie that is planned to be changed later?
View 14 Replies
View Related
Jan 2, 2010
When a user logs in to my online android application, I want to store a cookie on the user's phone so that he doesn't have to log in to the application on subsequent visits from the same phone.
View 2 Replies
View Related
Aug 13, 2009
I want to start my application when phone start and after that i do not want that user can know that my application is running. Is there any way i can do it ? In phone when we press home screen for some times it display all running application.I do not want my application to display in that list.Is there any way to do it
View 5 Replies
View Related
Apr 8, 2010
I want to play a video when the main activity launches from the appicon.
Application.onCreate() is not always called and Activity.onResume/ onCreate is called to many times (e.g. when user goes back from child activity).
How can I do this?
View 5 Replies
View Related
Apr 24, 2009
I am creating an application which connects to the server using username/password and I would like to enable the option "Save password" so the user wouldn't have to type the password each time the application starts. I was trying to do it with Shared Preferences but am not sure if this is the best solution. I would appreciate any suggestion on how to store user values/settings in Android application.
View 4 Replies
View Related
Apr 28, 2010
I find a web site (http://www.appbrain.com/), it can tell me which users download my application, and their device type. However it list 10 users at most.
I wanna know which devices type that my application was running. Does anybody could tell me, how to get the user list? and how to get their device type.
View 3 Replies
View Related
Sep 25, 2010
In my android application, how can I forward user to android market to install another application and after they install it, they come back to my activity?
View 1 Replies
View Related
Jul 11, 2010
I am wanting to know if a developer has the ability to choose not to display the permissions needed for an app they create. For an example if there is a note taking app in the market that says no permissions needed, but in reality, it does have "internet access"capabilities not shown to the user/downloader, Is it possible for App permissions to be hidden and not displayed to the user? Can someone explain to me the process on assigning and displaying permissions on android apps?
View 4 Replies
View Related
Sep 21, 2010
I would like to know if the user is using the application for the first time. I am using SharedPreferences, but I am not sure if I have the right logic. How can I set my isFirstLaunched boolean to true when the user first launches, and then immediately set to false after work has been done?
protected void onStart() {
super.onStart();
if(isFirstLaunch()){
populateDefaultQuotes();
//Save the preferences, isFirstLaunch will now be false
SharedPreferences settings = getSharedPreferences(Constants.PREFS_NAME, 0);....................
View 1 Replies
View Related
Mar 12, 2009
If I upload a new version of the application. Does the user knows that there is a new version of the app?
View 3 Replies
View Related
Apr 22, 2010
I have an application that allows the user to "drill-down" into data. At each level of data the user can choose a Tableview item or a Listview item. This will result in a startActivity() call for display of new data.
I can get back to the top (Parent activity) by using the Back button, which can take a while. Is there a way to "POP" back to the Parent activity and dismiss all previously allocated activities, and not have to go back through all the activities previously created?
View 2 Replies
View Related
Jul 15, 2010
In getting the user-agent string in android devices from my application. I have come across the way of getting it through WebView like - String ua = m_webview.getSettings().getUserAgentString() ;. But i dont want to show any webview to the user. Is there any other way?
View 2 Replies
View Related
Nov 30, 2009
We want to develop an application blocking feature in our project.
Our application (say application "A") will block the installation of specified app (say malicious application "B"). Then we need to know when the application "B" is in installing process.
Is there any APIs about this, or can some one give me a hint on this?
View 11 Replies
View Related
Jul 8, 2010
I have added a mute button to a menu on my application and am wondering if it is possible to store the user's latest preference of either muted or unmuted for use when he/she reopens the application. Here is the code I am using for setting mute or umute:
public void isMute() {
if(mIsMute){
mAm.setStreamMute(AudioManager.STREAM_MUSIC, false);
mIsMute = false;
}else{
mAm.setStreamMute(AudioManager.STREAM_MUSIC, true);
mIsMute = true;
}
}
View 2 Replies
View Related
Aug 7, 2010
I would like to know if it's possible to update a third party application without user action. By 3rd party, I mean an application not located on the Android Market but rather on a specific website.
View 2 Replies
View Related
Feb 4, 2010
I am running a shell script stored in the device from android application by creating instance of Process class. But my script has commands which will be executed only in "su" mode.
View 5 Replies
View Related
Mar 18, 2010
If a user uninstalls an app from his phone, which data is explicitly deleted? I know that preferences are deleted. What about files on the sd card and about databases created by this app? If the data on the sd card is not deleted how can I avoid cluttering the users phone if I write larger amounts of data, like images on the sd card?
View 3 Replies
View Related
Jun 4, 2010
I want to add themes to my android application. In the application, users will have options to changes theme of the application. Please help how do i implement this kind of structure to my application.
View 2 Replies
View Related
Oct 20, 2010
I've published an app today mainly for my forum users to use, just a very simple app that displays wallpapers derived from the forum. Problem I'm having is one guy says it doesn't appear in the market and I've even sent him the APK to install manually but it fails. My minimum SDK version is 4, I created it with the 1.6 SDK specified so not sure why he can't see it or install it. He has a 1.6 Magic handset. So just wondering if anyone has any ideas, the app is called bocn wallpaper, it uses internet and set-wallpaper permissions but I wouldn't have thought the permissions were the problem.
My manifest is as follows:
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
android:versionCode="1" android:versionName="1.0" package="net.dbws.bocnwallpaper">
<application android:icon="@drawable/launcher_icon" android:label="@string/app_name">
<activity android:name=".Main" android:label="@string/app_name">
<intent-filter> <action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
</intent-filter> </activity>
<meta-data android:value="xxxxx" android:name="ADMOB_PUBLISHER_ID" />
</application>
<uses-sdk android:minSdkVersion="4" />
<uses-permission android:name="android.permission.INTERNET"></uses-permission>
<uses-permission android:name="android.permission.SET_WALLPAPER" />
</manifest>
View 1 Replies
View Related
Jul 21, 2009
Use case goes like this:
1) Dev puts game for sale on Android market hoping to make lots of $$ $.
2) Dev makes $50 in a month, cries a little, realizes his game is languishing in the ratings so makes it free.
3) Game does really well and gets > 50,000 downloads.
4) Dev still wants to make some $$$ off his game, so adds a "donate" feature to app which points users to another app dev has created in the marketplace where they can donate by buying the app.
5) Dev wants to reward those who have donated by providing new features only to them.
How do I go about determining if any given user has purchased either my original app, or my "donate" app so that I can unlock functionality? I'd like to determine this even if the user no longer has the app installed on their phone. Then android market app seems to know this which is how it knows not to charge the user again for the same app they've already paid for.
View 6 Replies
View Related
Feb 3, 2009
A customer asked me to create an android application for their internal use. Essentially it would some sort of mobile terminal for a special chemistry database.It doesn't make any sense, to distribute this application via "Android Market" since it is only useful for special users and payment wont be done per installation but for the whole contract.Is there any other way to distribute android apps besides the market? Maybe by putting them on a web page? Any hints appreciated since i couldn't find anything on the web.
View 2 Replies
View Related