burak
burak
İstanbul-II (Anadolu)
03/08/2017 tarihinden beri üye
65 GY Puanı
49K GY Sırası
2 Rozet
0 Sertifika
2 Soru Sordu
2 Cevap Verdi
0 Blog Yazısı
0 Etiket Takibi

Hakkında

İş Tecrubesi

Kullanıcıya ait İş tecrübesi bilgisi bulunmamaktadır.

Eğitim Geçmişi

Selçuk Üniversitesi
| Aralık 2020 - Aralık 2020

Sertifikalar & Başarılar

GY Sertifikaları (0)
Kullanıcının GY sertifikası bulunmamaktadır.
Diğer Sertifikaları (0)
Kullanıcıya ait sertifika bulunmamaktadır.
Test Sonuçları (0)

Kullanıcıya ait test sonucu bulunmamaktadır.

Dil Becerileri

Son Forum Aktiviteleri

4
Tümünü Gör

Kod ile Düzenli Textview oluşturma

Merhaba

Metini kelimelere ayırarak her bir kelimeyi farklı textviewlere yazdırmak istiyorum. textview leri kod ile oluşturup içine yazıları yazdırdım ancak tüm textviewleri yan yana oluşuturuyor belli bi yerden sonra alta geçerek oluşturmasını istiyorum bunun için ne yapmalıyım ?
Teşekkürler

Kod şu şekilde 

 LinearLayout linearLayout = new LinearLayout(this);
        setContentView(linearLayout);
        linearLayout.setOrientation(LinearLayout.HORIZONTAL);
        ViewGroup.LayoutParams params = linearLayout.getLayoutParams();
        params.height = ViewGroup.LayoutParams.MATCH_PARENT;
        params.width = ViewGroup.LayoutParams.MATCH_PARENT;
        linearLayout.setLayoutParams(params);
        linearLayout.setGravity(Gravity.LEFT);
        
        for( int i = 0; i < stringTokenizer.countTokens(); i++ )
        {
            final TextView textView = new TextView(this);
            textView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT));
            textView.setTextSize(16);
            textView.setPadding(5,5,5,5);
            textView.setText(stringTokenizer.nextToken().toString());
            linearLayout.addView(textView);

            textView.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View view) {
                    Toast.makeText(getApplicationContext(),textView.getText().toString(),Toast.LENGTH_LONG).show();
                }
            });
        }

 

6 yıl 8 ay önce yanıtladın

Google Play uygulamamda Patent ihlali

Merhaba 
18 temmuz da Playde kendi yaptığım SSH Commander adlı bir uygulama yayınladım. Uygulamayı basitçe anlatmak gerekirse basit ssh komutları göndermeyi sağlayan bir uygulama. jsch-0.1.54.jar kullanarak yaptım.

Dün http://www.notificationcommunicationpatent.com sitesinden patent ihali yaptığıma dair bir mail geldi.  yanlış anlamadıysam Push notifications patenti bu firmaya aitmiş bende bunun ihlalini yapmışım. push notification dediği uygulamadan gelen bildirimler değil mi ? benim uygulamamda böyle bir bildirim olayı yok. sorunun ne olduğunu bir türlü anlamadım yardımcı olursanız sevinirim.

mailde şu şekilde 

EUROPEAN PATENT EP2378800 (A1) "SECURE COMMUNICATION SYSTEM"

Dear Sir/Madam:

We reach out to you in the name and on behalf of our client, FMF GESTION S.L., patentee of European Patent of Invention number EP2378800, granted by the European Patents Office on 23.04.17.

The Mobile Application SSH Commander, of which you are developers, infringes my client's patent.

It infringes it through the use of the system whereby so called "Push notifications" are sent and received, which is protected by the Patent of Invention "Secure Communication System". For a better understanding you can access its claims and drawings visiting the EPO (European Patent Office) website.

The different platforms offer developers the termed "Push notifications" as a way of communicating with its users.

What the Patent protects is the system used by the applications to send and receive those . This circuit, the process whereby notifications are sent and received, is what is protected.

We inform you that, in accordance with the Law, registered Patents confer upon its titleholder, the patentee, the right to prevent anyone without consent from using and commercialising the patented notification system.

