Senator Elizabeth Warren accused Apple of abusing its market power and stifling competition by shutting down Beeper, an app that allowed Android users to message iPhone users via iMessage. Beeper was a service that unified 15 different chat platforms, including iMessage, WhatsApp, Telegram, and Slack. It used a Mac Mini […]
ANDROID
Activision Blizzard, the gaming giant behind popular titles like Call of Duty, World of Warcraft, and Candy Crush, had a secret project to create its own mobile game store for Android devices, according to documents revealed in the ongoing Epic vs Google trial. The project, codenamed “Project Boston”, was pitched […]
ANDROID CODE FOR FRESHERS Android Button onclick | Event Handler Java Code(EventAct ) import android.app.Activity; import android.content.Intent; import android.graphics.Color; import android.os.Bundle; import android.view.View; import android.widget.Button; import android.widget.LinearLayout; public class EventAct extends Activity { LinearLayout l1; Button b1; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_event); l1=(LinearLayout)findViewById(R.id.l1); b1=(Button)findViewById(R.id.b1); b1.setOnLongClickListener(new View.OnLongClickListener() […]
ANDROID FOR FRESHERS Android Program of Drawable shape resource Java Code(ShapeAct) import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class ShapeAct extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_shape); } } Layout XML Code(activity_shape) <?xml version=”1.0″ encoding=”utf-8″?> <ScrollView android:layout_height=”match_parent” android:layout_width=”match_parent” xmlns:android=”http://schemas.android.com/apk/res/android” > <LinearLayout xmlns:android=”http://schemas.android.com/apk/res/android” […]
ANDROID FOR FRESHER Android Program Email Activity Java Code(EmailAct) import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; public class EmailAct extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_email); } public void email_send(View v) { Intent i = new Intent(Intent.ACTION_SEND); i.putExtra(Intent.EXTRA_TEXT,”Hello \n \n \n \n \n” + […]
ANDROID FOR FRESHER Android Program Options Menu Java Code(OptionAct) import android.content.Intent; import android.support.v7.app.AppCompatActivity; import android.os.Bundle; import android.view.Menu; import android.view.MenuInflater; import android.view.View; public class OptionAct extends AppCompatActivity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_option); } @Override public boolean onCreateOptionsMenu(Menu menu) { super.onCreateOptionsMenu(menu); MenuInflater mi = getMenuInflater(); mi.inflate(R.menu.menu_example1,menu); return […]
ANDROID FOR FRESHERS Android Program of Notification Activity Java Code(NotificationAct) import android.app.Activity; import android.app.Notification; import android.app.NotificationManager; import android.content.Intent; import android.support.v4.app.NotificationCompat; import android.os.Bundle; import android.view.View; public class NotificationAct extends Activity { @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_not); } public void next(View v) { Notification no=new NotificationCompat.Builder(this) .setSmallIcon(android.R.drawable.toast_frame) .setContentTitle(“Message”) […]
Android For Freshers Android Seekbar Example Java Code(SeekAct) import android.app.Activity; import android.content.Intent; import android.os.Bundle; import android.view.View; import android.widget.SeekBar; import android.widget.TextView; public class SeekAct extends Activity { SeekBar sb; TextView tv; @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_seek); tv = (TextView)findViewById(R.id.tv1); sb = (SeekBar)findViewById(R.id.sb1); sb.setOnSeekBarChangeListener(new SeekBar.OnSeekBarChangeListener() { @Override public void […]