You better use this :
File dir = Environment.getExternalStorageDirectory();
String filename = test.pdf;
File f = new File(dir, filename);
f.createNewFile();
OutputStream outStream = new FileOutputStream(f);
...
outStream.close();
--
You received this message because you are subscribed
Thanks for the feedback. I have done more research and optimized the code
so that scrolling is lot smoother.
On Friday, June 8, 2012 3:27:06 AM UTC+10, TreKing wrote:
as soon as I receive an item, I have to immediately add it, sort it and
display it.
Use a collection data structure that
The same thing I have expanding list view my doubt I solved.
Regards
Jagadeesh
Sent from my HTC
- Reply message -
From: Ash anan...@gmail.com
To: android-developers@googlegroups.com
Subject: [android-developers] ExpandableListView advice
Date: Fri, Jun 8, 2012 11:51 am
Thanks for the
Hi everyone!
I have layout same as:
LinearLayout xmlns:android=http://schemas.android.com/apk/res/
android
android:layout_width=fill_parent
android:layout_height=fill_parent
android:background=@color/WHITE
android:orientation=horizontal
fragment
Some applications, like Skype click-to-call, interferes with the normal
copy-paste in Eclipse. If you have this installed, or other recent
installed apps, try to uninstall them.
I've got a partner that recently had the same problem and solved it this
way.
On Thu, Jun 7, 2012 at 11:14 AM, David
when i extend internal classes or core classes like View.OnClickListener or
ArrayAdapter - do i have to manually take care of all objects inside to
prevent memory leaks? like in overriding the onStop() or onDestroy()
methods and setting objects to null?
thx
--
You received this message
my application add contact by sync contact adapter to the phone and the
contact are in invisible group didn't appear in the phone list but when i
made selction to the phone contact who are in visible group the contact of
my application appear in the selection even they are not in the phone
Yes, I did check,
On Wed, Jun 6, 2012 at 8:40 PM, Justin Anderson magouyaw...@gmail.comwrote:
Have you verified that? Have you tried debugging your code to make sure
that you are refreshing properly?
Thanks,
Justin Anderson
MagouyaWare Developer
http://sites.google.com/site/magouyaware
Hi all,
I am using tesseract ocr for converting image to text.while passing
the image ,i didn't get recognized text.Any one help on this.
Thanks,
vijay.k
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
thanks a lot for the answers. i also came up with the solution to ignore
this error. :)
On Thursday, June 7, 2012 12:39:58 PM UTC+2, marcin kolonko wrote:
hi,
i have an app with two classes:
*SelectItemActivity** extends **AbstractListActivity,* and *
AbstractListActivity extends Activity*
as of now, i set all class members to null, but do nothing inside classes i
extended, like listeners or adapters or anonymous classes.
would that be enough?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
as of now, i set all class members to null, but do nothing inside classes i
extended, like listeners or adapters or anonymous classes.
would that be enough?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Android does not have any printing support at this time.
On Fri, Jun 8, 2012 at 1:44 AM, RAJESH RAJARAM rajeshrajar...@gmail.com wrote:
Hi
I have pdf document in my sdcard, I have to print the document from the
android mobile. About this i didn't have any idea. Is it possible? This
there any
Hi there,
I need to interchange data between my Android app, written in Java using
eclipse, and an Apache HTTP server through some PHP scripts.
What is the best way to do so?
I do not know if there is some bultin functions yet on API that could
make the communication easier than directly using
Android support Google Cloud print facility.
please reffer the url
https://developers.google.com/cloud-print/docs/android
On Fri, Jun 8, 2012 at 3:55 PM, Mark Murphy mmur...@commonsware.com wrote:
Android does not have any printing support at this time.
On Fri, Jun 8, 2012 at 1:44 AM, RAJESH
Hi all,
Could anyone tell me the way to extract text from image in android.
Thanks,
vijay.k
--
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
On Fri, Jun 8, 2012 at 9:22 AM, Vijay Krishnan vijay.vijay...@gmail.com wrote:
Could anyone tell me the way to extract text from image in android.
The same way you extract text from image anywhere else: use OCR.
There is no OCR capability as part of the Android OS, so you will need
a
what about tesseract?
On Fri, Jun 8, 2012 at 7:01 PM, Mark Murphy mmur...@commonsware.com wrote:
On Fri, Jun 8, 2012 at 9:22 AM, Vijay Krishnan vijay.vijay...@gmail.com
wrote:
Could anyone tell me the way to extract text from image in
android.
The same way you extract text from
There is an HTTP client on Android. When you talk about parsing strings,
what structure do you have? There are facilities for handling JSON and
XML.
On Friday, June 8, 2012 6:48:22 AM UTC-4, Fran wrote:
Hi there,
I need to interchange data between my Android app, written in Java using
On Fri, Jun 8, 2012 at 9:35 AM, Vijay Krishnan vijay.vijay...@gmail.com wrote:
what about tesseract?
http://en.wikipedia.org/wiki/Tesseract
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
Android
That should take care of itself. Initially only the Android system has a
reference to that object of an internal class type (e.g. and Activity
object. That reference is effectively a bridge. (Call it 'refB').
The object of an Android internal type can in turn have references to other
objects
Hi,
For JS it is clear that JSON will be faster, but what is the better
choose in Java for Android? I mean, is it JSON parsed faster than XML on
Dalvik?
And for the authentication I used to use PHP sessions and cookies when
developing web pagers.
Will be this also the prefered way to do it with
Hi there,
When I develop a dynamic web site I used to change the /etc/hosts file
on my linux boxes and the equivalent on Windows ones to test the site on
different browsers, so I add a line in the way of:
192.168.1.21devel.mysite.com
So when I put http://devel.mysite.com on a browser,
On Fri, Jun 8, 2012 at 11:12 AM, Francisco M. Marzoa Alonso
fmmar...@gmail.com wrote:
Hi there,
When I develop a dynamic web site I used to change the /etc/hosts file
on my linux boxes and the equivalent on Windows ones to test the site on
different browsers, so I add a line in the way of:
any one have idea about how and where we can get callback for device
lock and when it get unlock.
at app level using receiver (ACTION_SCREEN_ON, ACTION_SCREEN_OFF) we
get handle it but how at native layer.
--
You received this message because you are subscribed to the Google
Groups Android
any one have idea about how and where we can get callback for device
lock and when it get unlock.
at app level using receiver (ACTION_SCREEN_ON, ACTION_SCREEN_OFF) we
get handle it but how at native layer.
--
You received this message because you are subscribed to the Google
Groups Android
If I insert a picture will it come through on these posts? I am so confused
as to why this isn't showing up correctly on phones that say they have a
normal screen
From: android-developers@googlegroups.com
[mailto:android-developers@googlegroups.com] On Behalf Of Dianne Hackborn
Sent:
Post your layout, maybe we can spot something ...
On Friday, June 8, 2012 5:09:15 PM UTC+1, Tommy wrote:
If I insert a picture will it come through on these posts? I am so
confused as to why this isn’t showing up correctly on phones that say they
have a “normal” screen
*From:*
hi,
in a row of a *ListView *i have a *TextView *and an *ImageButton*
on an *ListView *instance i have a *GestureDetector *and a extended *
SimpleOnGestureListener*, on the ImageView instance i have called
setFocusable(false).
now, the swipe is registered when the start is not on the
Hi all,
Thank you!
I followed Vijay's reply to use Java reflection regarding Android
Bluetooth Profiles (A2DP and Headset) classes, I use SDK 15 (4.0.3),
which still keeps connect() methods hidden.
I also tried to follow Raunaque's advice, but no success with RFCOMM
socket although I used
On Fri, Jun 8, 2012 at 2:44 AM, RAJESH RAJARAM rajeshrajar...@gmail.com wrote:
Hi
I have pdf document in my sdcard, I have to print the document from the
android mobile. About this i didn't have any idea. Is it possible? This
there any API in Android? and Advise and Idea's please.
There are
I have a png file in my res/drawable-ldpi folder. I'm working in
Eclipse with the emulator, but I've tried this on my 2.2.1 Android
phone and I get the same behavior. I have an ImageView and I want to
set the src programatically, based on a database call. If I just put
This should help
http://stackoverflow.com/questions/2604727/how-can-i-connect-to-android-with-adb-over-tcp
On Thursday, June 7, 2012 10:01:31 PM UTC-4, SChaser wrote:
Good.
But how do I do that? From Eclipse?
My normal Eclipse debugging method is simple:
1)Set a breakpoint or two
On Jun 8, 2012, at 8:38 PM, Melanie Peterson wrote:
Context context = getApplicationContext();
int ResID = context.getResources().getIdentifier(imageresource,
drawable, com.KnitCard.project);
chart.setImageResource(ResID);
Is it totally out of question to choose correct resource id
I'm confused by the FILESYSTEM namespace.
According to the docs, in Android's implementation of unix domain
sockets these names refer to names in the Linux abstract (non-
filesystem) UNIX domain namespace.
But then there's a FILESYSTEM namespace, which implies that some of
them could be
Hi,
I've been taking a look at accessibility in an app I work on. Most
things are working well, but I was wondering if there was a way to
enable support for TalkBack and KickBack in a WebView on any given
activity or fragment. I know that the system Browser app supports
screen reading when
Den måndagen den 28:e maj 2012 kl. 11:38:01 UTC+2 skrev Kristoffer:
Hello.
Iam using a small image and repeats it as a background in my app,
this
is how i do it.
bgrepeat.png
backgroundrepeat.xml
i have them in the drawable folder.
This is how the .xml look like.
bitmap
On Fri, Jun 8, 2012 at 2:15 AM, Huynh Ngoc Bang hnbang1...@gmail.comwrote:
I would like to resize fragment (id = fragMenu) when runing app.
What have you tried thus far?
-
TreKing
38 matches
Mail list logo