Thursday, December 26, 2013

Google Voice on T-Mobile? [General]

Google Voice on T-Mobile?

So I recently switched from a GNex on Verizon to a Moto X DE on T-Mobile. I had always used Google Voice for my voicemail when on Verizon.

Well now since switching to T-Mobile I can no longer get Voice to function as my voicemail. When I download and setup the app and then call my phone it will ring but then when voicemail should come up I just get an error saying "We cannot complete your call as dialed" or something along those lines. When I switch back to carrier voicemail everything works.

So am I doing something wrong during setup? Is Voice even compatible with T-Mobile?

Read more

Imediashare problems when it changed to flipps. [General]

Imediashare problems when it changed to flipps.

Hi Everyone, I have a nexus 7 and I used to be able to use Imediashare to connect and play music, videos etc. through my Samsunng Blu-ray player. However, when imediashare updated to flipps the devices do not connect anymore. Any thought on why this might be occuring? Are there other apps that might work better? Any input would be appreciated. Thanks.

Read more

new kind of SPAM - straight in OS - not AirPush [General]

new kind of SPAM - straight in OS - not AirPush

So, Galaxy S4, Verizon, Android 4.2.2,

New kind of spam that shows up right on home screen or on top of running app. (see picture below)

Lookout didn't find anything. Airpush_Detector didn't find anything.

How do I find out on what app it piggybacked into my phone / how do I get rid of it? And why does Google allow these apps in the Marketplace anyway...

new kind of SPAM - straight in OS - not AirPush-2013-12-17-16.51.26.jpg

Read more

Galaxy S4 GPE - noob questions [General]

Galaxy S4 GPE - noob questions

So my new S4 GPE arrives in 48 hours and I cannot wait to start tinkering, (currently on iphone 5). I purchased a SanDisk 32GB Extreme microSDHC card as well. How can I use the SanDisk card? Can I install apps to the card? I assume/hope that I can store pictures/videos/music on the card as well?

What is a launcher?

I'd like to be able to have email, SMS, Calendar, missed call/voicemail notifications directly on my lockscreen as I do now with my iphone. Is this possible? If so, how do I accomplish this?


Read more

Trying to execute/debug an existing APK file with Eclipse [android help]

Trying to execute/debug an existing APK file with Eclipse

I have an existing .APK file without any sources. I want to debug it with Eclipse on Bluestacks (or other) emulator. Eventually, I'd like to set a breakpoint, but for now, I just want to get it to run on the emulator. I'm not talking about just using adb to install it on the emulator and then run there. I've been unsuccessful in getting the resulting .apk, built by Eclipse, to run on the emulator.

Here are the steps I've done:

  1. I renamed the .apk to .zip and unzip into a folder.

  2. In Eclipse, I created a new "Android project from existing code". In the next screen, "Import Projects", I browsed to the folder where the apk was unzipped.

But this project has errors in Eclipse! So I tried the next steps:

  1. I executed apktool on the .apk, and it created a folder which I use for the same import mentioned in step 2. Now the project no longer has errors.

  2. In Eclipse, I "run as" or "debug as" this project as an Android application, and it starts on the emulator.

No good! The logcat shows errors such as "dalvikv - thread exiting with uncaught exception". And there are other logcat messages about being unable to instantiate application and java.lang.ClassNotFoundException.

QUESTION 1: Can someone tell me what other steps are necessary to turn this into a "good" project? Is there something obvious that I'm missing about Classes?

Once I can get it to either "run as" or "debug as" successfully, then I will want to debug it by setting a breakpoint. But I can't seem to get the source folder right. I have .smali files as a result of the apktool step mentioned in step 3. Also, I've tried various tools, such as dex2jar and jd-gui, so that I have .java files. But whenever I point tell Eclipse the folder where these sources are (and I have "search subfolders" checked), Eclipse says "Source not found". And "Edit Source Lookup Path". I also tried putting the sources in the /src folder of the workspace.

QUESTION 2: Where can I put the sources so that Eclipse will find them? Can these source files be either .smali or .java?

Read more


Wednesday, December 25, 2013

How do I display a string in an Android app? [android help]

How do I display a string in an Android app?

I'm confused on exactly what your problem is here but you have a couple problems if you want your TextView to display the message. This line here

