Project: Social Data Mining on Smartphones - Off-topic

Hellluuuuu there everybody!!!! :mrgreen:
I'm new to this forum as well as to Android programming!!!
I've bagged a semester project recently, called 'Social Data Mining on Smartphones'. I've added the task description as an attachment to this post. Do have a look!
Now - I installed the ADT/SDK plugins for Eclipse and tried out the 'Hello World' programme once following the Developer's Tutorial - that's it!
I'm all set to being my project... but.. there's a tiny snag in my way
--> I have absolutement NO clue where to begin
I'd be grateful to you guys if you could guide me through my project and be available for answering questions/solving problems.. I'm also open to new ideas/suggestions/creative input, etc.
So......... how to get started?

Okies - I managed to make the GUI.
Download it from the attachment.
Comments welcome : )
So, now I need to get started with the actual coding.
Step 1) Extract data from the contact application
Any ideas how to get started?

Related

How to program?

Hi,
I have an easy question...^^
How can I program programs for my phone?
Is there anywhere a tutorial or something like that?
Or are all of you just very high skilled programmer?
I'm very interested in programming, but I only handl Java and php..
I hope someone of you can explain me where I can learn this =)
Greetings
Chris
PS:I hope I posted this in the right section...^^
PPS: I'm from Germany so I'm sorry for any mistake in my sentences and I hope there is also a German programmer who can show me a tutorial on German, but English is also OK.
I asked this question a few months back and no one helped. Here is what I have been able to find on my own:
To program for your Windows Mobile device you need Microsoft Visual Studio 2005 Standard edition or later. That is an expensive development program. If you buy that program, you can download a Windows Mobile plugin for free that includes an emulator for debugging.
I personally refuse to shell out tons of cash for the ability to program for my phone for personal use. I have not been able to locate anywhere on the internet even the slightest hint of a way that I can write a program for my phone with open source or free software. I use notepad++ and g++ for my coding needs so I was really hoping for a way to program using only these tools with perhaps an additional library.
Speaking of libraries, open gl es is open gl for embedded devices such as your Raphael. I have been unable to find an open gl es tutorial that does not involve buying Visual Studio.
If anyone can find anything else, please post here.
I've used C# and C\C++ to write programs for Pocket PC\Windows Mobile. Java I believe you can use with limited functionality (not the same as on the web). Php is a web langange I believe??
Are you using C++ via Microsoft Visual Studio, or do you know how to compile mobile programs without dropping money in Microsoft's bank?
@Chunkyeggfoo
I know that php is for the web
I only wanted to show, that im not a totally noob in programming ^^
But my question was: Where do you learned this? Did you have an online tutorial, or from school? Or somewhere else...from a book maybe?
Here is one answer to the question.
http://www.codeproject.com/KB/mobile/WiMoSansVS.aspx
I have never followed this guide because I use Visual Studio 2008. I started programming using visual basic .net (VERY EASY TO LEARN). Later, I wanted to write applications for the today screen and I needed to learn C++ and the win32 API. (NOT FUN!!!) The good news is that I have several programs that I use on my today screen including weather, calendar, battery monitor, task switcher, music player and an alarm. It has taken me about a year to become pretty proficient. NOTE: when you move from managed code (.net framework) to unmannaged code (C++, win32) you have to be VERY careful to properly manage device memory or you will end up with memory leaks.
I've attached a picture of my today screen to illustrate the possibilities.
Have fun
Edit
You can also download evc4 and the evc4.sp4 from the following links.
http://www.download.com/Microsoft-eMbedded-Visual-C-/3000-2212_4-10108490.html
http://www.microsoft.com/downloads/...F4-91D3-4DBE-986E-A812984318E5&displaylang=en
This will be a very powerful tool but probably very hard to learn too...
Check out this thread. It has lots of info.
http://forum.xda-developers.com/showthread.php?t=445396
You can take a C++ programming class at most community colleges (not state or UC, ie very expensive). im currently taking the pre req that will allow me to take it next semester.
I think,the simpliest way is the Basic4PPC(Basic for PocketPC). Use Google and search for it.
programming
i guess the best way is learn C#, i'm a visual basic programmer and the best app you can do with it is database app, if you want to do more powerful app for your phone is better to learn C#
i'm learning c# right now
try these two
http://www.smorgasbordet.com/pellesc/
http://trajectorylabs.com/win32.html

