I've been programming for 3-4 years, about 1-2 of those years in C++(the rest in html, php, gml, js, and crapy stuff like dat). No Java, but I've heard its really easy to learn especially if you already know C++.
anyways, I've read the google tutorials and they haven't helped me since they make you download code instead of writing it (like the notepad tutorial).I've also seen all the videos that explain how android works, and I've read the stuff about it. I just want a tutorial that walks you through the process of programming an application.
basically what I want to learn is:
- How to tell if the user pressed a button, or interacted with a view
- draw an image to the screen
- open and close activities, like for a game you switch from the 1st level to the menu
- How to save data to a file, or database(whichever is best)
and things like displaying a list of items, or an alert and stuff like that.
I already setup eclipse and ran the Hello, Android application in the emulator AND my G1 with adb. So I just need to learn how to write the code
My goal(currently) is to make a picture on the screen move to the right when the user presses something(button, key, trackball, screen), but with my code, not cut & paste. I'll just turn that into a game later.
please help me with this, I've always wanted to develop apps for android(ever since I heard of it ). sorry if this sounds like a retarded question, but I've searched everywhere and I haven't found a good tutorial, and I cant buy a book
PS. I use the eclipse plugin for visually designing the layouts
http://java.sun.com/docs/books/tutorial/
I don't exactly remember from my HTML java applet days, but you can write straight to vm's frame buffer and write a simple program to change the position of the element scrolling it either way you want. Also, java input in html applets can be aided with javascript, so i used javascript to listen for user input and then have java respond to it, but that was over 10 years ago and I dont remember now T_T
really? thats helpful...
EDIT:
I've already read these tutorials on java: http://www.freejavaguide.com/corejava1.htm
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.
I've tried my best to search the forums for this topic, either there really aren't any topics regarding this, or I'm just really incompetent!
Well as the title suggests, I'm looking for a web filtering/content monitoring application that will filter out inappropriate sites browsed on my Kaiser. You can never be safe on the net, especially with kids advancing at such a scary rate. Been searching the net (google) for something made for windows mobile, but zilch. I've also been looking for something that could possibly filter the entire network, but it's usually one of those that you need to install on each machine, which still doesn't address the problem.
Any help will be appreciated, or maybe this is something to think about for your next app!
Cheers
Never used these myself but here's a few links to get you started:
http://handheld.softpedia.com/get/Security/Utilities/SMobile-Security-Shield-Parental-Controls-Edition--Windows-Mobile--77635.shtml
http://free-parental-control-filter.parentaltools-net.qarchive.org/
i can't suggest something for your exact requirements at the moment...
i was thinking, though, that you could set up your device to prompt for a PIN (known only to you) before unlocking the screen for general use. of course, this suggestion is meaningless for you if you want to let your kids use the phone (play games, etc) but still control the content viewed in browsers...
After trying many PDF viewing apps on my Froyo'd Nook, I have still not found one that supports (well) the embedded links or a novel navigation scheme allowing me to get back to the TOC easily.
Im curious... what are you using?
is there a way to do "article view" in DL'ed pdf magazines
Went ahead and tried pretty much every free pdf viewer in the market. Doesn't seem like any of them I tried let me follow the hyperlink.
However. I did find that uploading the pdf to google docs and then viewing it through a web browser like Dolphin HD allowed me to follow the hyperlinks... Not the best option, by any means.
Possibly one of the paid office suites allows hyperlinks. I'd email the developers to make sure before buying since you only get 15 min to return.
Found one: BeamReader PDF Viewer will follow hyperlinks. Go to the market and download the 10 day free trial first before purchasing. Looks like it costs $10 for full version.
Also: Reading the description for ezPDF Reader (only $0.99), says "links" under features. I'm guessing this will allow you to follow links.
Please report back if you try it. I'm interested in knowing if it works. Thanks
I've heard good things about RepliGo. You can see it in action in the video on the cerience.com website (/products/reader/android). The forum won't let me post the complete link.
If you try it, please reply back with your thoughts as I haven't tried it yet.
RootNewbie said:
Found one: BeamReader PDF Viewer will follow hyperlinks. Go to the market and download the 10 day free trial first before purchasing. Looks like it costs $10 for full version.
Also: Reading the description for ezPDF Reader (only $0.99), says "links" under features. I'm guessing this will allow you to follow links.
Please report back if you try it. I'm interested in knowing if it works. Thanks
Click to expand...
Click to collapse
I am using ezPDF and am impressed, has TOC and functional hyperlinks. This was the dealbreaking feature for me since I was used to goodReader on the ipad - this is almost as good. Any specific questions - jusk ask!
I've tried every one I could find because I'm using my NC to display words to songs during my live performances instead of using the MS Access database I used to use. I've found for my purposes the RepliGo Reader works best for me. Bookmarks seem to work well, you can zoom a page and when you go to next page it remembers zoom level. It is not free but for what it does I really like it.
This is problem that seems continuous to all my android devices (evo 3d, galaxy s2, and touchpad with schizoid) and I was wondering if anyone had a solution:
Is there any way to open up pdf files that are embedded in frames? Thanks
I have tried multiple browsers (chrome, dolphin, integrated android one) with no success.
jejunum said:
This is problem that seems continue uous to all my android devices (evo 3d, galaxy s2, and touchpad with schizoid) and I was wondering if anyone had a solution:
Is there any way to open up pdf files that are embedded in frames? Thanks
I have tried multiple browsers (chrome, dolphin, integrated android one) with no success.
Click to expand...
Click to collapse
I've never used schizoid only AOSP, but when I click on a link with a pdf file it's downloaded, then I use an Adobe reader to read them.
Hope this helps.
It is only terrible websites that have PDF files in frames. like this:
ugh unable to post link to it: if one searches on google "pdf in frame" it is the first link.
I wouldn't care about 1990's web design except one website I really need access to won't load!
Thanks!
jejunum said:
It is only terrible websites that have PDF files in frames. like this:
ugh unable to post link to it: if one searches on google "pdf in frame" it is the first link.
I wouldn't care about 1990's web design except one website I really need access to won't load!
Thanks!
Click to expand...
Click to collapse
I see what you mean, ugh.
Maybe this link will help : http://drupal.org/node/
From the little I read, it seems Firefox has a plug in for this. Take a look at it, maybe that will be your solution.
Good luck.
chicle_11 said:
I see what you mean, ugh.
Maybe this link will help :
From the little I read, it seems Firefox has a plug in for this. Take a look at it, maybe that will be your solution.
Good luck.
Click to expand...
Click to collapse
uhh?
Drupal is a content management system which allows you to create and maintain many different types of websites without needing to know any coding languages.
The following pages provide some general information about the Drupal project and its underlying concepts and technologies.
Sorry, this is what I meant to post:
Displaying PDF in frame
Posted by steve22 on September 20, 2006 at 5:21pm
I have all the pdf files in one folder www.mysite.com/images/ . Is it possible that via some php script whenever user access those pdf files either directly or through google, it is opened inside a frame (with my website's logo, menu etc as the top banner above the pdf) instead of opening directly as pdf file?
Login or register to post comments ⋅ Categories: General discussion, Drupal 4.7.x
Comments
Opening PDFs inside browsers
Posted by styro on September 20, 2006 at 8:43pm
is a browser plugin thing at the client, the webmaster can't control that. Some PDF readers or OSes don't include browser plugins for PDFs, and always handle PDFs as downloads. Some paranoid users (after all Acrobat Reader has some security issues apparently) might switch off PDF browser plugins.
As for opening in a frame, you couldn't do that with a link directly to the PDF (eg public downloads). With private downloads you might be able to add to the system (?) module to change the download pages to use frames somehow - but IMO it would be a lot of pain for very little (if any) benefit.
--
Anton
New to Drupal? | Forum posting tips | Troubleshooting FAQ
--
Anton
With Firefox on Android you can install the PDF Viewer as an addon. This is the viewer that now ships with the desktop version. I've used it before to view PDFs in the browser, its not as smooth as Adobe, but will probably work for you:
https://addons.mozilla.org/en-us/firefox/addon/pdfjs/