In light of the above, we formally require you, on behalf of our client, to legalise your current illegal situation within a period of 30 dayscounting from the date of receipt of the present letter. This will be achieved through:

Payment of the so called Conformity Royalty, a sum which during this 30-day term amounts to 345 € per annual period (paying-in slip attached).
Acceptance of the direct debit payment of the subsequent annuities, which will be based on the conformity Royalty until the end of the right.

Immediately following the receipt of your conformity royalty payment, your Application will be registered in the EPO's register of Royalties for the patent.

Lack of conformity royalty payment within the thirty day period will trigger the following course of action by our clients:

Your Patent infraction will be formally notified to the different platforms (Apple, Google and Windows Phone). It will be demanded, in accordance with the law, that they stop offering your Application in their respective European platforms.
Loss of the price of conformity Royalty.
(The price of the royalty to be paid following the set period will be established according to the number of users, the platforms and the countries in which the App is on offer. Calculate it)
The implementation of any measures necessary to prevent the continuing violation of the Patent.
The publication of the judgement against the infringer at the expense of the guilty party.

In the event of non-compliance with the commitments set out above within the period provided, we have received instructions from our client to immediately prepare to undertake the appropriate legal action against you before a Court of Law.

Pending a solution satisfactory to all, we seize the opportunity to extend our kindest regards.

 

 

6 yıl 8 ay önce yanıtladın

Kod ile Düzenli Textview oluşturma

09 Ağustos 2017 tarihinde cevaplandı

 Aşağıdaki şekilde çalıştırdım ihtiyacı olan olursa kullanır. Yardımları için oğuzhanyigit e teşekkürler. 

Hatanın nedeni de galiba bir main linear layout olup içine child leri yerleştirmem gerekiyormuş. yani şu şekilde olduğunda

  • linearlayout 
    • linearlayout
      • textviews
    • linearlayout
      • textviews

çalışıyor

arada bir tane daha  layout olunca 

  • layout yada scrollview
    • linearlayout 
      • linearlayout
        • textviews
      • linearlayout
        • textviews

yani bu şekilde olunca aşağıdaki hatayı veriyor

 java.lang.IllegalStateException: The specified child already has a parent. You must call removeView() on the child's parent first.

bunun çözümünü bulamadım malesef. Ben ScrollView eklemeye çalışıyorum ancak ekleyemedim. Çözümü bilen varsa yardımcı olursa sevinirim Teşekkürler

 public void drawer() {
        String[] kelime=s.split(" ");

        mainlinearLayout = (LinearLayout) findViewById(R.id.LinLay);
        childLinearLayout = getLinearLayout();


        for (int i = 1; i < kelime.length; i++) {
            final TextView textView = new TextView(this);
            textView.setLayoutParams(new ViewGroup.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT));
            textView.setTextSize(16);
            textView.setPadding(5, 5, 5, 5);
            textView.setText(kelime[i-1].toString());
            childLinearLayout.addView(textView);

            if (i % separatorNum == 0 && i != 0) {
                mainlinearLayout.addView(childLinearLayout, new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT));
                setContentView(mainlinearLayout);
                childLinearLayout=getLinearLayout();
            }

            textView.setOnClickListener(new View.OnClickListener() {
                @Override
                public void onClick(View view) {
                    Toast.makeText(getApplicationContext(), textView.getText().toString(), Toast.LENGTH_LONG).show();
                }
            });
        }

    }
    public LinearLayout getLinearLayout() {
        LinearLayout linearLayout = new LinearLayout(this);
        linearLayout.setOrientation(LinearLayout.HORIZONTAL);
        ViewGroup.LayoutParams params = new ViewGroup.LayoutParams(ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.MATCH_PARENT);
        linearLayout.setLayoutParams(params);
        return linearLayout;
    }

 

Java'da txt dosyanın belirli satırına yazı yazdırma

04 Ağustos 2017 tarihinde cevaplandı

Denemedim ama fikir olarak dosyada ki yazıları string bi değişkene aktarıp replace komutu ile JAVA yazısını "JAVA \n girilcek metin" olarak düzenleyip yeniden dosyaya yazdırırsanız olabilir belki