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.

Android :: NS Predicate like functionality for Collections?


Android :: App For Collections - With Import

Jan 28, 2010

I'm looking for an app that will let me store my lists -movies to watch/have watched, books to read/have read, music I have, music I want, etc. Right now they are in a spreadsheet format. I thought I could use Google Docs but editing a spreadsheet there is a lengthy process at best.I tried Cards (-) which has a nice customizable data structure. I was able to create the fields as I wanted them to be, but without an import feature it would not be worth the effort. I also tried "My Collection Free" but the data structure isn't customizable, so I couldn't add fields like "read?" or "series".I don't really need anything that scans, although that would be a bonus. Ideally if it could save or sync to a website that would perfect because I could make edits either on my phone or PC.Any suggestions? Are there apps or even websites out there that would do this type of organization well?

View 6 Replies View Related

Android :: HashMap / ArrayList And Fastest Way To Iterate Collections On Android

Jan 17, 2010

Simple question, what is the fastest way to iterate through collections on Android? I generally use collection.iterator(); and the iterator.next() to iterate through the whole collection. Is it any faster to drop that and iterate with "old" (and I use the term old loosely) for( int i=0; i<collection.size(); i++) ? I was thinking of getting the collection.size() into a separate variable so I wouldn't be asking the collection it's size all the time so basically the for loop would turn into something like this: int size = collection.size(); for( int i=0; i<size; i++ ) collection.get(i); Any better? Speed wise, I mean. I'm in a point where I need to get every possible inch of speed for my application. Or maybe allocate everything into Lists in the start, and once I know the correct amount of data, I turn all that into arrays and drop the Lists so I can have array[index] (Log(1) access, right? OH wait. how did this go again access instead of having the "slow" method calls in between like .get(); when accessing the data in the collection.

And what about getters & setters for Classes? Like let's have a Vector2D class that contains obvious integer x and integer y values. What is the fastest way to access them inside the class? Have them as public and just straight Vector2D.x = someValue; or through getters and setters? I've had much debate with my tutor about this (working on my final year project) but not to get too much into details of it. Also all links for further Android application optimisation are more than welcome and greatly appreciated (I read the googles docs on this already). Plus if you have found some really good tricks / quirks on Android to punish the device even more so it runs faster, do share, do share. Please be gentle on me, I'm such a beginner in all things Android that I feel absolutely dumb as a boot for asking these kind of things. I come from strong C++ / Java background but getting the extra inch of speed for everything on Android is so different than optimizing code for PC side and not that you even have to do it on PC side that often.

View 3 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 :: 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 :: 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 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

View 1 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 :: 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

Android :: Metronome Application With Similar Functionality

Sep 13, 2010

Does anybody know of a metronome app that really works well and has similar functionality to this. Tempo (Metronome with Setlist) Music App | Macworld, but of course works on our much better platform.

View 4 Replies View Related

Android :: Missing Functionality / Calendar / Unlocking?

Sep 1, 2010

So after 6! years of Nokia 6230, I finally bought an android phone - HTC Desire. And while of course this is like switching from a Peugeot to a Porsche, there are still some functions i was unable to find / figure out so far! I'll number my questions and edit in your solutions, because I'm sure future users will have similar questions.1. a REAL event reminder (calendar): True, i can choose between different sounds that remind my when something in the calendar is due. However, it only lets me choose options like "Ascend", "Freeze", "Facebook pop" and others which at most last 5 seconds. What I need is something that keeps beeping until I turn it off, like an alarm clock, or at least beeps really loud for more than a minute! 2. I can only choose from default settings when i set when to remind me of an event (5 mins, 10 mins, 24h...), on my old phone i was able to set a custom remind date+time, like "the day before at 9.15pm"! I'm sure this is possible as well in the Android calendar?3.Also very annoying in Sense: If I choose to lock my screen and use a drawing pattern to protect it, I have to FIRST drag the bar down and THEN draw the pattern to unlock, which is kinda unnecessary and very annoying, because I'm locking and unlocking my phone really often. Is there a way to disable the "unlock bar"?

View 1 Replies View Related

Android :: Is There A Way To Implement Screenshot Functionality In Phone?

Sep 10, 2010

Is there a way to implement screenshot functionality in phone?

View 12 Replies View Related

Android :: Library - Share Functionality For Pictures

Aug 22, 2010

Does anyone know of a library that will give me the "share" functionality for pictures? Ie, how in many apps now you are given the option of sharing a page or image with facebook, twitter, email, sms, etc.

View 6 Replies View Related

Android :: Overwrite The Functionality Of The Home Button?

May 23, 2010

Essentially, I just want to change the home button from just hiding my app to killing the activity that is on the screen.

