Out of thousands of users, one is getting the followiing error
suddenly:
I/Database( 9312): sqlite returned: error code = 14, msg = cannot open
file at source line 25467
E/Database( 9312): sqlite3_open_v2(/data/data/com.mycom.package/
databases/My Bookback, handle, 2, NULL) failed
Caused by:
I have text which, when in portrait orientation, runs along the bottom of
the screen. When the orientation is switched to landscape I want to draw the
same text vertically along the same edge of the screen, so that it appears
in exactly the same place as when in portrait mode. Other ui elements
Hi everybody again!
So, advices here helped! Thanks!
After some research and testing this solutions seem to work OK:
I have only one!! writable sqlite db. (implemented using singleton as
some people suggested here)
Also, I've got some db code to synchronize write operations.
Only one thread can
Yes you are right, But thing is my application itself making wifi on.
Is it not possible to on wifi and gprs at a time?
On Apr 14, 2:34 pm, Kostya Vasilyev kmans...@gmail.com wrote:
You can disable WiFi by calling WifiManager.setWifiEnabled(false).
Just don't forget to tell the user you're
Presently, I am facing the same issue. How did you resolve it?
Best,
Ravi
--
Raviteja
http://about.me/raviteja
--
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
If you have the rest of the code in place, I'd be reluctant to toss it out
and start over with a SQLite implementation. Although it might do the
conversion for free, it's going to be a much more general-purpose
conversion routine, and thus is unlikely to be as fast as one you've
optimized for
I have a web app with a tool in it that uses google maps (the web tool, not
the android one). On my computers web browser I test it and it works fine
(gives a surprisingly accurate location, marked with a pin). However, when I
try and use it in the webview within my app, it does not get a fix
Sure, apps run slower when attached to the debugger, but that's hardly
surprising given the overhead.
I have noticed that one of my apps seems to slow down more than the others,
which leads me to believe that certain operations are more affected than
others. It's never been problematic enough
I see a handful of these in my Dev Console error logs, but have never had it
happen somewhere I can chase it down. Here's a typical stack trace:
android.database.sqlite.SQLiteException: unable to open database file
Caused by: android.database.sqlite.SQLiteException: unable to open database
file
You'll get that in onPurchaseStateChange in the sample app (called
after RESTORE_TRANSACTIONS):
{nonce:4728283427316410369,orders:
[{orderId:1694851887421222,packageName:tv.app,productId:tv.options,purchaseTime:
1302452718521,purchaseState:2,developerPayload:null},
THNKAS ADD GROPP
--
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-developers+unsubscr...@googlegroups.com
For more
Have you tried Paint.setSubpixelText(false)? Or possibly
Paint.setAntiAlias(false), if you're going the intermediate-canvas route.
String
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
We have an application that has a listview which shows some contacts,
there are about 20 contacts shown at one time, and the user can use
the swipe gesture to move to the next 20, (or the previous) page
It works fine. Now, we've noticed Samsung (and maybe more) Devices
have augmented the
Hi..
I need to know if the android have ,as a native mode, a PDF viewer.
And if don't have, he has a lib native that can I work easily with
PDF.
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi..initialize Cursor properly.. can any one tell how to
initialize Cursor properly..?
--
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
How can i leave this group.I have joint by mistake so how can i leave this?
On Wed, Apr 13, 2011 at 10:57 PM, Nasif Noorudeen nas...@gmail.com wrote:
By using LayoutInflater
On Wed, Apr 13, 2011 at 10:27 PM, usher usher...@gmail.com wrote:
So I have created this activity, and
hi.. i have created login(empname , passwd) table.. I am trying to
fetch passwd from table for perticular empname by calling a function
getpwd ()from another activity ..
I am using following query..
public String getpwd(String uname) throws SQLException
{
Cursor c = db.rawQuery(select
Hey,
I'm using MediaPlayer for audio streaming. I'd like to be able to
progressive download the audio and save it to the disk(i.e. record the
audio). Does anyone knows a way to do that?
Thanks!
--
You received this message because you are subscribed to the Google
Groups Android Developers
How to prevent or avoid java/lang/IllegalStateException when dealing
with Cursors. The program is giving this error while accessing data
from database..
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I am trying to build an application which shares an android device
screen with another android device. Mainly the way VNC or Microsoft
remote desktop connection works.
To do this i thought to capture the screen of the host android device
and send it across to the secondary android device.
In webview,I saw public method setCertificate and getCertificate.Can
we use setCertifiacate to add a CA certificate into webview?Will
webview use it to check websites' certificate?Or those two methods are
used to set and get websites' certificate?Thanks a lot!
--
You received this message
The problem is not due to Eclipse version but due to the outdate
examples on the internet particularly app-for-android
You can fix this by adding
uses-sdk android:minSdkVersion=11 /
In the Manifest.xml file and copying the proguard.cfg file from a
blank project to the example project.
~gk
On
Hi,
I am working on connecting android phone 2.1 with external keyboard
with bluetooth connectivity.
Can suggest possible method to connect these two things, since the
external keyboard has no display.
Thanks n advance..
Indresh
--
You received this message because you are subscribed to the
could someone pls help me ?
On Thu, Apr 14, 2011 at 11:12 PM, ayush ayush.sha...@gmail.com wrote:
Hello Experts,
I am facing the error mentioned in subject line on loading my app. I
have generated the key as per the right method and added it at the
right place in mail.xml.
I also read that
Hi,
I have already made a Web Application using the Google Spreadsheets
API with the following code giving my the liste of spreasheets i have
in my google account:
SpreadsheetService service = new SpreadsheetService(exampleCo-
exampleApp-1);
service.setUserCredentials(j...@gmail.com, mypassword);
Hi,
It is now possible to unlock the boot loader for certain series of
Sony Ericsson 2011 Android™ Gingerbread phones.
Go to http://unlockbootloader.sonyericsson.com to get instructions and
a key to unlock the boot loader.
Please note that you may void the warranty of your phone if you unlock
I am not able to connect with blue tooth keyboard listening via port.
I do get some beep in the keyboard initially but after that nothing
happens.
using android xperia phone and bluetooth keyboards (microsoft)
can body suggest does this method listening via port is ok..
--
You received this
You have to load an additional driver for the specific device, look
for a pl2303.ko, which is the driver for your prolific converter. If
you cannot find it you have to compile it from the kernel sources.
I would be very interested in your findings, because I do some testing
with rs232 conversion
Hi,
If in Froyo we set browser user agent to desktop and then try to
compose a message in gmail.com. Keyboard does not get launched until
we move to plain text.
Has anyone faced this problem ? What might be the reason ?
Regards,
Pradeep
--
You received this message because you are subscribed
Thank you both for taking the time to reply.
I read about ContentProvider and also read the thread you gave me. It
definitely looks like CP is the best approach for me. So I will have
the service write data to the database via CP, and the Activity will
use CP to display data. I wonder if this
Hello Experts,
I am facing the error mentioned in subject line on loading my app. I
have generated the key as per the right method and added it at the
right place in mail.xml.
I also read that it might happen because of wrong debug.keystore. i
also went and regenerated keystore corresponding key
On Wed, Apr 13, 2011 at 8:59 AM, Greg Brown gk_br...@verizon.net wrote:
Does anyone have any suggestions as to how I might be able to permanently
resolve this?
In the project settings is an Android entry. Under there is where you should
be specifying your build target. Try changing it to
Hi Guys
I wonder if it 's possible to leave my android running without anything, a
clean room ...all without android market, browser, anything ... just running
my application
it 's possible?
Hugs
--
You received this message because you are subscribed to the Google
Groups Android
Hi,
I have a doubt about android services and how to properly use them. I
will formulate my question by firstly explaining a scenario of an
application.
1) The application has to get current data of different sensors and
networks such as GPS, acceleration, orientation, magnetic field,
Hi there,
I follow the codes in the link below and Ticker doesn't work. I can't
find ticker interface or anything about ticker in the reference at
Android Reference. Please help!
http://java.dzone.com/articles/google-android-tutorial?page=0,3
Thank youv ery much.
--
You received this message
I've read that it does not seem possible to play audio files while in
a phone call. However, I'd like to have an application play a DTMF
tone during a phone call. There shouldn't be any hw restriction on
this as the dial pad does this already when you press one of the
number keys. Instead I would
Hi group,
I'm trying to make a custom seekbar that can have more than one thumb
much like this one:
http://jqueryui.com/demos/slider/#range-vertical (mine should be able
to be both vertical and horizontal though).
I'm trying to get my head around how to start - I've already looked
into the
Dear all:
I am developing an application that could allow users to annotate in
webview page.
The concept is just like the software Moon+ Reader and Dolphin
Browser that
could highlight, underline, and pop up a menu above the selected text.
Because the
function of one touch word selection is
Hi,
I like to know which is the best method of connecting the external
bluetooth keyboard and android2.1.
Rfcomm method
Does there is any other method
Let me know ...pls..
regards
indresh
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To
When I was using Eclipse or IntelliJ to run my own android
application, the IDE would start the emulator to verify how the
application works. The period of starting the emulator is so long. Do
you guys have any idea on how to reduce the cost on starting the
emulator or some ways to deploy my
http://developer.android.com/guide/basics/what-is-android.html
On Thu, Apr 14, 2011 at 8:17 AM, TreKing treking...@gmail.com wrote:
On Wed, Apr 13, 2011 at 5:52 AM, shwet shweta.ta...@gmail.com wrote:
I wanted to know how can I proceed
Read the documentation?
I have an application that uses C2DM notifications. I'm pretty new to
Android development because I think my problem is actually quite
simple and I just don't know how the android architecture works so
here it goes, I hope you guys can help.
What I did basically is copy the classes
Hi,
I am looking for some pointers on how to write a n level tree using
expandable list view. Any suggestions or pointers to code samples will
be great.
thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Hello,
I am kind of new to android development and I am developing custom
components.
I implemented InputField that extends EditText but do some validation
according to class attributes ( I have done also the XML attributes
part)
My question is:
How do I extend a specific widget and hide some
Hi, I am trying to develop an app to list the bus stops for my local Public
Transit buses on a google map map,
but i seem to be having problem loading the overlay markers locations from a
text file
Heres the code i use to load a new overlay onto the mapview:
[CODE]
public void
Hi,
I want to develop such application where we can find network bandwidth
used by different activity installed in mobile device. I gone through
google and found that TrafficStat class can provide some of the
information.
In there any other most efficient way to retrieve such information for
Answer to this one is you can't do it. It's not a good idea to run webview
in a service.
On Tue, Apr 12, 2011 at 9:24 AM, Newbie interconnectt...@gmail.com wrote:
Hi,
I am trying to run the webview.loadurl() in the service. I have
javascript that sends notification to App asynchronously. Is
Hi,
I want to know how internally memory management happen between NDK
based app and Dalvik VM based App as lots of things are different in
android like app not able to kill...get killed when memory require
--
You received this message because you are subscribed to the Google
Groups
Hi
Is any one who can show where ApiDemos Project is located. I just
join this group and wishing to complete all project until Jul
Donatien
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Not here
On Thursday 14 April 2011 13:59:13 Jitesh dedhiya wrote:
--
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
Hello,
I have an android application that is intended to send data over NFC
in p2p mode based on the API demo provided by Android. I have already
tested the program using two Nexus S (both with android 2.3.3). The
program runs well; however it is possible to send only one message per
device in
Hi,
With my one week old knowledge of Android I am trying use content
provider. I get this exception, it seems to occur if AndroidManifest.xml
didn't have it. But my file does have it.
Any pointers are appreciated.
TIA.
Newbie.
04-14 20:15:03.029: ERROR/ActivityThread(637): Failed to find
HI all.
I am maidul .I have one year exp with andoid os.
Currently I face a problem that HTC DESIRE Z does not show images from
sd card or gallary.
I want to show images .How I show images by coding.
Can anyone give some coding hints.
Thanks and Regards
Maidul Islam
--
You received this
Hello all!
I'm starting out and new to the development of android applications
and also new to the java programming. I'm trying to make a app that
will allow me to calculate a loan but I am running into some trouble
and need assistance. Having virtually 0 experience with java I
researched java
Hello,
is it possible to create a LinearLayout background image that
scales ?
As for the EditText widgets, I am able to create background images
(via draw9patch tool). There, I can define which image parts can be
(horizontally/vertically) stretched and which not. So the resulting
image is highly
Hi,
I work into securing data between webservice and client android, I
deloy my web service with https url,before that I created the server
and client certficate,so when I try to access on it into android it
gives me errors
WARN/System.err(: org.apache.http.NoHttpResponseException: The target
Hi,
Yesterday i was developing an application with C2DM and my
registration was ok, I obtained a key :
APA91bHL5-
hShZFAMTNpQVwYXCxlvEPuXelUtpESrpFu96gbK-0dXC_5HLKk3h_mkoyHDr7ehudSb8ykx25NPdt7TApC2Cmd4w
It seems pretty good.
Unfortunately, today I try my application and i have an
error
Hello Partners,
Please go through the following requirement I have with my client and let me
know if you have any suitable resume.
*Title: *Webmethods Developer
*Location: *Chicago, IL (*LOCALS ONLY*, *need In-Person Interview*)
*Duration: *6 months
*Rate: *market
*Description:
*
I need a
Hi ,
I am trying to work on Augmented Reality.
Can you please help with some :
Tools or
some material or
links etc.
Please Help .
Thanks
Vikas Dhar
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
I am new to this technology so i am doing some test projects in
various aspects..now my question is can we record calls automatically
in android os? if so pls explain it how can we do that? will be
very thankful to u if provide some example program. Thanks in advance.
--
You received this
Hello,
im trying out some new nexus s nfc functionality. since mifare
emulation is not (so far?) available for this device (or just
software?) im playing with proximity cards.
basically, i have a mifare desfire ev1 chip but for some reason i
cannot communicate it using NfcA.transcieve - im gettin
The essential guide to Android widgets, an eBook featuring the top
ten Android widgets from various categories provides practical
information about widgets to help you choose the best widgets for your
device. http://www.smashwords.com/books/view/49216
--
You received this message because you are
Hi, vibrator hardware is present in audio module and there is ASoC driver in
kernel for same.
In actual vibrator hardware (rotary) is connected to D class amplifier of
audio chip (similar to how headphones are connected).
set of alsa_amixer -Dhw set/sset vibrator commands ... configures
(set the
Other recipients:
hey i m new to android and when i m trying to play a video file using the
below code i m having the proble m tht its not forwading (buffering is not
being done)the video.and it is displying the first
scene only.
HERE IS THE CODE:
package com.examples;
import
To make TLS connection using SSLSocketFactory between android App, it
takes more than 10 Sec.
(only the first time.. Once the it is completed, no need to wait 10
sec to make a connection.)
I think TLS library has problem. but I can't figure it out.
Do you know how to make connection properly?
Hi want to make app for single user.how should i make it.
--
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
hey i m new to android and when i m trying to play a video file using the
below code i m having the proble m tht its not forwading (buffering is not
being done)the video.and it is displying the first
scene only.
HERE IS THE CODE:
package com.examples;
import java.io.InputStream;
import
Hi,
I work into securing data between webservice and client android, I
deloy my web service with https url,before that I created the server
and client certficate,so when I try to access on it into android it
gives me errors
WARN/System.err(: org.apache.http.NoHttpResponseException: The target
HI,
I am a new to android programming and I want to know how to move
an image in a loop continuously on android layout
1)I have stored the Image in res/drawable folder
2) The Image which I stored is a hand Image and that Image should
show the button which is at the bottom of the
HI,
I am new bie to android and i want to know how can we place two images
on a layout and move them in a opposite sides
1) I have placed the two images in two image-views
2) I want to apply transmission animation on the Images so that the
two Images will move,one Image towards left side and
I've got an environment set up where a call to a coldfusion page
(http://apps.company.com/appstartup.cfm) will return nothing but a
text string (no HTML, just the text string). I need my app to grab
that and build a string in the background when my app starts up. I
have no idea how to get the HTTP
Hi Donatien,
It will be located in C:\android-sdk-windows\samples\android-10\ApiDemos
Regards,
Yogi
On Fri, Apr 15, 2011 at 6:54 AM, Don musamudonat...@gmail.com wrote:
Hi
Is any one who can show where ApiDemos Project is located. I just
join this group and wishing to complete all project
You generally do not export the project as a JAR file.
If you would take the time to explain precisely and clearly what it is
that you are trying to accomplish, we may be better able to provide
assistance.
I have a similar issue that I would have described the same way, but
I'll go with some
subpixel and antialiasing are both off for drawing the text, and the image
is even drawn with a paint with both these off though it still appears
antialiased anyway. Same result as drawing the image with a null paint.
I think that the canvas rotate uses its interpretation algorithm even for
There is Layar API available and wikitude api is also good
But if you are using any of the above mentioned api's then the device must
have the Layar or Wikitude application
installed respectively.
considering the complexity of AR if you wanna develop a stand alone
application then its HARD
On
Start by reading the bottom of this email.
15.04.2011 11:01, akruti patel ?:
How can i leave this group.I have joint by mistake so how can i leave
this?
On Wed, Apr 13, 2011 at 10:57 PM, Nasif Noorudeen nas...@gmail.com
mailto:nas...@gmail.com wrote:
By using LayoutInflater
On
It is.
http://developer.android.com/reference/android/net/ConnectivityManager.html#TYPE_MOBILE_HIPRI
On 15 Apr, 07:18, kiran saikiran@gmail.com wrote:
Yes you are right, But thing is my application itself making wifi on.
Is it not possible to on wifi and gprs at a time?
On Apr 14, 2:34
First create a class file not an activity and extend it with linearlayout
This will create your custom view .
Now lets suppose the package of your custom view is org.customView and class
is mylayoutfile.class
Then in the main.xml you can add this layout file just as you add a button,
textview or
I haven't see the native part, but it's probably only useful for two things:
1 - Doing the final scaling by a power of ten, being able to handle very
large or very small exponent values.
You could have your own lookup table for the range you need, say from
10^-20 to 10^30, and use it when
Two values?
Service running all the time?
Just put them into static variables accessible from both your Service
and Activity classes. Back up into shared preferences or a file, so you
can reload the latest values if/when the service/process is killed.
-- Kostya
14.04.2011 11:17, bogde
Most likely, by not closing the cursors before you read data from them.
Can't tell for sure until you post a stack trace from logcat.
-- Kostya
14.04.2011 11:01, amey bura пишет:
How to prevent or avoid java/lang/IllegalStateException when dealing
with Cursors. The program is giving this
Hi,
Copy and paste
http://developer.android.com/resources/samples/LunarLander/index.html
? The moon has long days, so there should be plenty of time ;-)
Regards
On Apr 14, 10:20 pm, Android K interconnectt...@gmail.com wrote:
http://developer.android.com/guide/basics/what-is-android.html
in the current static library animations are broken.
I have a fix that will be available in a later update
When do you think the fixed version will be available?
I'd love to use fragments on Gingerbread, but fragments with no
transition animation are a little too boring :(
--
Alexis.
On 11
I find the problem ! It was because I didn't have SIM , so the
synchronization didn't work.
+
On Apr 14, 3:12 pm, vokvince vokvi...@gmail.com wrote:
Hi,
Yesterday i was developing an application with C2DM and my
registration was ok, I obtained a key :
APA91bHL5-
hi,
I am having mp3 file stored on my sdcard.Is there anyway to play
stream from that file.
i.e i dont want to give a direct file url in mediaplayer.i just want
to set inputstream to media player.
Is there anyway to do this?
--
You received this message because you are subscribed to the
I note that you are always here answering posts all the day, you
should improve
the management of your time so don't think to my time, think to
yours :)
Ok, just if someone is searching for this:
http://developer.android.com/guide/appendix/install-location.html
On Apr 15, 2:22 am, TreKing
On 15 April 2011 11:26, sblantipodi perini.dav...@dpsoftware.org wrote:
Hi,
I have some apps that can run without problem in Android 1.6 so I
compile them using Android 1.6.
Do you think that is better to compile using the newer SDK?
Don't fix it until is broken.
Is it safe to do it in
On 14 April 2011 17:10, Diego Barbosa diegobcarne...@gmail.com wrote:
I wonder if it 's possible to leave my android running without anything,
a clean room ...all without android market, browser, anything ... just
running my application
it 's possible?
Theoretically yes, but it's
Don't fix it until is broken.
Ok, this is common but what is the real answer? :)
I would like to add this attribute to my manifest:
android:installLocation=preferExternal
but this requires SDK Level 8 to build the source.
Isn't safe to compile using Level 8 SDK only for this attribute and
On 15 April 2011 11:57, sblantipodi perini.dav...@dpsoftware.org wrote:
Don't fix it until is broken.
Ok, this is common but what is the real answer? :)
I would like to add this attribute to my manifest:
android:installLocation=preferExternal
but this requires SDK Level 8 to build the
Hi,
I have some apps that can run without problem in Android 1.6 so I
compile them using Android 1.6.
Do you think that is better to compile using the newer SDK?
Is it safe to do it in terms of compatibility? What about the
automatic obfuscation when compiling using new SDK?
Thanks.
--
You
On Fri, Apr 15, 2011 at 3:03 AM, Dan dan.schm...@gmail.com wrote:
I have a nice .apk with a service and 4 activities, a shared native
library with some jni goodness, some drawable files in the res
directory and some other data in the assets directory. Another
company would like to package
In android how to search that sharedpreference contains some value or
not?
Actually I m making application which takes password and confirm
password as fields.when user start app for first time he must enter
both password and confirm password. But i want when user restart that
app he must ask to
You have no access to the in-call audio stream, unless the device
happens to be in speakerphone mode.
On Fri, Apr 15, 2011 at 2:16 AM, Manu sathyamanoj.andr...@gmail.com wrote:
Hi,
I am new to this technology so i am doing some test projects in
various aspects..now my question is can we
Leave the emulator running. Eclipse, at least, will deploy to the
existing running emulator rather than start a new one. A normal
development day would have you start the emulator once in the morning
and leave it run all day.
On Thu, Apr 14, 2011 at 11:07 AM, Joseph Du josephdu...@gmail.com
On Thu, Apr 14, 2011 at 10:53 AM, keithfry keith...@gmail.com wrote:
I've read that it does not seem possible to play audio files while in
a phone call.
You can play audio files while in a phone call, but they only come out
the earpiece or speaker of the phone your app is running on. The only
On Fri, Apr 15, 2011 at 1:28 AM, gaurang...@gmail.com
gaurang...@gmail.com wrote:
I am trying to build an application which shares an android device
screen with another android device. Mainly the way VNC or Microsoft
remote desktop connection works.
This is not possible with an ordinary SDK
Ok, so you got the real reason :) In this case you have to use higher SDK as
I am not aware of any other trick you could use for Manifest to add new
attribute and still be able to build against older SDK.
I have the real reason yes but if this reason will damage backward
compatibility
I will
On Thu, Apr 14, 2011 at 1:14 PM, Diogo Salaberri caxix...@gmail.com wrote:
I need to know if the android have ,as a native mode, a PDF viewer.
No.
And if don't have, he has a lib native that can I work easily with
PDF.
Android has nothing built in for PDFs. Some Android devices ship with
PDF
On Fri, Apr 15, 2011 at 7:05 AM, Prasanna prasanna.kada...@gmail.com wrote:
For that i store password in sharedPreferences but now how do i know
that their is already password exists in sharedPreferences or not?
Read in the value using getString() on SharedPreferences. Supply null
as the 2nd
1 - 100 of 235 matches
Mail list logo