Hi
I want to integrate the zxing source code to my android application. I have downloaded the zxing1.5 and integrate the whole code to my application and i am calling the activity "CaptureActivity" through intent. It is showing only the camera view but it is not scanning the barcode. Can u please tell me how to solve this problem becaus...
Hi all,
I am working on Android. Trying to display the "favicon" (aka "shortcut icon") or web pages.
So I already have the code to get the URL of this icon from any website, and download it onto my Android.
Now I am trying to make a Bitmap out of it, but always get null as a result.
The code:
String src = String.format("file:///data...
I am looking to find out how to assign an image to a imageview in each child of an expandable list.
If anyone has any information or links to find out how to do this I would be most appreciative.
expListAdapter =
new SimpleExpandableListAdapter(
main.this,
createGroupList(),
...
Dear,
is there any way to intercept calendar task,meetings.
Means track task and meeting on insert,edit and update.
Thanks.
...
how powerfull is google android bluetooth programming?
is it considered a low level programming langauge/emulator that enables me to have full control over bluetooth? ie protocols,encryption,layers....
...
Hi,
I’m currently working on a Android project and is very newbie to the Android platform. It’s an exercise I got from an article where I have to create a twitterlike application so that one Android platform can write to another and it automatically is updating. I’m using a Bluetooth emulator for Android to test.
But before I start wi...
hi,
When writing :
CountDownTimer timer = new CountDownTimer(1000, 100)
{
@Override
public void onTick(long l)
{
}
@Override
public void onFinish()
{
};
}.start();
are we actually starting a new thread that handles ticks ? or what is really happening behind ?
...
Hi
I am using a ListView to display my custom item layout, which may contain some TextViews and an ImageView.
This is the item layout I made (post_item.xml):
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_heig...
I want to have a toast message to display "Enter numeric characters only" whenever the user presses a non-numeric key on the virtual keyboard. Any clue?
...
Hi guys,
after a little bit of work my route application works fine :)
The only thing I just want to add is a double tap zoom in function, but I don't know how...
could you give me a hint?
nice greetings,
poeschlorn
...
I've been reviewing the Supporting Multiple Screens documentation on the Android and I just need some additional clarification...
It's my understanding that designing three unique interfaces (ldpi, mdpi, and hdpi) would be the best way to go about supporting all the potential android screens with minimal scaling/distortion.
Yes, I kno...
Hi,
Does anybody knows how could one programmatically decompress an archive in android ?
...
Hi.
I am trying to fetch sms messages from inbox, sent items and drafts. I would like to do a pagination for my list view for that it's imperative that I fetch records in pages/chunks.
I am not familiar with sqlite which is the database I understand android use to store the data. Can someone tell me how can I restrict the number of rec...
Hello all,
I have an app that starts playing sounds and begins/resumes gameplay in the onResume() method, but what I'm noticing is that if my app was the last run application when I put the phone into standby (screen off), and I just press the Menu button to check the time, then the phone starts playing the game and sounds in the backgr...
I am using a PreferenceActivity to let the user set some values.
I am feeding it the xml file with the defined preferences.
I have set all the android:defaultValue="" for them.
When I start my application, I need the preferences, or if they are not set yet manually, I want the default values:
SharedPreferences prefs = PreferenceManage...
Hi all,
I don't know if the title is very clear, but my issue is as follows :
I have an activity with a listview, and on top of this listview, i have a searchfield (edittext). The issue is that when i try debugging on a phone, the virtual keyboard gets out straight after the screen displays the activity...
And of course, it's hidding h...
Hey Everyone,
I have a lot of time information in the format of hh:mm and I was wondering if there is a good way to take this information and compare it to the current time. Say I have a list of times for a day and I want to find out which time in this array of strings is the first that has not already passed in this day.
I was lookin...
Hi,
I was trying the TabLayout Tutorial from official developers site. I didnt copy paste it as such and some minor changes and corrections to typos in the tut.
package com.org.example;
import android.app.TabActivity;
import android.content.Intent;
import android.content.res.Resources;
import android.os.Bundle;
import android.widget....
So I have a huge maze of activities in my application. What I need to do, is that when the user logs in into the system, the activity history should be cleared. I cant just use finish() when I start a new activity, because I want the activities to have a history until the user logs in. I have experimentet with the different flags when st...
If I want to enforce a maximum length of input in an EditText field, I can use the maxLength attribute. But if I want to enforce a minimum length (in my case, simply non-blank), I find no corresponding minLength attribute.
I've also looked at the various 'inputType' attributes (phone, password, etc) but I don't see anything like 'requi...