Go Back   Android Forums > Android Development > Application Development
Application Development Dev lounge for our application developers.

New Forums: Nexus Player | Nexus 9
test: Reply
 
LinkBack Thread Tools
Old November 20th, 2012, 06:52 AM   #1 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Location: Dublin, Ireland
Gender: Male
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default Content Management System

Hi, I'm new to this forum so I apologise if I'm posting this in the wrong place.

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.

Any help would be great on this thanks!

Advertisements
jimmcdonagh is offline  
Reply With Quote
sponsored links
Old November 20th, 2012, 09:33 AM   #2 (permalink)
Senior Member
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,935
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 482 Times in 294 Posts
Default

So will all of these clients' changes need to be reflected on all clients? Also, what kind of help do you want? You haven't really asked a question.
__________________
My blog, Inverted Keystrokes, is looking for aspiring developers (not necessarily with Android) to post articles. If you have any development experience and are interested in participating, please PM me. =)
jonbonazza is offline  
Reply With Quote
Old November 20th, 2012, 10:15 AM   #3 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Location: Dublin, Ireland
Gender: Male
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, I didn't really make that clear. what I need help with is how I would actually go about implementing a system where the clients could edit the text in (for example) a textview on one of the xml layouts.

for the sake of simplicity, its safe to assume there would only be one client editing it.
jimmcdonagh is offline  
Reply With Quote
Old November 20th, 2012, 06:45 PM   #4 (permalink)
Senior Member
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,935
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 482 Times in 294 Posts
Default

Just make a text box that the user can type in and then use something like the Xml class and the XmlSerializer and XmlPullparser classes to update the xml file accordingly.
jonbonazza is offline  
Reply With Quote
Old November 26th, 2012, 05:19 AM   #5 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Location: Dublin, Ireland
Gender: Male
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry I misunderstood your question. By client, i meant the person who has requested the app be developed. So I need to know how to set up a system where one person can manage the content and when they change the content, anyone who has downloaded the app will be now see the new content in place of the old.
Thanks for your help so far. apologies for the confusion.
jimmcdonagh is offline  
Reply With Quote
Old November 26th, 2012, 04:47 PM   #6 (permalink)
Senior Member
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,935
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 482 Times in 294 Posts
Default

Oh, well in that case, it's probably a bit out of your league (no offense). Not only would you need to implement a client application for the admin's (your client) device, and the client application for a general users' devices, you would also need a backend server running some software to receive the updates from the admin and broadcast them to all other clients.
jonbonazza is offline  
Reply With Quote
Old November 27th, 2012, 04:32 AM   #7 (permalink)
New Member
Thread Author (OP)
 
Join Date: Nov 2012
Location: Dublin, Ireland
Gender: Male
Posts: 5
 
Device(s):
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts
Default

Ok, that's unfortunate

Any idea if this would be possible:

If i was to create a very basic web page that only consisted of a paragraph of text and bellow it, a text input space.

So then this admin could edit the text on the web page by simply writing in the new desired text and uploading it.

then would it be possible to have the app read this information from the web page and save that as the string it would show.

So to change whats on the app, the admin would just have to go to this site type the new text and click upload.

any idea if that's possible or would that require a bit more experience than i have still?

Thanks for your help so far! It's greatly appreciated!
jimmcdonagh is offline  
Reply With Quote
Old November 29th, 2012, 05:23 PM   #8 (permalink)
Senior Member
 
jonbonazza's Avatar
 
Join Date: Jul 2010
Gender: Male
Posts: 1,935
 
Device(s): Nexus 4, Samsung Galaxy S II, HTC Evo 4G, Amazon Kindle Fire
Carrier: ATT

Thanks: 235
Thanked 482 Times in 294 Posts
Default

Whether the admin enters the text in an app or on a web page is irrelevant. No matter the means, you first need to first somehow receive this information and then broadcast it to all of the users. You can't just "read the information" as it doesn't work like that.
jonbonazza is offline  
Reply With Quote
Reply


Go Back   Android Forums > Android Development > Application Development
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 01:18 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.