Hi All,
How to fetch album art from media provider database. please provide
some sample code
Thanks & Regards
Masood
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
I am having difficulty with my homework project rendering an
octahedron by modifying an existing project that renders a pyramid.
The hint given is to change the vertices, colors, and indices objects.
I did that but the best I could generate is the existing pyramid with
1 or 2 faces of the inverted
thanks Mark,I tried in debug mode.But there is no information in the
LogCat...so what should I do if I wanna fix this bug in my app?
2012/3/8 Mark Murphy
> Don't check the checkbox. Or, fix the bugs in your application, by
> using adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
>
Don't check the checkbox. Or, fix the bugs in your application, by
using adb logcat, DDMS, or the DDMS perspective in Eclipse to examine
LogCat and looking at the stack trace generated by your error.
On Thu, Mar 8, 2012 at 3:49 AM, roger wrote:
> Hi
> In android 4.0,click the 'developer options',
A table view with three rows would do the job too...
On Wed, Mar 7, 2012 at 6:00 AM, moktarul anam wrote:
> Hi
> this will be simple listview and use custom adapter
>
> Moktarul anam
>
> On Wednesday, 7 March 2012 11:37:06 UTC+5:30, megha agrawal wrote:
>>
>> Hello All,
>>
>> I want to create a
On Thu, Mar 8, 2012 at 5:25 AM, Abhishek Sharma wrote:
> I want to shutdown android device from application on pressing key.
This is not possible from an ordinary SDK application.
> Code snippet:
> public void poweroff()
> {
> ShutdownThread.shutdown(context, true);
> }
There is no ShutdownTh
Firmware questions belong on http://source.android.com.
On Mon, Mar 5, 2012 at 11:16 AM, Aglets wrote:
> I was able to launch a service from init.rc in Android 2.3.4 without a
> problem. Now in Android 4.0 ICS the same application does not launch.
> I can execute it successfully from the ADB comm
I think I have a hint as to what is going on.
Basically my first focussable item is not right on top.
So when the layout changes, the current focussable item is brought into
view. During this calculation, the scroll is set.
That is why my top portion of the layout is scrolled out.
How do I pre
The stuff that should be "cleared" "when the application is closed by
the OS" are not preferences, so do not implement them as such. Use
static data members or something along those lines, so they will go
away automatically when Android terminates the process.
On Tue, Mar 6, 2012 at 10:00 AM, Alej
I think foreign key in Quens_Ans table must be a primary key.
Kind Regards,
Ch.B.Sagar
On Mon, Mar 5, 2012 at 4:04 PM, Jay Khimani wrote:
> I'm developing an Android 2.2+ app with SQLite db support. I'm trying to
> define referential integrity constraints while creating the tables. I've
> also
On Wed, Mar 7, 2012 at 12:13 PM, David Ozersky wrote:
> The top level of tabs will hold categories of Feeds, or types, and the
> second level will hold the feeds themselves. (If possible, I would like lo
> to learn how to add more levels). Is this possible?
The action bar itself does not suppor
I have been gathering quite a lot of personal battery usage stats with my
biking app while testing mostly with a SE Xperia Active but there is quite
a lot of variation with differenrt devices. I have a number of options to
vary what is on. With these options the runtime varies from a worst of
if you enter only 5002 the it gets null value in space1 so it's
crashed.To solve these problem you can do like this:
str=txt.getText().toString();
int space1=str.indexOf(" ");
if(space!=null){
s=str.substring(0, space1);
}
else
{
s=str;
}
On Tue, Mar 6, 2012 at 11:06 AM,
I'm currently implementing the registration of a device for C2DM
notifications and so far I'm able to get a notification id back when I send
a valid gmail account as the sender id so I think that the process is
working correctly. My question is does anybody understand why I would get a
"SERVICE
I am trying to change the drawable used as background in the spinner
dialog. Prior 3.0 it works fine, I just change the AlertDialog style to use
my images, but that does not work when the activity is inheriting from a
Holo theme. I am trying to find which style I have to override but I simply
c
I'm developing an Android 2.2+ app with SQLite db support. I'm trying to
define referential integrity constraints while creating the tables. I've
also enabled the foreign key support by executing db.execSQL( "PRAGMA
foreign_keys=ON;" ); in onCreate and onOpen methods of SQLiteOpenHelper.
Afte
Does anyone know what is the best way of cashing and displaying data
from internet (web service)?
concepts, tutorials, examples are very welcome.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-d
In order to minimise the required security for my apps I would like to
split them into 2: the core app which has effectively no required
permissions, and a manager app which will have internet access/write to
SD/etc permissions. That way users can happily install the base app
without having to
use the IsPressed(),IsFocused() method.if it is true ,change the button
images
On Mon, Mar 5, 2012 at 4:12 PM, teja divya wrote:
>
> how to change the button images according to the state of the button that
> is button pressed,button focussed ???
> --
> ..divyateja
>
> --
> You received thi
i am having problems trying to update/replace Fragments in a
ViewPager. the problem is that the old fragments simply won't get
replaced by the new ones. i have read a couple of solutions on
stackoverflow, and tried them, but it still doesn't work. anyone have
any ideas why? i will explain what i am
I have written a custom subclass of MatrixCursor which handles some
behind the scenes data updates (from the network) asynchronously.
When new data has been added to the data store (not sqlite), the
MatrixCursor subclass calls onChange(true). I have a dataSetObserver
registered as
docum
I think emulator is getting old database whatever u have used before. so
uninstall the application, run the new application.it'll be also crash..
There is problem in your code not in phone.can you tell me what's error
coming.
On Mon, Mar 5, 2012 at 9:23 PM, Chris Stratton wrote:
> On Monday, Ma
Hi,
I'm developping android application for sansung galaxy tab 10.1 and
NFC reader (ACR 122U) usb
WHen I plug-in the usb (qith the usb adapter kit sansung) and run
dmesg in root mode I give this error:
usb usb2: New usb device found, idVendor 1d6b idProduct=0002
usb usb2: New Usb device String:
Anyone tried it on ICS yet?
And are there new patches or something?
On Friday, February 10, 2012 9:47:18 PM UTC+2, malls wrote:
>
> When the card emulation is detected, the call is routed
> to nfc_jni_transaction_callback() of SecureElement. From here the event is
> posted to NfcService for exam
Perhaps this is the wrong venue to make this request. If so, pardon me
and ignore.
I am not a decent Java developer and I am new to Android development,
but I want
to learn and I learn best by doing:
ArchWiki Offline: https://github.com/tetractysproductions/ArchWikiOffline
Alphas of the software
check Your database that it has data what u have entered.if it has entered
value than check the value of cursor which are coming from query for
fetching the value from database.
On Tue, Mar 6, 2012 at 10:49 AM, Jagruti Sangani <
jagruti.sang...@inextrix.com> wrote:
> hello below is my code of dat
when i open the web carmera app of the avd, it seems automatically
choose my TVcard device for the camera, how do i correct it to choose
the right device?
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to
have u closed database .if not ,close your database
On Tue, Mar 6, 2012 at 12:15 PM, abhijeet tomar wrote:
> Hello Developers,
>
> I got exception 'close() was never explicitly called on database /
> pkg/ db '
> and i am not closed the database...where is the problem if u know
> about that
> pl
As someone recently said in an article I don't care enough about to
track down to link to (sorry, whoever wrote it); it's not the best
name, but it's not the worst name either. It's a fair point that no
name would be objectively "best", as is proven by the plethora of
discussions about what would b
Hello sir,
actually in our project there is an option of favorites.
what i want to do is i want all those applications that has been
visited several times to be in favorites.
for this im going to use shared preferences.
i have thought having a counter i will increment that counter
everytime a parti
Android Beam (SNEP) and Google Wallet (Card Emulation) are using 2
different NFC technology and I was wondering if they work nicely together
on phone with 4.0.3.
I can't test this on 4.0.3 since Google wallet will not run on my
region/carrier (Canada).
My experience has been with 2.3.6 and the
It should be in a single folder until i used in my app ! It works fine.
Check my structure above...
On Thu, Mar 8, 2012 at 3:47 AM, Alik Elzin wrote:
> The resolution means a lot.
> It means a stretched(/squashed) vs. non stretched image.
>
>
> On Thursday, March 8, 2012 1:35:50 PM UTC+2, Kostya
Hi,
I'm a newbie Android programmer and I've been assigned a task to develop an
App with Fragments and an ActionBar. I'd like to develop an ActionBar with
Tabs that lead to another dropdown. My app will be an advanced RSS feed
reader for tablets.
The top level of tabs will hold categories
Hi
In android 4.0,click the 'developer options',there is a checkbox named
' don't keep activities'.
When it was checked, my app didn't work! When I launch another
activity from my main activity,the app will be closed!
so...anyone know how solve this problem?
--
You received this message because y
I built an application in eclipse for testing purposes it works in the
emulator without any problems.
I then copied the project named listviews from my workspace to a
dropbox folder.
I then went onto my phone went to the drop-box went to the bin
directory and found the listviews.apk file.
I then cl
Hi!!! I try to write in English because my English isn't great. I only
hope that isn't late.
Well you try to show the dialog but you don't put the show() method
and I don't know why you put a return.
The code is the following:
case PEOPLE_CHOSING_DIALOG:
> AlertDialog.Buil
Hi all.
I am developing an application that draws icons on a map. But i need
to draw them dynamically: if the user does zoom in the map, if
zoomLevel is > 10, draw this icon, in other case draw that other icon.
I've been the whole morning reading and searching the web, and found
nothing that works
hi dude i need src for local host call receiver to android
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-develo
how can we develop file categorizer in android so that it can perform
follows
1.The application should be stored on the memory card.
2.Categorization of file types specified by the user should only be
done.
3.The application should be available to work in minimised mode.
4.The performance of th
Hi all, im a newbie here
I already try to search this solution but doesn't found any answer.
What i want to ask is, it's possible to save last coordinates ?if so,
can anybody here tell me how to do it's
Thanks, and sory for my bad english
--
You received this message because you are subscribed to
Hi!
How can I protect my queries if I like to use rawQuery method? For
example, I wrote a query
String query = "SELECT " + DbHelper.TABLE_WORDS + "." +
DbHelper.WORDS_WORD + ", " +
DbHelper.TABLE_TRANS + "." + DbHelper.TRANS_WORD +
" FROM " + DbHelper.TABLE_WORDS +
" INNER JOIN " + Db
Update :
I found the solution,but still getting error. Use 2 location variable to
get the previous position before changed :
public void onLocationChanged(Location newLocation) {
prevLocation = currentPosition;
currentPosition = new Location (newLocation);
int lat1 = (int) (currentPosition.getLati
Hello,
I want to have some preferences stored "forever" by my application,
for example username, remember me, etc...and other preferences to be
stored only until the application is closed, or the user logs out. So
basically my question is how do I delcare which preferences must be
stored for ever,
Hi all
I have an problem here.
I was developing an map application, and it have feature to rotate the map
when user changed direction.
I know the easiest way to rotate it is, with the Orientation sensor.
But for know, i need to rotate it without sensor.
IMHO it's possible to rotating map with the a
Welcome!
At first, I want to say that I'm beginner in Android programming.
I was trying to add the jar file from http://push-link.com/ to make my
application self-updating.
I've added the jar (this one) to the classpath (copied jar file ->
right click -> Build Path -> Add to build path...), I've a
Serial port by definition is a string protocol, characters above 128 like (
0xFA ) are [control codes]. Examine the difference between binary and
string representation
2012/3/7 Todd Grigsby
> "0x" implies that the characters that follow are byte data in hex
> notation. The "0x" is not part
I want Textview , List view and Button on the same screen.I'm using
customer list view adapter ... please help me ASAP !!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.c
Everytime I plug a keyboard or scanner, the soft keyboard no longer
shows when EditText is in focus.
I've already tried to force the soft keyboard to always show using the
inputManager, but it only works when the physical keyboard is
unplugged.
inputManager = (InputMethodManager)
context.getSyst
Checkout OpenNFC.
Caution: works best only if you are working on a windows environment! Else
if you are a linux hacker like me, you are gonna have one hell of a
difficult time!
On Friday, March 2, 2012 12:50:24 AM UTC+5:30, Shantanu Jain wrote:
>
> Hi, I am a college student in India and my co
I have made a simple web service which I return a list of values, this
is the code:
[WebMethod]
[ScriptMethod(ResponseFormat = ResponseFormat.Json)]
public string HelloWorld() {
string[][] JaggedArray = new string[5][];
int i = 0;
for (int r = 0; r < 5; r++)
I was able to launch a service from init.rc in Android 2.3.4 without a
problem. Now in Android 4.0 ICS the same application does not launch.
I can execute it successfully from the ADB command line but I can't
get it to launch from init.rc. Any ideas?
--
You received this message because you are
This is what I get after clicking on the link:
Мы сожалеем.
Таблица по указанному URL не обнаружена. Проверьте правильность URL и
убедитесь в том, что владелец таблицы не удалил её.
Дополнительную информацию можно найти в справочном центре Документов Google.
"Владелец Таблицы" would be a great
The resolution means a lot.
It means a stretched(/squashed) vs. non stretched image.
On Thursday, March 8, 2012 1:35:50 PM UTC+2, Kostya Vasilyev wrote:
>
> 1280 * 720 by itself doesn't really mean much
>
> Do you mean the Galaxy Nexus? That screen is "extra high density", so its
> folder is draw
Hi seshu,
thanks for the sample but i m not familiar with JSON and also
my query is i m able to retrieve the xml data from my server using HttpPost
, what i need is i need set that value to my second spinner.
On Thu, Mar 8, 2012 at 5:08 PM, Seshu wrote:
> Hi Vivek,
> Open this l
Line breaks in emails are represented by CR/LF, not by a single "\n".
http://www.ietf.org/rfc/rfc2045.txt
-- Kostya
8 марта 2012 г. 9:42 пользователь ravi . написал:
> I'm trying to send an email in Java but when I read the body of the
> email in Outlook, it's gotten rid of all my linebreaks. I
Hi Vivek,
Open this link and see this example..
http://www.vogella.de/articles/AndroidJSON/article.html
Thanks & Regards,
S.Seshu.
On Mar 8, 10:33 am, vivek elangovan wrote:
> Hi members,
> Using HttpPost i am able to retrieve the following
> data in my response
>
>
1280 * 720 by itself doesn't really mean much
Do you mean the Galaxy Nexus? That screen is "extra high density", so its
folder is drawable-xhdpi.
A 8-9" tablet could conceivable have a 1280 * 720 screen, but that would be
"medium density", drawable-mdpi.
Android running on a notebook with a 1280
Thanks you Anirudh. As I asked Zsolt:
So if I have the same background drawable suited for other resolution
screen - 720×1280 - what folder should it be?
On Thursday, March 8, 2012 12:33:00 PM UTC+2, Anirudh Loya wrote:
>
>
> Dude... Check this flow.
>
> [image: Inline image 1]
>
>
>
--
You re
I have a scroll view activity under which I have lot's of UI objects.
Now let's say when the activity starts up, the view is right on top.
Now if I change the orientation of the phone, I observe that my activity
has automatically scrolled to a different position.
I don't want the scroll positi
Dude... Check this flow.
[image: Inline image 1]
On Thu, Mar 8, 2012 at 1:48 AM, Alik Elzin wrote:
> What should the folder's name be?
>
>
> On Thursday, March 8, 2012 11:37:42 AM UTC+2, Anirudh Loya wrote:
>>
>> Create another Drawable folder above drawable-hdpi and paste all your
>> images th
What should the folder's name be?
On Thursday, March 8, 2012 11:37:42 AM UTC+2, Anirudh Loya wrote:
>
> Create another Drawable folder above drawable-hdpi and paste all your
> images there. It will work fine.
>
>
>
--
You received this message because you are subscribed to the Google
Groups "
Create another Drawable folder above drawable-hdpi and paste all your
images there. It will work fine.
On Thu, Mar 8, 2012 at 1:26 AM, Alik Elzin wrote:
> So if I have the same background drawable suited for a G-S - 720×1280 -
> what folder should it be?
> See my point? I don't see the guideline
So if I have the same background drawable suited for a G-S - 720×1280 -
what folder should it be?
See my point? I don't see the guidelines for this. It's hard to make great
looking apps this way.
On Thursday, March 8, 2012 8:05:54 AM UTC+2, Zsolt Vasvari wrote:
>
> Put it into NODPI and let the
201 - 263 of 263 matches
Mail list logo