Change Content Management System
Nov 20, 2012
I've recently started programming my first android app in eclipse using java and xml and I'm relatively new to both languages.
My App will contain mostly static information for students in university which I plan to simply save as text in the xml itself but the clients wish to have a few pages on the app with content that they will be able to change regularly without having to look at or understand any code.
Basically what I'm looking to do is have a basic content management system that can only be accessed by the client and they can use it easily enough to change the content of those specific pages.
View 7 Replies
Aug 7, 2010
I understand, at least on paper, the basic difference between the Content Provider and just directly accessing the SQLiteDatabase. I have a functioning prototype for my application, and currently it is just directly hitting the database. I don't really have any experience using the Content Provider pattern, but I have found out that I will need to share some data with another application.
I will only be sharing about 2 out of a dozen or so tables, so I was wondering if I should be just completely redoing the data layer to follow the Content Provider pattern, or just expose only those tables via a Content Provider for the sake of the other application and still directly access the database in the primary application.
One of the issues I ran into with my prototype was that I have some fairly complex transactions, and the code I wrote to get that working is not designed particularly well and isn't reusable at all. As I add more functionality to this app, I'm going to need a better designed data access layer, before I set off writing my own, does anyone know of any good resources with design patterns for this type of thing already? Also, if I need to go the Content Provider route, am I going to have solid control over the database transactions?
View 2 Replies
View Related
Oct 30, 2009
I currently have a personal (HTC Touch Pro) and business phone (iPhone). With Sprint now offering unlimited any-mobile (freeing up 1300+ minutes a month on my family plan) and Google Voice allowing me to get a separate business number, I'm thinking about dropping my iPhone, and replacing the HTC with either a BlackBerry Tour or a Hero. I work in project management; I know that the BB does have applications that would be useful to me (as does the iPhone), but I can't find comparable apps for Android. As a personal phone though, I would rather have the Hero. Given that I've only been able to spend a limited amount of time browsing the Android Market in a Sprint store, I was hoping someone here might know of some good replacements for my "must have" apps.
1) PIM / Task management. I have a lot of tasks, meetings, and deadlines to manage. I need something similar to the functionality provided by Outlook. I currently use Pocket Informant on the iPhone, which allows me to view multiple calandars, see my schedule from the month-level view, and integrate my to-do lists. I can also assign calander events and to-do tasks to projects, give them priority, provide extra notes, add multiple reminders, etc.. I could probably live with the Android's calander, but I definately need a good to-do app.
2) Time tracking. I have an app on the iPhone (TimeLogger) that lets me track how much time I spend on projects for clients. The one I currently use allows me to start a timer and then come back later to stop it, which is helpful but not a must.
3) Personal finance manager. I track all of my purchases, have several accounts / cards, and need to be able to track/filter business vs personal purchases.
View 5 Replies
View Related
May 26, 2009
Can i pro-grammatically get a list of content providers extant on the system?
View 7 Replies
View Related
Aug 10, 2010
In my app i need to read the data at a content provider before the system actually initializes. Probably what i understand is that a boot complete intent would launch a homescreen activity.Exactly before the system initialized i want to see the data provided by the content provider and use it.
View 2 Replies
View Related
Dec 9, 2009
Not sure of the absolute utility of this but seems as though it should be possible and useful. Can you extend ContentProvider to provide URIs representing new queries (i.e., joins across multiple tables not specified by existing URIs) for an existing system database? The alternative seems to be that I need to write a series of cursor queries then join them -- seems like a lot of unnecessary code duplication.
I have been trying this for the contacts database as an exercise, but no love so far. The crux seems to be that I cannot open a database in another package during the setup phase. Am I just completely out in left field here? It's possible as I am new to both Java and Android.
View 1 Replies
View Related
Nov 24, 2010
I want to change setting in native application (i.e. SMS) by pointing it to different content location.
Ex - At given fraction of time, native application is pointing to list of SMS (com.android.providers.telephony.databases.mmssms.db).
I want to point to different location, that might be com.android.providers.telephony.databases.mmssms1.db
View 1 Replies
View Related
Sep 23, 2009
I use Java API "System.setProperty()" to set a system property. After invoke "System.setProperty()", API "System.getProperty()" can return the value just I set. However, when I use command "adb shell getprop" to verify, it shows that this property is not set at all. Do I wrongly understand API "System.setProperty()" ?
View 9 Replies
View Related
Jun 29, 2010
I need to change Text( SMS) message content before save in in-box. Is it possible to change text message content in BroadcastReceiver?
View 2 Replies
View Related
Aug 20, 2010
I have been reading a lot of comments on how it is more lightweight to use views instead of intents in setContent when using tabs.
Since I will be creating an app with tabs, I am trying to implement this instead of having intents inside setContent. However, I am having a difficult time looking for examples or straightforward tutorials on swapping the current view with another one.
Say I have TAB_A, with some entry fields and a button. When the user clicks on the button, a TextView will display "Hello, user!" in the same TAB_A. Of course this is an oversimplified example, but it will surely point me in the right direction.
EDIT: I have a tab called TAB_A with a button in it. If the user clicks on that button, TAB_A will now display "Hello, user!" instead of the button.
Here is a sample of my TabSpec.
CODE:..............
Where ShowButton and ShowHello are classes both extending LinearLayout. Both are initialized in onCreate like this:
CODE:.............
When the app first starts, the user sees the view showButton. When the user clicks on the button, I want the tab to change its contents to showHello.
The question then is: Is there any way to update the contents of the tabspec without using startActivity?
View 2 Replies
View Related
Apr 22, 2009
If I create a content provider to service a live folder, and if this content provider is just a wrapper aggregating other content providers, how does the live folder know if the real content has changed somewhere down the line.
For example, I have a live folder that has items pointing to video, audio, and notes. Each item in the cursor (such as an aggregated matrix cursor) may be pointing to a different underlying content provider. But each item will have its own uri.
Does the live folder view register for content changes for each uri? Or is it the responsibility of the wrapper content provider to register for content changes and then notify its client the live folder?
View 6 Replies
View Related
Jun 10, 2009
Using ContentResolver and ContentObserver, it is possible to receive notifications in the function onChange() when some data is changed within the content provider. However, I fail to see if there is a way to see the URI which triggered the notification.
For instance, if I want to play a sound when someone deletes "Kara Trace" from my address book or whatever - how do I do that, if not by having another copy of the whole content provider dataset, and then comparing the old dataset copy with a new one? Can someone confirm me that the hard way is the only way?
View 7 Replies
View Related
Mar 16, 2010
I have a ListView in my android activity. And I populate the ListView by sub-class the BaseAdaptor (which returns a View in getView() method).
What if in my click listener of a button in a list item view, I change the text of the TextView in the List item view or change the dimension of the list item view by adding/removing children of the list item view
What is an efficient to refresh my listView? I don't want the listView to re-trigger a query since there is no data change.
View 2 Replies
View Related
Sep 30, 2010
I want to change the lower half of the screen when the user wipes with the finger, but got no idea how to start. The upper half with sone TextViews should stay fixed. Do I need more then one activity, or can I just change the layout portion on the lower half?
View 1 Replies
View Related
Nov 20, 2010
I have been asked to create an app to buy sell and advertise a product. I have chosen dvd's to keep it simple. Using the tutorials on the android developer site I have created 3 tabs one for PG films one for 15 and one for 18. Now in these tabs I want to have a button that then changes the content of the tab but keeps the tabs.
I have tried so many things and the only thing I have been able to do is start a new activity but that gets rid of the tabs :( and I have tried many other things been up all night trying to work this out. If someone could just point me in the right direction to how to go about this would be great. Is it even possible?
View 1 Replies
View Related
Aug 30, 2010
I've had my Droid X for a couple of weeks now and am still acquainting myself with things.
I downloaded Instant Upload (a nice, simple FTP app) that allows me to upload individual files from my "Files" browser directly to a web server... but I'm curious to know if I can add this as an option in my "Share via..." menu?
The "Share" menu has a bunch of options I will likely never use, but I do use some of them, and additionally I would like to add certain apps such as Instant Upload to the mix. Is it possible to manually modify this list?
View 1 Replies
View Related
Sep 14, 2010
I have a layout which contains a TextView.
The content of the TextView might change on runtime. (discussed on a different issue here: http://stackoverflow.com/questions/3683727/layout-with-dynamic-position )
I can position the layout by drag&drop. If the size of the layout doesn't change, the position stays, but as soon as the size of the layout changes (because more text inside the TextView) the position is reseted.
I use the layout(left, top, right, bottom) to position the layout.
Now I don't know where I should add my layout() call to make sure it stays at the right position...
Here is my class
CODE:............
View 1 Replies
View Related
Apr 18, 2010
I am currently trying to customize ImageButton to show different draweables as background of the Button while keeping the image set via the src attribute.
That's my custom_button.xml:
CODE:..............
View 2 Replies
View Related
Apr 1, 2009
Has anyone found a way to change the G1s system sounds? For example I want my G1 to have a different "Audible selection" noise. Instead of the click noise I would like to use an MP3.
View 3 Replies
View Related
Mar 16, 2009
I am making a small application, where i have several images. When i ckicked on one of the images, it should become the system wallpaper.
View 2 Replies
View Related
Dec 29, 2013
Is their any way to change system animations, except using frameworktool?
View 1 Replies
View Related
Nov 9, 2010
How do i do it? i am on rubix rom, but want to change the system fonts to something else...
View 1 Replies
View Related
Oct 2, 2010
Does your HTC Desire need to be rooted so you can change the system font? For example the font below icons? I've had a look through these forums and not seen an answer to this.
View 1 Replies
View Related
Sep 23, 2009
I have read through android reference, can't figure out the way to change the theme color of whole system.Is there any way to do it without hacking framework?
View 3 Replies
View Related
Nov 11, 2009
I wonder if it�s possible to change from English android to Swedish android in a hero bought in UK ?
Does they have the same serialnumbers ?
Thinking to buy a hero from UK ebay but want Swedish in it.
View 1 Replies
View Related
Oct 1, 2010
I'm having trouble changing my system font.I am rooted with unrevoked3, hboot 0.80 android 2.1, looked at a number of ways to flash fonts to my desire and each time I've ended up in a bootloop.Please does anyone have a definitive, simple guide for doing this? I would just like a slicker font as my system font.Also is there a rooted 2.2 rom worth using yet? and where do i get it?
View 1 Replies
View Related
Feb 19, 2010
I've been messing around with metamorph, and thank the members here for pointing me in the right direction to find the themes I am currently running the I.C.E. theme by tdawg. Everything applied correctly on top of Sholes 2.0.5, without messing up any performance tweaks. Only thing that did NOT apply(no surprise) is the font in the screenshots. I'd like to have this font- it is the same in the Droidinator theme and a few others I have seen screenshots of. So my question is.. where to I find this font, and how do I apply it(Hopefully through a terminal emulator since that is all I have set up so far)?
View 4 Replies
View Related
Nov 3, 2010
I want to change my font style, and color, anyone know how?
View 8 Replies
View Related
Jun 7, 2012
changing android system settings by code. System Settings like:
Ringtones
Vibration
Volume
Brightness
etc
View 6 Replies
View Related
Feb 9, 2014
Is it possible to change the operating system on the arnova 10 g2 to the most up to date android gingerbread or jellybean and if its possible how i do it.
View 1 Replies
View Related