I thought about writing a broadcast receiver that kills the activity, but I'm not sure how to kill the activity from the receiver.

How do I change the functionality of the home button to "finish" the specific activity?

View 3 Replies View Related

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

Can Android Push Functionality Be Made As Good As IOS

Apr 20, 2012

how "push" works in my Android App. My phone "chimes" - (screen does not light up or anything).I've got to:

A) Push button to wake up phone
B) unlock phone
C) drag down notice area
D) Find the push message for my app
E) Tap on it
F) Finally - I'm at my App and it processes my message.

Here's how my App works under iOS:-

A) "Slide to unlock" (because the "push" already woke phone screen up)
B) I'm at my App instantly.

Can Android settings be adjusted, or push message parameters be changed, or an Android "service" be written, that could make the usage of my App upon receipt of an android "push" notice lots more simple? (e.g. to light up the phone screen if it's asleep, and to auto-open my app at the right token as soon at the device is unlocked after getting the push notice?)

View 4 Replies View Related

Android Buttons In App - Loosing Clickable Functionality

Apr 4, 2014

I am new on android and working with android version 4. I have develop an app for sending notification to all the devices registered through this app. So I am facing problem with buttons used in the app. Most of the time all the buttons are working fine. But sometimes these button are not doing anything, seems they are loosing there clickable functionality.

View 2 Replies View Related

Android :: Add Event Functionality For Login In Java Code

Sep 15, 2010

I did log in form in android, How to add the event functionality for this login form, Now login form display, I want to add the java code, That is When user enter his username and password, Get the value into variable and page redirect and system should show , you have enter this username and password ..chk the scrren shot..

View 3 Replies View Related

Android :: Adding Smooth Scrolling Functionality Into Application?

Nov 23, 2010

I would like to add the smooth scrolling functionality into my application. i.e. I have a huge text and I want to scroll it automatically (like in book readers) Could anyone offer any examples of smooth scrolling?

View 2 Replies View Related

Android :: IPhone OS - Programmatically Enabling / Disabling Certain Functionality

Sep 17, 2010

I asked this a while back and didn't get anything useful. I'm hoping now that Android has advanced a few releases, that there will be more options. Here are the things I'm trying to accomplish: Prompt for a PIN when you uninstall a particular app. This would have been set at install time by the user. Disable certain services (text, phone). What would be even better is if I could be selective about it instead of just turning the radios off. For example:

a. intercept outgoing call, is it to one of a few allowed numbers?, yes
=> allow it, no => deny

b. intercept incoming call, is it from one of a few allowed numbers, yes =>...........................

View 1 Replies View Related

Android :: Can I Restrict Backbutton Functionality Upto 3 / 4 Levels?

Sep 3, 2010

I am fighting with android hardware backbutton now my question to you is can i restrict its functionality upto 3 or 4 levels? right now for example, i have 1,2,3,4,5,6,7,8,9,10 activities i go to 1 then 2 then 3 .... upto 10 and start pressing backbutton it takes me to 9 then 8 then 7 upto end i want to keep track of only last three levels is this possible or not?

View 2 Replies View Related

Android :: Drag And Drop Functionality / Custom Drawing

Apr 8, 2010

I am working on something that needed custom drag-and-drop functionality, so I have been subclassing View, doing a bunch of math in response to touch events, and then rendering everything manually through code on the canvas in onDraw. Now, the more functionality I add, the more the code is growing out of control and I find myself writing a ton more code than I would expect to write in a high level environment like Android.

Is this how it's done, or am I missing something? If I'm not doing anything fancy in the UI, the framework handles the majority of my interactions. Built-in controls handle the touches and drags, and my code is pretty much limited to business logic and data. Is there a way to leverage the power of some of the UI controls and things like animations while also doing some of it manually in the onDraw canvas? Is there an accepted standard of when to use one or the other (if indeed the two approaches can be mixed)?

View 2 Replies View Related

Android :: 2.2 (Froyo) SQLite Missing IN Clause Functionality?

Sep 29, 2010

Recently I updated my Nexus One to Froyo (2.2) and I've noticed some significantly different behavior with SQLite. For example, I had been using a subquery (returning string data) as part of an IN clause, and the subquery portion no longer appears to function correctly. I've attached an example SQL query working with the contacts database below (Direct query shown for illustrative purposes only):

SELECT _id FROM data WHERE display_name IN (SELECT display_name FROM contacts); Up until Android 2.1 this was not a problem. After the update however, this returns an empty record set unless I run the subquery separately, surround each of the resulting values in single quotes and append those values directly into the IN clause. I have noticed this loss of functionality in multiple applications I'm working on, but I should note that it does appear to work when the results would be numeric rather than string based.

View 1 Replies View Related







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