Hi there,
First and foremost I'm very new to the android sdk and a bit of a Java greenhorn so bear with me.
I'm developing an application that needs to access a users email. This specific part of my application will ask the user their email address and password and try to determine all of the pertinent data to connect and access the se...
Hello,
I tried to scale an high-resolution image to the desired size of my android and then set it as wallpaper, but as result I have a scaled image with 'annoying alternate rows' that make the picture NOT attractive.
int newWidth = wallpaperManager.getDesiredMinimumWidth();
int newHeight = wallpaperManager.getDesiredMinimumHeight();
...
Hi,
Is there some way where I can just link the images from the phone to my sqlite database? At first I thought of storing them in the phone memory in a new database but I am thinking that will blow away the space. Can anyone plzz help.
...
Hi,
I was wandering whether there is a way to perform
animations between activities like you see when you press the search in google maps (it slides down from the top).
From my research I have gathered it us only possible been views. Am I missing something?
...
Am I missing something here?
I follow the instructions exactly on this page (and some of the other tutorials) but they always seem to be missing some key information as they dont work out of the box
I added a bunch of packages that seemed like were missing, but now I'm stuck.
http://developer.android.com/resources/tutorials/views/hell...
Hi,
I'm trying to create a simple Android UI that consists of a EditText and Button widget. However I'm having some problems with setting the layout properties. The UI is supposed to look like this:
▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒▒ ▒▒
Left is the EditText and right is the Button. The Button (ImageButton) has a widths of approximately 50x50 whi...
Hi,
I have an android background Service that will occasionally post a notification to the Status Bar using the Notification class. Occasionally, when I receive a notification, pull-down the notification window, and select the notification from the list, the specified Activity doesn't start. When this happens, the screen dims (as if ...
Hi All,
I have a layout xml file with a linear layout. One of the children is again a ViewGroup Relative layout. In my java code i want to change the width of this child Viewgroup for my requirements. I tried this
enter code here
ViewGroup childViewGroup = (LinearLayout)findViewById(childViewGroup);
LayoutParams l = childViewG...
Anyone know how facebook did this:
From what I know we cannot change the height of tabhost. I'm guessing that they laid the "Frank Cho" view over the tabhost to give it the appearance of being shorter but I may be wrong. Anyone know what's going on?
...
I see a ton of results when searching for how to open the camera, and get the returned image. What about simply opening the camera app without any return at all? I just want the camera to function as normal.
...
Basically what I want to do is when the preference is switched from the default to whatever to load up a new set of parallax backgrounds. With the code now which is probably over complicated and maybe completely off When I switch my preferences nothing changes. You can definitely tell I'm a novice but, your help would greatly be apprecia...
Does anyone have an idea of an alternative to using the new (as of api level 8) Dialog.setOnShowListener. I would like to adjust some things in the calling activity based on the measured height of the dialog, but in order for that to work, I need access to the measured height of the dialog. It works fine in an OnShowListener() callback...
If a user opens my app they may open the following activities
ActivityLanding
ActivityFolder (foldera)
ActivityFolders (they select a new folder and this activity gets finished)
ActivityFolder (folderb)
ActivityFolders (now right here...
If the user selects foldera (again) then they will get two ActivityFolder instances in their stac...
I have an ExpandableListView (ELV) with the groups having LinearLayout. I have set the height of the group to some value (38dip in this case, equivalent to two lines of text). If the group heading is long and would take more than 2 lines, it is not shown properly in the ELV item - some part of the view gets scrolled. On the other hand, i...
Does anyone know how to make a View reversed, I have a horizontal ProgressBar and I want it to right to left instead of left to right
...
I see a lot of posts about writing to the SD card, but I believe my problem is different. I am unable to create the SD card during the process of building an AVD.
I initially tried to use the Android SDK and AVD Manager to do this, selecting
Name: my_avd
Target: Android 2.2 - API Level 8
SD Card: Size: 1024 MiB
Skin: Built-In: Default ...
Other than using listeners, is there any way by which i can get index of an item in the list?
...
What is the best and simplest way to have persistent data on android for a 'favourtes' tab?
I have three types of objects which can be found on three different tabs and the user can choose to 'star' them and they get added to a favourites list. I'm not to sure what the best way of doing this is...
Currently I'm adding the items to thre...
How can we turn on/off GPS programatically without going on setting screen in android?
...
When i am using below url for drawing route on map on android:
StringBuilder urlString = new StringBuilder();
urlString.append("http://maps.google.com/maps?f=d&hl=en");
urlString.append("&saddr=");
urlString.append(src);
urlString.append("&daddr=");// to
urlString.append(dest);
urlString.append("&ie=UT...