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?
Hi guys,
I am working on sqlite application with around 10 tables in database. it works fine when i run on simulator. And when i open the sqlite file from Applications folder of simulator it shows me all the tables and data.
the problem arises when i run app on device. I downloaded the application from device and i checked the sqlite database files there were no tables in it.
please help me solving this problem.
thanks.
There are tons of pay and free bluetooth toggles on the market that work with Android 1.5 (SDK level 3). The problem is there is no visible API for this!
Does anyone have any working code snippits on how to enable and disable bluetooth that works on Android 1.5? I assume you must have to use some kind of reflection for it. There are some examples over on anddev.org, but they only work with Android 1.1 or lower.
This is for Android 1.5 (SDK level 3) and not Android 2.0 or greater. In Android 2.0 or later Google added easy to use APIs.
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
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.
Hello everybody,
I want to take a photo with an Intent on android.provider.MediaStore.ACTION_IMAGE_CAPTURE,
next crop the result with:
Intent intent = new Intent("com.android.camera.action.CROP");
intent.setClassName("com.android.camera", "com.android.camera.CropImage");
I follow the sugestions made at:
Android: Crop an Image after Taking it With Camera with a Fixed Aspect Ratio
However when calling the crop activity I get (already checked the LogCat output) a permission error, saying something like:
Permission denial on a Intent to access the temporary image created by the camera activity on my SDcard.
Can you please suggest a solution for Android 2.2 ?
Thank you
I am using a Singelton for some shared stuff. In the simulator, the app crashes ocasionally. Tracking the crash down shows that the the properties of my Singelton became dealocated. Those crashes never happend on a real device.
Does the iPHone simulator handle memory managemend different? GC maybe?
Changed the singelton to match this pattern.
The iPhone Simulator dont crash now, but I am not sure about the memory handling on the real device. I assume that this solution will cause problems.
What do you think?
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 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?
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?
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!!
Live site.
This is my first attempt at utilizing a different CSS for mobile devices vs. regular screens.
To do this, I'm using-
@media only screen
and (min-device-width : 320px)
and (max-device-width : 480px) {
background: url('img/background.jpg') no-repeat center center fixed;
background-size: cover;
height: 100%;
}
However, it doesn't seem to be working (I can only test on iPhones). Any ideas as to why that may be? I've also tried @media all to no avail.
I plan to build a small audio-recorder app in C#.
My laptop has a built in Microphone that's always active, so I want to use that as an early-stage test. I would simply start recording, save the file as a .wav or even use the LAME dll to make it into an MP3.
The problem is, I don't know how to contact that microphone. Do I use a library that can detect a device, or do I just catch a stream of bytes from the port that the device is on?
I don't have any experience with receiving data from connected devices. I suppose that I'll need to enter all the data into a byte array and then Serialize that into a WAV file, but I'm not sure.
Can I get some pointers on this subject?
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 guys,
I'm just writing an App for displaying the route between two coords (lat, long) in google maps view.
Displaying an single coord (even with a marker) works fine, but how to do this with 2 ones and the route between them?
I must admit that I'm quite new to Android and the maps-API...
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?
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 uploaded an app built with 1.5 SDK into market, but someone told me they can not find it in the market in their phone. I do not know why, because I have test it in 2.1 emulator.
Then how to know if my app is available in android market with all versions, is there any url to test that?
Most of the Android users use the GO SMS app, and the iPhone users use their normal messaging app (Android rocks). Now, whenever a user types a message and presses the send button, the message's edit text field sets a glossy green background, also the green colored background comes floating at the back of the edit text field. How do they do it?
(I have been searching this for a while, but was unable to find an answer.)
In an Android application, we usually got the "Force Closed" error if we didn't get the exceptions right.
How can I restart my application automatically if it force closed?
Is there any specific permission is used for this?
Can I use other JVM languages besides Java (e.g. jruby, jython, clojure) to program for android, or is it java only?
There was a similar question asked over a year ago but I wasn't sure if there'd been any change since then.
i got 2 java files app.java and gallaery.java
App.java
public class App extends Activity implements OnClickListener {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
Button Listvideo = (Button) findViewById(R.id.Listvideo);
Listvideo.setOnClickListener(this);
public void onClick(View view) {
if (view == findViewById(R.id.Listvideo)) {
// i have to call gallery.java here which executes list of images in the android pone
}
}
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
I'm planning on releasing two versions of my Android apps:
Free with ads
Paid without
What is the recommended way of handing this while leaving the database compatible with both versions?