I'm facing a problem regarding to design issue, to understand problem i uploaded a screen shot
i checked in emulator, it works well but when i try the same application in HTC Sprint mobile which screen size is 4.3" and resolution is 480*800(HVGA) but there did not display appropriate (check attachment for screen shot).
...
Assuming i want to open another activity from my current activity and i want to pass arguments such as in my case difficulty level how do I do it?
newGameButton.setOnClickListener(new OnClickListener() {
public void onClick(View view) {
Intent i = new Intent(countryCityGameMenu.this,GameScreen.class);
...
We are writing apps for Android and so far only use the simulator.
What kind of unlocked phone can I buy that will work in the USA and with a change in the SIM card, work in Australia? What do we look for?
We will have teams in the US and Australia and want to buy the same phones in bulk.
...
Hey everyone I am working on an applications and I am using the built in zoom controls. When using a specific size I can see the zoom controls. When using fill_parent the zoom controls are not visible. How it is setup is a mapview inside of a frame layout(also using fill parent for the height and width but with an offset down the screen....
Hi,
I am trying to call a WCF Web Service from Android using KSOAP2 library. But I am getting this END_TAG exception. I have followed this thread to call WCF Web Service but still no result. I am passing "urn:TestingWcf/GetNames" as SOAP_ACTION, does this causes problem in Android since the error occurs at the statement "aht.call(SOAP_A...
I'm trying to use .net SOAP web service with ksoap2 lib. Example from http://www.vimeo.com/9633556 shows how to do it correct. Below the code from that example. everything shoud work ok, but when I try to do a call inself (httpTransport.call) I get "Permission denied (maybe missing INTERNET permission)" exception. Moreover, I don't see i...
Lets say that I have an app that lets you browse through a listing of cars found in a Sqlite database. When you click on a car in the listing, it'll open up a view with the description of the car and a photo of the car.
My question is: should I keep the photo in the database as a binary data column in the row for this specific car, or ...
Hi,
I have been implementing a class which class extends ArrayAdapter and implements Filterable.
The filtering part (in the performFiltering method()) seems to go ok, it fills the FilterResults object just as expected.
But then I think I'm not doing it right on how to publish the results, atm I have :
protected void publishResults(CharS...
Hi
I am creating an edittext in android and i am able to select particular text in it, I want to convert the selected text into a bitmap or png image..
Is it possible
...
i am getting a Array of objects from a webservice which has to be assigned to ArrayAdapter to be listed in a listView, i getting the result in @431d5410 in this format, How can i get in a string Format?
projects = projectService.SearchProjects("", 0, -1);
**Vector<ADSProject> ProjList = projects.getResults();**
setLis...
Hi all,
I need your help!
I need to locate text on view as showed on the picture:
text 'Some more text' should be located in bottom|center_horizontal
text 'Short text' should be located on with align right, but about 10% from the top of the screen
text 'x.x.x.x' should be aligned to the center of the screen (right/bottom align of th...
I'm getting null back for the 'Video.Media.RESOLUTION' column on a Nexus One and Droid. Anyone been able to successfully query for the resolution of a video file in Android?
...
I want to download an image (of unknown size, but which is always roughly square) and display it so that it fills the screen horizontally, and stretches vertically to maintain the aspect ratio of the image, on any screen size. Here is my (non-working) code. It stretches the image horizontally, but not vertically, so it is squashed...
Im...
Here is the situation.
I have a java project "LicenseGenerator" in eclipse that depends on commons-codec. I have therefore added the commons-codec jar file to the build path. I have Junit tests and everything is working fine.
I have made a different project in the same workspace - which happens to be an Android project - that needs t...
I'm toying with the Android SDK, with a view to writting a simple app for friends (and maybe for sale).
This app will search a database for keywords and dispaly the results on the screen, I've had a look at the searchabul dictonary and the notepad demo applications, but I'm still a bit unsure some things.
I know I need to write a class...
Hi Guys
I have an idea, can u tel me what the procedure to do this?
In my incoming calls r outgng cal it should display the phone number as wel as with network name For eg: 9876543210,Airtel like that
How to do that i am new to android. So anybody help me. whats the way to develop it?
Send me reply soon its very urgent
...
It's kind of hard to explain, but an example of what I'm wanting to accomplish is like this:
Here is some text | image |
that is printed | |
out in a view and ---------
it is wrapped around an
image that is floating and
right aligned.
I thought about generating the layout in html and using a web view, but I need to be able to ...
Hi,
In my app i have have a Cursor field and in the onStart() method of my Android Service I create it by fetching records from my database. When i look into my cursor in the onStart() method i find a number of records but when i try to use them in my trigger() method it has zero records.
the field
private Cursor c;
in onStart()
c = d...
This question may have been asked before, but I'm starting to get into game programming on the Android. I'm having a hard time figuring out the best way to move an object.
To put it simply, lets say I have a bitmap located on 0,0 and i want to move it across the screen. The obvious way to do it would be to simply increment the X positio...
Hello everyone,
I've started a little game, and so far I'm moving a little guy with onKeyDown() and the DPAD from Android Emulator. Now what I want to do is to add 4 buttons on the screen (like in a GAMEBOY emulator for example) and these buttons should move my little guy. With a clickListener and onClick() (or touchListener and onTouch...