I'm trying to develop a server-client application for Android mobile devices. Here I need to test my client application with a server application which is dealing with the database. As I'm developing this application using the Eclips-ganymede SR2 with Android SDK plugins, I'm confusing how I can test my application with a server.
Is it possible to use my hard disk as the server? I mean will the Android emulator can access my hard disk??
Please give any idea related this
Thanks on Regards..
There is no way for the Android emulator to access your hard drive in the sense that you're talking about. You may be able to mount a folder on your hard drive as an SD Card, but you would NOT want your app to use this, since it will go away once you deploy your app to the market. I recommend you build a web-service to run on your desktop (which will later be deployed to the Internet) and write your Android application to call this web-service.
Related
I'm coding an inventory management system using html,css,js and electron to compile it into a desktop based app.
I want it to work locally on clients computer, without internet connection.
Please share your experience with local database management system, keeping in view electron and inventory management system requirements.
Thanks.
If you are doing an electron app and you want to use without internet connection I would suggest sqlite. It is simple and it works very well with javascript.
Check this out Uses for SQLite (Internal or temporary databases)
I will try to be brief and specific here. I want to build a mobile cross platform College News app (that serves android and IOS) which can be used by students at my school of 2,000. This app would likely serve about 500 - 1000 people at its peak and I'm thinking it would have a worker from the news paper office update the articles that go within the app. For its first iteration I want it to be simple as possible.
I was wondering what are the minimum physical or software systems required to make this happen? Currently I think I will need: Google Login API, the app it self, and a server to populate data. Am I missing anything else here? Would I need a database or a physical computer server to support the app? Any input appreciated.
The easiest solution to handle thousands of clients and a server would be to use web technologies. Take a look at Apache Cordova. This is a cross platform solution for iOS, Android and Windows Phone.
Firebase could help you to upload and download news from and to subscribers.
I have developed a windows 8 app and I wish to install the app on 10 devices and also when I alter the app I wish to automatically upgrade the app installed on these 10 devices. I do not wish to use the windows store and the app and devices have the necessary certificates needed. Is there a way I can sideload the app to the 10 devices and upgrade the app easily without using a hardrive to uninstall and install the app on each device?
Altough this was asked a while ago i want to answer this, as i myself struggled a long time sideloading LOB-apps and Microsoft almost makes no efforts of clarifying the mess of their licensing programm.
You need to get a sideloading key, you can get it from the microsoft volume licensing center (it is not easy to find, best you ask a distributor partner) costs 100$ and is as far as i know for 25 devices. You need to be partner to obtain such a key.
UPDATE: for unlimited devices (see article posted from user3123726)
FYI: i doubt it but if you plan to have all devices in the same domain you do not need a sideload-key
On the device where the application should run
install the app certificate into 'trusted root certificates' and 'trusted publishers'
install and register the sideloading key
for installing:
/C slmgr /ipk 00000-00000-00000-00000-00000 //your side loading key
for registering:
/C slmgr /ato ec67814b-30e6-4a50-bf7b-d55daf729d1e //for everybody the same key
For publishing and updating the app Microsoft has a service called 'Intune' where you can register your devices and deploy store apps to. I have tried this solution and really couldn't make it work. It worked sometimes but had a lot of crashes and freezes with no usable error message. I highly recommend to write your own update function as i lost many many hours trying to get it to work. It also seems like nobody really is using this solution as it has only 12 reviews in the app store and no forums whatsoever talking about it. However if you wish to try see this link:
https://technet.microsoft.com/en-us/library/dn646972.aspx
You'll need to install the 'Company store app' on each device.
If you tend to write your own update/install mechanism you can use this Powershell command to install the app on the device. You could use dropbox to distribute the packages to the devices and write a service which runs the powershell.
Add-AppxPackage -Path "yourapp.appx" -DependencyPath "Dependencies\x86\appdependency.appx"
I have this application that will be run in a local network where a number of devices should interact with a database. I could use xampp and go for CherryPy or any other Python framework (Python is usually my choice) but it is the sum of a lot of different things: Python, Apache, MySQL... With GAE, which I have previously used in a number of applications successfully, I feel everything is neatly packed in a single box. Thay may not be true, but using the Google App Engine Launcher to create a local working copy of an app couldn't be easier.
But is it reliable? Should it be used like that? I know it's intended for development, so I'm unsure about using it as a local server in production. A few versions ago there even was this nasty bug that flushed the local datastore from time to time. But it seems that they fixed it and now data persists.
Would you recommend GAE for an application running in a local network or should I stick to LAMP (P for Python)?
Other alternative is http://code.google.com/p/appscale/.
May be you can check the the project TyphoonAE. I think it is exactly what you need.
The TyphoonAE project aims at providing a full-featured and productive
serving environment to run Google App Engine (Python) applications. It
delivers the parts for building your own scalable App Engine while
staying compatible with Google's API.
I created a database via javascript using Google Gears on Android 1.5 and I'd like to access directy the sqlite file to look inside it whitout using Gears. I found several "File Browser" but they only browse the SD card. Is there a way to fetch it from the phone file system?
I have an HTC Dream running Androis 1.5.
Thank you!
Permissions on the phone filesystem are on a per application basis usually. Sure you can mess with them to give access to multiple applications but this is not the supported scenario. On the other hand, the filesystem mounted at /sdcard is open to everyone and apps can share the same folder/file with ease. If you only want to push/pull from the local storage, use the adb 'pull' and 'push' commands to get the files from the phone onto your computer and then mess with them locally. ADB is part of the Android SDK tools.
See: http://developer.android.com/guide/topics/security/security.html#userid
Still, I'm not sure you could really get the browser generated sqlite database easily if at all. Good luck!