I have code that runs in the background and holds a connected Socket and
it's InputStream.
It calls read() infinitely until something is received, then continues to
parse. Socket timeout is 0 of course.
I used PARTIAL_WAKE_LOCK and WifiLock to keep CPU on in sleep mode and this
code is
Hi,
I tried something like this:
BluetoothAdapter bt= BluetoothAdapter.getDefaultAdapter();
I am using the function like this
bt.enable() and bt.disable() which is not working?
Is there any alternate way to do this...?
On Monday, January 7,
Hi,
This is the right way to do it.
Did you remember to add the appropriate permissions to your
AndroidManifest.xml?
uses-permission android:name=android.permission.BLUETOOTH /
uses-permission android:name=android.permission.BLUETOOTH_ADMIN /
Hope this helps
/Yaron
On 01/07/2013 10:47 AM,
it's been a while from last reply on this and so many things has changed
since then specially to notification class, yet I'm searching web for
exactly the same question!
So please if anyone still follows this conversation or came along with
answer to this matter, I'd really appreciate it.
to be
I am using AudioTrack class to play large mp3 files. Actually i want to
manipulate voice on fly like changing the pitch or speed 1x 2x etc.
As soundtrack works only for short files. So i found AudioTrack the only
option.
I am using JLayer to decode my mp3 file (stored on sdcard) to PCM byte
I am not able to get the sdk and avd manager in toolbar after installation.
there are no check box present in 'command availability group' in eclipse.
can anyone please help me so that i can get the window asking for sdk path?
In windowspreferencesInstall/updatesavailabel software sites i
I have an android project that is depended on library project.
Getting this error while building the app.
android sdk r21
UNEXPECTED TOP-LEVEL EXCEPTION:
[dx] com.android.dx.util.DexException: Multiple dex files define
Lcom/nvsoft/s2pay/S2PayApp;
[dx] at
I use a Sunsung Note 2, running on Android 4.1.2 operating system which was
bought hardly one week back. I was very happy with my new phone till I
tried to send text messages to the Group that I created. I work as a manger
and I have added my entire team of 53 people to my group. I send updates
I am a new developer. If I submit an app with a fixed screen size of
720x1280
will it be accepted? If not, what will they store accept?
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'm trying to make a popup window appear from an IME service (an onscreen
keyboard) that has no activity. When I call popUp.showAtLocation(layout,
Gravity.CENTER, 0, -100) I get a Windowmanager$BadTokenException: Unable
to add window -- token null is not valid.
Here is my code:
public void
Thx.
On 2 January 2013 10:30, RichardC richard.crit...@googlemail.com wrote:
http://code.google.com/p/zxing/
--
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
I am using AudioTrack class to play large mp3 files. Actually i want to
manipulate voice on fly like changing the pitch or speed 1x 2x etc.
As soundtrack works only for short files. So i found AudioTrack the only
option.
I am using JLayer to decode my mp3 file (stored on sdcard) to PCM byte
Dear developer,
I am using a 'Samsung Galaxy S2' handset.I had updated my phone from
samsung care in Bangladesh.But,after that, I faced many problem such
that 'I couldn't use mobile data','I couldn't play high quality game
like before','the phone hanged up' etc.then I guess my mobile was
going to
I haven't used my Eclipse software in a while, so I need to update
it. Yet whenever I tell it to check for updates, I get an error
message that has about 10 error messages in it saying that no
repository was found. Any ideas???
--
You received this message because you are subscribed to the
use JLayer
--
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
I have used JLayer library to decode the mp3 file . A function which
returns byte[] by decoding file picked from sdcard.
so means i get bytes(array of bytes from that decoder function).
here is some code i m using.
int minSize =AudioTrack.getMinBufferSize( 8000,
I have videos which display perfect in WVGA resolution but when I play
video in S3, It display border in right and bottom, I have used video view
to display videos, my video view had fill parent hight and fill parent with
then also video is not resizing as per screen size.
--
You received
Hi,
I have one Facebook group and i want to create a android app for that,
I need to show Facebook group when I open that app and want to get the
notification when anyone post something into that group.
I'm using Eclipse to develop android app.
Please give me some useful threads and
I have also got same problem
I tried your clue too but it seems to close only one process id
and close current page. And not the whole application.
It only get backs the page and but actually application does not goes
forward.
On Saturday, September 13, 2008 5:28:23 PM UTC+5:45, Pau wrote:
Dear Android,
I want to get some information of 3G such as RSSI, SNR, Channel active time
or channel busy time etc.
I tried to use telephony API , but It can only represent a few steps of
RSSI.
How do I get network parameters in real-time?
Let me know , please,
Thank you.
--
You received this
Hi all, I'm using RemoteViews and reflection to access its subclass
ReflectionAction and get the text of the notifications in the top bar and
is working well. In all versions except the 4.2 class has three fields are:
value, type and viewId, which are those that use, but in 4.2 viewId field
Hello
Is it possibe to get the minimum of the speaker icon visible when
i activate the VoiceRecognition? I mean
when i start the VoiceRecognition i see the google logo on it and i see the
lanauge but how can i get it with rhe minimals that I only se the speaker
icon (same as google voice
So I'm currently working on a app for Android that will use Google Places
API with the check in feature. Users will be able to check-in to locations
and also see other local users locations via list view or map. Basically
its kind of a social app. Anyways, seeing that Google has a limit of
Hi friends,
I have 3 listview ,in each one i have some checked items,how can i
create an other listview with all the checked items from my 3
listviews??
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
I have the same issue. Can you help me ?
Le mardi 16 octobre 2012 08:18:10 UTC+2, ravi . a écrit :
I have code for capturing a video clip on Android. But this is not working
Intent intent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE);
intent.putExtra(android.intent.extra.durationLimit,
Before I start, I know I'm using the deprecated API calls in the code to
manage the contacts and it is because I'm trying to extend an existing
library without having to make too many changes to it. I won't mind
changing it but there's too many things there and I'm just experimenting
with an
Hi,
I'm developeing android app using eclipse mobile developer IDE
I want to develop a app which shows me my Facebook group and gives that
group notification.
Please guide me post some thread relative with this and give
some suggestions
Thanks
Ashish Fugat
--
You received this message
doesn't
суббота, 23 июня 2012 г., 19:36:18 UTC+4 пользователь Tiger Ng написал:
Hi,
I am using Galaxy Tab 2 7.0 (GT-P3110) for development.
After I upload app to Google Play, it said This app is incompatible with
your Samsung GT-P3110.
Here is my settings in manifest.xml
hello to all!
I'm writing an lpr client on *android *to send files (PDF, doc, etc) to a
printer (hp laser-jet 4250dtn)
The printer is on a server (the sever in unix to that's why I'm using lpr)
Everything is all right and I indeed managing to open the socket, sending
the control
Hi friends,
I have 3 listview (3 activity) ,in each one i have some checked items(with
checkbox and listAdapter),how can i
populate an other listview with all the* checked items* of my 3 listviews??
Thanks for helping me
--
You received this message because you are subscribed to the Google
for (int i=0; iarray2d.length;i++) {
for (int j=0; jarray2d[i].length;j++) {
//set 0 the value to neighbour node
array2d[i][j]=100;
}}
System.out.println( array2d[0][1] );
System.out.println( array2d[0][2] );
}
On Tue, Jan 1, 2013 at 4:05 PM, sree android android.sreeni...@gmail.comwrote:
Hi friends,
I have 3 listview ,in each one i have some checked items,how can i
create an other listview with all the checked items from my 3
listviews??
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email
I had to ask this simple question here since my google searches led me to
the customers perspective, hopefully you can forgive me for such
insignificant question.
Basically I've set up a google dev account to share my work, mostly for
free and I happen to explore the dev section of google
Hello everyone!
It is not very often that such simple thing turns out to be unsolvable.
And this is such a case. I am on eclipse trying to run a newly made app on
bluestacks and the emulator does not accept the *shared user id* and *shared
user label*.
I have been on android support pages,
it doesn't show any other apps running except these screen, device idle,
and cell standby it's like this even after long usage
How to reproduce problem : Charge the phone
How to fix : reboot phone
wat
http://puu.sh/1JAhY
--
You received this message because you are subscribed to the Google
Thanks Nitin Sethi,that's help me too
2012/12/25, Nitin Sethi sethi.5...@gmail.com:
Here you go.
http://stackoverflow.com/questions/6905262/how-do-i-show-a-custom-dialog-when-there-is-no-internet-connection
On Monday, 24 December 2012 22:47:27 UTC+5:30, sree wrote:
Thank u friend.Shall u
camera on this device doesn't support autofocus
http://stackoverflow.com/questions/11181057/this-app-is-incompatible-with-samsung-gt-p3110
суббота, 23 июня 2012 г., 19:36:18 UTC+4 пользователь Tiger Ng написал:
Hi,
I am using Galaxy Tab 2 7.0 (GT-P3110) for development.
After I upload app
My android version is 3.1, i want update to 4.0 it is possible?
If possible, At what site I can do download ?
I have risk of miss my data? or my cellphone?
KInd regards,
Contact carlosa.alen...@hotmail.com or albertoc.alen...@gmail.com
--
You received this message because you are
How to make TabHost and add tabs like in this pics?
When + button is click = add new tab with same layout src as in old tab.
Please help me someone!
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi dear Engineers,
Here's the issue: I have this main ListView (retrieved using
this.getListView() ) in a ListActivity properly populated from a SQLite
database. A click on one of its items (entries) calls another activity A2
using startActivityForResult(). I would like to animate that SINGLE
Hello everybody,
I'm new here and have some questions, could you guide me please.
I'm a representative of Kazakh people and we are interested in having
Kazakh language in Android devices. Now Kazakhstan is accepting 26 latin
english letters and now it won't be difficult, but I don't know where
Sorry I know its been a while since you posted this question, did you get
anywhere with this?
I have a similar sort of issue and posted a question, I know there is a
newer API but I'm supporting an existing library so I cannot go and change
the underlying code.
Many Thanks
Praveen
On
It's simly to send POST reaquest with Lists consisting of
BasicNameValuePair, but how to send a pair, where a value is another list
of pairs?
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello everyone i am new to this forum/site and i need some help to get
started.I already know that you need some decent java skills to learn
android development.However i have no java skills and i need a good java
book that will help me get decent skills to start learning android
development
Hello,
I hope that this is the correct place to ask for help, respectively i am
asking for ideas regarding the developement of an app to solve following
severe problem:
The standard system font of Android does not support Polytonic Greek /
Diacritics. As far as i understand the problem this
'm writing an lpr client on *android * to send files (PDF, doc, etc) to a
printer (hp laser-jet 4250dtn)
The printer is on a server (server isrunning *UNIX *that's why I'm using
lpr) Everything is all right and I indeed managing to open the socket,
sending the control file(according to RFC
Hello in my Android Development studio the largest skin I can get is
WVGA854, which I believe is 400 x 854, but I have a device with a 540 x 960
display, I would really like to have a skin with a display the same size as
my device's display but after some searches I have not been able to find
I used ActivityCompat.invalidateOptionsMenu(MainActivity.this); so that my
menu item Refresh can automatically be enabled/disabled without the using
have to touch the Menu option (imagine the user leaves the Menu open... I
need the Refresh menu item to automatically disabled and enable
hello, I am new in android developing and need your help.I have 3 tabs and
I want every time the user clicks on the next button on tab quiz a string
to be shown in a textview in tab results.How am I supposed to do this??
--
You received this message because you are subscribed to the Google
On Sun, Dec 23, 2012 at 6:54 PM, Daniel Smith danielsmithc...@gmail.com wrote:
I used ActivityCompat.invalidateOptionsMenu(MainActivity.this); so that my
menu item Refresh can automatically be enabled/disabled without the using
have to touch the Menu option (imagine the user leaves the Menu
how to clear previously loaded content of webview 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
i have the same system with the same problem if anyone has a solution it
would be well appreciated
On Tuesday, July 24, 2012 5:24:03 PM UTC-4, harry wrote:
Even i have the same problem with my JXD S7100
So please, if anyone knows any solution for this problem please help.
--
You received
I lost my KeyStore.
I need to do:
1-Will send new program directory
2-new keystore.
3-uninstall old program.
As uninstall program using QProcess;
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hi,
W dniu niedziela, 30 grudnia 2012 11:55:00 UTC+1 użytkownik gran33 napisał:
Hey all,
Does Android support any generic Bluetooth BLE profile? e.g GATT (Generic
Attribute Profile)
10x in advance,
RAN
According to
How can I create an application from any website link? These sites will
give you an idea of what I'm trying to do. (www.appsgeyser.com or
www.websitetoapp.com)
Thanks
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group,
some of my apps are not in my app list anymore. Example :
In this list :
https://play.google.com/store/apps/developer?id=Guillaume+Lederer
I can't find this app anymore :
https://play.google.com/store/apps/details?id=be.lederer.mobile.minilandlite
can anyone explain me why ? where did I miss
I am writing a project in Google App Engine, GAE and need to authenticate
from Android
On the GAE server in a servlet I use
UserService userService = UserServiceFactory.getUserService();
User user = userService.getCurrentUser();
This prints the current user, and shows I am
Hi all\
In my application, i need to show the toast message when a call is
received. I have to show the destination number in this case. ie if the
call is coming to 98788000 number, then when call is coming , i want to
show
Call to your number 98788000
How can i do that.
I am able to
Hello all,
Since today, some of my apps do not appear anymore in the playstore page
supposed to show all my apps :
https://play.google.com/store/apps/developer?id=Guillaume+Lederer
For example this one is not listed :
Hello everybody,
I have a question that I think is quite easy for expert people, but not for
me.
I have an application organized as follows:
- *MainActivity*, displaying some feedback to user
- *SmsReceiver* (it is a BroadcastReceiver) that should check SMS for a
specific pattern in
Hi,
I have a classic ViewPager (xml snippet http://wklej.org/hash/9c79ef76e0a/)
in my app and fragments are displayed inside 'pager'. Screen of example
fragment is here http://img521.imageshack.us/img521/8650/fragment.png. By
default, whole view (with white and gray background) reacts on swipe
Hi All,
I have a requirement that a view (for instance, Button) has to be aligned
at the bottom of a RelativeLayout, which has some background image.
When I give bottom alignment the view (Button), the background of
RelativeLayout is stretched. Why is it behaving so? I have attached my
Happy New Year and hello all,
I'm trying to write some unit tests for my Android application which uses
some Google APIs. The problem I have is in my JUnit classes i don't know
how to get a valid OAuth token (although I can get a valid OAuth token from
a LoginActivity of my main app). Do you
I have a problem too when implementing Horizontal Listview inside Listview..
I keep nullpointerexception..
Please help me :(
On Tuesday, October 11, 2011 10:01:46 PM UTC+7, Marcos Paulo Damasceno
wrote:
Hi guys,
I need to do a HorizontalScrollView inside a listview like we have
in pulse
Quero sabe se eu posso excluir o jogo gta porque eu comprei o jogo e ele
não pega ta aparecendo que não tem tudo suficiente para jogar esse jogo
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post to this group, send email to
Hello
i want to ask,Is Jordan included in android transferring money ?
--
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'd also like to know the answer to this question. When performing adb
backup such as
adb backup -apk -shared -all -system
in Android 4.2.1 is the information from all user accounts backed up, or
only the one which is currently unlocked?
--
You received this message because you are subscribed
When will OAuth 2.0 be available ?
Client login, as described in
http://blog.notdot.net/2010/05/Authenticating-against-App-Engine-from-an-Android-app
is deprecated , see
https://developers.google.com/accounts/docs/AuthForInstalledApp
--
You received this message because you are
P.S i am beginner kindly help me to pick up things...
when user click on the two image my code checks either the two image are
same or different.
if the images are same point add on the score board
if the images are different warning to check images will decrease.
I AM CONFUSE how do i take
for me just postDelay works. Commented block is not works when i choose it.
anybody knows why ? i have editText on my layout and it stays focused on
top
scrollView.postDelayed( new Runnable() {
@Override
public void run() {
Hi all,
I've been having trouble building an app with the new Android Maps API.
It seems to me that Google Tutorials are not clear enough.
I am trying to build an app with Action Bar tabs. Each tab should have its
own ( fragment? ) layout.
One of the tabs has a map Fragment. How can I do that?
Hello! I have a task what i'm need to do. The App should make a photo and
then share it on facebook or twitter, application must have ruler compass
with degrees...like in this app:
I have the same problems... Did you find a solution? I need help. Thanks
On Monday, June 4, 2012 3:40:55 PM UTC+8, galapogos wrote:
I'm trying to build ADWLauncher, but I'm getting a ton of compiler
errors in Eclipse SDK 3.7.1 in a Win7 32bit PC with JDK7. I imported
ADWLauncher to Eclipse.
Hello my friend
are you lincoln baros in prison break???
ha ha ha [?][?][?]
On Tue, Dec 25, 2012 at 12:38 PM, lincoln linconf...@gmail.com wrote:
Hi,all:
How to start a new activity using the command of am,but not brought
the activity to the front from its associated task?
I
I dont know this answer. sorry
On Tue, Dec 25, 2012 at 2:38 PM, Shubham Aggarwal
shubham.1992aggar...@gmail.com wrote:
I want to add some files in assets folder in android and want to read them
from native C code. But the problem is
how to get the path of that file (in java or in C). I don't
Hi,
Here is how I test in your scenario.
Instead of trying to connect my android device to my laptop via a usb
cable, I do it through a wireless connection I set the android device to
connect via WIFI to a wireless access point running on my laptop.
So, that means on my laptop I have a
Hi,
A connection is made by both hardware and software. Your post refers to
Arduino Uno, which I believe is hardware. Is that correct?
ADK is software. Thus, if want folks to help you install ADK software,
please post what operating system software you a running? Do you have java
installed?
Hi,
I would recommend verifying ArrayList instances have been instantiated (not
NULL) and have values. Your performing a get()
(E.G. objects.get(position);) again without checking for NULL values.
In general I always string test my code by running it through a source code
debugger.
If you
Hi,
I have a similar environment. I have a small internal network in which I do
development ( 2 desk tops and a laptop).
In addition, I also have an unrooted Android device which I use for
testing.
Instead of trying to connect to my internal development network via a usb
cable, I connect my
Hi,
I run a small local area network (LAN) for development and testing (a
couple desktops and a laptop).
...
My internet provider complains if I run a http server that is exposed to
the internet. Therefore, I set up a wireless access point that is
restricted to my development lan. I then have my
Hi,
Sorry I don't have a specific solution.
The term that you are looking for is paste buffer. A quick search on the
API documents results in this page:
https://developer.android.com/guide/topics/text/copy-paste.html
One strategy to prohibit copy is to distribute the characters in your
string
I created a mobile website which has a content slider with overlay text and
bulleted navigation + a fixed ad banner at bottom of the page. Overlay text
and navigation buttons arr placed inside separate div elements and div
elements css position is set as absolute. And the fixed ad banner at
Hi,
I hope this is useful for u... try this...
list.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView? arg0, View arg1,
int position, long arg3) {
Object o = list.getItemAtPosition(position);
I have the same issue. PLEASE share. I've spent countless hours in
various obscure docs and source files trying to figure this out.
-J
On Friday, December 30, 2011 10:42:43 AM UTC-5, Eddie wrote:
Hi,
I have speech recognition working in my activity.
However, I realized that if I have
how did you solved it? i have the same problem
On Sunday, March 16, 2008 8:41:54 AM UTC+8, jtaylor wrote:
Problem solved. Looks like I can't add String, String to map as a
parametized type.
- Juan
On Mar 15, 7:18 pm, jtaylor juan.anthony.tay...@gmail.com wrote:
This is my Code
Such Problem: I have video file recorded with two sound channels. I have
tried to switch off left sound channel by this code:
Code:
Videoview vv;
...
vv.setOnPreparedListener(new OnPreparedListener() {
@Overridepublic void onPrepared(MediaPlayer mp)
I'm running into exactly the same issue... could you update on how did you
get this to work? Did you end up implementing this as a service? I'm also
inserting data in one activity, but I don't see any of that data from a
different activity within the same application...
Thanks!
-i
On
Hi,
Use this code i hope this is work...
list.setOnItemClickListener(new OnItemClickListener() {
public void onItemClick(AdapterView? arg0, View arg1,
int position, long arg3) {
Object o = list.getItemAtPosition(position);
String
Hello,
I have been trying to find a reverse tether app for my Android
device. Unfortunately, all the apps that I found for this purpose requires
the phone to be rooted. I am not prepared to root my phone as some other
apps don't work on rooted devices.
I have been trying to understand why
Hello Everyone,
Happy 2013
At the moment I have a simple list view which is feeded by a
SimpleCursorAdapter. Now I want to expand the list view with a few
sections. So i altered my query for my cursorAdapter and added some
groupBy's.
I got a bit further and i was told to use a
I downloaded the latest ADT Bundle for Fedora 17 and I cannot start the
emulator from Eclipse.
I cannot The second / is the reason. Is any one else facing this issue.
BTW, I know how to invoke a new AVD from emulator from terminal so no
worries there.
--
You received this message because you
I have an app with in-app billing subscription (IAP v2). I wrote
an ActivityInstrumentationTestCase2 class trying to verify that when the
user is trying to access a certain functionality he will be taken to the
Google Wallet payment page and upon payment he can then proceed. However I
Hello folks,
I'm new in this programming environment.
My plan is to create an app that can provide the connection between
android-smartphones and android-tablets.
It should be possible to connect them with bluetooth.
The idea is to create a game platform with 1 server and maximal 4 clients.
I
I have just begin learning Android.Its my first app regarding Sliding
Drawer.
the coding,everything is right,but however the app is not working,
Here's the coding
?xml version=1.0 encoding=utf-8?
FrameLayout xmlns:android=http://schemas.android.com/apk/res/android;
I am trying to find a starting point for a practice app and therefore I am
pulling up some default example code programs from the SDK.
I am having a problem where the examples do not match the screen size of my
phone (DroidX2 Android 2.3.5) and instead end up being too small.
Currently the
Hi, I've been unable to find print-quality art for the android system
icons. Since we're developing a printed instruction manual for our android
platform-based software, we need to find a source for these icons in higher
than screen quality. Does anyone have these or a link? Thanks!
--
You
I am writing automated testing code (using *ActivityInstrumentationTestCase2
*) to test an app that involves in-app billing version 2 (subscriptions). I
need help on figuring out how to programmatically get my testing code to
click on the Accept and Buy button that appears inside the *Pay with
so im using tightVNC viewer so that i have a desktop for ubuntu which im
getting via cloud computing service and when i use the android sdk and try
to create a device the bar starts to load but then a pop up window opens
and says Failed to recv data from socket. I have no clue what to do from
I'd like to add CAM for my app - but remain compatible
with pre android 3.0.
seems like one has to use the interface below - available in android 3.0 and
later.
private ActionMode.Callback mActionModeCallback = new ActionMode.Callback() {
}
I'm using reflection and know how to find an
Are there plans to add a uses-feature for gamepads? What with a couple of
third-parties making pads for android devices, and Nvidia's recently
announced android handheld, the prospect of making actual game games for
Android (and not just touchscreen friendly ones) seems to be becoming a
1 - 100 of 258 matches
Mail list logo