Hi,
I'm using a seekbar in my android application to set the volume. However the length of the seekbar is unesthetically too short. So is there a way to customize the length of a seek bar ?
In android, is it possible that we insert our database in SQLite and get back that data on our EditText boxes. I want to get data from database and populate it in my application activity. How can i do that. I want to save, update and delete my database in SQLite and most important i want to get data from database that is saved in SQLite tables. How can it be possible. Kindly guide. I will be thankfull to you
Does Android broadcast an intent when the network state has changend, i.e. from GSM to Wifi? And if so what permission do I need and what is the intent action called?
Is it possible to test a web app in an android emulator and an iphone emulator?
Is it possible to direct the browser to a url within a mobile emulator?
Hello,
I'm looking for a way in an Android application to store a password within the memory as long as the application is running (cf. different activities). I was first thinking about the SharedPreferences, but then it's saved in the flash memory, which isn't that good for a password, I guess.
I'm unsure, what's the best way. What would you recommend me?
Is there any way (e.g. with the command-line) I can upload an APK to an android phone wirelessly (wifi or Bluetooth) and launch it on the phone from a desktop machine?
I can do this things with abd from the command line when a USB cable is attached but I'd like to know if I can do this without having to mess around with cables.
I've run this on a device and on the emulator. The app stops unexpectedly on both
I have not a clue what is wrong currently
It uses Google API Maps I compiled with Google Api 7
Followed this tutorial http://developer.android.com/guide/tutorials/views/hello-mapview.html
(Made some alterations clearly)
I did use the correct API Key That the final apk is signed with
This is the source(If you compile it shouldnt work as it is unsigned)
This is the compiled signed apk
I have created an application for a simple expandablelist. In the code i am displaying some textviews in the child . I am able to add a button in the child of the expandable list. But the problem I am facing is with the onclick event of the button.Since I am creating the button inside onChildClick(), the button appears, but its onclick event dosent take place. I also tried adding the button with its onclick event in the group as well, but I am facing similar problem there also.
If anyone could help , it would be greatly appreciated.
Thanks in advance,
HM
I am working in an android application and I want to Clear my Bitmap data. The scenario is that I am taking a screen capture of an Widget(Imageview) and I am storing it in a Bitmap. This action comes in a Button click. SO after some time I get a Memory error. So I want to clear the values in the bitmap. So to do that I have done the following code :
The BitMap variable is mCaptureImageBitmap
public void ButtonClick(View v)
{
mCaptureImageBitmap.recycle();
mCaptureImageBitmap=null;
View ve = findViewById(R.id.mainscreenGlViewRelativeLayout);
ve.setDrawingCacheEnabled(true);
mCaptureImageBitmap = ve.getDrawingCache();
}
But I get an error of NullPoint exception. Please help me
My app needs to save files that will range from about 2-20mb. When I tried to do this I was getting an OutOfMemoryException. I did some reading and it's looking like Android has a file size limit of 1mb. Is this correct? If so, is there a way around this limitation, other than splitting up every file into 1mb chunks?
My application is a trail version apk. Once the period is completed, can I initiate another application to be installed/downloaded from the android market ( purchasing process) which is a paid application using the current running trail application.
When we try to open an attachment file from the mail, the desktop browser asks to save / open the file. As like that I need to do in the android mobile browser. How it's possible to ask a question in the mobile browser at the time of open an attachment file (*.ics)? Can anyone help me to develop an application for this ???
Hi!
I'm trying to run the google maps
example but it keep giving me in the console:
"WARNING: Application does not specify an API level requirement!"
"Device API version is 7 (Android 2.1)"
The application never starts,
instead, it shows that frame with:
"The application (...) has stopped unexpectedly..."
Can Anyone point what might be the the problem?
Thanks
Hello I'm a new android developer.
I want to do a welcome page which can display program logo [ full screen image] and loading progress of my main program.
My main program has to load a webpage. My question is how to display the web-loading progress of the main program on the welcome page, while showing the welcome page until the download is completed.
I am a beginner in Android programming. I want to build a simple application with a main list view in the screen and two buttons at the bottom of the screen.
When more items are added to the list view, the list view should scroll without increasing the overall length of the list view.
m.google.com somehow requests the current location when loaded in Android's browser.
I want to do the same thing from a web page being loaded into a WebView in my own application. Is the only way to go about this with WebView.addJavascriptInterface(), or is there already a javascript interface available for webapps to use?
I would like to create a Java-written RESTFul Web Service, possibly using an eclipse plugin.
This service should be consumed by an android application, using the apache HttpClient.
But my question is, which is the best/ideal technology (server side) to implement this kind of web service?
Hi,
I have a list of items that are displayed using a ListView from a SQLCursor. The SQL table includes(as well as other things) a _id field and an order field. I use the order field to sort the list before it gets to the ListView.
What I need is a widget like the MediaPlayer has in its playlist view. It allows you to click the icon and drag the item in the playlist around and put it into a new order. With that ability I can then retrieve the new order and update the SQL table with the new order. However, I am not having any luck finding any clues to help me add that functionality into my program.
The question is whether I can use existing functions to help me, or do I need to manually program motion events and such until I get nearly the same functionality.
I'm using a default Eclipse project file generated for my Android application, and I want to keep it in a targets/ directory (along with other eclipse-specific files) in order to better organize my project structure (I also plan on adding a target for NetBeans).
Simple question, I suppose: Is this possible?
I used the tutorial on this website but i dont really understand how to get the file that i wont to be loaded into it. Does anyone know what i have to do to get a file in my res folder to show up in the webview through the content provider or even another way to do it?
http://www.techjini.com/blog/2009/01/10/android-tip-1-contentprovider-accessing-local-file-system-from-webview-showing-image-in-webview-using-content/
The wifi network is connected, the application setup a socket connection and exchange data with the remote server. But when turn off the wifi, the inteface is removed, while socket operation read/write on this socket is still like normal, no any IO exception reported. The application has to do some extra checking to avoid waiting for the data forever.
Is this the normal case for Android design? Is there any plan to fix it?
am almost done with my project in android, now I want to make the executable version of the application.
I need to demonstrate it in .exe form as soft app as on emulator, not by built and debug process from eclipse.
From today, when I tried to run an app in NetBeans on a 2.3.3 Android platform, it shows me that:
Failed to allocate memory: 8
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
and the Emulator doesn't want to start.
This is for the first time when I see it, and google has no asnwers for this, I tried even with 2 versions of NetBeans 6.9.1 and 7.0.1, still the same error.
Hi
I Want to understand the audioflinger and the audio HAL in android 25E.
16. Is there any document on this. Any suggestion is appreciated.
Thanks in advance
Hi,
I am trying to have an EditText widget next to a button with a text view underneath. The EditText should resize and fill the screen accordingly, while the button's width is always only what it needs to be by setting the width to wrap_content.
The layout should not be relative. Below is the code I have so far some of which was found here on StackOverflow. Removing the text view gives the desired appearance for the EditText and button, but when the TextView is added the view goes to ... well.
Not sure why the code is not showing? I put it into a < code< pre block without success.
http://pastebin.com/WgH6qrTm