Creating Applications...

Just thought I'd double check this before I buy, but it is possible to write applications for this phone using java? Soz if its a stupid question but thats kinda what am needing lol.
No, it's not.
However it should be possible to use the android SDK which sadly kinda looks like Java.
http://developer.android.com/sdk/1.5_r3/index.html
Thanks for the reply. Thats a bit guttin, I thought that android supported java (or a mobile version of java). To be honest I'm just really lazy and dont want to learn a new language lol.
Do you know if android does support java and its just this phone that doesnt? Or is this the case with all android phones?
Irregular Programming said:
No, it's not.
However it should be possible to use the android SDK which sadly kinda looks like Java.
http://developer.android.com/sdk/1.5_r3/index.html
Click to expand...
Click to collapse
What? It's probably not a good idea to go around spouting misinformation like this. "Irregular Programming" indeed.
Perhaps you may like to read through: http://developer.android.com/guide/basics/what-is-android.html#applications
To ExO_PoLiTiX: you won't need to learn a new language, you'll just need to be aware of how the Dalvik (basically the java virtual machine Android runs) system works, and what you do/don't have access to.
My advice would be to read the page I linked above and then go down through all the pages in the side menu. There are also a whole bunch of example projects available for download from that site, all of which can be imported directly into eclipse, provided you've installed the SDK and ADT plugin.
If you already know java you'll find Android development will be a breeze.
iammorris said:
To ExO_PoLiTiX: you won't need to learn a new language, you'll just need to be aware of how the Dalvik (basically the java virtual machine Android runs) system works, and what you do/don't have access to.
My advice would be to read the page I linked above and then go down through all the pages in the side menu. There are also a whole bunch of example projects available for download from that site, all of which can be imported directly into eclipse, provided you've installed the SDK and ADT plugin.
If you already know java you'll find Android development will be a breeze.
Click to expand...
Click to collapse
you dont know how good that is to hear! lol I will have a look through the pages you suggested. Thanks for that. I plan on writing a game which uses the network features of the phone alot. My only experience of creating games is through java so thats why I wanted to use android =-)
Thanks again
iammorris said:
What? It's probably not a good idea to go around spouting misinformation like this. "Irregular Programming" indeed.
Perhaps you may like to read through: http://developer.android.com/guide/basics/what-is-android.html#applications
To ExO_PoLiTiX: you won't need to learn a new language, you'll just need to be aware of how the Dalvik (basically the java virtual machine Android runs) system works, and what you do/don't have access to.
My advice would be to read the page I linked above and then go down through all the pages in the side menu. There are also a whole bunch of example projects available for download from that site, all of which can be imported directly into eclipse, provided you've installed the SDK and ADT plugin.
If you already know java you'll find Android development will be a breeze.
Click to expand...
Click to collapse
Yup, I was wrong.
I was sure I've read about android using its own brand "Java-lookalike" language.
blahzay blah
Irregular Programming said:
Yup, I was wrong.
I was sure I've read about android using its own brand "Java-lookalike" language.
Click to expand...
Click to collapse
You can actually import the main java (e.g. javamail) classes into your projects so android runs almost all of Java.
Follow this link to help you create iphone apps as easy as possible. http://6a7d57q12b9gmv46x4n7rh9m52.hop.clickbank.net/?tid=XDA
Follow this link to help you create iphone apps as easy as possible. http://6fc2862--76bqnb8pfz3nbugtd.hop.clickbank.net/?tid=XDA

Android Access Database

