I have Activity named whereActity which is having child dialogs as well.
now i want to display this activity is as a dialog for another activity..
how can i do that ??
This might be a "duh" question but I'm going to go ahead and ask it anyway.
I have an oversized (bigger than the screen) RelativeLayout, and I'm using swipes to start a TranslateAnimation from viewing one part of the layout to another. Say for instance the layout is two screen wide and two screens tall. After the nice animation to shift the…
Hi,
In the application I am developing, I would like to send messages in the form of JSON objects to a Django Server and parse the JSON response from the server and populate a custom listview.
From the little JSON knowledge I have, I thought this format for the response from server
{
"post": {
"username": "someusername",
…
I would like some of my preferences to have icons, like the Settings app.
I guess one way of doing this would be to copy all the relevant code and resources from the Settings app, but it seems like overkill for a couple of icons.
Also I don't like the idea of having to duplicate the code and resources in each project that requires…
Hey,
Anyone knows how to change cursor size in Edittext in Anroid???
I'm trying to implement SMS function.
I used EditText and tried to put background image.
The background image has lines so I need to put extra space between lines so that the background image and the lines fit nicely.
But... if I use linespacingextra, it…
i want to change synchronously change in email application then automatic change in server email. For example :- i have read the unread message on email application then automatic server email change unread mail to read mail.
my email application has use mail jar file, activation.jar and additional jar file use
and following…
Hi ,
I have a date picker and a time picker in my app. Can anyone tell me how to get the values of the date and time that are selected??? What i mean to say is, for EditText we can declare as
final EditText Name = (EditText) this.findViewById(R.id.nametext);
and we can cast the data of it by using…
hi,
I get null pointer exception at line mService.start() when i try to bind to an already started service. I do the same thing from different activity(where the service gets started) everythig goes right. All these activities are part of one application.
What do you think I do wrong?
public class…
Hi all,
In my android app I have a WebView to display html data from our website. Sometimes the page will have youtube embed objects. This doesn't show up properly in the app. Is there any way to show/play youtube videos in WebView ? Thanks.
Hi,
Is there anyway to wrap a TextView around an image?
It's the typical thing that people do in CSS like this http://www.echoecho.com/htmlimages08.htm
Thanks,
Tee
I have been trying long to send an HttpPost request and retrieve response but even though I was able to make a connection I don't yet get how to get the string message which is returned by the request-response
HttpClient httpclient = new DefaultHttpClient();
HttpPost httppost = new…
Hello,
I wanted to create a notification without the icon in the status bar (the state that is not expanded). I tried the custom expanded view and set the icon for this view only. But it did not work. When I give 0 as icon to the constructor, the icon disappears but notification also…
Is there anyone here who have real-world experience on this topic and is willing to share his experiences on subject? Links to guides/code/step-by-step instructions are highly appreciated.
Thanks!
i want to draw a graph in a area and i used a linear layout as area.i want to set the size of the graph area,which should be compatible to small,medium ,default emulators etc.i need to set the size for graph area,how can i do it in xml file
for eg in blackberry we use…
I need to create two views programmatically (because I need to access the ondraw of one of the views). For some reason, no matter what I do to add the views to the contentview, they don't show up vertically stacked, one below the other.
I can do it just fine using the…
I'm developing an application that shows a path on a map, determined by a KML file. Specifically, in the MapActivity that is starting the map:
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.main);
…
Hi all,
I've recently obtained an HTC Desire and I'm interested in porting my 3D engine to the device. I have a slight annoyance however. I'd love to be able to do development under Visual Studio 2008. Am I to assume I'm going to need to re-process my SLN files to…
My web service is returning quite a bit of data, so i'm storing it in an arraylist and returning that to my application. I don't know whether or not this is the preferred method or not. When the arraylist is returned and displayed in my application, it also displays…
So I am using the techniques in this thread to use a custom background for my titlebar. Unfortunately the framework places my layout inside a FrameLayout which has padding and so the image doesn't cover the whole bar, but instead has gray borderes. Is there anyway…
Hi
I want to publish my application (ABC). Its an audiobook file(just for example.) wrapped as apk. When the user install this application it needs to check whether another application (XYZ) already installed or not. If not let the user know they have to…
Hi.
My web application runs in localhost server. In my emulator the URL is http://localhost:8080/myaction
Is it possible to retrieve the informaion from the server?
Hi,
I tried to bind some actions to a camera button:
videoPreview.setOnKeyListener(new OnKeyListener(){
public boolean onKey(View v, int keyCode, KeyEvent event){
if(event.getAction() == KeyEvent.ACTION_DOWN)
{
switch(keyCode)
{
case…
Hi,
I need to be able to schedule multiple Notifications at different times in the future.
I tried doing this with an AlarmManager, but that isn't suitable, for the following reason. From AlarmManager.set(): "If there is already an alarm for this Intent…
What I have done is I have taken the class-files from my eclipse project and run them trough an optimizer/obfuscator. So I now have optimized class-files that I want to get in the form of an apk so I can sign and publish it. However, I am lost on how to…
how to enable the voice search button on the my app search activity? if we use the onRequestSearch enables the text search not voice search button. why?