Greetings,
I think I now have a much clearer understanding of what is causing
the problem but I don't know how to fix it.
The ConnectedThread bluetooth input stream process is overwriting
the handler message buffer before the MainThread picks it up. But the byte
count lags
Further to my last I also wonder if this problem could be resolved by
changing thread synchronization?
TMA
On Wednesday, November 14, 2012 12:00:10 AM UTC-8, tma wrote:
Greetings,
I think I now have a much clearer understanding of what is causing
the problem but I don't know how
Hi,
I am new to Android programming. I would like to know if it is better to
have seperate AsyncTasks for every screen on your application or is it
better to have one AsynTask class that handles all processing from
different screens on my application ?
I have looked at stackoverflow but its
listitem = m_adapter.getItem(position); can be listitem =
getListAdapter().getItem(position) :P
On Thursday, 3 September 2009 02:20:31 UTC+5, danny wrote:
Not sure what your issue is...but this is what worked for me.
In main activity init...
final ListView searchResults =
The problem I am having is when I scan a tag I get the Complete action
using dialog. I need a way to rename and also disable the always button.
The names are the package namescom.foo.foo and they are the same.
Guessing it does not look at the activity scope.
Thanks
--
You received this
hello together
i want a upload a large file to the server. that's no problem.
my problem is, i want when the upload process is complete, give out a
message or dialog.
how do I get the status of the uploadprocess if it was complete?
someone has an idea?
thank you!
--
You received this
steps:
0) have installed android_sdk
android sdk tools 20.0.3
android sdk-platform tools 14
android 4.1.2 (api 16)
android 4.0.3 (api 15)
android 2.3.3 (api 10)
android 2.2 (api 8)
extras - all, except not compatible with linux packages: 1) google usb
driver; 2) intel x86 emulator accelerator.
I'm developing an application where a user can initially sync all his
contacts with a desktop application OTA. This is done through a web
service call that grabs a set of 100 contacts from the server, downloads
and parses the information, inserts the contacts into the Android Contact
DB,
hi
i have a problem with expansions files.
i don't find have a way to read a video from .obb
please help me
thanks
--
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
can anyone help me ??
i can't read a video from expansion files
--
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
hi
i have a problem with the apk expansions files.
I don't find any way to read a video and put it in videoview .
i need a help
thanks
--
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
I had exactly the same problem with Eclipse Juno on Mac 10.5.8.
I removed the 32bit version and reinstalled with the 64bit version of
Eclipse, and this allows the ADT to be installed, and at least visible.
After restart, the welcome to android message appeared as expected. I
still had to go
Did you ever figure this out?
--
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
I had the same problem, Does anyone know why??
On Monday, August 20, 2012 7:31:53 PM UTC+7, Robin Olsson wrote:
have an app that uses a TabHost and TabWidget to show activities and
tabs. Everything work fine on devices pre android 4.0. However, when using
a device with 4.0+ the tabs are
Hi,
When I go to Demo web site part of the page disappears from view and
not see it as such a gallery lingerie.
What affects the display of the page when browsing through mobile.
Many thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
bob, if you are looking for a game engine that can do OBJ loading on
Android you could look into libgdx http://libgdx.badlogicgames.com/ or
jMonkey http://jmonkeyengine.com/. I have used them both and found them
pretty well designed and documented. Libgdx is a lighter weight engine with
less
the issue is that the sms gets sent only once
Why would you want the SMS to be sent automatically more than once? I
guess, if you need it to be sent more often, you need to actually send it
again through SMSManager.
and that too after I restart the phone
Are you saving the newly created
Since Android 4.1 it is no more allowed to communicate directly with the
Bluetooth Service, as in the following code:
ContentValues values = new ContentValues();
String path = Environment.getExternalStorageDirectory().toString();File
imageFile = new File(path, CurrentLumenboxPrint.jpg);
Hello,
I have a little big problem with my public key. We have one application
with in app billing using one public key since february of this year but in
the last month this public key has changed and all in-app billings stopped
at working. Why that public key had changed ? How it's happens
Hi folks
I'm trying to develop an Android application that have to query Google Safe
Browsing for URL checking. I made several attempts but unfortunately I
always get 400-Bad Request from Safe Browsing. Does somebody have some hint
or suggestion?
I'm putting below here the method that I
Hi all,
I am new to android development and I have hit a stuckpoint that I
don't really understand. I am attempting to create a spinner (with 20
values) but I want my prompt to read Please Pick a Year. I have
attempted to set the prompt in both the XML and in the Activity itself. It
I have two Nexus 7's here on my desk. bought at the exact same time.
I'm playing around with NSD doing a simple exercise to get the two devices
to see each other.
The app I wrote to test the NSD works on one device and crashes on the
other, with some sort of internal NPE.
Has anyone else
Did you find the answer?
On Tuesday, August 28, 2012 5:58:07 AM UTC+4, James Black wrote:
When a user clicks on a button I want to show a custom surfaceview in my
fragment, as they preview the camera, but in `onCreateView` I don't see how
to add content to the view.
I want to be able to
Hi all,
I am new to android development and I cannot seem to get a spinner to
work as I expect. I was hoping to set a prompt that reads Select a Year.
I can get my values to show up but my prompt doesn't ever show up. I
attempted to set it in both the java code and in the XML but
It might be better to use a meaningful regular expression.
Or you could try to first remove all whitespaces and then add one between
each pair of non-whitespaces.
Besides, this isn't actually an Android-related question, is it?
Am Dienstag, 6. November 2012 14:49:26 UTC+1 schrieb Solo:
Given a
I've the same problem, I want to see the google earth plugin with
smartphones (android or iphone)
but it seem dosen't work. Anyone have an idea to see google earth plugin in
a smartphone?
I know there is an official google earth app but I need to use my kml file..
Il giorno giovedì 16 febbraio
CalendarContract.EventsColumns.SYNC_DATA1 - SYNCDATA10 are said to be
columns of the content provider for use with sync adapters. Does anybody
know if there is some convention for what is the use of these columns? I've
realized that on my device SYNC_DATA5 stores the date last modified and
hi can some body help me about this report?
Starting emulator for AVD 'fefe'
XIO: fatal IO error 4 (Interrupted system call) on X server :0.0
after 130 requests (130 known processed) with 4 events remaining.
i use eclipse juno
--
You received this message because you are subscribed to
Hi all,
I am dealing with a weird issue related to SurfaceView and memory. I have
used MAT to make sure that the game I'm developing doesn't have any leak,
nevertheless I find the following:
I have an activity (worlds) where the user can choose a map. Another
activity (markit) is the game
Hi!
I have a RelativeLayout that has 2 WebViews in it. This layout is animated
using android.view.animation.TranslateAnimation like this:
MarginLayoutParams params = (MarginLayoutParams) m_view.getLayoutParams();
// create animation
Animation translate = new TranslateAnimation(-1 * to +
(New to android programming)
I'm trying to detect whether a headset is plugged into the audio jack in my
android application, but I'm having trouble finding resources that clearly
explain how to do it.
From my searching, I think you have to add the following to the manifest:
receiver
I'm creating a very memory intensive game 3D game for Android that is using
all OpenGL UI. I've been trying to cut down on memory usage wherever I can,
and looking at a heap dump of my app I found that there is ~5Mb of Android
pre-loaded resources. Looking at the dominator tree in Eclipse MAT,
Hi!
I'm trying to animate a RelativeLayout with 2 WebViews in it using
TranslateAnimation like this:
MarginLayoutParams params = (MarginLayoutParams) m_view.getLayoutParams();
// create animation
Animation translate = new TranslateAnimation(-1 * to + params.leftMargin,
0, 0, 0);
Hi!
The company where I'm working at uses a private Android App to manage their
business. Since it is not password-protected we cannot distribute it over
the Play Store and use smart update.
Is there a way to use smart update without distribution by the Play Store.
Thanks
Mischa
--
You
Hi,
Has anybody been able to get the SdkController app to work with the
emulator? I found an old thread about this and tried to revive it, but I
don't think I will be getting a reply there -
https://groups.google.com/d/topic/adt-dev/TyZiFZ_Ns5Y/discussion.
Given the video of it working on
Hello,
What Live streaming protocol recommended for making an application for a
radio? http or rtsp, etc.? Android runs Shoutcast uncut?
Thanks.
Juan Pablo
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
Similar error. 4.2 (did not happen before 4.2 for me). Using ViewPager to
go between ImageViews (with the image resource set in the same way that you
did). I start at an ImageView, swipe to a RelativeLayout with various
WebViews and other things, then back to the first (or any other) ImageView,
I just bought a 7 Android 4.0.3 tablet for developing and testing custom
web apps but none of the touch gestures are firing? The demo i'm looking at
is: http://riagora.com/mobile/hammer/
Unfortunately nothing happens when I touch the screen, whereas on the iPad,
it works a treat! Really smooth!
Hi all.
I made an app for android. I also have another windows application that
makes (via USB connection) certain operations in a particular folder of
this app on mobile device. The issue is that with the Google Nexus 7 I
can't get a valid path to that folder. If I open windows explorer I see
Hi , I am so green at android this is my first programming line, but it
seems to me you should simply add the following line at the end of the
sequence:
editTextInputDataTemp = editTextInputDataTemp.replaceAll( , );
which'll effectively strip the double spaces you've added yourself :)
Why
Bump. Similar issue here. I construct a custom backing buffer for preview
frames, and would actually like to keep it even after the (higher
resolution) picture is taken. Because there is also no
Camera.removeCallbackBuffer function (could do this just before
takePicture), the only 'work
Hi
I've made a string array of 618 items and it doesn't work in an htc G1 with
250 Mb RAM? How can I do?
I noticed that untill 427 items it works.
Thanks in advance
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
Hi all.
I made an app for android. I also have another windows application that
makes (via USB connection) certain operations in a particular folder of
this app on mobile device. The issue is that with the Google Nexus 7 I
can't get a valid path to that folder. If I open windows explorer I see
Hi.
I have the same problem in Windows7. Did you found any solution?
Thanks.
Segunda-feira, 15 de Outubro de 2012 19:57:43 UTC+2, Cognos escreveu:
I have an app that writes data to a .txt file on the Nexus 7 internal
storage. The file is fine, I can read it on the device using the
Hello,
do all Android devices with camera have to provide list of supported camera
preview sizes (getting via Camera.getSupportedPreviewSizes()) that at least
one of the sizes has the same aspect ratio as the device screen aspect
ratio (fullscreen)?
Or it can happen that on some devices will
I've got an application that needs to show a notification of certain events
in a day, depending on the event.
I know how to do it, if I need a service to stay running in the background,
or it will run in the background getting these events on certain days.
2 questions are:
1 - to notify of
I have an app with large heap set, running on a galaxy S3 GT-I9300, with
android version 4.1.1
The app needs to allocate a lot of temporary objects intermittently.
It runs very slowly because a lot of GC (and waiting for concurrent GC).
The heap never grows beyond 25 MB, as I would have
Hi!
Say, I want to move some of the strings in strings.xml to a separate xml
file. Say it's /var/res/myfile.xml. How can I in java get access to the
strings defined in that file?
Thanks in advance.
--
You received this message because you are subscribed to the Google
Groups Android
It seems to me that the data file(The data part of the .trace file) format
explained in:
http://developer.android.com/tools/debugging/debugging-tracing.html
Each record now consists of 14 bytes of data. First 2 seems to be thread
ID. The next 4 are method id. But I've no clue what the next 8
Hello sir,
I am creating an android app of calendar *events.Is* http://events.is/ it
possible to get calendar directly linked to my app?
My app should include simple calendar with month,weeks and days.Below
calendar, events in that particular month must be displayed.when a date is
selected,
Dear All,
Regarding accessing payout reports api,
To download monthly reports, google had provide api https://
developers.google.com/checkout/developer/Google_Checkout_XML
But this api requires Merchant key. But in our merchant account i
cant see merchant_key, so i Cant download
the payout
Dear All,
I am new member to this Group,
Regarding accessing payout reports api,
To download monthly payout reports, google provide api
https://developers.google.com/checkout/developer/Google_Checkout_XML_...
But this api requires Merchant key.
But in our merchant account i cant see
On Tue, Nov 13, 2012 at 8:14 AM, Edmundo Carmona eantor...@gmail.comwrote:
Say, I want to move some of the strings in strings.xml to a separate xml
file. Say it's /var/res/myfile.xml. How can I in java get access to the
strings defined in that file?
Um ... parse the XML file? Why would do
On Mon, Nov 12, 2012 at 5:27 PM, Domenico Pacecca
domenico.pace...@gmail.com wrote:
I've made a string array of 618 items and it doesn't work in an htc G1
with 250 Mb RAM? How can I do?
I noticed that untill 427 items it works.
First, what is doesn't work? Crashes? Curses at you? Is
On Thu, Nov 8, 2012 at 8:36 PM, Darwin Pinheiro darwi...@gmail.com wrote:
1 - to notify of a new event, you need a service or application running in
the background already resolved.
That's not a question. I'm also not sure what you mean by already
resolved.
2 - how do I check daily if
On Fri, Nov 9, 2012 at 8:57 AM, Mischa Bendel bendel.mis...@gmail.comwrote:
Is there a way to use smart update without distribution by the Play Store.
What is smart update?
-
TreKing
On Mon, Nov 12, 2012 at 6:19 PM, Suharsha S ashar...@gmail.com wrote:
But would be great if you include this in android OS.
Wrong forum:
http://code.google.com/p/android/issues/entry?template=Feature%20request
On Fri, Nov 9, 2012 at 8:27 AM, Craig Martin craigma...@gmail.com wrote:
The list is showing up and the values are in the dropdown but I do not see
the prompt.
Screenshot? And what if you use setPromptID with a string resource?
On Tue, Nov 13, 2012 at 3:44 AM, Albertus Kruger
albertus.kru...@gmail.comwrote:
I would like to know if it is better to have seperate AsyncTasks for every
screen on your application or is it better to have one AsynTask class that
handles all processing from different screens on my application
If i use Samsung Device i can see Kies Tray Agent Application Running in my
Task Manager.Can anyone tell me if is that the application helping samsung
android device to sync datas. I wanted to know this because in my computer
windows firewall i didnt configure this application. Please Anyone Help
Hi All,
Have a separate Async task class which serves the HTTP Request to all of
your Activities and let your Activities implments a listener which helps
the AsycnTask class to get the data from onpostexecutes method.
here is an example which i have written in a blog.
Hi There,
Instead of created a big string of Array, you create a xml file and put it
in the assests directory and read the content in the Haspmap.
secondly, you could also create ArrayListString() and insert the values.
hope the above solutions works.
Regards,
Mukesh.
On Wed, Nov 14, 2012 at
is that your application deals with any Images , if yes, try to use the
method, Bitmap.recycle().
Mukesh
On Sat, Nov 10, 2012 at 11:28 PM, elihan elisabeth.han...@tykomz.comwrote:
I have an app with large heap set, running on a galaxy S3 GT-I9300, with
android version 4.1.1
The app needs to
Hi There,
Are you taking about the Sync with Between Android Device to the Local DB
which sits on your computer through the USB ?
if yes, did you write any windows Services which check that Android device
is connected and then read the applicaton localdb and upload the same in
the Local machine
No i didn't write anything like that in my app i used jtds.jdbc connection
to establish connection to database. My logic is after connecting device
through usb. I provide a button on my Android App if i press the button the
device should start syncing..Please let me know if the way i'm
b.android.com
--
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
Hi,
when reading the receiving data i remark that data buffer are displayed
with offset = 2 !!
how to set the offset of bulkTransfer ?
Best Regards
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send
Dear Experts,
I am thinking of developing my own Video Player for MP4 and MOV files.
Wonder where are the good resources to perform this task.
Are there any alternatives other than VLC?
Thanks!
CL
--
You received this message because you are subscribed to the Google
Groups Android
Create a separate AsyncTask subclass for each different task that needs to
be done.
It is bad Java design to create one large AsyncTask subclass that handles
everything in your app. That would mean you'd have to create a large
'doInBackground' method (being able to handle all cases), possibly
I know this should be easy, but I'm having a really hard time changing the
bootanimation.zip file on a rooted device. Is there an easy way to set it
to just one frame?
I tried this:
desc.txt
480 480 30
p 100 0 part0
There's a part0 dir with .png in it. It is 256x256.
--
Hi,
Not sure if you are looking for UI or data.
There's no platform UI for the calendar like in MapView. You will have to
build that yourself or use someone else's.
For calendar data, have a look at
http://developer.android.com/guide/topics/providers/calendar-provider.html
Thanks,
Mike
On
Hi,
The SYNC_DATA* columns are reserved for the sync adapters to use.The
GoogleCalendarSyncAdapter can use it for any purpose and change the
usage whenever it wants. There's no standard convention. If you are
using a sync adapter, use it in any way to fit your needs.
how can I make sure
Maybe you can use native code and use malloc and free?
On Saturday, November 10, 2012 11:58:01 AM UTC-6, elihan wrote:
I have an app with large heap set, running on a galaxy S3 GT-I9300, with
android version 4.1.1
The app needs to allocate a lot of temporary objects intermittently.
It
Mark is correct this is random, but you can open KML files with the
standalone GE app on Android.
On Thursday, November 8, 2012 5:30:16 AM UTC-5, Luca Bassi wrote:
I've the same problem, I want to see the google earth plugin with
smartphones (android or iphone)
but it seem dosen't work.
Turns out there was a .DS_Store hidden file getting stuck in the part0
directory of the zip.
On Wednesday, November 14, 2012 10:45:56 AM UTC-6, bob wrote:
I know this should be easy, but I'm having a really hard time changing the
bootanimation.zip file on a rooted device. Is there an
bob wrote:
Maybe you can use native code and use malloc and free?
Really?
--
Lew
--
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,
I figured out why it's happening on my end (could certainly be considered
an Android bug).
A CSS animation (-webkit-animation) is continuously running in a webview.
When that webview is offscreen and still running, I get this error (and a
black artifact). When that View is completely removed
Does anyone know how to programmatically tell a rooted android device to
reboot?
Thanks.
--
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
According to the documentation at
http://developer.android.com/about/versions/android-4.2.html:
Beware that if your app requests one of the hardware device identifiers
(such as the WiFi MAC address, the
SERIALhttp://developer.android.com/reference/android/os/Build.html#SERIALnumber,
or the
Hello,
I was very excited to update my Nexus 7 to 4.2 but VERY disappointed to
find this piece of code in the source:
==
static bt_status_t btsock_listen(btsock_type_t type, const char*
service_name,
const uint8_t*
Great, thanks for your clarification!
I'm then also wondering how my sync adapter can know if a row was updated
in the calendar provider?
Upon a change in the calendar, my sync adapter gets called by the calendar
provider.
However, at the time onPerformSync(...) gets called all the rows in the
It's documented in the code that generates it: dalvik/vm/Profile.cpp.
* Record format v3:
* u2 thread ID
* u4 method ID | method action
* u4 time delta since start, in usec
* u4 wall time since start, in usec (when clock == dual only)
On Tuesday, November 13, 2012 5:33:35 PM UTC-8,
On Wed, Nov 14, 2012 at 1:29 PM, bob b...@coolfone.comze.com wrote:
Does anyone know how to programmatically tell a rooted android device to
reboot?
http://justfuckinggoogleit.com/
I found your answer in about 7.5 seconds. Why is this forum and not Google
your first stop? I just don't get
Hi all,
I have an app that is supposed to display a video file streamed over WiFi.
The server prepares the video in m3u8 format.
Searched the web, and found a library called vitamio, so used it.
It allows me to see the video (and hear audio), and display with it
the usual progress slider, plus
I saw since API 11 we can add in the AndroidManifest.xml: android:largeHeap
= true
Can I set this programmatically ?
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Is it possible to make an augmented reality game where you're a plane and
you fly over your current location (satellite imagery)?
Thanks.
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
bob wrote:
Is it possible to make an augmented reality game where you're a plane and
you fly over your current location (satellite imagery)?
Anything is possible.
Your requirement is obviously possible, since we know that Google Maps, for
example,
can overlay satellite imagery onto the
Hi,
If you are using a sync adapter, use it in any way to fit your needs.
This should have read: If you are WRITING a sync adapter, you can use
those columns in any way to fit your needs.
The dirty column tells the sync adapter that the row has changed.
Sorry, there's no way for non-sync
Because monkeyrunner will use 12345 port(hard coded) for forward usage, so
please make sure port 12345 is not used by other applications.
Anyway, to be simple, export ADBHOST=${your_target_device_IP_here} in bash,
then adb kill-server; adb start-server; then run your python script,
may be it's
Hey guys,
I'm beginning to bring my application out of the dark ages (API 7) up to
the more recent stuff and I'd like to migrate from my current Singleton
data provider to something like the Loader paradigm. I had a couple of
question. Currently, when the Application starts, I pull all of my
Greetings,
I have resolved the issue by adding a simple 2KB circular buffer.
The buffer input pointer is managed in the bluetooth thread and the output
pointer in the main thread. Seems to work perfectly for 600 byte bursts of
data at 56KBaud.
TMA
On Wednesday, November 14, 2012
You could create a resources xml file on /res/values and access easily using
String aString = getResources().getString(R.string.one_string);
Marina
On Tue, Nov 13, 2012 at 11:14 AM, Edmundo Carmona eantor...@gmail.com wrote:
Hi!
Say, I want to move some of the strings in strings.xml to a
yes,but not find this bug id.
suppose google have another bug tracker system , only can be seen within
google ?
2012/11/14 RichardC richard.crit...@googlemail.com
b.android.com
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to
I have updated Android 4.2 SDK using SDK Manager and
ADT 21.0.0.v201210310015-519525 in Eclipse(Indigo).
I have created a New project,build and try to run this. I got error as
[2012-11-15 11:38:19 - MyApp] Unknown error: Unable to build: the file
dx.jar was not loaded from the SDK folder!
How
I want to design Action bar UI on pre-honeycomb devices. After my Google i
got *ActionBarSherlock library.* Can i design without using this
ActionbarSherlock library. is it possible to design Action bar on pre-honey
comb devices by using Android support-v4 library itself?
Basically i trying to
Hi everybody,
I am brand spanking new to Android development, having just done the
Hello, Android tutorial, so please bear with me ;)
I have a website with a simple webservice that will return a list in XML of
audio files available for streaming.
Now I would like to develop the simplest
Using just the Support library won't help. You need to do UI changes on the
app title bar. Have a look at the source code of Actionbar Sherlock library
to get a head start.
On Thursday, 15 November 2012 12:22:59 UTC+5:30, Ram wrote:
I want to design Action bar UI on pre-honeycomb devices.
97 matches
Mail list logo