android

Need Help in Fixing Skia Decoder Returned False

Hi Friends, I have parsed an url, and displayed it contents, in that several images are available, all images are displayed correctly, but when i want to display the following url image, i got skia decoder returned false, i had searched the net and used the following solutions, but all solutions did not help me to fix this is...

Android: Weird issue in stopping a service

Hi guys, I have an activity that starts a service like that: Intent youtubeIntent = new Intent(this, YoutubeFeedService.class); service = startService(youtubeIntent); and to detect when the service stops I use a broadcast receiver: @Override public void onResume() { IntentFilter filter; filter = new IntentFilter(You...

How do I achieve square layout and buttons in main.xml?

Hello, I would like to have a layout with 5 times 5 buttons. Each of them should have the same width and height (they should be square). And I want the whole matrix to use the screen width (or height, depending on rotation). I currently do it "by hand" in the Java code: for (int y=0; y<5; y++) { TableRow tr = new TableRow(this); ...

how to create Equalizer Button in Android ?

Hi to all. I am new to android i wish to create a button like a Equalizer Button. At the time of track the button i need to do some work.Can any one help me ...

Handling Back key while showing a dialog in android

in my application i prompt for password in onResume(), and Before this i have already created view in onCreate() so it is compulsory for user to enter password But if user press the Back key password dialog get disappered and user easily use the application when dialog is Being shown,if get key event for Back key then i can easily hand...

Android: Loading data from a URL to SQLLite

What's the easiest way to populate a SQLLite table with data off a URL? I'm writing a Delphi web app that will generate a file on a server for my Android app to download. In Delphi, I'll probably save it as a .csv file and use bulk import to import into MS SQL Server. What's the easiest / best practice way to do this in Android? How w...

CDMA 4G network connectivity

My app doesn't connect through HTC EV0-4G. How app can access network through CDMA 4G. ...

Android, Pick Image

Is there some possible way of picking images from picture folder? ...

Generte resource ID at runtime?

Hi, I am writing a custom preference with a seek bar, so far it works, except for one problem the ID of my seek bar is defined in XML, so when I try to use 2 of my custom prefernces and then I update the Seek Bar I cannot distinguish between the two. SeekBar bar = (SeekBar)view.findViewById(R.id.PreferenceSeekBar); Is there a way to ...

Using Eclipse, how can I build & compile an Android project targeted for 1.5 that uses 1.6+ features?

Probably a simple question but I've developed an app that has always been using a build target of 1.5 without issue. However, now I'm adding TextToSpeech which was introduced in 1.6. I've created a TextToSpeech wrapper that encapsulates the TextToSpeech code and I have checks in the activity so that when it does run, it should only wor...

Android TableLayout Width

Hi, I have a two column TableLayout as the only child of a scroll view. The first column contains TextViews ('labels') and the second column contains EditText/Spinner/DateWidget etc ('values'). Even though I have have specified android:layout_width="fill_parent" for TableLayout, TableRow & all widgets (in 'values' column). The screen l...

Size of Android UI mockups?

I want to design some mockup interfaces for some Android apps. I would like them to be able to nicely scale up and down depending on the resolution of the mobile device being used. What would be the best image size to design these mockup interface in? Thanks. ...

how to allow android to access/modify a remote database

I'm running a .net aspx application. I'll need my android app to access and modify/insert information into the ms sql database. is there any api ? thank you ...

Set a layoutmargin on a dynamically created checkbox

I'm writing a task manager app that downloads a list of tasks and subtasks from a server and creates a new checkbox for each item and adds it to a linear layout (called ll below). The problem I'm having is that I cannot set the "layout margin left" using java like I can with XML (this is for the subtasks to indent them a bit on the scree...

Cyanogen cursor access

I'm currently working on a Synergy (http://sourceforge.net/projects/synergyandroid/, synergy-foss.org) port to the android phone. I have keystrokes working -- I'm writing the key events to /dev/uinput. However I have been unsuccessful in getting the mouse cursor to show up. I've tried writing a mouse move by writing an EV_REL input_event...

Why the interface of my program is fit in eclipse emulator but not fit in my N1?

Why interface of program is fit in eclipse emulator but not fit in my N1 and Liquid? How to solve it? ...

Best platform for Bluetooth Applications

Which Mobile Application platform do developers prefer for Bluetooth Based application development ? What do developers think on the current available API's on these platforms ? Does it meet most of your needs ? What kinds of APIs / capabilities for applications would you like to see. ...

GL_LINE_LOOP not drawing correctly

Hi, I have a square which I'm rendering using four vertices and GL_LINE_LOOP. It works fine. However, if I start to rotate this square on all axes and part of the square leaves the emulator screen, the loop appears to drop the vertex that has left the screen. I then get a triangle for a while until the fourth vertex returns to the screen...

Best method for text parsing androidK

Hello, I am trying to write a program in android that does a lot of string and xml parsing. I need suggestion of which way to go : Use JNI and implement parsing in C++ and use C++ xml SAX parsing (Android - NDk) Go with java and parse xml with SAX ...

Time picker in andoid

HI Every One. I am new to android Developmemt . Actually my project requires to show Timepicker but i doesnot want to show AM or PM option and also not in the header of the picker, There is any way to do this ? Please reply ASAP ...