hi i am new to android.I need to read text file from SDcard and display that text file.Is there any possibility to view a text file directly in android. or else how to read and display the text file ?
Hey folks,i am developing a RTP client on an Android device which can play streaming videos from a server.
I am confused regarding how should i start about?
i am thinking of developing a web app, using HTML,CSS and Javascript, which can later be wrapped in Android.is this approach correct? does javascript support real time media player?
please guide me, i am a fresher and completely clueless..:(
Hi,
I have a simple list view listing results in android. Upon click of each item, I would like it to slide down expand and show the content. Is there an easy way to do this in android?
Any help will be appreciated.
Cheers
Hi stackoverflow'ers,
Quick questions here:
What are the necessary tools/APIs to post something from Android to Facebook?
I looked at this URL
http://wiki.developers.facebook.com/index.php/User%3AAndroid
and it mentioned a few suggestions.
Have anyone tried fbrocket?
What is Facebook Connect anyway?
Thanks!
Nicholas
I have an Android application that uses kSoap in connecting to my web services. This particular one is passing in a string value as a parameter, then my web service will use that parameter to query my database via a stored procedure. Problem is, I know how to pass the parameter from android, but I don't know how to retrieve it in my .Net(vb) web service and use it. Anyone have any code examples or a link to a tutorial to help me out? Thanks!
i don't understand this at all.
I try to open a db located in my SD card this way:
db = SQLiteDatabase.openDatabase(myPath, null,
SQLiteDatabase.NO_LOCALIZED_COLLATORS | SQLiteDatabase.OPEN_READONLY);
But in that very line it throws this exception:
android.database.sqlite.SQLiteException: attempt to write a readonly database
It doesen't happen in my other devices, just this one that has android 2.3.3
I am trying to create and use jar file in an Android project under Eclipse. I have tried various methods without any success. Here are the steps:
Create jar file from the source files jar -cf lib.jar *.java
Copy jar file to libs folder
Right click, Build Path-Add to Build path
Now, compiler gives unresolved symbols if I try to use a class from the jar file?
Can someone please let me know correct method to create and use an external jar file for the Android project under eclipse.
I am making a bullet hell game in Python and am looking for a suitable collision library, taking the following into consideration:
The library should do 2D polygon collision.
It should be very fast. As a bullet hell game, I expect to do collision checks between hundreds, likely thousands of objects every frame at a consistent 60fps.
Good documentation
Permissive license (like MIT, not GPL)
I am also considering writing my own library in C/C++ and wrapping with python ctypes in the event that no such library exists, though I do not have experience with collision detection algorithms, so I am not sure if this would be more trouble than it's worth.
Could someone provide some guidance on this matter?
A Binary Decision Diagram (BDD) is a data structure to represent boolean functions. I'd like use this data structure in a Java program. My search for Java based BDD libraries resulted into the following packages.
Java Decision Diagram Libraries
JavaBDD
JDD
JBDD
bddbddb
If you know of any other BDD libraries available for Java programs, please let me know so that I add it to the list above. If you have used any of these libraries, please tell me about your experience with the library. In particular, I'd like you to compare the available libraries along the following dimensions.
Quality. Is the library mature and reasonably bug free?
Performance. How do you evaluate the performance of the library?
Support. Could you easily get support whenever you encountered a problem with the library? Was the library well documented?
Ease of use. Was the API well designed? Could you install and use the library quickly and easily?
Please mention the version of the library that you are evaluating.
Hi,
In android 2.1, if we enable pattern lock, then the screen lock (slide to unlock) is not displayed and if pattern lock is disabled then screen lock is enabled again. Can someone point me out the java file in framework and the function where this happens. I mean when the screen is about to get locked, how does android decide that whether it will display pattern lock or screen lock and if pattern lock, how it prevents the screen lock from getting displayed.
Hello,
is there a way (through javascript/jquery/css) to hide the scrollbar in android's web browser?
Can't seem to find any valid info online and things that work for Google Chrome (webkit engine, as well) don't seem to work for the Android's browser.
Thanks bunches
I'm trying to write a program that can read the signal strength of a bluetooth device linked to my android 2.0 handset. Doesnt seem like android exposes anyway to get the RSSI unless it is during discovery. Is there any other way to get the signal strength of the device after the device has been detected? I read of a way to do it using NDK to access the underlying BlueZ API, but I dont know how to use that. Any help would be appreciated.
I want to place a horizontal progress bar in my Android application and I want to change its progress color. I used the following code, but the progress bar is not being displayed.
CCProgressTimer progressBar = CCProgressTimer.progress("progressbar.png");
progressBar.setType(kCCProgressTimerTypeHorizontalBarLR);
progressBar.setScale(5);
progressBar.setAnchorPoint(CGPoint.ccp(0, 0));
progressBar.setPosition(CGPoint.ccp(0,0));
addChild(progressBar);
Myself and another developer with the go ahead from our IT director have started a general purpose library in .NET with the intention that it will provide many common purpose classes that we use in our day to day development.
During discussions and design of the library we have come up with a set of standards that we want the library to follow to ensure it is maintained and expanded on in a consistent manner.
What is the best way to ensure these decisions we made for the library get feed to the other developers who might be using and adding to this library in the future. One of our decisions was to ensure we review all checked in code so we expect initially there to be some differences in coding styles of individuals not fitting in with the project standards.
Some ideas I had were:
Add a Read-me.txt to the project that outline the guidelines and standards
Send an email out to everyone in the team to let them know about the project etc
Call a team meeting to go through this new project and our expectations and standards we were aiming to follow
Try and enforce the standards via Visual Studio (not sure if this would be possible or how just an idea)
At the moment there is no general company programming standards so this would be a first really insofar as we are creating a standard that different project teams would need to adhere to.
Originally posted on: http://geekswithblogs.net/TATWORTH/archive/2014/08/08/microsoft-to-drop-support-for-older-versions-of-internet-explorer.aspxEd Bott of ZDNet at http://www.zdnet.com/microsoft-to-drop-support-for-older-versions-of-internet-explorer-7000032437/ has written an excellent article on Microsoft dropping support for IE8 and older as from January 12 2016. Also from that date for version 4.*, only Dot Net Framework 4.5.2 and above will be supported.
I have a problem when share from my app android via to facebook, twitter, gmail.
Code:
Intent share = new Intent(android.content.Intent.ACTION_SEND);
share.setType("image/video");
share.putExtra(Intent.EXTRA_STREAM, Uri.parse(mediaPath));
startActivity(Intent.createChooser(share, "Share"));
Share to gmail is OK.
But when share, upload photo/video to facebook or twitter so error occurred.
Pls help me!
I am using Android SDK 1.6 and developing some simple apps. It seems everytime Android Emulator loads every default apps, like message music browser etc... I guess this cause the booting process slow (takes 1 minute overhead for me to test the code every time).
Would it be possible to take these apps out and just have my apps on the emulator? My purpose is to have a faster boot up time on emulator. Thanks.
I want to get the overall CPU usage on Android, similar to what Windows' Task Manager does. I can parse the output of the top program included in Android, but if there is a API call that does the same thing, it would be better.
Any pointers?
Newbie question.
After I have written the Android App (easy part) I need to sign it and upload it (seems the hard part)
Is there an Open Source app or tool that I can use to do this so that I don't have to write command shell scripts. JARSIGNER looks overly complex.
I'm looking for a dead simple Sign-And-Package up tool.
I am using Eclipse with the Android plug in.
Nasty little bug, this one.
As illustrated in Android ticket 6721, the Android browser seems to not respect z-index when absolutely positioned elements are laid over the top of <a> or <input> tags.
I am desperate for any sort of workaround. Has anybody conquered this one before?
Thanks in advance!
Hey,
I am porting a blackberry application to android phone.
The app is talking to web service using soap api. Is it possible
to use ksoap2 available for android and use the same soap stub? if so, how?
or I have to rewrite from scratch?
I have never used soap/rest api's before, so m confused.
Hi There,
My application displays Hebrew text which comes from a Web Service.
When a sentence contains digits (in the middle of it), the digits appear in a mirror view:
29 appears as 92, 21:45 appears as 54:12 and 2,000 appears as 000,2.
Also, when a sentence starts with digits or English characters, they get thrown to the end of the sentence messing it all up...
Does anyone have an idea how can this be solved? Is RTL support in Android still immature?
Thanks,
Rob
I've got an android app that plays mp3s over HTTP. I give the Mediaplayer a URL using setDataSource, then call start in onPrepared, and all is well. Now, I'm trying to implement seeking. When i call seekTo, I don't see the Mediaplayer make a second request using the Range header to my webserver. From reading around, it seems like Android supports this. Do I need to do anything extra to get it to work?
Thanks