Android :: Possible To Programatically Disable Certain Functionality?

Jul 24, 2009

Are the following actions possible using the latest version of the Android API?:

Temporarily disable sending text messages
Temporarily disable receiving text messages

*Ideally, I would intercept them and queue them up for later delivery.
Temporarily disable incoming calls except from certain phone numbers
Temporarily disable outgoing calls except to certain phone numbers

Android :: Possible to programatically disable certain functionality?


Android : Disable Pan / Zoom Functionality Of A MapView?

Sep 1, 2010

How can i disable the panning/zooming functionality of a MapView (not the zoom controls, i want a wholly static map)?

I've also noticed that touching the map doesn't seem to trigger the MapView onClickListener, could anyone elaborate why?

View 1 Replies View Related

Android :: Need Email App Or Functionality

Nov 22, 2010

I come from using a blackberry and am now using the samsun fascinate. I have my work email set up but one thing i haven't found the ability to do is to perform a search for my emails. On my blackberry I was able to search by subject, person's name and read/unread and i was looking to do the same thing but i have not found where i can do that or an app that will assist me with this.

View 2 Replies View Related

Android :: Need App To SD Functionality On Droid

Sep 10, 2010

I'm getting more and more requests about being able to use an App to SD feature that must be part of Android 2.2, but I really have no experience with it. I also don't know where to find any documentation regarding how to make my apps compatible with this feature. People have told me my apps cannot be moved to the SD card. My mind is also telling me that this is a really bad idea for paid apps that don't have license protection of any kind. Has anyone had any experience with this, know of any documentation, or have any tips regarding what would stop an app from being compatible with this feature?

View 3 Replies View Related

Android :: Use Connectbot / Ssh Functionality In Own App?

Oct 28, 2010

First, I'm new to Java and Android Development so I hope you're patient with me :)

My aim in my first app is to establish an ssh-connection to my linux machine running openssh and sending commands to it on the one hand and receiving stdout on the other hand.

Since there is an app for doing all the ssh that absolutely benefit to my needs, (connectbot) I thought it would be the best not reinventing the wheel and using connectbot for sending commands.

As I read there is a general mechanism in android to do so called intents. And I found that connectbot seems to offer such intents, but I don't feel able to use them at the moment and I'm not quite sure if it it works that way in general:
http://www.openintents.org/en/node/102

As I said I'm new to Java and android and only did a few hello world examples using these great xtensivearts video tutorials:
So its a bit hard for me to get started the right way. What do I want to do exactly?

Simply onpressbutton in my app -> sending a certain command in the background to the ssh-connected machine via connectbot or anything that can provide that.

In further development I would like to get data from the ssh-connected machine (stdout would be enough due to I could handle the output server-sided)

All this has to take place in the activity of my app. Even username and password should be configured via the settings of my app.

It simply should use the basic features of ssh via connectbot.

I would be really happy if you could help me getting started right with this issue. I know it sounds a bit hard for the first app but I really need ssh in my app cause it would greatly facilitate the server sided development.

View 3 Replies View Related

Android : Need Opinions Regarding EVO 4G's GPS Functionality?

Jun 5, 2010

My first smartphone was the first generation iPhone which I still use to this day. With the release of the EVO 4G and the coming release of the 4th generation iPhone, I am excited by the choices I have.

Let me explain: I love how the GPS works on my friends 3GS iPhone. I love the way you can find yourself on the map and the little dot moves along the street with you.

Questions:

1.) Does the EVO 4G have a function like that?

2.) The only Youtube videos I can find regarding the EVO 4G's GPS function are all related to driving. Can anyone link me to a video of a person using GPS while walking around?

3.) I would like your opinions regarding the EVO 4G's GPS functionality.

In closing: I will be honest here, if the GPS experience on the EVO 4G is not as sexy as on the iPhone, I probably will end up purchasing the iPhone. I will admit though, the EVO 4G sure is a powerhouse of a smart-phone.

View 5 Replies View Related

Android :: Update An Apk Over Air Programatically?

Jan 20, 2010