Here we go:
I use a number of Microsoft Access Databases for my work, and each one is intensely coded and designed and basically run like actual programs. What I am looking for is to be able to take these databases with me. Now understanding that Microsoft and Android are two completely different beasts, what I really am looking for is the ability to take the tables (I use all Back-end database so all my tables are in a completely separate file then all my forms, queries, and reports) and the data with me and be able to run them in a program on Android that keeps the relationships and fields and all of that sort of stuff.
Now what would be great is the ability to use forms (even if special forms for android need to be made), run queries, and even be able to run reports and print as PDFs.
now I know how to code in VBA, hence the extensive coding I have done in Access, so anybody willing to WORK WITH in creating an Android Program to basically be an extension of Microsoft Access please contact me. Please not I use the words WORK WITH loosely, while I am trying to learn how to Program for Android, I currently do not have a computer that I can use to develop programs for android on, and well I would be only able to create the "Hello World" starter program and this project seems a slight bit more complicated. But what I can bring to the table is real world experience in testing and using the program day in and day out, a number of already existing Microsoft Access Databases ranging from Complex to Simple that I use every day. Really a program that can run Microsoft Access Tables on Android would be really useful to me and I am willing to do anything to help make this happen.
kronos82 said:
Here we go:
I use a number of Microsoft Access Databases for my work, and each one is intensely coded and designed and basically run like actual programs. What I am looking for is to be able to take these databases with me. Now understanding that Microsoft and Android are two completely different beasts, what I really am looking for is the ability to take the tables (I use all Back-end database so all my tables are in a completely separate file then all my forms, queries, and reports) and the data with me and be able to run them in a program on Android that keeps the relationships and fields and all of that sort of stuff.
Now what would be great is the ability to use forms (even if special forms for android need to be made), run queries, and even be able to run reports and print as PDFs.
now I know how to code in VBA, hence the extensive coding I have done in Access, so anybody willing to WORK WITH in creating an Android Program to basically be an extension of Microsoft Access please contact me. Please not I use the words WORK WITH loosely, while I am trying to learn how to Program for Android, I currently do not have a computer that I can use to develop programs for android on, and well I would be only able to create the "Hello World" starter program and this project seems a slight bit more complicated. But what I can bring to the table is real world experience in testing and using the program day in and day out, a number of already existing Microsoft Access Databases ranging from Complex to Simple that I use every day. Really a program that can run Microsoft Access Tables on Android would be really useful to me and I am willing to do anything to help make this happen.
Click to expand...
Click to collapse
I think we must have the same job
Android utilizes an sqlite database engine and it looks like sqlite already offers a conversion utility HERE. The real question would be how to get the data in and out of the phone. Regarding forms, they definitely would need to be custom built.
Thanks this is deffenetly a start, From what I can tell this This Looks to be the most promising, It looks like all you would have to do is put a MS Access Database file on your SD CARD and have a program access it. That way you copy it back and forth. Unfortunately it doesn't support Access 2003, but I can save down. I also got a lot of learning to do in programing Java programs.
Forms would be as simply as making a program, this is great thanks much
kronos82 said:
Here we go:
I use a number of Microsoft Access Databases for my work, and each one is intensely coded and designed and basically run like actual programs. What I am looking for is to be able to take these databases with me....
Click to expand...
Click to collapse
I would like to say, "yes, please!" to this idea. I currently use Smart List to Go (the descendant of ThinkDB) on my Palm TX. The TX is dying, and I've been shopping for a replacement. HanDBase exists for the iPhone, but I don't want an iPhone. So I've been focused on WinMo - not by choice as much as by necessity.
And android option would be very welcome around my computers.
benmyers2941 said:
I think we must have the same job
Android utilizes an sqlite database engine and it looks like sqlite already offers a conversion utility HERE. The real question would be how to get the data in and out of the phone. Regarding forms, they definitely would need to be custom built.
Click to expand...
Click to collapse
androids sqlite its for applications to access and store data using java code.
try the pocket office app
Freedomcaller said:
androids sqlite its for applications to access and store data using java code.
try the pocket office app
Click to expand...
Click to collapse
Exactly and we're talking about creating an app that would enable manipulation of an sqlite database. Essentially all that would be needed would be to create a ui framework wrapper for the existing api in android. Not the least monumental task I've heard of an individual taking on but not the most either.
The versions of pocket office that I've seen for android do not currently support Access databases as far as I'm aware. If I'm wrong could you post a link and save everyone some trouble?
aaaaaaaaaaaaaaaaaaa
kronos82 said:
Thanks this is deffenetly a start, From what I can tell this looks to be the most promising, It looks like all you would have to do is put a MS Access Database file on your SD CARD and have a program access it. That way you copy it back and forth. Unfortunately it doesn't support Access 2003, but I can save down. I also got a lot of learning to do in programing Java programs.
Click to expand...
Click to collapse
Jackcess library is now patched to support android (will be in 1.2.2 release). Also seems to support 2000, 2003 and 2007 formats now.
Works great for me.
View jackcess site. Couldn't find anything on support for android. I'm using htc desire and would really like to find program to view ms access file. Can you tell me how you do it?
As I remember reading worked as on PC, while writing had some problems.
This forum prevents me from linking directly, but if you click tracker/patches on Jackcess project, check Android Compatibility Fix - ID: 3101578
The changes are in trunk and will be in the 1.2.2 release. I've added some
notes which will eventually make it to the FAQ page on the website
detailing the compatibility steps:
- Set the system property "com.healthmarketscience.jackcess.broken
Nio=true"
- Set the system property "com.healthmarketscience.jackcess.resour
cePath=res/raw/"
- Copy the *.txt, *.mdb, and *.accdb files from the
"com/healthmarketscience/jackcess/" directory in the Jackcess jar to the
"/res/raw" Android application directory.
- Before executing any Jackcess code, set the current Thread's context
classloader, e.g.
"Thread.currentThread().setContextClassLoader(Database.class.getClassLoader())".
Click to expand...
Click to collapse
Until this version (1.2.2) is released you need to build lib yourself.
You also need commons-lang and commons-logging from apache commons.
Before you use Jackcess in Android code, you set
Thread.currentThread().setContextClassLoader(
getClass().getClassLoader());
System.setProperty(
"com.healthmarketscience.jackcess.brokenNio",
"true");
System.setProperty(
"com.healthmarketscience.jackcess.resourcePath",
"res/raw/");
Click to expand...
Click to collapse
and copy those resource files to res/raw
Then you can work as on PC, for example open /sdcard/yourprogram/file.mdb
Jackcess has no GUI, it's a library to read/write access files.
Getting an Access file into Android
I keep a lot of information on a Psion Revo, which has just turned its face to the wall and is giving up the ghost, and have always backed the information up on to my pc as an Access file. It looks easier to get this into a format acceptable to Android by converting the Access .mbx file into an Excel .xls file. This can be searched readily by Column and Values. Maybe this deals with too simple a need for most enquirers to the forum, but if it helps somebody then so much the better.
hi all i have beenlooking for something the same for some time now and just the other day i came accross this site cellica.com
the android app is free and the desktop application has a 5 day trial period or its $50 to buy it works great the only thing you can not do is create a report from the phone
i have emailed support team and they said they will be adding it on in the future.
Any Updates???
I currently build and use databases in MS Access and was wondering if there are any updates on this topic now that Tablets are in use now. Looking to get the Motorola Xoom (2nd version) in the future, but would love to be able to use a program that I would be able to access my MS Access databases while "on-the-go".
Anyone? This would be huge (I believe), since we now have tablets.
Thanks a bunch,
~Kilch~
Access to MS Access by Android
Hi,
I'm also looking to get on-the-go access to my Access databases on my Android HTC Tattoo.
The file is on it, I just need a tool to access it in read-only / search mode, but judging from the previous comments, there doesn't seem to be an oversupply in applications.
The "convert to Excel format" may be OK for me. I want to use a 3 language Access DB (dictionary) on my phone, so I'll try the Excel solution.
It would be nice if we had an ACCESS reader though...
John
Panacea Database
I know XDA frowns upon excessively hawking your own products here, but I do seem to be directly answering more than one of the reply questions, it just happens that the answer is an application my company released.
The Panacea Database application can handle Access from Access 2000 to Access 2007. It has also worked so far on every Access 2010 database we've tested, and we've received no complaints in that department yet. We release updates from time to time as we improve its functionality and features, often guided in our priorities by user e-mail and market comments. Our next update will be focused on improving screen layout for a variety of Android devices - from small QVGA smartphones, to large WXGA tablets. After that we may move onto other functionality.
In the interest of fairness, I'll point out arafa1209's post. He mentions Celicca Database, which is the only other application that I know of that deals with Access databases on Android. It has features Panacea does not have (yet) - ability to work with forms, ability to create and modify databases, ability to connect to your PC etc. Like us, they also send out updates improving their app regularly. So you can compare the apps, and use which one fits your needs better (or use both). If anyone knows of any others they can post here as well, but these are the only two I know of currently.
Just tried Panacea. Although it is more basic and annoyingly doesn't remember the last files you'be opened necessitating finding the file each time you open the app I prefer it for the simple reason you don't have to convert the Access database to another format.
amwebby said:
doesn't remember the last files you'be opened necessitating finding the file each time you open the app
Click to expand...
Click to collapse
If you update the app, this should be fixed, the last version should have this feature.
Got the update last week. Certainly goes a long way to making it more user-friendly. Keep up the great work!
Since the last update it seems to be broken. Although it remembers the last database I cannot open a table within any database.
Edit: It appears the file was corrupted. Loaded a new file and all working again.
Any news in this topic.
I tried panacea Database, works fine. But not very effective. Searching data is a must for me however I didnt manage to find a search option. When I search for tables, it cant even locate the tables by names.

