Is there any way to use a Microsoft Access files in an Android application?
I do not believe there is any way to use a MS Access database with an Android application. Instead, you should probably consider using another database such as SQLite.
You could migrate your Access database to SQLite:
Export your Access database into text files, semicolon or comma delimited.
Open the SQLite database browser and chose File -> Import -> Table from csv file.
Browse for your text file and choose the appropriate delimiter. Click create.
If import isn't an option you can make a (PHP) webservice that queries the database. Then call upon that webservice in your android application.
This week i'll be starting a tutorial serie on http://p-xr.com that will explain just that.
You can use jackcess, is pretty easy to use, but you can't execute queries.
http://jackcess.sourceforge.net/faq.html
Well, if you are using Access 2010, then you can build web sites, and the results are massively scalable to the web in terms of simultaneous users. The so called Access web services are also coming to office 365. So with office 365 (still in testing) or with SharePoint 2010 you can thus publish Access forms to the web. Here is a video of mine, and note how the same Access application at the half way point is run in an standard browser.
http://www.youtube.com/watch?v=AU4mH0jPntI
Note that no ActiveX or Silverlight is required (so it standard web compliant). I have tested the Access applications running on my windows 7 phone and the Access web application also runs well on my iPad (safari browser).
So, I do not see why the Access application would not work and run fine on an android phone. Note that when you publish the Access forms they are turned into xaml (.net zammel forms), and code you write in the Access form is converted into JavaScript. Reports are converted into sql server reporting services.
Use a windows machine and access access over a remote control tool.
For a bigger scenario, you can use Windows Terminal Services.
Related
I know very little about developing apps/software, so please forgive my ignorance in advance.
I would like to develop a proprietary digital dictionary (using my own definitions, not taken them from other websites). To do this I will need to build a database, that will contain multiple definition for each words and many examples of their use.
Eventually, I would like to use this database to build apps for Android, iOS, and Microsoft operating systems. My question is, for example, if i use SQL Server 2012 will I be able to use this same database when I try to make an app for Android? If not are their any neutral open source database systems like XAMPP which would work across all three operating systems?
Extra Information: I would like the apps to pull definition from a database embedded inside the app, not from an internet server; this way, users will be able to use the dictionary without an internet connection.
Yes and no.
SQL Server works exceptionally well with ASP.NET, and with ASP, you can write a webservice to grab the data off the server and deliver it to ANY platform in a readable format (XML, JSON, or whatever).
Getting data from the server would then be simply a matter of consuming the webservice from whatever platform. Any of the mobile devices, any desktop implementation you decide to make, or even if you just gave your webservice a web page so the webservice could be consumed by browsing to a web address.
From there, all you need to do to make the data accessible offline is to setup the application to download the entire database the first time and store it locally (and from here, you could simply use sqlite). From then on, it could simply look for updates. Keep in mind, however, mobile devices have limited storage capacity.
If you want a common database that can be embedded locally in your app, as opposed to accessing a remote database, then SQLite is probably a good choice. It is fully supported in iOS and Android. It has a C API as well as others so it should also work with other mobile environments.
I have to make a project for android tablets, But i don't know if I can use Phonegap instead of learning Java. My application has to:
Talk with SQL server: update, delete, etc (using web-services) if there is no connection with server application has to store data in local then has to update to remote
Show current location of user in map (like navigation)
User can add location or information on the map, (like tracking objects on locations)
Application will use Internet, so application has to be secure, application doesn't have a lot of users maximum users will be 50.
So what do you think? If you work in Phonegap can you suggest me to use it or I have to learn Java?
Short Answer is No You don't Have to , You can use PhoneGap or if you are a .NET Fan-boy then use Mono For Android instead
PhoneGap
when you start your new application project you will just need to load your html page to the app and this is all you need to know about java , and from this point you will start implementing in your HTML document using javascript , html , css , phonegap to access mobile APIs , jquery mobile etc
The best way to Access a remote server data from you "Web based app " is to make ajax calls to the remote server so keep in your mind that you will use Jquery Mobile (or any other UI frame work that support this functionality )
PhoneGap Storage Provides access to the devices storage options.
PhoneGap Geolocation The geolocation object provides access to the device's GPS sensor.
if you will use PhoneGap and looking to have a native look app recommended is kendo ui it is a little pricey $200 but worth it
plus what Ridcully said in his answer "If you want to program for Android in earnest, you will have to learn Java and the Android API."
If you want to program for Android in earnest, you will have to learn Java and the Android API.
If this is just a one time task, I think all of the required issues might be doable with Javascript/Phonegap.
I'm trying to get setup to do mobile development using phonegap so i can deploy my application in android store and apple store. It's my understanding that I can simply wrap my application in phonegap so I can deploy for Android, iOs, BB, etc.
My application is an ASP.Net MVC app written with VisualStudio. All of the examples I've read through in my research tells you to use Eclipse for PhoneGap and Android, use XCode for PhoneGap and iOs. My app is ASP.Net MVC that produces Html 5. Is it possible to use PhoneGap with VisualStudio to produce Android and iOS deployable phonegap apps?
One alternative I've been thinking about is creating a simple Index.html page that uses jQuery to make a call to my ASP.Net MVC app and load the resulting HTML inside a div. Then I can simply reproduce this very lightweight Index page in Eclispe, XCOde, etc to run through Phonegap. This seems like a hack though. I've tried getting this to work but have not had any luck in the Android emulator in my windows environment.
Can someone please point me in the right direction for how to incorporate PhoneGap with my ASP.Net MVC app? Thanks.
ASP.NET lives on your server, so anytime you reference any ASP.NET script, you'll have to make the URL an absolute one with a hostname: http://www.example.com/my-script.aspx. Any non-dynamic files should be stored locally on the device so they will function when there is no network connection. You can then just host the dynamic files on your server and reference them whenever you need to. To keep data transfer size as small as possible, I generally pass JSON or something similar to the app. from my server-side script and then interpret the data into HTML in the JavaScript code for the app.
You should keep as many assets as you can local on the device so it doesn't require an internet connection to use the app. So don't link to a remote version of jQuery, save it as a part of the app. package you create so it's always available.
Eclipse/Xcode are nice because they help you create your app. and package it properly for submission to app. stores. They are also nice because of how easy it is to find help using Eclipse or Xcode to create apps. Xcode is actually required, Apple makes sure you have bought the latest hardware and the latest software just to be able to submit an app. to the store.
I'm new to Android programming. I have a website with sql 2008 db, and now i would like to give the users the ability to use their smart phones to enter data to this db.
I was wondering what is the best way to establish it. Since I'm new to it I don't want to build something that's not so professional.
Thanks for your help.
If I were you I would consider two following options:
Have a web application optimised for mobile use;
Pros:
Updates are delivered immediately, as there's no client application, everything is done on the server;
Web application can be used on many devices with a browser and not just Android: iPhone, Blackberry, PC, Mac, etc.;
Cons:
Users need to be online to work with the application;
You can not leverage from the native UI components available to native device applications;
Write Android application that will work with the database via a number of REST endpoints exposed through a web application (again);
The pros and cons are a full reverse of what you had in the first option.
The right answer for me was to use KSoap library. I'ts very easy and works very well.
Here is a tutorial that will show you how to do it step by step.
http://java.dzone.com/articles/invoke-webservices-android
im developing a app in android 2.3, i need to connect to oracle server to fetch data for my app, can anyone tell me wat are the lib files to add and where. Please help
Please be sensible. Write a Web service front end for your database, one that protects your database server from rogue activity. Then, use that Web service for your mobile apps.
Another solution you should consider is mobile server, a product from Oracle designed specifically for syncing data between Oracle DB and mobile devices.
It includes a fully configurable synchronization engine that can either run stand alone, or be controlled from inside your app via APIs. It supports SSL so you can have safe, secure access to your data from Android and other mobile devices.
You can read about it here:
http://bit.ly/fmiAre
Also you can download it from the download tab on the same link and try it out yourself.
Good luck with your project,
Eric, Oracle PM