I have an application I wrote for Android (lat's call it MyMainApp).

My contractor wants me to write another utility (service) to periodically check his website for newer versions of MyMainApp, and if there is one - download it and install.

I know this is handled by the Market app, but my contractor wants to do it in his own utility (he does not want the user to be bothered with the update process).

Of course - the user will be notified and agree to this feature. Can this be done?

View 2 Replies View Related

Android :: Request For Shake Functionality

Nov 21, 2009

The things that sometimes a brute force shake would be most helpful for and that I would pay money to have my phone do:

1. Shake to full brightness. When it's too bright to see the screen, it's a PITA to try to get the brightness turned up.

2. Shake to current phone call. Occasionally, I exit the phone app and it's frustrating not to be able to hop back over there quickly.

3. Shake to unlock. It's annoying to always be swiping when I just want to quickly check something on my phone. A quick shake would be much easier as an option.

View 15 Replies View Related

Android :: NS Predicate Like Functionality For Collections?

Jul 11, 2010

Anyone know of any libs for Collections that are similar to iOS NSPredicate? The NSPredicate classes allow you to specify SQL-like filtering rules which can be applied to collections of object, other collections, etc., to retrieve filtered results.

View 4 Replies View Related

Android :: Scroll Past Top Functionality?

Jul 2, 2010

how to achieve the "scroll past top" functionality that you see in some apps (like the HTC Sense email app for example) where when you scroll up to the top of the list and try to scroll up past that, it appears to pull down, and when you release it springs back up?

View 1 Replies View Related

Android :: Missing Network Functionality / Way To Fix?

Jul 31, 2010

Can any version of Android support simultaneous connections on both a mobile network (e.g. 3G) and a WiFi network? Here's the requirement: I want to connect to a local Wifi network of sensors/devices that is not connected to the Internet, and be able to transmit data to an Internet-connected web server. Obviously quite easy to do on virtually any platform in Java, but it seems that Android does not allow multiple networks/radios to be active at a time. Big flaw, IMO. Should be a configurable option to allow that. With Froyo and mobile hot spot functionality, clearly it is *technically* possible to do, but I don't want to be the Wifi "host", but rather, a "connected client" to another Wifi network, and then do web requests over the 3G network.

View 4 Replies View Related

Android :: Any Window Registry Like Functionality

Feb 20, 2009

I want applications to check whether hardware supports touch, single touch or multitouch. Based on that applications should enable different behaviors.

View 2 Replies View Related

Android : Possible To Extending Contacts Functionality?

Oct 14, 2009

I know this question was asked couple of times in this list, but I haven't found any answer in archives, and last time this subject was debated almost a year ago. Does anyone knows is it now possible to somehow extend contacts functionality (for example: add custom field for VoIP phone number in which case user can use it to start custom activity for voip)? What are Contacts.ExtensionsColumns for?

View 7 Replies View Related

Android :: How Do You Switch Activity Programatically?

Aug 28, 2010

It seems like every example I can find of switching between Activity's involves creating an Intent and passing in the context of a View via an OnClickListener associated with a button.But what if you just decide you need to switch Activity's? In my case, a Preference value is causing an Activity switch. How do you create an Intent that can cause an Activity switch without an associated OnClickListener?

View 4 Replies View Related

Android :: Possible To Clear Notification Programatically?

Apr 19, 2010

Is it possible to clear a notification programatically?I tried it with the NotificationManager but its not working.Is there any other way i can do it?

View 2 Replies View Related

Android :: How To Scroll Programatically ScrollView ?

Jan 8, 2010

I have a little problem with a ScrollView.I have a layout for an activity which is made with a ScrollView. This scrollview contains two ListViews.<?xml version="1.0" encoding="utf-8"?>
<ListView android:id="@+id/accountsListView"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:scrollbars="none" />
<ListView android:id="@+id/cardsListView"
android:layout_width="fill_parent"
android:layout_height="wrap_content" android:scrollbars="none" />
</LinearLayout>In onCreate method of my activity I compute ListViews height according there contents.During execution, on activity launch, ScrollView is already scrolled a bit.So I tried, at the end of onCreate to call method scrollTo(0, 0), but it does not change anything.

View 1 Replies View Related

Android :: How To Set The Wall Paper Programatically

Jul 10, 2009

I have To set Wall Paper In application by writing the code programmatically. when i press the Grid view Image will get full screen ..... that image i should keep as a wall paper in the android mobile screen how can i do that in programatically. I have done some thing like this ....is it correct or any other way to do it.

CODE:...............

View 3 Replies View Related

Android :: Programatically Set Dialog Size?

Dec 14, 2009

I want do set size (in px) of dialog based on screen resolution, so I have to set dialog size programatically during runtime.

Dialog layout is defined in xml with all standard views, so it would be nice to have better way to set dialog size than override-in top view's onMeasure(...).

View 1 Replies View Related

Android :: Set InputType For An EditText Programatically?

Apr 6, 2010

How do we set the input type for an EditText programatically? I'm trying:

mEdit.setInputType(InputType.TYPE_TEXT_VARIATION_PASSWORD);

it doesn't seem to have any effect.

View 2 Replies View Related

Android : How To Remove Apps Programatically?

Jun 29, 2010

Is it possible to remove an application programatically? If so, shall I look at the package manager for that or is there an example some place? When a package is installed, I believe there is a broadcast message to the system saying that. Is it possible to capture that broadcast message?

View 6 Replies View Related

Android :: Set A New View's Margins Programatically

Sep 4, 2010

I have a FrameView that's created in my XML layout, and in my code, I'm trying to create a series of new ImageViews and add them as children of this FrameView. The ImageViews are small, only about 15 pixels square, and I want them to show up in various positions around the FrameView (I'm trying to implement what looks like a radar screen). I'm able to create them and add them just fine, and they show up on the screen.

However, when I try to set their margins, it doesn't seem to have any effect. No matter what I set, all the ImageViews show up in the top left corner of the FrameView, as opposed to offset by the appropriate margins. My XML layout is listed below, along with the code that generates the child views. Am I doing something wrong? How can I get the margins to show up properly? Or is there a better way to do this than by using margins.

XML:

CODE:....................

Java:

CODE:...............................

View 1 Replies View Related

Android :: Programatically Scrolling An EditText

Feb 13, 2010

I'm writing a simple caesar-encryption-activity. Two EditTexts on screen, one clear-text, one crypted.

Here's an example for the crypted EditText - the cleartext one is similar.

CODE:...................

Now when entering cleartext I have an TextChangedListener running that programatically crypts and fills that crypto-EditText. So far, so good.

When the cleartext entered gets really long, the cleartext-EditText scrolls with my imput, but the crypto-EditText stays at the top of the text. I'd really like the crypto-EditText to scroll so that it always shows the bottom line of its content.

How can that be done, preferably from the onTextChanged()-Method of the TextWatcher?

View 2 Replies View Related

Android :: How To Programatically Push My App To Run In Background

May 31, 2010

How can we programatically push our app to run in background? I am doing one browser app. and when I am directly launching my application and clicking back key . It will show in the list of background running process.At this time Category is "CATEGORY_LAUNCHER" but at the same time if we try to run same app via third party app.and then clicking back key,its not showing in the list of background running process.Here the Category is "CATEGORY_BROWSABLE".and its not displaying in the list of running process.I noticed that the same behaviour in default android browser. But is their any way to make my app to run in background by clicking back key without killing my application?

View 6 Replies View Related

Android :: Add Menu Icon Programatically

Aug 6, 2009

In menu.xml you can specify an icon:

CODE:.................

Whereas in code you create entries thus:

CODE:........

How in the code version do you specify the icon please?

View 2 Replies View Related

Android : How Do You Capture A Screenshot Of Your Own App Programatically

Sep 29, 2010

I know you need root access if you want to capture a screenshot by using a background application. However is it possible to just grab the screen content of your current visible activity owned by your process? This does not seem like a security constraint since the user has already installed your app is currently using your app. If so how does this work?

View 2 Replies View Related

Android : Create TableLayout Programatically?

Oct 7, 2009

I'm trying to create a TableLayout programatically. It just won't work. The same layout in an xml file works though. Tcode...

When I run this, I don't get a crash, but nothing appears. If I get rid of the TableRow instance, at least the button does appear as a direct child of the TableLayout. What am I doing wrong?

View 3 Replies View Related

Android :: Add Permissions To App Manifest Programatically?

Nov 19, 2010

I am trying to add permissions to my application manifest, so it can access other apps that the user installs at runtime. I thought the way to do this was to define a permission-tree in the manifest, and then use PackageManager.addPermission() to add permissions under that tree. However, I can't get this to work and the documentation I found wasn't conclusive. Could anybody show me how to do this by means of a simple example?

View 3 Replies View Related

Android :: Overriding The Functionality Of Home Button

Sep 21, 2010

greetings, We are trying to produce a custom communication product that is based on android 2.2 source tree. This product has only one physical button (will be assigned as Home). Is there a way to override the functionality of this Home button so it can pop-up three button activity that simulates the actual Back, Menu and Home button on a regular android phone. Is there any specific configuration when compiling the 2.2 source tree to achieve the desired behavior without modifying the source code? If not, can anyone please provide some hints on how or which portion of the source to modify?

View 3 Replies View Related

Android :: Adding Go Button In SoftKeyBoard & Functionality

Apr 5, 2010

I want to put "Go" button in android application softkeyboard for search and other related scenarios can any one guide me how to achieve this? with example.any help would be appreciated.

View 3 Replies View Related

Android :: Replacing Sense Apps For Functionality

Jul 26, 2010

I have a Droid and accordingly, have all of the stock Google Apps which come with Vanilla android. I work in the IT department at a University, though, and we're trying to decide on policy regarding the syncing of mobile phones and the level of support which we offer to customers. Android phones have been a burden because of manufacturer customization. We've had many issues with Galaxy users, motoblur users, and especially Sense users, specifically related to syncing properly with exchange servers.I've only just realized that the manufacturer customizations are not just skins, they replaced entire apps, such as the email app, with what seems to be inferior apps. Vanilla Android, with the stock email app seems to have no trouble syncing to the exchange server. On the other hand, the Sense app, for example, will not. Instead of recommending fixes for each manufacturer, we are recommending the use of Touchdown (which is 20 dollars and it bothers me to have to recommend one of the most expensive apps in the market).I know that the stock app has no issues with Exchange sync of calendars, contacts, and email. Is there any way, on a non-rooted HTC phone for example, to replace the sense app with the stock app?Worst of all is the fact that instead of finding a resolution to the issue, the school is recommending the iPhone, stating that it is "more compatible" with the school's server. I know this isn't true and hate sending business in Apple's direction, so I'd really like to help find a resolution to this.

View 1 Replies View Related







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