Besides making an HTML5 app (which may very well be the answer to this question), are there any other languages I can develop in for android besides Java?
If you have a handle to a Spinner object in an Android activity, can you programmatically pop open the spinner options - thereby forcing the user to choose an option even though they did not click on the spinner themselves?
I'm looking into developing a multi-tenant SaaS application, and I found several sites that describe a solid way to separate the data using tenantIDs and updateable views. e.g. This blog post
It all hinges on the ability to have your user accounts authenticated from a master users table and then having their respective database connections use those user-specific credentials. This way, the views can pull the userid and map it to the tenantID to display that user's view. However, most PHP frameworks tend to be very static when it comes to database connections (stored in text config files). They appear to be at odds.
Does anyone know:
a) how to make CodeIgniter handle this gracefully?
b) a different PHP framework that might?
Hi, I need to know the signal strength of a Bluetooth connection to a remote device that I make with my Android 2.1 phone. From the SDK, I can see that I can determine the RSSI at the time I discover the remote device. But I can't see how to update that RSSI value over time.
Can someone give me a hand? Thanks!!
Basic example, if I bought a chipset with a light socket and bulb soldered to the chipset; then put a USB cable with the mini-USB plug on the end to get plugged into the android phone. Can I write a Java application to turn on/off the light, get the status of the light(on/off) and maybe power a super-small led/bulb with power from the phone itself?
Any insight at all would be greatly appreciated. Thank you
I didn't feel this rule before, but it seems that a binary tree or any tree (each node can have many children but children cannot point back to any parent), then this data structure can be represented as 1 table in a database, with each row having an ID for itself and a parentID that points back to the parent node.
That is in fact the classical Employee - Manager diagram: one boss can have many people under him... and each person under him can have n people under him, etc. This is a tree structure and is represented in database books as a common example as a single table Employee.
I note the release a few days ago of the static library bringing fragments to Android versions prior to 3.0, but does this library include the ActionBar? I suspect not.
I assume that for an app that will work on pre-3.0 versions, that it needs a hand-built ActionBar implementation for versions up to 2.3 and then to use the OS default ActionBar in v3.0?
for some reason I assumed the library had ActionBar in it, but as I dig further I'm not finding any evidence of its presence.
Hi,
Is it possible to change the default shape (i.e rectangular) of the button (normal button as well as imagebutton) to something else maybe like star or a triangle in Android? Any tutorials or sample code would be much appreciated.
Hi,
im having following application flow in my android app,
Login-Home-screen1-screen2-screen3-screen4- logout
In the screen4 i've a log out button,which allow user to logout from the application and re login.when i re-logn to the app previous data still be shown,is there way to start the application in fresh when user log out from the app
NOTE: all the above activities launch mode set to "single task",
regards,
Sam.
Hi,
I am writing an application to listen the SMS inbox in android with one activity and one BroadcastReceiver.Once the SMS comes the Receiver is showing alert message.But i want to send the message information from Receiver to Activity.I don't know how to achieve this.Anybody knows it please help me.
I want to lock files that is on the sdcard of android.
I need to lock them so no one accept my software can delete copy move or send them over bluetooth or any other way.
How can I do it?
So basically the code "almost" works - the problem is that the system does not appear to know that the system wallpaper have been changed or does not do anything about it. Starting and closing another app manually appears to enforce an update.
In an event call the following is done:
getApplicationContext().setWallpaper(pWallOne);
Is there some way of telling the android system to update the graphics or to do some cheap trick that forces it to? Any help or tip would be very much appreciated!!
I want to implement PDF viewer in my android application. My application has option of reading some document and i want to open those doc in PDF by default. My application .apk is ready and I have PDF viewer apk with me . What I want is to merge these 2 apk into a single project ? Can anyone help me.This will be really helpful.
Thanks in advance.
Regarda,
Praween
Hi,
In the Android application I am building, I want to be able to communicate with a local server developed in Django. (Basically a login page and a home page populated with posts and images from users) So do I need to use XML Parsers for the parsing the response from a Django server or is it possible for the server to respond with strings which can be directly used? Also what about images?
Regards,
Primal
In reference to my previous question regarding making the .EXE file for demonstration
http://stackoverflow.com/questions/2862067/how-to-make-exe-for-demonstration-of-a-android-software-built-in-eclipse
Can anyone explain creating batch file to launch the emulator?
Unlike the other posts about the task "delete all tables", this question is specifically about using SqlCommand to access the database.
A coworker is facing the problem that no matter how it attempts it, he can't delete all tables from a database via SqlCommand. He states that he can't perform such action as long as there is an active connection - the connection by the SqlCommand itself.
I believe this should be possible and easy, but I don't have much of a clue about databases so I came here to ask. It would be awesome if you could provide a short code example in C# (or any .NET language, for that matter).
If you require additional information, just leave a comment.
I've installed propel bundle for symfony2.
my database configuration is:
propel:
dbal:
driver: pgsql
user: postgres
password: postgres
dsn: pgsql:host=localhost;port=5432;dbname=test_database
options: {}
attributes: {}
When i wan to create this database from console (console propel: database:create) i have got strange error : Unable to open PDO connection [wrapped: SQLSTATE[08006] [7] FATAL: database "pgsql" does not exist.
i created pgsql database on my localhost and everything was good. Database "test_database" was succesfull created. Can somebody explain me why i got this previous error? On mysql i've created database without any problems.
I am trying to create PHP script to get app version from Android APK file.
Extracting xml file from APK (zip) file and then parsing XML is one way, but i guess it should be simpler. Something like PHP Manual, example #3.
Any ideas how to create script?
Hi,
Actually make application on Google android g1 but normal screen size But I Want To increase
my screen size up to 1024x600 then how I can increase please help.........?
How to suppress Spinner double clickable problem of Android.
Try launch any application that having Spinner.
Then double tap it.
It will show context menu twice.
I was wondering is it possible to get a notification of when a new configured network is added to the WifiManager in Android?
I know you can get the current list of configured networks
getConfiguredNetworks
But is it possible to get notification of when a new one is added?
I dont see anything in the WifiManager that would be helpful.
Has anyone any other ideas? Or insight into how this could be achieved?
I'm looking into writing simple graphics code in Android and I've noticed some synchronized() blocks.
What is the reasoning behind this and how do I know when I should be "synchronizing" my code?
How do you manage your sql server database build/deploy/migrate for visual studio projects?
We have a product that includes a reasonable database part (~100 tables, ~500 procs/functions/views), so we need to be able to deploy new databases of the current version as well as upgrade older databases up to the current version. Currently we maintain separate scripts for creation of new databases and migration between versions. Clearly not ideal, but how is anyone else dealing with this?
This is complicated for us by having many customers who each have their own db instance, rather than say just having dev/test/live instances on our own web servers, but the processes around managing dev/test/live for others must be similar.