TextView textView = new TextView(this);

will create a new TextView, not reference the one you have in your xml. And it won't show because you haven't added it to your contentView. So, when you call setContentView(R.layout.activity_display_message); what will be shown is what is in activity_display_message. If you want to access that View then you need to give it an id in your xml file and access it with findViewById(). So give it an id

android:id="@+id/tv1" // give it an id here
android:text="@string/entered_message" />

then access it after calling setContentView(...)

protected void onCreate(Bundle savedInstanceState) {

Intent intent = getIntent();
String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);
TextView tv = (TextView) findViewById(; // reference it here with the id you gave it in the xml


Now that you have referenced the TextView, you can call setText(), setTextSize(), etc.. if need be.

I'm not exactly sure what String you want where so its hard to give much more help without a better explanation. But note that

String message = intent.getStringExtra(MainActivity.EXTRA_MESSAGE);

will assign the message variable to whatever is passed in your Intent from the calling Activity.

Read more


Gps Location updates in android is not working [android help]

Gps Location updates in android is not working

From Android official site I have downloaded Location services example & did run in the real device. Every time onLocationChanged method is returning Network's Latitude & Longitude but not accurate GPS location. How to achieve accurate GPS locations from the new android Location API.

Here is my service code

package com.example.locationservice;

import android.content.Context;
import android.content.Intent;
import android.location.Location;
import android.location.LocationListener;
import android.os.Bundle;
import android.os.IBinder;
import android.util.Log;


public class MDFYLocationUpdate extends Service implements
GooglePlayServicesClient.OnConnectionFailedListener, {

LocationClient mLocationClient;
private LocationRequest mLocationRequest;
public static Context c;
final String BROADCAST_ACTION ="current_location";
public static final String TAG="Location";
// Milliseconds per second
private static final int MILLISECONDS_PER_SECOND = 1000;
// Update frequency in seconds
public static final int UPDATE_INTERVAL_IN_SECONDS = 5;
// Update frequency in milliseconds
private static final long UPDATE_INTERVAL = 10000;
// The fastest update frequency, in seconds
private static final int FASTEST_INTERVAL_IN_SECONDS = 1;
// A fast frequency ceiling in milliseconds
private static final long FASTEST_INTERVAL =

public IBinder onBind(Intent intent) {
// TODO Auto-generated method stub
return null;
public void onCreate() {
// TODO Auto-generated method stub
mLocationRequest =LocationRequest.create();

// Set the update interval to 5 seconds
// Set the fastest update interval to 1 second
mLocationClient =new LocationClient(this, this, this);
public void onDestroy() {
// TODO Auto-generated method stub

public void onConnected(Bundle connectionHint) {
// TODO Auto-generated method stub

Log.d(TAG, "onconnected");
mLocationClient.requestLocationUpdates(mLocationRequest, this);
public void onDisconnected() {
// TODO Auto-generated method stub
Log.d(TAG, "onsisconnect");
// Destroy the current location client
mLocationClient = null;
public void onConnectionFailed(ConnectionResult result) {
// TODO Auto-generated method stub


private boolean servicesConnected() {
// Check that Google Play services is available
int resultCode = GooglePlayServicesUtil.isGooglePlayServicesAvailable(this);
// If Google Play services is available
if (ConnectionResult.SUCCESS == resultCode) {

return true;
} else {

return false;

public void onLocationChanged(Location location) {
// TODO Auto-generated method stub
Log.d(TAG, "onLocationChanged");
Log.d(TAG, "Lat = " + location.getLatitude() + " Lng = " + location.getLongitude());
Logger.writeLog("Lat = " + location.getLatitude() + " Lng = " + location.getLongitude() + " == "+BasicDeviceInformation.getCurrentDate());

public int onStartCommand(Intent intent, int flags, int startId) {
// TODO Auto-generated method stub
Log.d(TAG, "onStartCommand");
return super.onStartCommand(intent, flags, startId);
public void onProviderDisabled(String provider) {
// TODO Auto-generated method stub

public void onProviderEnabled(String provider) {
// TODO Auto-generated method stub

public void onStatusChanged(String provider, int status, Bundle extras) {
// TODO Auto-generated method stub


Read more


Search This Blog