I did specify the type of result ;) It's a StringBuilder and does indeed
not support the toString(UTF-8)
What I did now:
FileOutputStream fos = null;
byte[] byteResult = Charset.forName(UTF-8).encode(result.toString())
.put(0, (byte) 0xEF)
.put(1, (byte) 0xBB)
.put(2, (byte) 0xBF)
i try to format a date from XML file the date is in the format Thu, 15
Mar 2012 00:00:00 +0200
i use that code but get an error
SimpleDateFormat formatter = new SimpleDateFormat(E, dd MMM HH:mm:ss
Z);
Date date = formatter.parse(Thu, 15 Mar 2012 00:00:00 +0200);
SimpleDateFormat
Hi All,
I want to create an Android app as background service. Specifically . I
want the app to respond when there an incoming call and do some function
getting the caller information. Any pointer will be appreciated !
--
You received this message because you are subscribed to the Google
Hi android developers,
Please tell me how to lanuch pdf ppt and word document form server to
android application .here which library's are required to develop this
plese provide any links or tutorials.
Thanks
raju
--
You received this message because you are subscribed to the Google
Groups
On Fri, Mar 30, 2012 at 12:40 PM, Neil neil.gh...@gmail.com wrote:
Hi All,
I want to create an Android app as background service. Specifically . I
want the app to respond when there an incoming call and do some function
getting the caller information. Any pointer will be appreciated !
I
How to keep developing an app - to take advantage of new features in
new Android versions - and still support old customers?
What is the best approach?
Example: Let us say that I want to use the front facing camera, which
seems to be supported from Android version 2.3, and I originally made
the
Bitmap doesn't implement Serializable. You could override readObject
and writeObject for your simple class and in those methods read and
write the Bitmap to a byte array for instance.
On Mar 29, 2:32 pm, saex elpablos...@gmail.com wrote:
Hi
I have a simple class that implements Serializable,
I think this thread is interesting for your case:
http://groups.google.com/group/android-developers/browse_thread/thread/483b5fbd8d0dc0f9
-
Ali Chousein
http://socialnav.blogspot.com | http://twitter.com/socialnav1
http://weatherbuddy.blogspot.com |
Try AsyncTask? You can have doInBackground downloading the images,
then call publishProgress for each image completed, and have
onProgressUpdate update the gridview. You should have no problem
finding tutorials on how to use AsyncTask with a quick search.
On Mar 29, 11:31 am, Febi.M.Felix
But the question marks in the in the file i attached are because google
groups did not get it right the document... Locally it works and I can send
it through mail without issues.
Sorry but I find it hard to believe that when Google offers us a
platform to discuss development and offers the
I want to access database of an application(I know the structure of
database) from the another android phone.(every android phone has same
application same database).
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Me too. Sales have slowed down in the last couple of weeks. I notice
much fewer purchases from the US.. I'm from the UK.
On Mar 29, 11:18 am, Mat Jones mashable...@gmail.com wrote:
How long has you billing been in place?
Whats the percentage drop?
Have any users reported errors during
.put(0, (byte) 0xEF)
.put(1, (byte) 0xBB)
.put(2, (byte) 0xBF)
However when the file is created and I open it with either notepad++ or
excel the first characters are not show, the file always starts with *
artdate* .
Any idea how to work around this?
You are using put(). Those three
For receiving call you need to apply Broacastreceiver for that.and then
when the application run in background then open new activity from the
broadcastreceiver so it will automatic open the application in front.
On Fri, Mar 30, 2012 at 12:40 PM, Neil neil.gh...@gmail.com wrote:
Hi All,
I want
you can use calender also for the getting the current date and time.also
you can get separate form that.But in which format you want?
On Fri, Mar 30, 2012 at 12:35 PM, Eyal Berman bermane...@gmail.com wrote:
i try to format a date from XML file the date is in the format Thu, 15
Mar 2012
[2012-03-30 15:05:16 - Information Exchanger 2.7.3] Installation
error: INSTALL_FAILED_INSUFFICIENT_STORAGE
[2012-03-30 15:05:16 - Information Exchanger 2.7.3] Please check
logcat output for more details.
[2012-03-30 15:05:16 - Information Exchanger 2.7.3] Launch canceled!
How can i solve the
Am 30.03.12 09:05, schrieb Eyal Berman:
i try to format a date from XML file the date is in the format Thu, 15
Mar 2012 00:00:00 +0200
try this:
/**
* Thu, 04 Aug 2011 09:00:00 +0200
*/
protected static final SimpleDateFormat FORMATTER_StringToDate = new
SimpleDateFormat(E, dd
Sadly there is no insert and indeed the put overwrites the bytes.
The charset.encode(...) gives me a ByteBuffer that I cannot retrieve
'empty'...
Adding (put) the BOM first should be ok, but then adding all the test-bytes
will not work. Then again I have to loop over all the bytes...
Op
Looping?
byte[] bom = {(byte)0xEF, (byte)0xBB, (byte)0xBF };
byte[] byteResult =
Charset.forName(UTF-8).encode(result.toString()).array();
fos = new FileOutputStream(file);
fos.write(bom);
fos.write(byteResult);
Doesn't this work?
--
You received this message because you
Information is really helpful..
--
*
*
With Thanks Regards
FEBI.M.FELIX*
*
--
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
Thank You...:)
On Friday, March 30, 2012 1:32:24 PM UTC+5:30, EhyehAsherEhyeh wrote:
Try AsyncTask? You can have doInBackground downloading the images,
then call publishProgress for each image completed, and have
onProgressUpdate update the gridview. You should have no problem
finding
I have an application that can be viewed with landscape and portrait mode. I'm
not using onConfigurationChanged() and
android:configChanges=orientation|keyboardHidden and the screen
orientation change is working perfectly.
But now, i have a small problem. I want to learn to lock the
This depends on the WiFi sleep policy in effect in the device's settings.
Recent Android versions (starting with 2.3, AFAICT) appear to have the
default to keep WiFi on at all times, including when the phone goes to
sleep.
If that's the case for a particular device, you can just not worry about
30 марта 2012 г. 9:06 пользователь Put_tiMe putt...@gmail.com написал:
If the wifi radio is disabled when the phone goes to sleep, then how does
the e-mail app sync?
Does it mean that the e-mail app holds a wifi lock?
There is an easy way to find out - use the source, Luke :)
On
Hi All Friends,
I am new in android and I had developed a TextEditor Application in Android.
Bt I have problem with storing data,
how can I store it in SD card or in phone memory, how can I locate this.
Please help me about this.. I have submission my project in college untill
10th april.
So
Which information ?
On Fri, Mar 30, 2012 at 3:33 PM, Febi.M.Felix Maliakkal
febimfe...@gmail.com wrote:
Information is really helpful..
--
*
*
With Thanks Regards
FEBI.M.FELIX*
*
--
You received this message because you are subscribed to the Google
Groups Android Developers
Chance the Cache Memory size of Android Virtual Device.
On Fri, Mar 30, 2012 at 3:07 PM, Kirupa answerofandr...@gmail.com wrote:
[2012-03-30 15:05:16 - Information Exchanger 2.7.3] Installation
error: INSTALL_FAILED_INSUFFICIENT_STORAGE
[2012-03-30 15:05:16 - Information Exchanger 2.7.3]
Hi
I received an Archos 80 G9 and i need to use it to develop with eclipse. I
follow these instructions:
http://www.archos.com/support/support_tech/updates_adb.html?country=wslang=en
I added *0x0e79 *to the ini file* *and also i have installed the goolge usb
drivers, because before this i was
Use XML with sitelist.. !! It will work fine.
No idea about document builder.
On Thu, Mar 29, 2012 at 10:34 PM, Bozzified bozi...@gmail.com wrote:
Hello everyone.
I am trying to get a hang of XML parsing and can't get this to show me the
right elements as I'm fairly new to Android/Java dev.
Hi,
You can try installing it on external sd card.
Add this attribute in the manifest file :
android:installLocation=preferExternal
It will work like charm.
Rgds,
Saurabh
..pain is temporary.quitting lasts forever..
On Fri, Mar 30, 2012 at 4:01 PM, Anirudh Loya
2012/3/30 Kostya Vasilyev kmans...@gmail.com:
This depends on the WiFi sleep policy in effect in the device's settings.
Recent Android versions (starting with 2.3, AFAICT) appear to have the
default to keep WiFi on at all times, including when the phone goes to
sleep.
Y'know, I had not ever
On Fri, Mar 30, 2012 at 6:33 AM, saex elpablos...@gmail.com wrote:
Hi
I received an Archos 80 G9 and i need to use it to develop with eclipse. I
follow these instructions:
http://www.archos.com/support/support_tech/updates_adb.html?country=wslang=en
I added 0x0e79 to the ini file and also
I have not tried it but I think the 3rd child of the item element is
the title element. But you need the text child from this title element.
Ralph
--
Ralph Bergmann
iOS and Android app developer
www http://www.the4thFloor.eu | http://www.dasralph.de
mail
Ooh great, didn't think about that.
Now it works perfect! Thanks for all the support with this issue!
Kr,
Dirk
Op vrijdag 30 maart 2012 11:55:34 UTC+2 schreef Remote Red het volgende:
Looping?
byte[] bom = {(byte)0xEF, (byte)0xBB, (byte)0xBF };
byte[] byteResult =
Ralph,
He needs URL and the title after Parsing. very much doable with XML parsing.
On Fri, Mar 30, 2012 at 4:46 PM, Ralph Bergmann | the4thFloor.eu
ra...@the4thfloor.eu wrote:
I have not tried it but I think the 3rd child of the item element is
the title element. But you need the text child
In case you are working with emulator:
1) Go to SettingsApplications
2) find your app there and click on it
3) uninstall it
and, re-run your application
On Fri, Mar 30, 2012 at 4:05 PM, s.rawat imsaurabhra...@gmail.com wrote:
Hi,
You can try installing it on external sd card.
Add this
30.03.2012 15:09, Mark Murphy написал:
Y'know, I had not ever consciously thought about the fact that I
hadn't been seeing the old WiFi spinup when waking up the device with
the power button as much as before.
You would have noticed sooner had you been using my stupid little WiFi
widget :)
On Fri, Mar 30, 2012 at 8:24 AM, Kostya Vasilyev kmans...@gmail.com wrote:
You would have noticed sooner had you been using my stupid little WiFi
widget :)
Yeah, well, it might not have been on my primary home screen page.
:-)
According to my sources
(
30.03.2012 16:31, Mark Murphy ???:
IMHO, the SwitchPreference where tapping on the preference*also*
launches a nested PreferenceScreen is lousy UX. I keep forgetting
there are options under the WiFi one, until I'm trying to connect to
some new AP and then eventually stumble upon it. And,
I have a free app and been seeing a marked reduction in daily installs for
a few days.
--
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,
If you are using the emulator, you can change the size of the internal
storage by adding the following command line argument when you launch
the emulator:
-partition-size 200
On Mar 30, 2:37 am, Kirupa answerofandr...@gmail.com wrote:
[2012-03-30 15:05:16 - Information Exchanger 2.7.3]
And that too yes. Good catch. I did see the two layouts but was too focused
on the issue reported.
--
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
Hi, I'm working with coverflow, the images are displayed and working
fine in android 2.3.6 and below versions but is not displayenter image
description hereed properly in android 4.0 and above sub versions.
No exception is thrown unfortunantly, the image, simply does not
display correctly on
As it has already been pointed, there are several things wrong with that
small piece of code. You should go back and read more about listviews in
Android.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I need to mix two animations between my activity switching.
I already have slide-in/out left/right animations in place but I want
to give a effect of Z-axis bounce to the new activity coming in focus.
It should look give the following effect: When next activity is
called, current activity is
Ok I fixed the library, now it works.
On 30 Mar, 16:06, sblantipodi perini.dav...@dpsoftware.org wrote:
Hi, I'm working with coverflow, the images are displayed and working
fine in android 2.3.6 and below versions but is not displayenter image
description hereed properly in android 4.0 and
Since devices on mobile networks generally can't be reached by incoming
connections, you will probably have to have a server somewhere which all
the mobile clients check in with so it can forward traffic between them
(possible using C2DM to get their attention).
You will have to build
So I did make it work but feel free to pitch in and tell me if this is
efficient or proper way.. I'm getting results fine with this
*try* {
DocumentBuilderFactory factory = DocumentBuilderFactory.*newInstance*();
DocumentBuilder builder = factory.newDocumentBuilder();
Document doc =
Btw that's a different xml now but it's the same thing I needed
is there a better way to do that maybe?
--
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
Yeah Firstly this code is not original listview code as you said but i
worked around the original code to figure out a way to make listview update
only current row not previous rows , i read that i could use adapter.add()
so it will add row one by one so will not update previous and that what i
Does anyone know of a reasonable way to play Flash files in an Android app
that does not require the installation of the Adobe Flash Player plug-in?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I am fairly certain that, by definition, this is impossible.
On Fri, Mar 30, 2012 at 2:23 PM, bob b...@coolfone.comze.com wrote:
Does anyone know of a reasonable way to play Flash files in an Android app
that does not require the installation of the Adobe Flash Player plug-in?
--
Mark Murphy
setRequestedOrientation( ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE );
On 30 Mar, 12:16, saex elpablos...@gmail.com wrote:
I have an application that can be viewed with landscape and portrait mode. I'm
not using onConfigurationChanged() and
android:configChanges=orientation|keyboardHidden and
I'm using a ViewPager with ListViews inside them but the transitions are
quite jumpy.
Can anyone tell me a good way to improve the performance of this?
Thanks
Phil
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
On Friday, March 30, 2012 2:41:29 PM UTC-4, Mark Murphy (a Commons Guy)
wrote:
I am fairly certain that, by definition, this is impossible.
On Fri, Mar 30, 2012 at 2:23 PM, bob wrote:
Does anyone know of a reasonable way to play Flash files in an Android
app
that does not require the
I have an application that shows images to the user in viewPager. My app
cache about 150 MB per day and every day will double the size. I know
Android will take care of deleting the app cache if its low in space but
they emphasis on handling it by yourself but how ? Should I :
1- Check the
Hi,
I'm getting pretty terrible results when running the major web based
frameworks (jQueryMobile,Sencha,JQtouch,) on Android.
Seems on ICS things are even worse than on earlier versions.
This is the performance I'm seeing with jQueryMobile when pushing a button
(extremely laggy on ICS) :
In Eclipse, go to run Configurations. You can find that by right clicking
on your project and click on Run and then Run Configurations. Select
target, and select a preferred emulator target to launch. Then under
additional emulator command line options, add this:
-partition-size 1024
then click
Hello everyone,
In my application, I have custom scrollView to which a lot of images get
added. I get an outOfMemoryException exception. I know why I am getting
it, but I cant think of how to fix it while using a scrollView, not a
listView. Any suggesstions? Hope to get some help soon.
Regards,
use a listview and re-use the rows.
On Friday, March 30, 2012 5:06:50 PM UTC-4, Farhan wrote:
Hello everyone,
In my application, I have custom scrollView to which a lot of images get
added. I get an outOfMemoryException exception. I know why I am getting
it, but I cant think of how to fix
My layout is as follows
I have a table of textviews in a linear layout. that is in a
realative layout above an adview.
Relative layout
-linear layout
--tablelayout
---tablerow
textview
.
AdView
All the textviews have gravity set to right|centervertical
When it first loads, it looks
I know it can be achieved usiing listViews, but how do I reuse views in
scrollView?? Is that possible at all?
On Sat, Mar 31, 2012 at 3:35 AM, lbendlin l...@bendlin.us wrote:
use a listview and re-use the rows.
On Friday, March 30, 2012 5:06:50 PM UTC-4, Farhan wrote:
Hello everyone,
In
You can use java Reflection to use methods available only on certain
Android versions. Or you can create some helper classes that you load
(again through Reflection) only on certain Android versions.
This doc can sure help:
Serializing for persistent storage is generally a bad idea, since later
changes to your classes can cause them to incompatible with what you had
previously serialized. I really think that if you are persisting data, you
should explicitly define your format up-front so you are in control of
While my app is in beta testing I want to provide a mechanism to allow my
testers to send me information (logs and such) so that I can have a better
chance at reproducing problems.
My question is, is there a reasonable way for an app to send along the
SharedPreferences state to me such that I
On Android sleep mode is the screen being off. What do you mean by
sleep mode?
On Thu, Mar 29, 2012 at 10:50 PM, Put_tiMe putt...@gmail.com wrote:
How can I goto sleep mode on a device?
Is it only via the UI interface by long pressing the Screen On button?
Or does it reach automatically
There is no SDK API for this.
On Thu, Mar 29, 2012 at 10:34 PM, Put_tiMe putt...@gmail.com wrote:
Is there any way I can get a list of apps that have acquired the wifi lock?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
instead of grabbing the values, grab the entire XML file that holds the
shared preferences.
On Friday, March 30, 2012 9:16:41 PM UTC-4, RedBullet wrote:
While my app is in beta testing I want to provide a mechanism to allow my
testers to send me information (logs and such) so that I can have
A full battery on the phone can easily support 8 hrs of constant GPS
tracking, especially when the screen is off. Now go walk for 8 hrs.
On Thursday, March 29, 2012 3:37:37 PM UTC-4, Kristopher Micinski wrote:
Yes, having GPS going on a lot will be bad for your battery..., you
have to live
You are using a web view and the img tags are broken.
On Thursday, March 29, 2012 4:21:10 AM UTC-4, Stuart B wrote:
https://lh5.googleusercontent.com/-B1sU3tiWMZg/T3QbVMPcn3I/AN0/V2_45P9uxKg/s1600/Screenshot_2012-03-27-18-16-30.png
Can you help? I have an app that runs great on
science background - good one. Keep it up.
On Thursday, March 29, 2012 1:43:17 AM UTC-4, bhuvan wrote:
Actually i come from a science background and iam not an android developer
, i was trying to develop an application for the sake of my project -
Vehicle tracking using a mobile, I would
This is the what I have in my AndroidManifest.xml file:
activity
android:name=.DisplayPageActivity
android:label=@string/app_name
android:configChanges=orientation|keyboardHidden
intent-filter
action
Hi,
Is there a rotation gesture detector class available for Android? I've
searched the docs but haven't found anything relevant.
I am looking for the equivalent of UIRotationGestureRecognizer on iOS.
Thanks,
--MB.
--
You received this message because you are subscribed to the Google
Groups
You need to do more of the work on Android.
This may give you a start:
http://www.anddev.org/gesturedetector_and_gesturedetectorongesturelistener-t3204.html
On 31 Mar 2012, at 00:16, MB wrote:
Hi,
Is there a rotation gesture detector class available for Android? I've
searched the docs but
I am already aware of these gesture detectors and using them already.
I am specifically looking for rotation gesture detector.
On Mar 30, 9:39 pm, James Black planiturth...@gmail.com wrote:
You need to do more of the work on Android.
This may give you a
75 matches
Mail list logo