[APP Suggestion] App for my couching classes for timetable

Guys I am new to Windows Phone development as i have just started, so please forgive my mistakes.
I am planning to develop an app, simple app for viewing time table of my classes.
My couching classes regularly updates the time table on their website. And the link can be found here
http://www.professionalacademyca.in/time_table.php
source code
http://pastebin.com/6yUH1Q8t
Questions
1) How can I compile this app?
2) Is this possible or not?
3) if yes, than how?
please give suggestions
DBZo07 said:
Guys I am new to Windows Phone development as i have just started, so please forgive my mistakes.
I am planning to develop an app, simple app for viewing time table of my classes.
My couching classes regularly updates the time table on their website. And the link can be found here
http://www.professionalacademyca.in/time_table.php
source code
http://pastebin.com/6yUH1Q8t
Questions
1) How can I compile this app?
2) Is this possible or not?
3) if yes, than how?
please give suggestions
Click to expand...
Click to collapse
1. You will have to work with microsoft visual studio and windows phone sdk.
2. Yes it is possible
3. You can use htmlagilitypack for parsing the html. This is a very nice tutorial for that.
Ofcourse you should be familiar with programming in C# and XAML. You can easily find tutorials for these.
You could also use the AppStudio, which is an online environment for creating simple apps. It's way less powerful than Visual Studio + WP8 SDK, but it doesn't require a download and it's reportedly very easy to use (I'm used to VS, so AppStudio is no big deal to me, but you may find it more your speed).

New To App Development and Could Use Some Guidance

Hiya,
I am new to android app development and am trying to make my first project. I am interested in making a very simple app that captures customer information and project details and then at the end gives the option to print and email the captured information.
For example the first page of the app would ask for date,name, phone number and email. The second page would consist of a number of boxes that can be bubbled to select material to be used. Lastly would be a page that had total and deposit amount boxes to fill in and the print and email buttons respectively.
My questions are as follows;
1. What program is the best to use to help develop such an app?
2. Can it even be done?
3. Can it be deployed on a tablet device?
4. What resources do you know of that could help me in this over ambitious endeavor?
5. How do I create a gui with custom colors and such?
Any and all help will be greatly appreciated and I look forward to helping others with the knowledge I obtain from this journey.
Thank you,
Newbie

Categories

Resources