Android Popup picker?
I am looking for the right UI widget to use for this requirement: When the user clicks a button, a modal list appears, the user clicks and item and then the focus is returned to the active Activity. ...
I am looking for the right UI widget to use for this requirement: When the user clicks a button, a modal list appears, the user clicks and item and then the focus is returned to the active Activity. ...
When I write web apps I rely on frameworks like jQuery, likewise in WinForm I use DevExpress's UI. Is there a UI framework with fancy looking buttons, graphics, transitions etc etc that I can rely on to build great looking apps ? ...
I am designing an application that has one requirement of enabling the user to edit and view rich text content. I am not talking about Microsoft Word like editing but more something along the lines of the RichTextControl on Windows or the various Javscript BBCode Editors. The ability to embed images would be an advantage though. The pl...
Hi. I have a new earthquake notification android app thats in it's initial release version. I have a problem currently. My app has a service running in background, this schedules itself to run every X period. To schedule itself it needs to run atleast once. Currently that happens when you boot the phone. Obviously I do not want user to...
I'm trying to make a customized build (as described in the porting guide - http://source.android.com/porting/build_new_device.html) and always end up with the error message make: * No rule to make target vendor/company/emh-board/kernel', needed byout/target/product/emh-board/kernel'. Stop. Does anyone know why this is happening. I start...
Hi, new to the community. been up all night trying to flesh out the underlying html reading system that's at the core of my app's functionally. I could really use a fresh pair of eyes on this one. Problem: While trying to return a string to be displayed on my app's home activity, I've run into an issue where I'm almost certain that th...
Hi all. I'm getting an "Invalid Character Constant" under the " 'D " just after UPDATE. Any Ideas? ORIGINAL : public Cursor fetchAllJournals(String sort) { mDb.rawQuery(UPDATE 'DATABASE_JOURNAL_TABLE' SET 'KEY_JOURNAL_NOTES' = (SELECT COUNT(*) FROM 'DATABASE_HOMES_TABLE' WHERE 'DATABASE_JOURNAL_TABLE'.'KEY_JROWID' = 'DATA...
I have just started with Android development and bought a handset(HTC Hero) for test and usage purposes. The sad part is that it doesn't display one of the scripts (Devanagari to be precise). Hence, I would like to contribute to the Android project to help render it. However, since I have just started I have no ideas of where to look for...
I have a scrollable and zoomable map which has a low res copy of the map which is drawn when the zoom scale is small and a tile system when the user zooms in past a certain point. The problem im having is that the very first time the tiles are drawn there is a short, but noticable lag. After that initial lag everything is smooth. The GC ...
I am trying to make an Accordian control where each section would have its own view accompanied with its own activity. With the TabHost I can add tabs based on Intents and it is this behavior I am trying to understand how to use. So given an intent or an activity how can i get the view? ...
I'm trying to open database as follows : SQLiteDatabase myDatabase; myDatabase = openOrCreateDatabase("sudoku.db", Context.MODE_PRIVATE, null); This code works fine when I implement it in the Service class, but when I try to implement this in the onPostExecute eventhandler of the GeneraterThread class,implementing AsyncTask, I get the f...
This question has been asked before - but with no satisfying answer at all! So I'm trying it again. I want to give my application launcher icon (the one that is displayed on the startscreen!) a different, shorter caption. It seems the launcher takes its label from the mainfest section about the main activity's label, as here: <activity...
On my android phone (2.1) I'm seeing a strange behavior with setTimeout when keeping a finger pressed on the touchscreen for a while. This very simple code in fact works fine (1 call each second), until I scroll for a while the window (2-3 seconds are sufficient), when it stops being called $(document).ready(function(){ spam(); });...
Hello all, I have a auto-complete textbox in which the user makes a selection. From here I want to load a tabbed layout which is based on the user selection. The problem is I cant figure out a clean way to pass that selection to each of the tabs. At the moment I can pass an intent to the 'tabhost' activity and then pass to each child ac...
Android 2.1 - I'm trying to work with the Camera via a widget. My widget sets up and calls mCamera = Camera.open();, I can do everything with the camera, but when I go to release the camera via a 2nd widget click, mCamera.release(); throws a NullPointerException. How much I find out why that is? ...
I am working on an Android project where a group of buttons needs to show on the bottom of every screen (activity) in the application. The group of buttons are basically a navigation bar. I want to know the best way to do this without creating new buttons for every activity. I have been around programming (C++/C#) for many years but a...
I use the following code to see whether the code runs on a small screen. This works fine in the emulator. However when the code runs on a HTC WildFire it fails. DisplayMetrics dm = new DisplayMetrics(); getWindowManager().getDefaultDisplay().getMetrics(dm); if (dm.heightPixels==320 && dm.widthPixels==240){ /* Here ...
It does not seem possible to use REGEXP in a SQLite query in Android. If it is possible, please point me in the right direction. Is there a way to use a LIKE condition to query for an expression at the beginning of any word in the result? Example: Entries: 1. Minimum 2. Aluminum 3. Last Minute Query: "min" Desired Result (1)...
Is this even possible without calling a specific package? I have found countless examples of sending email via intent, but I can find nothing about simply opening the default email client on the device via button press (preferably with a chooser dialog in case the user has multiple clients). ...
When entering text into a normal TextView, the soft keyboard usually suggests words from a wordlist. With an AutoCompleteTextView though, I haven't succeeded to do this. Currently, I use this as my inputType: android:inputType="textCapSentences|textAutoCorrect|textAutoComplete" The autocomplete box shows up as usual, but not the sugg...